/*
Theme Name: ToFix – RIA Appliances
Theme URI: https://tofix.net/
Description: Lightweight custom theme for RIA Appliances (ToFix.net), Miele appliance repair in Los Angeles. No page builder; content is edited in the block editor, business info in Customize → Business info & buttons.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: tofix
*/

@font-face {
	font-family: "Unbounded";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url(assets/fonts/unbounded-latin.woff2) format("woff2");
}

:root {
	--ink: #141414;
	--ink-2: #1f1f1f;
	--ink-3: #2b2b2b;
	--text: #2b2b2b;
	--muted: #5c5c5c;
	--line: #e3e3e3;
	--soft: #f4f4f4;
	--soft-2: #fafafa;
	--white: #fff;
	--red: #d6001c;       /* accessible red on white (5.4:1) */
	--red-hot: #ff0024;   /* tofix.net brand red – accents on dark */
	--red-dark: #b00017;
	--radius: 14px;
	--radius-lg: 22px;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--head: "Unbounded", "Arial Black", system-ui, sans-serif;
	--body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
	--bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font: 400 17px/1.6 var(--body);
	color: var(--text);
	background: var(--white);
	padding-bottom: var(--bar-h);
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
svg { overflow: visible; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.18; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5.2vw, 54px); }
h2 { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: clamp(17px, 1.8vw, 20px); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ui-icon { width: 1.15em; height: 1.15em; flex: none; }
.icon .ac { stroke: var(--red); }
.eyebrow { font: 700 13px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-ghost { color: var(--ink); background: var(--soft); }
.btn-ghost:hover { background: var(--line); color: var(--ink); }
.btn[disabled], .btn.is-busy { opacity: .7; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.on-dark .btn-outline, .hero .btn-outline { color: var(--white); }
.on-dark .btn-outline:hover, .hero .btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-dark .btn-ghost, .hero .btn-ghost { background: rgba(255,255,255,.1); color: var(--white); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- Top bar + header ---------- */
.topbar { background: #000; color: #cfcfcf; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-meta { gap: 18px !important; }
.topbar .ui-icon { color: var(--red-hot); width: 15px; height: 15px; }
.topbar-claim strong { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid #262626; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-logo { background: var(--white); border-radius: 10px; padding: 4px 8px; display: block; }
.brand-logo img { height: 46px; width: auto; }
.brand-badge { height: 54px; width: auto; border-radius: 6px; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: #f2f2f2; text-decoration: none; font-weight: 600; font-size: 15.5px; border-radius: 8px; }
.main-nav .menu > li > a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--white); background: #262626; }
.main-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--white); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: 8px; font-size: 15px; font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--soft); color: var(--red); }
.nav-mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.header-phone .ui-icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--red); color: #fff; }
.header-phone small { display: block; font-size: 12px; color: #bdbdbd; line-height: 1.1; }
.header-phone strong { font-size: 17px; white-space: nowrap; }
.header-phone:hover { color: #fff; }
.header-phone:hover .ui-icon { background: var(--red-hot); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid #333; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ui-icon { width: 24px; height: 24px; }
.nav-toggle .nt-close { display: none; }
.nav-open .nav-toggle .nt-close { display: block; }
.nav-open .nav-toggle .nt-open { display: none; }

@media (max-width: 1180px) {
	.header-phone span { display: none; }
}
@media (max-width: 1024px) {
	.nav-toggle { display: inline-flex; }
	.header-book { display: none; }
	.main-nav {
		position: fixed; inset: 0; top: 0; z-index: -1; background: var(--ink); padding: 150px var(--gutter) 40px;
		overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s; margin: 0; padding-top: 96px;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu > li > a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid #262626; border-radius: 0; background: none !important; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 6px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; min-width: 0; }
	.main-nav .sub-menu a { color: #cfcfcf; padding: 7px 0; }
	.main-nav .sub-menu a:hover { background: none; color: #fff; }
	.nav-mobile-cta { display: grid; gap: 12px; margin-top: 26px; }
	.nav-mobile-cta .btn-outline { color: #fff; }
	.nav-hours { color: #bdbdbd; font-size: 15px; text-align: center; margin: 4px 0 0; }
}
@media (max-width: 560px) {
	.header-inner { min-height: 66px; gap: 10px; }
	.brand-logo img { height: 36px; }
	.brand-badge { height: 42px; }
	.hide-sm { display: none !important; }
	.topbar { font-size: 12.5px; }
}

/* ---------- Content layout ---------- */
.entry { padding-bottom: 24px; }
.entry > * { max-width: calc(900px + var(--gutter) * 2); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.entry > .wide, .entry > .band { max-width: calc(var(--wrap) + var(--gutter) * 2); }
.entry > h2 { margin-top: 64px; }
.entry > h2:first-child { margin-top: 56px; }
.entry > p:first-child { margin-top: 48px; font-size: 19px; color: var(--ink-3); }
.entry ul:not([class]), .entry .wp-block-list { padding-left: 1.2em; }
.entry .is-checklist, .entry ul.wp-block-list.is-checklist { list-style: none; padding-left: var(--gutter); display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px 22px; }
.entry .is-checklist li { position: relative; padding: 12px 14px 12px 44px; background: var(--soft); border-radius: 10px; font-weight: 600; color: var(--ink); }
.entry .is-checklist li::before { content: ""; position: absolute; left: 15px; top: 50%; width: 16px; height: 9px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: translateY(-70%) rotate(-45deg); }
.note { border-left: 4px solid var(--red); background: var(--soft-2); padding: 14px 18px !important; border-radius: 0 10px 10px 0; color: var(--ink-3); }
.entry > .note { padding-left: calc(var(--gutter) + 18px) !important; max-width: calc(900px + var(--gutter) * 2); border-left: 0; background: none; position: relative; }
.entry > .note::before { content: ""; position: absolute; left: var(--gutter); top: 0; bottom: 0; width: 4px; background: var(--red); border-radius: 4px; }
.content-img { border-radius: var(--radius-lg); margin: 24px 0; }

/* Bands (full-width sections made from Group blocks) */
.band { padding: clamp(56px, 8vw, 96px) var(--gutter) !important; max-width: none !important; }
.band > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.band > h2 { margin-bottom: 14px; }
.band > p { max-width: var(--wrap); color: var(--muted); font-size: 18px; }
.band > .section-head-lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.band.is-soft { background: var(--soft); }
.band.is-dark { background: var(--ink); color: #d9d9d9; }
.band.is-dark h2, .band.is-dark h3 { color: #fff; }
.band.is-dark p { color: #cfcfcf; }
.band.is-center > h2, .band.is-center > p, .band.is-center > .eyebrow { text-align: center; }
.band .eyebrow { margin-bottom: 10px; }

/* ---------- Home hero ---------- */
.hero {
	position: relative; color: #e6e6e6; background-color: var(--ink);
	background-image: linear-gradient(90deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.88) 42%, rgba(10,10,10,.35) 75%, rgba(10,10,10,.2) 100%), url(assets/img/hero-miele-1400.webp);
	background-size: cover; background-position: 85% center;
	padding: clamp(56px, 9vw, 120px) var(--gutter) clamp(56px, 8vw, 104px) !important;
	max-width: none !important;
}
.hero > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.hero > *:not(.trust) { padding-right: min(34%, 420px); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red-hot); }
.hero .eyebrow { color: var(--red-hot); display: flex; align-items: center; gap: 10px; }
.hero .eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red-hot); border-radius: 3px; }
.hero .lead { font-size: clamp(17px, 1.7vw, 20px); color: #d6d6d6; margin: 0 auto; }
.hero .lead strong { color: #fff; }
.trust { list-style: none; padding: 0 !important; margin: 36px auto 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.trust li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #f0f0f0; font-size: 15.5px; }
.trust .ui-icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; }
@media (max-width: 860px) {
	.hero { background-image: linear-gradient(180deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.92) 55%, rgba(10,10,10,.97) 100%), url(assets/img/hero-miele-800.webp); background-position: center top; }
	.hero > *:not(.trust) { padding-right: 0; }
	.trust { display: grid; gap: 10px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #d6d6d6; padding: clamp(40px, 6vw, 72px) 0; }
.page-hero-inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .eyebrow { color: var(--red-hot); }
.page-hero-lead { font-size: 19px; max-width: 640px; color: #d0d0d0; margin: 0; }
.page-hero .cta-row { margin-top: 24px; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.hero-icon { position: absolute; left: -22px; bottom: -22px; width: 104px; height: 104px; padding: 16px; background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.page-hero-media:not(:has(img)) .hero-icon { position: static; width: 200px; height: 200px; padding: 30px; margin-left: auto; }
@media (min-width: 900px) {
	.page-hero-inner:has(.page-hero-media) { grid-template-columns: 1.25fr .9fr; gap: 56px; }
}
@media (max-width: 899px) {
	.page-hero-media img { aspect-ratio: 16 / 9; max-height: 240px; }
	.hero-icon { width: 80px; height: 80px; padding: 12px; left: 14px; bottom: -18px; border-radius: 18px; }
	.page-hero-media:not(:has(img)) { display: none; }
}

/* ---------- Service cards ---------- */
.services { list-style: none; padding: 0; margin: 36px auto 0; }
.services-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.service-card a {
	height: 100%; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--radius-lg);
	background: var(--white); border: 1px solid var(--line); color: var(--text); text-decoration: none;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.is-soft .service-card a { border-color: transparent; }
.service-card a:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.service-icon { width: 76px; height: 76px; padding: 10px; border-radius: 18px; background: var(--soft); color: var(--ink); display: block; }
.is-soft .service-icon { background: #ececec; }
.service-icon .icon { width: 100%; height: 100%; }
.service-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.service-title { font: 600 19px/1.25 var(--head); color: var(--ink); }
.brand-word { color: var(--red); }
.service-text { color: var(--muted); font-size: 15.5px; }
.service-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.service-card a:hover .service-more .ui-icon { transform: translateX(3px); }
.service-more .ui-icon { transition: transform .15s; }
.service-card-cta a { background: var(--ink) !important; border-color: var(--ink) !important; justify-content: flex-end; }
.service-card-cta .service-title { color: #fff; font-size: 21px; }
.service-card-cta .service-text { color: #cfcfcf; }
.service-card-cta .service-more { color: var(--red-hot); }

.services-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.services-list a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--soft); color: var(--ink); font-weight: 700; text-decoration: none; }
.services-list a:hover { background: var(--ink); color: #fff; }
.services-list a:hover .icon { color: #fff; }
.services-list .icon { width: 44px; height: 44px; color: var(--ink); flex: none; }
.services-list .arr { margin-left: auto; color: var(--red); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 36px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: s; }
.steps li { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.is-soft .steps li { border-color: transparent; }
.is-dark .steps li { background: var(--ink-2); border-color: #2f2f2f; }
.is-dark .steps p { color: #c8c8c8; }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; font: 600 18px/1 var(--head); margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Split (about mini) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split h2 { margin-bottom: 16px; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }
.stat-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; }
.stat-row p { margin: 0; color: var(--muted); font-size: 15px; }
.stat-row strong { display: block; font: 600 30px/1.1 var(--head); color: var(--ink); }

/* ---------- Reviews ---------- */
.reviews { list-style: none; padding: 0; margin: 36px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.review figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.is-soft .review figure { border-color: transparent; }
.review .q { width: 30px; height: 30px; color: var(--red); margin-bottom: 10px; }
.review blockquote { margin: 0 0 18px; font-size: 16px; color: var(--ink-3); flex: 1; }
.review blockquote p:last-child { margin: 0; }
.review figcaption { font-size: 15px; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
@media (max-width: 700px) {
	.reviews { grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px !important; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter) !important; }
	.review { scroll-snap-align: start; }
}

/* ---------- Areas ---------- */
.areas { list-style: none; padding: 0; margin: 28px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.areas a { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; background: var(--white); }
.areas a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.areas .ui-icon { color: var(--red); }
.areas a:hover .ui-icon { color: var(--red-hot); }

/* ---------- FAQ (details block) ---------- */
.wp-block-details { border-bottom: 1px solid var(--line); }
.wp-block-details summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 17px/1.4 var(--head); color: var(--ink); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font: 400 22px/1 var(--body); color: var(--red); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > p { padding: 0 0 20px; margin: 0; color: var(--muted); }
.band .wp-block-details { max-width: var(--wrap); }
.entry > .wp-block-details:first-of-type { border-top: 1px solid var(--line); }
.band > .wp-block-details:first-of-type { border-top: 1px solid var(--line); margin-top: 26px; }

/* ---------- Request band + form ---------- */
.request-band { background: var(--ink); color: #d6d6d6; padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: 70px; }
.request-inner { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .request-inner { grid-template-columns: .95fr 1.05fr; gap: 64px; } }
.request-copy h2 { color: #fff; }
.request-copy .eyebrow { color: var(--red-hot); }
.request-copy > p { color: #cfcfcf; font-size: 18px; }
.request-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }

.contact-info { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ui-icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--red); color: #fff; }
.contact-info div { display: flex; flex-direction: column; }
.ci-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #9a9a9a; font-weight: 700; }
.contact-info a { color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; }
.contact-info a:hover { color: var(--red-hot); }
.entry .contact-info a, .contact-light .contact-info a { color: var(--ink); }
.entry .contact-info .ci-label { color: var(--muted); }

.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.f-full { grid-column: 1 / -1; }
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr; } }
.f-field label { display: block; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.f-field input, .f-field select, .f-field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfcfcf; border-radius: 10px;
	font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; appearance: none; -webkit-appearance: none;
}
.f-field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.f-field textarea { min-height: 90px; resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(214,0,28,.25); }
.f-field [aria-invalid="true"] { border-color: var(--red); background: #fff6f7; }
.f-err { display: none; color: var(--red); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.f-err.is-on { display: block; }
.f-note { font-size: 14px; color: var(--muted); margin: 14px 0; }
.f-center { text-align: center; margin-bottom: 0; }
.form-alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.form-alert.is-error { background: #fff0f2; color: #8a0012; border: 1px solid #f3b6bf; }

/* Contact page */
.contact-grid { display: grid; gap: 32px; align-items: start; scroll-margin-top: 100px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.contact-grid .request-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: #0b0b0b; color: #a9a9a9; padding: 64px 0 0; font-size: 15.5px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-logo { font: 600 20px/1.2 var(--head); color: #fff; }
.footer-logo span { color: var(--red-hot); font-size: 15px; }
.footer-h { font: 700 13px/1.2 var(--body); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d9d9d9; text-decoration: none; }
.site-footer a:hover { color: var(--red-hot); }
.site-footer .btn-primary { color: #fff; margin-top: 8px; }
.site-footer .contact-info { margin: 0; gap: 14px; }
.site-footer .contact-info .ui-icon { width: 34px; height: 34px; padding: 8px; }
.site-footer .contact-info a { font-size: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid #222; display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-mini { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-tm { width: 100%; color: #8a8a8a; font-size: 13px; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 860px) {
	:root { --bar-h: 64px; }
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
		background: var(--ink); border-top: 1px solid #2a2a2a; transition: transform .2s;
	}
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; }
	.mobile-bar .ui-icon { width: 22px; height: 22px; }
	.mobile-bar .mb-book { background: var(--red); }
	.is-typing .mobile-bar, .nav-open .mobile-bar { transform: translateY(110%); }
	.site-footer { padding-bottom: 8px; }
}

/* ---------- Misc ---------- */
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-list a { text-decoration: none; }
.text-center { text-align: center; }
.thanks-box { text-align: center; padding: 56px var(--gutter) !important; }
.thanks-box .cta-row { justify-content: center; }
.entry .cta-row .btn-outline { color: var(--ink); }
.entry .cta-row .btn-outline:hover { color: #fff; }
.band.is-dark .cta-row .btn-outline, .entry .hero .cta-row .btn-outline { color: #fff; }
.entry .hero .cta-row .btn-outline:hover { color: var(--ink); }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 560px) and (max-width: 999px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.band.is-center .cta-row { justify-content: center; }

/* Lists rendered directly inside page content keep the page gutter. */
.entry > .services, .entry > .areas, .entry > .steps, .entry > .reviews { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Phones: compact horizontal service cards, one-line top bar. */
@media (max-width: 600px) {
	.services-cards { gap: 12px; }
	.service-card a { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px; }
	.service-icon { width: 64px; height: 64px; padding: 8px; flex: none; }
	.service-title { font-size: 17px; }
	.service-text { font-size: 15px; }
	.service-more { padding-top: 6px; font-size: 14px; }
	.service-card-cta a { justify-content: flex-start; }
	.topbar-claim .long { display: none; }
}

/* =========================================================================
   v1.1 – motion, hover polish, mobile refinements
   ========================================================================= */
:root { --ease: cubic-bezier(.2, .7, .2, 1); --t: .28s; }
.lbl-short { display: none; }

/* Smooth, consistent transitions */
.btn { transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.btn .ui-icon { transition: transform var(--t) var(--ease); }
.service-card a, .steps li, .review figure, .areas a, .services-list a, .contact-info .ui-icon, .header-phone .ui-icon, .service-icon, .service-icon .icon, .main-nav .menu > li > a, .main-nav .sub-menu a, .site-footer a, .wp-block-details summary, .wp-block-details summary::after {
	transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), opacity var(--t) var(--ease);
}
.main-nav .sub-menu { transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }

@media (hover: hover) {
	.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(214, 0, 28, .32); }
	.btn-outline:hover, .btn-ghost:hover { transform: translateY(-2px); }
	.btn:hover .ui-icon { transform: scale(1.08); }

	.service-card a:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 18px 40px rgba(0, 0, 0, .10); }
	.service-card a:hover .service-icon { background: #fff0f2; transform: scale(1.04); }
	.service-card a:hover .service-icon .icon { transform: scale(1.06); }
	.service-card-cta a:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }

	.steps li:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .08); }
	.review figure:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .08); }
	.areas a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .12); }
	.services-list a:hover { transform: translateX(3px); }
	.services-list a:hover .arr { transform: translateX(3px); }
	.header-phone:hover .ui-icon { transform: rotate(-12deg) scale(1.06); }
	.contact-info li:hover .ui-icon { transform: scale(1.08); }
	.wp-block-details summary:hover { color: var(--red); }
	.wp-block-details summary:hover::after { background: #ffe5e9; }
	.split img { transition: transform .8s var(--ease); }
	.split:hover img { transform: scale(1.02); }
}
.services-list .arr { transition: transform var(--t) var(--ease); }

/* Desktop nav: animated underline */
@media (min-width: 1025px) {
	.main-nav .menu > li > a { position: relative; }
	.main-nav .menu > li > a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--red-hot); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
	.main-nav .menu > li > a:hover::before, .main-nav .current-menu-item > a::before { transform: scaleX(1); }
	.main-nav .menu > li > a:hover { background: transparent; }
}

/* FAQ: rotating plus, answer fades in (height is animated in JS) */
.wp-block-details summary::after { content: "+"; transform: translateY(-50%) rotate(0); }
.wp-block-details[open] summary::after { content: "+"; transform: translateY(-50%) rotate(45deg); background: var(--red); color: #fff; }
.wp-block-details[open] > p { animation: faqIn .35s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Hero entrance */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero > * { animation: fadeUp .7s var(--ease) both; }
.hero > *:nth-child(1) { animation-delay: .05s; }
.hero > *:nth-child(2) { animation-delay: .12s; }
.hero > *:nth-child(3) { animation-delay: .2s; }
.hero > *:nth-child(4) { animation-delay: .28s; }
.hero > *:nth-child(5) { animation-delay: .36s; }
.page-hero-copy > *, .uc-card > * { animation: fadeUp .7s var(--ease) both; }
.page-hero-copy > *:nth-child(2), .uc-card > *:nth-child(2) { animation-delay: .08s; }
.page-hero-copy > *:nth-child(3), .uc-card > *:nth-child(3) { animation-delay: .16s; }
.page-hero-copy > *:nth-child(4), .uc-card > *:nth-child(4) { animation-delay: .24s; }
.uc-card > *:nth-child(5) { animation-delay: .32s; }
.uc-card > *:nth-child(6) { animation-delay: .4s; }

/* Scroll reveal (classes are added by JS only, so content is never hidden without JS) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.hero > *, .page-hero-copy > *, .uc-card > *, .wp-block-details[open] > p { animation: none !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Under construction ---------- */
.uc { position: relative; background: var(--ink); color: #d6d6d6; padding: clamp(56px, 10vw, 120px) 0; overflow: hidden; }
.uc::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 18px, transparent 18px 36px); pointer-events: none; }
.uc-card { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.uc-badge { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 26px; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(214, 0, 28, .35); }
.uc-badge .ui-icon { width: 44px; height: 44px; animation: ucSwing 2.6s ease-in-out infinite; transform-origin: 70% 30%; }
@keyframes ucSwing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(0); } }
.uc .eyebrow { color: var(--red-hot); }
.uc h1 { color: #fff; margin-bottom: 16px; }
.uc p { font-size: 18px; color: #cfcfcf; }
.uc .cta-row { justify-content: center; }
.uc-bar { height: 6px; max-width: 320px; margin: 34px auto 0; border-radius: 6px; background: #2a2a2a; overflow: hidden; }
.uc-bar span { display: block; height: 100%; width: 40%; border-radius: 6px; background: linear-gradient(90deg, var(--red), var(--red-hot)); animation: ucBar 2.2s var(--ease) infinite alternate; }
@keyframes ucBar { from { transform: translateX(-20%); width: 30%; } to { transform: translateX(180%); width: 45%; } }
.uc-links { padding: 64px 0 80px; }
.uc-links h2 { text-align: center; margin-bottom: 8px; }
.uc-links .wrap > p { text-align: center; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .uc-badge .ui-icon, .uc-bar span { animation: none; } }

/* ---------- Mobile refinements ---------- */
@media (max-width: 600px) {
	h1 { font-size: clamp(30px, 8.6vw, 38px); }
	h2 { font-size: clamp(23px, 6.6vw, 28px); }
	.band { padding: 52px var(--gutter) !important; }
	.band > p { font-size: 16.5px; }

	.hero { padding: 40px var(--gutter) 44px !important; }
	.hero .eyebrow { font-size: 12px; letter-spacing: .1em; }
	.hero .lead { font-size: 17px; line-height: 1.55; }
	.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
	.cta-row .btn { width: 100%; padding-left: 14px; padding-right: 14px; }
	.cta-row .btn-primary { grid-column: 1 / -1; }
	.cta-row .lbl-long { display: none; }
	.cta-row .lbl-short { display: inline; }
	.trust { grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 26px; }
	.trust li { font-size: 14px; align-items: flex-start; line-height: 1.35; }
	.trust .ui-icon { width: 20px; height: 20px; margin-top: 1px; }

	.steps { gap: 12px; }
	.steps li { padding: 20px; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; }
	.steps .step-num { margin: 0; grid-row: span 2; }
	.steps h3 { margin: 8px 0 4px; }

	.split { gap: 24px; }
	.split img { aspect-ratio: 4 / 3; }

	.areas { grid-template-columns: 1fr 1fr; gap: 8px; }
	.areas a { padding: 12px; font-size: 15px; gap: 8px; }

	.wp-block-details summary { font-size: 15.5px; padding: 18px 44px 18px 0; }

	.request-band { padding: 52px 0; }
	.request-card { padding: 20px 16px; border-radius: 18px; }
	.request-copy > p { font-size: 16.5px; }

	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
	.site-footer { font-size: 15px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 959px) {
	.request-copy .contact-info { display: none; }
	.request-inner { gap: 24px; }
}
@media (max-width: 380px) {
	.brand-logo { padding: 3px 6px; }
	.brand-logo img { height: 32px; }
	.brand-badge { height: 38px; }
	.header-phone .ui-icon { width: 36px; height: 36px; padding: 8px; }
	.nav-toggle { width: 42px; height: 42px; }
	.trust { grid-template-columns: 1fr; }
}

/* v1.1.1 fixes */
@media (max-width: 1024px) { .header-actions { margin-left: auto; } }
@media (min-width: 1025px) { .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { background: transparent; } }
@media (max-width: 860px) {
	.hero { background-image: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.82) 38%, rgba(10,10,10,.95) 70%, rgba(10,10,10,.98) 100%), url(assets/img/hero-miele-800.webp); background-position: 70% top; background-size: 160% auto; background-repeat: no-repeat; }
}
@media (max-width: 600px) { .uc h1 { font-size: clamp(28px, 8vw, 34px); } .uc p { font-size: 16.5px; } }

/* v1.2 – client feedback: bigger logos, slightly bigger nav + phone, Roman photo */
.header-inner { min-height: 92px; }
.brand { gap: 12px; }
.brand-logo { padding: 5px 10px; border-radius: 12px; }
.brand-logo img { height: 60px; }
.brand-badge { height: 72px; border-radius: 8px; }
.main-nav .menu > li > a { font-size: 17px; padding: 10px 15px; }
.main-nav .sub-menu a { font-size: 16px; }
.header-phone .ui-icon { width: 44px; height: 44px; padding: 11px; }
.header-phone small { font-size: 13px; }
.header-phone strong { font-size: 20px; }
.header-book { font-size: 17px; min-height: 52px; padding: 13px 24px; }
@media (max-width: 1280px) and (min-width: 1025px) {
	.main-nav .menu > li > a { font-size: 16px; padding: 10px 11px; }
	.brand-logo img { height: 52px; }
	.brand-badge { height: 62px; }
	.header-inner { gap: 14px; }
}
@media (max-width: 560px) {
	.header-inner { min-height: 72px; }
	.brand { gap: 8px; }
	.brand-logo { padding: 4px 7px; border-radius: 10px; }
	.brand-logo img { height: 40px; }
	.brand-badge { height: 48px; }
	.header-phone .ui-icon { width: 40px; height: 40px; padding: 10px; }
}
@media (max-width: 380px) {
	.brand-logo img { height: 34px; }
	.brand-badge { height: 42px; }
	.header-phone .ui-icon { width: 38px; height: 38px; padding: 9px; }
}

/* Technician photo: transparent cut-out, show whole image */
.split img[src*="roman-technician"] { aspect-ratio: auto; object-fit: contain; border-radius: 0; max-width: 560px; margin: 0 auto; }
@media (hover: hover) { .split:hover img[src*="roman-technician"] { transform: scale(1.015); } }

/* v1.3 – photos from tofix.net: service card photos, map, request band background */
.service-card.has-photo a { padding-top: 0; overflow: hidden; }
.service-photo { display: block; margin: 0 -26px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card.has-photo .service-icon { margin-top: -56px; position: relative; z-index: 1; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .14); border: 3px solid #fff; }
.service-card.has-photo .service-icon { width: 80px; height: 80px; }
@media (hover: hover) {
	.service-card a:hover .service-photo img { transform: scale(1.06); }
	.service-card.has-photo a:hover .service-icon { background: #fff; }
}
@media (max-width: 600px) {
	.service-photo { display: none; }
	.service-card.has-photo a { padding-top: 18px; }
	.service-card.has-photo .service-icon { margin-top: 0; width: 64px; height: 64px; box-shadow: none; border: 0; background: var(--soft); }
}

/* Service area + map */
.split-map { align-items: center; }
.split-map .areas { grid-template-columns: repeat(2, 1fr); }
.split-map img { max-width: 520px; margin: 0 auto; box-shadow: 0 18px 44px rgba(0, 0, 0, .12); }
@media (min-width: 900px) { .split-map { grid-template-columns: 1.1fr .9fr; } }
@media (max-width: 600px) { .split-map img { aspect-ratio: 1; } }

/* Request band: kitchen panorama under a dark overlay */
.request-band {
	background-color: var(--ink);
	background-image: linear-gradient(180deg, rgba(14,14,14,.94), rgba(14,14,14,.90) 50%, rgba(14,14,14,.96)), url(assets/img/kitchen-wide-1600.webp);
	background-size: cover; background-position: center;
}
@media (max-width: 860px) {
	.request-band { background-image: linear-gradient(180deg, rgba(14,14,14,.94), rgba(14,14,14,.97)), url(assets/img/kitchen-wide-900.webp); }
}

/* CTA card: kitchen photo under dark gradient, text at the bottom */
.service-card-cta a { justify-content: flex-end; background: linear-gradient(180deg, rgba(20,20,20,.35) 0%, rgba(20,20,20,.85) 55%, rgba(20,20,20,.97) 100%), url(assets/img/kitchen-wide-900.webp) center / cover no-repeat, var(--ink) !important; min-height: 260px; }
@media (max-width: 600px) { .service-card-cta a { min-height: 0; } }

/* v1.4 – inner page polish (service pages opened) */
/* Plain lists in page content: red check markers, aligned with the text column */
.entry > ul.wp-block-list:not(.is-checklist) { list-style: none; padding-left: var(--gutter); display: grid; gap: 12px; }
.entry > ul.wp-block-list:not(.is-checklist) li { position: relative; padding-left: 34px; }
.entry > ul.wp-block-list:not(.is-checklist) li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--red); }
.entry > ul.wp-block-list:not(.is-checklist) li::after { content: ""; position: absolute; left: 7px; top: calc(.2em + 6px); width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* FAQ lines stay inside the text column */
.entry > .wp-block-details { max-width: 900px; padding-left: 0; padding-right: 0; margin-left: max(var(--gutter), calc((100% - 900px) / 2)); margin-right: max(var(--gutter), calc((100% - 900px) / 2)); }

/* Images placed directly in page content (e.g. the service area map) stay inside the text column */
.entry > .content-img { box-sizing: border-box; padding: 0; width: calc(100% - var(--gutter) * 2); max-width: 900px; height: auto; margin: 28px auto; border-radius: var(--radius-lg); box-shadow: 0 18px 44px rgba(0, 0, 0, .10); }

/* v1.6 – personal touches: Roman in the hero, reviews with initials + appliance tags */
.tech-note { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.hero > .tech-note { max-width: var(--wrap); }
.tech-note img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--red-hot); flex: none; object-fit: cover; }
.tech-note p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; font-size: 15px; color: #cfcfcf; }
.tech-note strong { color: #fff; font-size: 16px; }

.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.review-top .q { margin-bottom: 0; }
.review-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--ink); background: var(--soft); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.is-soft .review-tag { background: #f1f1f1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 14px/1 var(--head); flex: none; }
.reviews > li:nth-child(3n+2) .review-avatar { background: var(--red); }
.reviews > li:nth-child(3n+3) .review-avatar { background: #5c5c5c; }
.review-who { display: flex; flex-direction: column; line-height: 1.3; }
.review-who small { color: var(--muted); font-size: 13px; }

@media (max-width: 600px) {
	.tech-note { margin-top: 20px; gap: 12px; }
	.tech-note img { width: 48px; height: 48px; }
	.tech-note p { font-size: 14px; }
	.tech-note strong { font-size: 15px; }
}

/* v1.7 – tofix.net photos across the site: galleries, lightbox, service header backgrounds */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 12px; margin-top: 24px !important; margin-bottom: 8px !important; }
.entry > .gallery { padding-left: var(--gutter); padding-right: var(--gutter); }
.gallery-6 .g-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-4 .g-item:first-child { grid-row: span 2; }
.gallery-4 .g-item:last-child { grid-column: span 2; }
.gallery-3 { grid-auto-rows: 220px; }
.g-item { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--soft); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-zoom { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.g-zoom svg { width: 18px; height: 18px; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28)); opacity: 0; transition: opacity var(--t) var(--ease); }
@media (hover: hover) {
	.g-item:hover img { transform: scale(1.06); }
	.g-item:hover .g-zoom, .g-item:hover::after { opacity: 1; transform: none; }
}
.g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
@media (max-width: 600px) {
	.gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 8px; }
	.gallery-6 .g-item:first-child, .gallery-3 .g-item:first-child { grid-column: span 2; grid-row: span 1; }
	.gallery-4 .g-item:first-child { grid-row: span 1; }
	.gallery-4 .g-item:last-child { grid-column: span 1; }
	.gallery-3 { grid-auto-rows: 130px; }
	.g-zoom { opacity: 1; transform: none; width: 32px; height: 32px; right: 8px; bottom: 8px; }
}

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 8, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 92vw; }
.lb img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 10px; opacity: 0; transform: scale(.97); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lb img.is-ready { opacity: 1; transform: none; }
.lb figcaption { color: #bdbdbd; font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font: 400 34px/1 var(--body); cursor: pointer; display: grid; place-items: center; transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
.lb button:hover { background: var(--red); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb.is-single .lb-prev, .lb.is-single .lb-next { display: none; }
.lb-open { overflow: hidden; }
.lb-open .mobile-bar { transform: translateY(110%); }
@media (max-width: 600px) {
	.lb button { width: 44px; height: 44px; font-size: 28px; }
	.lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
	.lb-prev { left: calc(50% - 56px); }
	.lb-next { right: calc(50% - 56px); }
	.lb img { max-height: 70vh; }
}

/* Service page header: photo from tofix.net under a dark overlay */
.page-hero.has-bg { background-image: linear-gradient(90deg, rgba(14,14,14,.96) 0%, rgba(14,14,14,.88) 45%, rgba(14,14,14,.72) 100%), var(--hero-bg); background-size: cover; background-position: center; }
@media (max-width: 860px) {
	.page-hero.has-bg { background-image: linear-gradient(180deg, rgba(14,14,14,.86) 0%, rgba(14,14,14,.93) 60%, rgba(14,14,14,.97) 100%), var(--hero-bg-m); }
}

/* Page header buttons: one row next to the photo on desktop */
@media (min-width: 900px) {
	.page-hero .cta-row { flex-wrap: nowrap; gap: 10px; }
	.page-hero .cta-row .btn-lg { min-height: 50px; padding: 12px 18px; font-size: 16px; }
}
@media (min-width: 900px) and (max-width: 1180px) { .page-hero .cta-row .btn-ghost { display: none; } }
@media (max-width: 600px) { .gallery-6 .g-item:last-child { grid-column: span 2; } }

/* v1.8 – all pages open: About / Contact polish */
.entry > .contact-grid { margin-top: clamp(40px, 6vw, 64px); }
.entry > .content-img.plain { box-shadow: none; border-radius: 0; max-width: 520px; background: none; }
@media (max-width: 700px) { .entry > .reviews { margin-right: 0; } }
@media (max-width: 700px) { .entry > .reviews { scroll-padding-left: var(--gutter); } }

/* v1.9 – client request: Roman's own photos in the first screen of the home page */
.hero { background-image: radial-gradient(60% 75% at 80% 50%, rgba(214, 34, 34, .20) 0%, rgba(214, 34, 34, 0) 70%), linear-gradient(180deg, #151515 0%, #0b0b0b 100%) !important; background-size: auto !important; }
.hero > .hero-photo { display: block; box-sizing: border-box; padding: 0 !important; margin: 0; width: min(36vw, 460px); max-width: none; height: auto; border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)); animation: heroPhoto .9s var(--ease) .15s both; }
@keyframes heroPhoto { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (min-width: 861px) {
	.hero > .hero-photo { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 - 10px)); top: 0; bottom: 0; margin: auto 0; }
	.hero > *:not(.trust):not(.hero-photo) { padding-right: min(40%, 480px); }
	.hero > .trust { padding-right: min(40%, 480px) !important; }
}
@media (min-width: 861px) and (max-width: 1100px) { .hero > .hero-photo { width: 36vw; } }
@media (max-width: 860px) {
	.hero { background-image: radial-gradient(90% 40% at 50% 62%, rgba(214, 34, 34, .18) 0%, rgba(214, 34, 34, 0) 70%), linear-gradient(180deg, #151515 0%, #0b0b0b 100%) !important; }
	.hero > .hero-photo { width: min(100%, 400px); margin: 28px auto 4px; }
}
@media (prefers-reduced-motion: reduce) { .hero > .hero-photo { animation: none; } }

/* v1.10 – small boxes: equal heights in every row, full last rows, no lone tiles */
.areas, .services-list { align-items: stretch; grid-auto-rows: 1fr; }
.areas > li, .services-list > li { display: flex; min-width: 0; }
.areas > li > a, .services-list > li > a { flex: 1; min-width: 0; }
.areas a span { line-height: 1.3; }
.areas .areas-all a { justify-content: space-between; background: var(--ink); border-color: var(--ink); color: #fff; }
.areas .areas-all a .ui-icon { color: var(--red-hot); }
.areas .areas-all a:hover { background: var(--red); border-color: var(--red); }
.areas .areas-all a:hover .ui-icon { color: #fff; }
.services-list .svc-cta a { background: var(--ink); color: #fff; }
.services-list .svc-cta a:hover { background: var(--red); }
.services-list .svc-cta .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 2; }
.services-list .svc-cta a:hover .icon { background: #fff; color: var(--red); }
.services-list .svc-cta .arr { color: var(--red-hot); }
.services-list .svc-cta a:hover .arr { color: #fff; }

/* City tiles: 10 per list → 5 × 2 on wide screens, 2 × 5 on phones/tablets */
.areas { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) {
	.areas:not(.split-map .areas) { grid-template-columns: repeat(5, 1fr); }
	.areas:not(.split-map .areas) a { padding: 12px 14px; gap: 8px; font-size: 15.5px; }
}

/* Compact service list: 6 → 3 × 2, 8 → 2 × 4 */
.services-list { grid-template-columns: 1fr; }
@media (min-width: 600px) { .services-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-list:not(:has(> li:nth-child(8))) { grid-template-columns: repeat(3, 1fr); } }

/* Service cards (8 incl. the "Not sure" card): 4 × 2 wide, 2 × 4 medium, 1 column on phones */
@media (min-width: 600px) { .services-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-cards { grid-template-columns: repeat(4, 1fr); } }

/* Problem checklists: two even columns; an odd last item spans the full row */
@media (min-width: 700px) {
	.entry .is-checklist, .entry ul.wp-block-list.is-checklist { grid-template-columns: repeat(2, 1fr); }
	.entry .is-checklist > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Inner pages: the card grid uses the full page width (like the home page) so 4 cards fit per row */
@media (min-width: 1100px) { .entry > .services-cards { max-width: calc(var(--wrap) + var(--gutter) * 2); } }

/* v1.11 – header labels never wrap (Mac/iOS system fonts are wider than Windows ones) */
.main-nav .menu > li > a, .header-phone, .header-phone strong, .header-phone small, .header-book, .topbar, .topbar * { white-space: nowrap; }
.main-nav .menu { flex-wrap: nowrap; }
.main-nav .menu > li { flex: none; }
/* Fluid header sizes on desktop so everything fits on one row at any width/font */
@media (min-width: 1025px) {
	.header-inner { gap: clamp(10px, 1.1vw, 16px); }
	.brand-logo img { height: clamp(46px, 4.2vw, 56px); }
	.brand-badge { height: clamp(54px, 5vw, 66px); }
	.main-nav .menu { gap: 0; }
	.main-nav .menu > li > a { font-size: clamp(14.5px, 1.18vw, 16.5px); padding: 10px clamp(7px, .9vw, 11px); }
	.main-nav .menu > li > a::before { left: clamp(7px, .9vw, 11px); right: clamp(7px, .9vw, 11px); }
	.header-actions { gap: clamp(8px, 1vw, 14px); }
	.header-phone strong { font-size: clamp(16px, 1.4vw, 19px); }
	.header-phone .ui-icon { width: clamp(38px, 3.1vw, 44px); height: clamp(38px, 3.1vw, 44px); padding: clamp(9px, .8vw, 11px); }
	.header-book { font-size: clamp(15px, 1.18vw, 16.5px); padding: 12px clamp(14px, 1.6vw, 20px); min-height: 48px; }
}
/* Mobile menu: every link on one line – services in one column, cities in two */
@media (max-width: 1024px) {
	.main-nav .sub-menu a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.main-nav .sub-menu:has(a[href*="-repair/"]:not([href*="/miele-repair-"])) { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .main-nav .sub-menu a { font-size: 14.5px; } }
@media (max-width: 1024px) { .main-nav .menu > li > a { padding: 14px 0; font-size: 19px; } .main-nav .menu > li > a::before { display: none; } }

/* v1.14 – the closed mobile menu must never catch taps: its sub-menus were "visibility: visible" inside a hidden parent */
@media (max-width: 1024px) {
	.main-nav { pointer-events: none; }
	.nav-open .main-nav { pointer-events: auto; }
	body:not(.nav-open) .main-nav .sub-menu, body:not(.nav-open) .main-nav li:hover > .sub-menu, body:not(.nav-open) .main-nav li:focus-within > .sub-menu { visibility: hidden; }
}

/* v1.15 - own Live Chat badge (replaces Tawk's bubble); phones use the Chat button in the bottom bar */
.chat-badge { position: fixed; right: 22px; bottom: 20px; z-index: 45; width: 96px; height: 96px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); transition: transform .25s var(--ease), opacity .2s; }
.chat-badge svg { display: block; width: 100%; height: 100%; }
.chat-badge:hover { transform: translateY(-3px) scale(1.04); }
.chat-badge:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 4px; border-radius: 22px; }
.chat-open .chat-badge { opacity: 0; visibility: hidden; pointer-events: none; }
.mobile-bar .js-chat { position: relative; }
.chat-unread .chat-badge::after, .chat-unread .mobile-bar .js-chat::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #1fbf5c; border: 2px solid #fff; }
.chat-unread .chat-badge::after { top: -2px; right: 4px; }
.chat-unread .mobile-bar .js-chat::after { top: 8px; left: calc(50% + 8px); }
@media (max-width: 860px) { .chat-badge { display: none; } }
