/* =================================================================
   Car Detail 360 – Pet Odor & Stain Removers
   Palette from the reference brand: yellow #ffd000 on charcoal,
   warm ivory surfaces. Fraunces (display) + Inter (text).
   ================================================================= */
:root {
  --y: #ffd000;
  --y-2: #f0c400;
  --y-ink: #8a6a00;
  --ink: #121212;
  --ink-2: #1c1c1c;
  --ink-3: #2a2a2a;
  --text: #2b2926;
  --muted: #6b665e;
  --ivory: #f7f4ee;
  --cream: #efe9dd;
  --line: #e2dccf;
  --white: #fff;
  --wa: #25d366;
  --wa-2: #1ebe5a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 48px -22px rgba(18, 18, 18, .35);
  --shadow-sm: 0 8px 22px -14px rgba(18, 18, 18, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  --sec: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 17px/1.7 var(--sans); color: var(--text); background: var(--ivory); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 em, h2 em, h3 em, .sec-title em, .hero-title em, .phero-title em { font-style: italic; font-weight: 400; color: var(--y-ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; border-radius: 4px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--y); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; margin: 0 auto; }
.h3 { font-size: 1.35rem; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.4em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.05em; font-size: .88rem; }
.btn-lg { padding: 1em 1.65em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-y { background: var(--y); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(255, 208, 0, .8); }
.btn-y:hover { background: var(--y-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-line-light:hover { border-color: var(--y); color: var(--y); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--y-ink); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--y); border-radius: 2px; }
.eyebrow-light { color: var(--y); }

/* ---------- topbar + header ---------- */
.topbar { background: #000; color: #c9c5bd; font-size: .82rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-note { margin: 0; display: flex; align-items: center; gap: 10px; }
.stripe { width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 4px rgba(255, 208, 0, .18); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: #e9e6df; }
.topbar-links a:hover { color: var(--y); }
.topbar-links .ic { color: var(--y); }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(14, 14, 14, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .3s; }
#services, #quote { scroll-margin-top: 80px; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .7); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 14px; color: #ece9e2; text-decoration: none; font-weight: 500; font-size: .94rem; border-radius: 999px; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--y); }
.nav-link.is-active { background: rgba(255, 208, 0, .08); }
.sub-toggle { display: none; background: none; border: 0; color: #ece9e2; padding: 8px; cursor: pointer; }
.has-sub > .nav-link { padding-right: 6px; }
.has-sub > .nav-link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.sub { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; padding: 10px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .22s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.sub a:hover { background: var(--ivory); color: var(--y-ink); }
.sub a .ic { color: var(--y-ink); }
.sub-mega { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; min-width: 560px; padding: 18px; }
.sub-title { display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px; font: 600 .74rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.sub-title .ic { color: var(--y-ink); }
.sub a.sub-all { margin-top: 6px; font-weight: 600; color: var(--y-ink); }
.nav-mobile-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; text-decoration: none; }
.icon-btn.wa { background: var(--wa); }
.icon-btn .ic { width: 22px; height: 22px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: none; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero, .phero { position: relative; color: #e9e6df; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 500px at 85% 10%, rgba(255, 208, 0, .14), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(255, 208, 0, .07), transparent 60%),
  linear-gradient(180deg, #0e0e0e, #161616); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-title { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.04; margin-bottom: .45em; }
.hero-title em, .phero-title em { color: var(--y); }
.hero-lead { font-size: 1.12rem; color: #cfcbc2; max-width: 560px; }
.hero-lead p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #bdb8ae; }
.hero-trust strong { color: #fff; font-weight: 600; }
.hero-trust .ic { color: var(--y); width: 22px; height: 22px; }
.hero-media { position: relative; padding: 0 0 40px 40px; }
.hero-slider { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--ink-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img, .hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-dots { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: .3s; }
.hero-dots button.is-active { width: 28px; background: var(--y); }
.hero-card { position: absolute; left: 0; bottom: 0; width: 46%; max-width: 250px; margin: 0; background: #fff; border-radius: 18px; padding: 8px; box-shadow: var(--shadow); color: var(--ink); z-index: 3; }
.hero-card img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-card figcaption { display: flex; gap: 10px; align-items: flex-start; padding: 10px 6px 4px; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.hero-card strong { display: block; color: var(--ink); font-size: .9rem; }
.hero-card-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--y); color: var(--ink); }
.hero-badge { position: absolute; top: 22px; right: -12px; background: var(--y); color: var(--ink); padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-sm); z-index: 3; line-height: 1.2; text-align: center; transform: rotate(3deg); }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.hero-badge span { font-size: .78rem; font-weight: 600; }

/* ---------- inner page hero ---------- */
.phero-in { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); }
.phero.has-img .phero-in { grid-template-columns: 1.15fr .85fr; }
.phero-title { color: #fff; font-size: clamp(2rem, 4.3vw, 3.4rem); line-height: 1.08; max-width: 920px; }
.phero-meta { margin: 20px 0 0; color: #a9a49a; font-size: .92rem; }
.phero-media { margin: 0; position: relative; }
.phero-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid rgba(255, 208, 0, .5); border-radius: 24px; }
.phero-img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-size: .85rem; color: #a9a49a; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #d9d5cc; text-decoration: none; }
.crumbs a:hover { color: var(--y); }
.crumbs [aria-current] { color: var(--y); }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--light { background: var(--ivory); }
.sec--cream { background: var(--cream); }
.sec--dark { background: var(--ink); color: #cfcbc2; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark .sec-title em, .sec--dark h2 em { color: var(--y); }
.sec--dark .eyebrow { color: var(--y); }
.sec-head { margin-bottom: 26px; }
.sec-head.is-center { text-align: center; }
.sec-head.is-center .eyebrow { justify-content: center; }
.sec-title { font-size: clamp(1.85rem, 3.4vw, 2.8rem); margin: 0; }
.sec-intro { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.sec-intro .sec-head { margin-bottom: 18px; }
.sec-outro { max-width: 780px; margin: 40px auto 0; }
.prose > :last-child { margin-bottom: 0; }
.prose.is-center { text-align: center; }
.prose.lead, .lead { font-size: 1.08rem; color: var(--muted); }
.sec--dark .prose.lead { color: #bdb8ae; }
.prose-lg { font-size: 1.08rem; }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--y-ink); }
.prose a { color: var(--y-ink); font-weight: 500; }
.prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 3px solid var(--y); background: rgba(255, 208, 0, .1); border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 1.3rem; font-style: italic; line-height: 1.4; color: var(--ink); }
.prose blockquote p { margin: 0; }
.sec--dark .prose blockquote { color: #fff; background: rgba(255, 208, 0, .08); }
.prose img { border-radius: 14px; margin: 1.2em 0; }

/* split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.is-reverse .split-text { order: 2; }
.split-media { position: relative; margin: 0; }
.split-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.split-media .frame { position: absolute; inset: 22px -22px -22px 22px; border-radius: 26px; background: var(--y); z-index: 0; }
.split.is-reverse .split-media .frame { inset: 22px 22px -22px -22px; }
.sec--cream .split-media .frame { background: var(--ink); }
.sec--dark .split-media .frame { background: transparent; border: 1.5px solid rgba(255, 208, 0, .55); }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic, .pills .ic, .checklist .ic { color: var(--ink); background: var(--y); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; }

/* text */
.sec-text .prose { font-size: 1.08rem; }
.pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.pills li { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; }

/* cards */
.cards { display: grid; gap: 22px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover::after { transform: scaleX(1); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.card-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--y); }
.card-ic .ic { width: 24px; height: 24px; }
.card-no { font: italic 400 1.6rem/1 var(--serif); color: var(--line); }
.card h3 { font-size: 1.32rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }
.sec--cream .card { border-color: transparent; }
.sec--dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, .07); }
.sec--dark .card p { color: #b5b0a6; }
.sec--dark .card-ic { background: var(--y); color: var(--ink); }
.sec--dark .card-no { color: var(--ink-3); }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: s; }
.steps-6 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 30px 26px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.sec--cream .step { border-color: transparent; }
.step-no { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; background: var(--y); color: var(--ink); font: 600 1.15rem/1 var(--serif); box-shadow: 0 0 0 7px rgba(255, 208, 0, .18); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: .96rem; }
.step p:last-child { margin-bottom: 0; }
.sec--dark .step { background: var(--ink-2); border-color: rgba(255, 255, 255, .07); }
.sec--dark .step p { color: #b5b0a6; }

/* list */
.list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border-radius: 14px; font-weight: 500; color: var(--ink); line-height: 1.45; box-shadow: var(--shadow-sm); }
.checklist small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
.sec--dark .checklist li { background: var(--ink-2); color: #fff; box-shadow: none; }

/* highlight */
.highlight { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.highlight .highlight-text:only-child { grid-column: 1 / -1; max-width: 820px; margin: 0 auto; }
.bigquote { margin: 0; padding: 40px 36px; border-radius: 24px; background: var(--y); color: var(--ink); position: relative; }
.bigquote .ic { width: 42px; height: 42px; margin-bottom: 14px; }
.bigquote p { font: italic 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.3 var(--serif); margin: 0; }
.bigquote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 600; font-size: .9rem; }

/* compare */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.compare { position: relative; display: grid; gap: 18px; }
.compare-col { padding: 28px; border-radius: var(--radius); }
.compare-col p { margin: 0; font-size: 1.05rem; }
.compare-col.is-diy { background: #fff; border: 1px dashed #cfc8b8; color: var(--muted); }
.compare-col.is-pro { background: var(--ink); color: #e9e6df; box-shadow: var(--shadow); }
.compare-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.is-diy .compare-tag { color: var(--muted); }
.is-pro .compare-tag { color: var(--y); }
.compare-vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--y); color: var(--ink); font: italic 600 1rem/1 var(--serif); box-shadow: 0 0 0 6px var(--ivory); z-index: 2; }
.sec--cream .compare-vs { box-shadow: 0 0 0 6px var(--cream); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.stat { padding: 10px 26px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 600 clamp(1.9rem, 3.4vw, 2.7rem)/1.1 var(--serif); color: var(--y); margin-bottom: 8px; }
.stat span { font-size: .95rem; }
.sec-stats { padding: clamp(48px, 6vw, 72px) 0; }
.sec--light .stat, .sec--cream .stat { border-color: var(--line); }
.sec--light .stat strong, .sec--cream .stat strong { color: var(--ink); }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; background: #fff; border-radius: 22px; border: 1px solid var(--line); }
.tier h3 { font-size: 1.6rem; margin-bottom: 10px; }
.tier-time { display: inline-flex; align-items: center; gap: 8px; color: var(--y-ink); font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.tier p { color: var(--muted); flex: 1; }
.tier .btn { align-self: flex-start; }
.tier.is-featured { background: var(--ink); border-color: var(--ink); color: #cfcbc2; transform: translateY(-10px); box-shadow: var(--shadow); }
.tier.is-featured h3 { color: #fff; }
.tier.is-featured p { color: #bdb8ae; }
.tier.is-featured .tier-time { color: var(--y); }
.tier-badge { position: absolute; top: -13px; left: 30px; padding: 6px 14px; border-radius: 99px; background: var(--y); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.svc { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sec--cream .svc { border-color: transparent; }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.svc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc:hover .svc-img { transform: scale(1.05); }
.svc-cat { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(14, 14, 14, .82); color: var(--y); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.svc-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 36px 26px 26px; }
.svc-ic { position: absolute; top: -26px; left: 24px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--y); color: var(--ink); box-shadow: 0 0 0 5px #fff; }
.svc-body h3 { font-size: 1.32rem; }
.svc-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; }
.svc-more .ic { transition: transform .25s; color: var(--y-ink); }
.svc:hover .svc-more .ic, .loc:hover .svc-more .ic, .svc-more:hover .ic { transform: translateX(4px); }

/* locations */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.loc { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.loc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.loc::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 208, 0, .14); }
.loc-code { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--ink); color: var(--y); font: 600 1.2rem/1 var(--serif); margin-bottom: 20px; }
.loc h3 { font-size: 1.45rem; }
.loc p { color: var(--muted); font-size: .95rem; flex: 1; }
.loc.is-current { border-color: var(--y); box-shadow: inset 0 0 0 1px var(--y); }
.sec--cream .loc { border-color: transparent; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 16px; }
.g-item { position: relative; margin: 0; border-radius: 18px; overflow: hidden; grid-column: span 2; background: var(--ink-3); }
.g-item.g-1 { grid-column: span 4; grid-row: span 2; }
.g-item.g-4, .g-item.g-5 { grid-column: span 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(14, 14, 14, .78); color: #fff; font-size: .84rem; backdrop-filter: blur(6px); }

/* before / after */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--ink-3); user-select: none; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-after img, .ba-before img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label { position: absolute; top: 14px; padding: 5px 12px; border-radius: 99px; background: rgba(14, 14, 14, .78); color: #fff; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; z-index: 2; pointer-events: none; }
.ba-l { left: 14px; }
.ba-r { right: 14px; background: var(--y); color: var(--ink); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 3; pointer-events: none; }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--y); color: var(--ink); font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); letter-spacing: 2px; }
.ba figcaption { margin-top: 14px; color: var(--muted); font-size: .94rem; text-align: center; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-help { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 26px; padding: 24px; border-radius: 18px; background: var(--y); color: var(--ink); }
.faq-help strong { font-family: var(--serif); font-size: 1.2rem; }
.faq-help span { font-size: .94rem; margin-bottom: 8px; }
.faqs { display: grid; gap: 12px; }
.faq { background: #fff; border-radius: 16px; border: 1px solid var(--line); transition: box-shadow .3s; }
.faq.is-open { box-shadow: var(--shadow-sm); border-color: transparent; }
.sec--cream .faq { border-color: transparent; }
.faq-q { margin: 0; font: 600 1.04rem/1.4 var(--sans); }
.faq-q button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); }
.faq-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); transition: transform .3s, background .3s; }
.faq.is-open .faq-ic { transform: rotate(45deg); background: var(--y); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }

/* CTA band – the section theme picks the box colour: light/cream = dark box, dark = yellow box */
.sec-cta { padding: clamp(28px, 4vw, 48px) 0; }
.sec-cta.sec--dark { background: var(--ivory); }
.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--ink); color: #cfcbc2; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 208, 0, .22), transparent 70%); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.cta h2 em { color: var(--y); }
.cta .eyebrow { color: var(--y); }
.cta-body p { margin-bottom: .7em; }
.cta-body p:last-child { margin-bottom: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.cta-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #e9e6df; font-size: .92rem; text-decoration: none; }
.cta-link:hover { color: var(--y); }
.sec-cta.sec--dark .cta { background: var(--y); color: #2b2600; }
.sec-cta.sec--dark .cta::before { background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 70%); }
.sec-cta.sec--dark .cta h2, .sec-cta.sec--dark .cta .eyebrow { color: var(--ink); }
.sec-cta.sec--dark .cta h2 em { color: var(--ink); }
.sec-cta.sec--dark .cta .eyebrow::before { background: var(--ink); }
.sec-cta.sec--dark .cta .btn-y { background: var(--ink); color: #fff; box-shadow: none; }
.sec-cta.sec--dark .cta-link { color: var(--ink); }
/* A CTA whose body is a long closing statement gets a stacked layout */
.cta:has(.cta-body p:nth-child(4)) { grid-template-columns: 1fr; }
.cta:has(.cta-body p:nth-child(4)) .cta-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }

/* ---------- service detail ---------- */
.svc-layout, .post-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.svc-list-box { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.svc-list-box h2 { display: flex; align-items: center; gap: 10px; }
.svc-list-box h2 .ic { color: var(--y-ink); }
.svc-list-box.is-dark { background: var(--ink); border-color: var(--ink); color: #cfcbc2; }
.svc-list-box.is-dark h2 { color: #fff; }
.svc-list-box.is-dark h2 .ic { color: var(--y); }
.svc-list-box .ticks { margin-top: 12px; }
.svc-aside { position: sticky; top: 110px; }
.aside-card { padding: 30px 26px; border-radius: 22px; background: var(--ink); color: #cfcbc2; display: grid; gap: 10px; }
.aside-card .eyebrow { margin-bottom: 0; color: var(--y); }
.aside-title { font: 600 1.45rem/1.2 var(--serif); color: #fff; margin: 0; }
.aside-text { font-size: .95rem; }
.aside-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #e9e6df; text-decoration: none; font-size: .92rem; padding: 4px; }
.aside-link:hover { color: var(--y); }
.aside-areas { list-style: none; display: grid; gap: 4px; margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.aside-areas a { display: flex; align-items: center; gap: 8px; color: #e9e6df; text-decoration: none; font-size: .92rem; padding: 4px 0; }
.aside-areas a:hover { color: var(--y); }
.aside-areas .ic { color: var(--y); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.methods { display: grid; gap: 12px; margin: 26px 0 30px; }
.method { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.method:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.method b { display: block; font-weight: 600; }
.method small { color: var(--muted); font-size: .9rem; word-break: break-word; }
.method-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--y); }
.method-ic.is-wa { background: var(--wa); color: #fff; }
.mini-h { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.area-chips li { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: .92rem; }
.area-chips b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--y); color: var(--ink); font-size: .78rem; }
.note { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.note .ic { color: var(--y-ink); margin-top: 4px; }
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--y); }
.form-title { margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { margin-bottom: 16px; }
.f label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.f label span { color: #c0392b; }
.f input, .f select, .f textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--ivory); transition: border-color .2s, background .2s, box-shadow .2s; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255, 208, 0, .25); }
.f textarea { resize: vertical; min-height: 130px; }
.f.has-error input, .f.has-error select, .f.has-error textarea { border-color: #c0392b; background: #fff6f5; }
.f-err { display: block; color: #c0392b; font-size: .84rem; margin-top: 5px; }
.form-msg { margin-top: 14px; font-size: .95rem; }
.form-msg.is-ok { color: #1d7a3e; }
.form-msg.is-err { color: #c0392b; }
.form-success { text-align: center; padding: 20px 0; }
.form-success > .ic { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--y); color: var(--ink); margin: 0 auto 16px; }
.map-sec iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4); }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body time { font-size: .82rem; color: var(--y-ink); font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; }
.post-body h2, .post-body h3 { font-size: 1.3rem; }
.post-body h2 a, .post-body h3 a { text-decoration: none; }
.post-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.empty { text-align: center; font-size: 1.1rem; color: var(--muted); padding: 40px 0; }
.empty a { color: var(--y-ink); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pager a.is-current { background: var(--ink); color: var(--y); border-color: var(--ink); }
.post-content { min-width: 0; }

/* ---------- footer ---------- */
.site-footer { background: #0b0b0b; color: #a9a49a; font-size: .95rem; }
.footer-cta { background: var(--y); color: var(--ink); }
.footer-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.footer-cta .eyebrow { color: var(--ink); margin-bottom: 6px; }
.footer-cta .eyebrow::before { background: var(--ink); }
.footer-cta-title { margin: 0; font: 600 clamp(1.25rem, 2.3vw, 1.7rem)/1.25 var(--serif); max-width: 640px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .btn-y { background: var(--ink); color: #fff; box-shadow: none; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-logo { width: 160px; margin-bottom: 20px; }
.footer-brand p { max-width: 360px; }
.socials { list-style: none; display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); color: #e9e6df; transition: .2s; }
.socials a:hover { background: var(--y); color: var(--ink); border-color: var(--y); }
.footer-h { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-col span { display: inline-flex; align-items: flex-start; gap: 10px; color: #a9a49a; text-decoration: none; }
.footer-col a:hover { color: var(--y); }
.footer-contact .ic { color: var(--y); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-vals { color: var(--y); letter-spacing: .06em; }

/* Floating contact: column on desktop, fixed bar on phones */
.mobile-bar { position: fixed; right: 20px; bottom: 96px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--y); color: var(--ink); font-size: 0; text-decoration: none; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55); transition: transform .2s; }
.mobile-bar a:hover { transform: scale(1.08); }
.mobile-bar a .ic { width: 24px; height: 24px; }
.mobile-bar a.is-wa { background: var(--wa); color: #fff; }
.to-top { position: fixed; right: 20px; bottom: 26px; z-index: 80; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--y); border: 1px solid rgba(255, 255, 255, .12); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top .ic { transform: rotate(180deg); }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }

/* Consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 560px; padding: 20px 22px; border-radius: 18px; background: var(--ink); color: #cfcbc2; box-shadow: var(--shadow); font-size: .92rem; }
.consent a { color: var(--y); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Scroll reveal (disabled for reduced motion) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-active img { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* 404 */
.nf .phero-in { min-height: 52vh; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .topbar-note { display: none; }
  .topbar-in { justify-content: center; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 0; width: 42px; height: 42px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  body.nav-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block of the fixed menu, so drop it on mobile */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0e0e0e; }
  .nav-open .site-header { z-index: 100; }
  .burger { display: flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); margin: 0; padding: 92px 22px 28px; background: #0e0e0e; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); z-index: 95; box-shadow: -20px 0 60px rgba(0, 0, 0, .5); }
  .nav-open .nav { transform: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 94; opacity: 0; visibility: hidden; transition: .3s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .header-cta { margin-left: auto; position: relative; z-index: 96; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-link { flex: 1; padding: 15px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link.is-active { background: none; }
  .has-sub > .nav-link::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
  .sub-toggle .ic { transition: transform .25s; }
  .sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
  .sub, .sub-mega { position: static; width: 100%; min-width: 0; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; background: rgba(255, 255, 255, .04); margin-bottom: 12px; padding: 8px; grid-template-columns: 1fr; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { transform: none; }
  .has-sub.is-open > .sub { display: block; }
  .sub a { color: #d9d5cc; }
  .sub a:hover { background: rgba(255, 255, 255, .06); color: var(--y); }
  .sub-title { color: #8f8a80; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 26px; }

  .hero-in, .phero.has-img .phero-in, .split, .list-grid, .highlight, .compare-grid, .faq-grid, .contact-grid, .svc-layout, .post-layout, .cta { grid-template-columns: 1fr; }
  .hero-media { padding: 0 0 30px 22px; max-width: 620px; }
  .split.is-reverse .split-text { order: 0; }
  .split-media { max-width: 620px; }
  .cards.cols-3, .tiers, .loc-grid, .steps-6 { grid-template-columns: repeat(2, 1fr); }
  .tier.is-featured { transform: none; }
  .faq-side, .svc-aside { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-item, .g-item.g-4, .g-item.g-5 { grid-column: span 1; }
  .g-item.g-1 { grid-column: span 2; grid-row: span 1; }
  .footer-cta-in { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar { display: none; }
  .header-in { min-height: 66px; gap: 12px; }
  .brand img { width: 126px; }
  .header-cta .btn { display: none; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .hero-media { padding: 0 0 24px 0; }
  .hero-card { position: relative; width: 70%; margin: -60px 0 0 auto; }
  .hero-badge { right: 8px; }
  .phero-media::before { inset: 12px -8px -12px 12px; }
  .split-media .frame, .split.is-reverse .split-media .frame { inset: 14px -8px -14px 14px; }
  .cards.cols-3, .cards.cols-2, .tiers, .loc-grid, .steps-6, .steps, .checklist, .svc-lists, .f-row, .svc-grid, .post-grid, .ba-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .stat { border-left: 0; padding: 0 10px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-item.g-1 { grid-column: span 1; }
  .compare-vs { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-top: 52px; }
  .footer-cta-actions .btn { flex: 1; }
  .mobile-bar { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; background: var(--ink); box-shadow: 0 -8px 24px rgba(0, 0, 0, .3); }
  .mobile-bar a { flex: 1; width: auto; height: 60px; border-radius: 0; font-size: .95rem; font-weight: 600; gap: 8px; box-shadow: none; }
  .mobile-bar a:hover { transform: none; }
  .to-top { bottom: 76px; width: 46px; height: 46px; right: 14px; }
  .consent { bottom: 76px; }
  .ba-handle::after { width: 38px; height: 38px; }
}

/* HTML sitemap page */
.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.sitemap-list { list-style: none; margin: 12px 0 0; padding: 0; }
.sitemap-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sitemap-list a { text-decoration: none; }
.sitemap-list a:hover { text-decoration: underline; }
.footer-vals a { color: inherit; }
