
/* Extreme Solutions — derived from the approved reference (07-referencia-aprovada/style.css).
   Exact demo palette; small-text variants (--gold-text, --muted-text) chosen for ≥4.5:1 on paper. */
:root {
  --paper: #fafaf7; --ink: #20221f; --gold: #a28343; --muted: #777a73; --line: #e4e3dc;
  --gold-text: #80662f; --muted-text: #62655e; --body: #3b3e38; --panel: #f3f1ea; --white: #fff; --error: #9b2c1f;
  --font-head: Manrope, 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: max(20px, 5vw); --max: 1536px; --header-h: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; font-size: 15px; transition: top .15s; }
.skip-link:focus { top: 12px; }
.small { font-size: 15px; color: var(--muted-text); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Type pieces ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 22px; line-height: 1.5; }
.eyebrow-gold { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 6px; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.75; color: var(--muted-text); max-width: 34em; }
h1 { font-size: clamp(40px, 4.6vw, 76px); letter-spacing: -.045em; line-height: 1.06; margin: 0 0 26px; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
h2 { font-size: clamp(30px, 3vw, 48px); letter-spacing: -.035em; line-height: 1.12; margin: 0 0 20px; }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 10px; }
.intro { font-size: clamp(17px, 1.25vw, 19px); color: var(--muted-text); max-width: 38em; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 54px; padding: 15px 22px 15px 24px; font-size: 15px; font-weight: 500; letter-spacing: .01em; line-height: 1.3; transition: background .18s var(--ease), transform .18s var(--ease), color .18s, border-color .18s; }
.btn .arrow { font-size: 18px; line-height: 1; }
.btn-primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-primary .arrow { color: #d5ba7b; }
.btn-primary:hover { background: #7d6637; border-color: #7d6637; transform: translateY(-2px); }
.btn-primary:active { transform: none; }
.btn-primary[disabled], .btn-primary[aria-disabled="true"] { background: #6b6d66; border-color: #6b6d66; cursor: progress; transform: none; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary .arrow { color: var(--gold-text); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-secondary:hover .arrow { color: #d5ba7b; }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--ink); padding: 8px 0 6px; transition: border-color .18s, color .18s; }
.text-link .arrow { color: var(--gold-text); }
.text-link:hover { color: var(--gold-text); border-color: var(--gold); }
.phone-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 500; padding: 6px 2px; border-bottom: 1px solid transparent; transition: border-color .18s; }
.phone-link svg { width: 18px; height: 18px; color: var(--gold-text); }
.phone-link:hover { border-bottom-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 250, 247, .94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); transition: transform .4s var(--ease); }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-hidden.nav-open, .site-header.is-hidden:focus-within { transform: none; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); position: relative; }
.header-inner::after { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); bottom: -1px; height: 1px; background: var(--line); }
.brand { display: inline-flex; align-items: center; flex: none; padding: 6px 0; }
.brand svg { width: 188px; height: auto; color: var(--ink); }
.brand .logo-mark { color: var(--gold); }
.primary-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; font-size: 15px; font-weight: 500; background: none; border: 0; position: relative; }
.sub-toggle svg { width: 12px; height: 12px; transition: transform .18s; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.nav-list > li > a::after, .sub-toggle::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after, .sub-toggle:hover::after { transform: scaleX(1); }
.has-sub { position: relative; }
.sub-menu { display: none; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(32, 34, 31, .25); padding: 8px; z-index: 30; }
.sub-menu ul { list-style: none; }
.sub-menu a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 14px; min-height: 44px; font-size: 15px; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--panel); }
.sub-note { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.has-sub.open .sub-menu { display: block; }
.no-js .has-sub:hover .sub-menu, .no-js .has-sub:focus-within .sub-menu { display: block; }
.nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 22px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--gold-text); }
.header-cta { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--ink); padding: 8px 0 6px; white-space: nowrap; }
.header-cta .arrow { color: var(--gold-text); }
.header-cta:hover { color: var(--gold-text); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 10px; background: none; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Story hero: the scene is built as you scroll ---------- */
.story { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 56%); max-width: 1800px; margin-inline: auto; margin-top: calc(-1 * var(--header-h)); padding-left: var(--gutter); }
.story-copy { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 24px) 36px 48px 0; z-index: 2; }
.story-copy h1 { max-width: 11.5em; }
.story-copy .lead { margin-bottom: 34px; max-width: 30em; }
.story-hint { display: flex; align-items: center; gap: 14px; margin: 48px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-text); transition: opacity .4s var(--ease); }
.hint-line { position: relative; width: 1px; height: 30px; overflow: hidden; background: var(--line); }
.hint-line::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); }
.story.is-scrolled .story-hint, .story.is-static .story-hint, .no-js .story-hint { opacity: 0; }
.story-track { position: relative; height: calc(100vh + var(--stages, 4) * 62vh); height: calc(100svh + var(--stages, 4) * 62svh); }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.story .visual { position: absolute; inset: 0; min-height: 0; }
.story.is-static .story-track, .no-js .story-track { height: auto; }
.story.is-static .story-stage, .no-js .story-stage { position: relative; height: clamp(420px, 46vw, 680px); }
.story.is-static .story-copy, .no-js .story-copy { position: relative; height: auto; min-height: clamp(420px, 46vw, 680px); }
.story-ticks { position: absolute; z-index: 1; top: calc(var(--header-h) + 28px); left: 36px; right: 9%; display: grid; grid-template-columns: repeat(var(--stages, 4), 1fr); gap: 16px; list-style: none; }
.story-ticks li { display: grid; gap: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9a988c; transition: color .3s; }
.story-ticks li.is-on { color: var(--ink); }
.story-ticks .n { color: var(--gold-text); margin-right: 4px; }
.tick { display: block; height: 2px; background: #e4e2d9; overflow: hidden; }
.tick i { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.no-js .story-ticks, .story.is-static .story-ticks { display: none; }
.breadcrumb { margin-bottom: 26px; font-size: 14px; color: var(--muted-text); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--gold); }
.breadcrumb a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; display: inline-block; padding: 10px 0; }
.breadcrumb a:hover { text-decoration-color: var(--ink); }
.breadcrumb [aria-current] { padding: 10px 0; display: inline-block; }
.visual { position: relative; min-width: 0; min-height: 560px; overflow: hidden; background: radial-gradient(ellipse at 55% 50%, #edece4 0, rgba(247, 247, 242, .4) 50%, transparent 73%); }
.scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-fallback { position: absolute; inset: 0; display: block; }
.scene-fallback img { width: 100%; height: 100%; object-fit: contain; object-position: 46% 40%; }
.no-js .scene-canvas { display: none; }
.js .scene-fallback { display: none; }
.js .visual.scene-error .scene-fallback { display: block; }
.js .visual.scene-error .scene-canvas { display: none; }
.scene-caption { position: absolute; z-index: 1; bottom: 56px; left: 40px; right: 24px; display: flex; align-items: center; gap: 20px; pointer-events: none; }
.scene-number { font-family: var(--font-head); font-size: 56px; font-weight: 300; color: #b9a16a; line-height: 1; }
.scene-title { font-family: var(--font-head); font-size: 21px; font-weight: 500; letter-spacing: -.01em; margin: 0 0 4px; }
.scene-sub { font-size: 15px; color: var(--muted-text); margin: 0; }
.scene-caption.is-swapping > * { animation: caption-in .55s var(--ease) both; }
.scene-caption.is-swapping > div { animation-delay: .06s; }
@keyframes caption-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (no scene) ---------- */
.page-hero { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 88px); position: relative; }
.page-hero::after { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); }
.page-hero h1 { max-width: 13em; }
.page-hero .lead { max-width: 36em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 7vw, 112px); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head .intro { margin-top: 4px; }
.gallery-section { padding-top: clamp(56px, 7vw, 104px); }
.gallery { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.gallery-item { margin: 0; }
.gallery-item img, .split-media img, .card-media img { width: 100%; background: var(--panel); }
.gallery-item img { aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-item:nth-child(2) { margin-top: clamp(24px, 6vw, 88px); }
.gallery-item:nth-child(3) { margin-top: clamp(12px, 3vw, 44px); }
.gallery-item figcaption { display: flex; gap: 14px; align-items: baseline; padding-top: 14px; font-size: 15px; color: var(--muted-text); }
.gallery-item figcaption .n, .card-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--gold-text); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.split-copy p { color: var(--body); max-width: 34em; }
.split-copy .text-link { margin-top: 12px; }
.split--mascot { grid-template-columns: 1.4fr .8fr; }

.tag-list { margin-top: 28px; }
.tag-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.tag-list ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { font-size: 15px; padding: 9px 16px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; }

.editorial-grid { display: grid; grid-template-columns: minmax(80px, 2fr) 10fr; gap: clamp(20px, 4vw, 56px); }
.editorial-n { font-family: var(--font-head); font-size: clamp(40px, 4vw, 56px); font-weight: 300; color: var(--gold); line-height: 1; margin: 6px 0 0; }
.editorial .intro { margin-bottom: 0; }
.editorial .btn { margin-top: 32px; }
.editorial + .editorial { padding-top: 0; }

/* Pricing component (data-controlled; numeric block only when price.enabled) */
.pricing { max-width: 1180px; background: var(--white); border: 1px solid var(--line); padding: clamp(32px, 5vw, 64px); }
.pricing h2 { margin-bottom: 18px; }
.price-line { font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.3; margin-bottom: 10px; }
.price-line strong { font-weight: 600; }
.price-qualifier { font-size: 16px; color: var(--muted-text); margin-bottom: 22px; }
.pricing--price { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.pricing--price .price-qualifier { margin-bottom: 0; }
.pricing--narrative { max-width: 920px; }
.pricing--narrative p { color: var(--body); max-width: 36em; margin-bottom: 30px; }
.price-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.price-details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; cursor: pointer; font-weight: 500; font-size: 16px; }
.price-details summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.price-details summary svg, .faq-item summary svg { width: 16px; height: 16px; flex: none; color: var(--gold-text); transition: transform .2s var(--ease); }
.price-details[open] summary svg, .faq-item[open] summary svg { transform: rotate(45deg); }
.details-body { padding: 4px 0 22px; }
.details-h { font-weight: 600; margin-bottom: 8px; }
.details-body p:last-child { color: var(--body); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.cards:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; }
.card-media { display: block; margin-bottom: 22px; overflow: hidden; }
.card-media img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.025); }
.card-kicker { text-transform: uppercase; margin-bottom: 10px; }
.card h3 { font-size: clamp(20px, 1.6vw, 24px); }
.card p { color: var(--muted-text); font-size: 16px; }
.card .text-link { margin-top: auto; align-self: flex-start; }

.process { background: transparent; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.step { border-top: 1px solid var(--line); padding-top: 26px; }
.step-n { display: block; font-family: var(--font-head); font-size: 48px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 22px; }
.step p { color: var(--muted-text); font-size: 16px; }

/* Mascot: a free-standing cut-out with a ground shadow. It only blinks: two eyelid frames flash briefly. */
.mascot { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 400px; aspect-ratio: 1; }
.mascot picture, .mascot img { display: block; width: 100%; height: auto; }
.mascot::before { content: ""; position: absolute; left: 27%; right: 26%; top: 89.8%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 28, 16, .3), rgba(40, 28, 16, 0)); pointer-events: none; }
.mascot .mascot-blink { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.mascot--large { max-width: 460px; }
.mascot--small { max-width: 250px; margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .mascot-blink--1 { animation: blink-half 7s linear 1.2s infinite; }
  .mascot-blink--2 { animation: blink-shut 7s linear 1.2s infinite; }
}
/* A 7s cycle: one blink, then a quick double blink. Each blink: half-closed 40ms, shut 85ms, half 40ms. */
@keyframes blink-half {
  0%, 37.99% { opacity: 0; } 38%, 38.59% { opacity: 1; } 38.6%, 39.79% { opacity: 0; } 39.8%, 40.39% { opacity: 1; } 40.4%, 85.99% { opacity: 0; }
  86%, 86.59% { opacity: 1; } 86.6%, 87.79% { opacity: 0; } 87.8%, 88.39% { opacity: 1; } 88.4%, 90.99% { opacity: 0; }
  91%, 91.59% { opacity: 1; } 91.6%, 92.79% { opacity: 0; } 92.8%, 93.39% { opacity: 1; } 93.4%, 100% { opacity: 0; }
}
@keyframes blink-shut {
  0%, 38.59% { opacity: 0; } 38.6%, 39.79% { opacity: 1; } 39.8%, 86.59% { opacity: 0; } 86.6%, 87.79% { opacity: 1; }
  87.8%, 91.59% { opacity: 0; } 91.6%, 92.79% { opacity: 1; } 92.8%, 100% { opacity: 0; }
}

.area-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.area p { color: var(--body); }
.city-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 22px; }
.city-list li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.areas-body .city-list li { font-size: clamp(22px, 2.4vw, 34px); }
.faq .section-head { margin-bottom: 18px; }
.faq .section-head h2 { font-size: clamp(26px, 2.4vw, 36px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; cursor: pointer; font-family: var(--font-head); font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.4; }
.faq-item summary:hover { color: var(--gold-text); }
.faq-a { padding: 0 48px 22px 0; color: var(--body); font-size: 16px; }
.faq--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.faq--split .section-head h2 { font-size: clamp(30px, 3vw, 48px); }
.split-copy .split-n { font-family: var(--font-head); font-size: clamp(32px, 3vw, 44px); font-weight: 300; color: var(--gold); line-height: 1; margin: 0 0 22px; }

.final-cta { padding-block: clamp(32px, 4vw, 56px) clamp(72px, 8vw, 120px); }
.final-inner { background: var(--panel); padding-block: clamp(48px, 7vw, 104px); position: relative; }
.final-inner { padding-inline: clamp(24px, 6vw, 96px); max-width: calc(var(--max) - 2 * 0px); }
.final-inner h2 { font-size: clamp(32px, 3.6vw, 56px); max-width: 14em; }
.final-inner > p { color: var(--muted-text); font-size: 18px; margin-bottom: 30px; }
.phone-alt { margin-top: 26px !important; font-size: 16px; color: var(--muted-text) !important; }
.phone-alt a { color: var(--ink); border-bottom: 1px solid var(--ink); padding: 10px 0 2px; }
.final-cta .wrap { padding-inline: 0; }
.final-cta { padding-inline: var(--gutter); }

.related-areas { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; color: var(--muted-text); }
.about-block + .about-block { margin-top: 48px; }
.about-block p { color: var(--body); }
.warranty { display: flex; align-items: center; gap: 12px; margin: 40px 0 32px; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 104px); align-items: start; }
.contact-body { padding-top: clamp(48px, 6vw, 88px); }
.inquiry-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.req { font-weight: 400; color: var(--muted-text); font-size: 14px; }
.hint { font-size: 14px; color: var(--muted-text); margin: -2px 0 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid #c9c7bc; border-radius: 2px; padding: 13px 14px; min-height: 52px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.field select { appearance: none; 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% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a3a196; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(162, 131, 67, .35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); border-left-width: 4px; }
.field-error { color: var(--error); font-size: 14px; font-weight: 500; margin: 0; display: flex; gap: 8px; align-items: baseline; }
.field-error::before { content: '!'; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: 11px; font-weight: 700; flex: none; transform: translateY(2px); }
.field-error[hidden] { display: none; }
.fieldset { border: 0; padding: 0; }
.fieldset legend { padding: 0; margin-bottom: 10px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 14px; border: 1px solid #c9c7bc; background: var(--white); cursor: pointer; font-size: 16px; }
.choice input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.fieldset.has-error .choice { border-color: var(--error); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-line { font-size: 15px; color: var(--muted-text); margin: 0; }
.privacy-line a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { margin: 0; font-size: 15px; font-weight: 500; }
.form-status.is-error { color: var(--error); }
.error-summary { border: 1px solid var(--error); border-left-width: 4px; background: #fdf6f4; padding: 18px 20px; }
.error-summary:focus { outline: 2px solid var(--gold); outline-offset: 3px; }
.error-summary-h { font-weight: 600; margin-bottom: 8px; }
.error-summary ul { padding-left: 20px; }
.error-summary a { color: var(--error); text-decoration: underline; }
.contact-aside { position: sticky; top: 24px; }
.phone-card { background: var(--panel); padding: clamp(28px, 3vw, 40px); }
.big-phone { display: inline-block; font-family: var(--font-head); font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.02em; padding: 6px 0; margin-bottom: 14px; border-bottom: 1px solid var(--ink); }
.phone-card > p:not(.eyebrow-gold) { color: var(--muted-text); font-size: 16px; }
.phone-card .city-list li { font-size: 17px; }

/* ---------- Message pages, prose ---------- */
.message-page { padding-block: clamp(80px, 12vw, 176px); }
.message-page h1 { max-width: 12em; }
.message-page .lead { margin-bottom: 34px; }
.message-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 36px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; letter-spacing: -.02em; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--body); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(56px, 6vw, 88px) 28px; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand .brand svg { width: 170px; }
.footer-brand p { color: var(--muted-text); font-size: 15px; max-width: 26em; margin: 18px 0 0; }
.footer-exp { display: flex; align-items: center; gap: 10px; color: var(--ink) !important; font-weight: 500; }
.footer-h { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 6px 0 14px; }
.footer-col ul { list-style: none; }
.footer-col a { display: inline-block; padding: 8px 0; font-size: 15px; }
.footer-col ul a:hover { color: var(--gold-text); }
.footer-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 20px; font-weight: 500; }
.footer-phone svg { width: 18px; height: 18px; color: var(--gold-text); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-contact .text-link { display: inline-flex; margin-top: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-text); }
.footer-bottom p { margin: 0; }

/* ---------- Compact service list, link rows, mobile action bar ---------- */
.svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.svc-grid .section-head { margin-bottom: 0; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.svc-row::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc-row:hover::after, .svc-row:focus-visible::after { transform: scaleX(1); }
.svc-name { font-family: var(--font-head); font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.svc-desc { color: var(--muted-text); font-size: 15px; }
.svc-row .arrow { color: var(--gold-text); transition: transform .3s var(--ease); }
.svc-row:hover .arrow { transform: translate(3px, -3px); }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.gallery-link { margin-top: clamp(28px, 4vw, 48px); }
.about-teaser .city-list { margin: 22px 0 18px; }
.mobile-bar { display: none; }

/* ---------- Process: a gold line runs through the steps as you scroll ---------- */
.process { background: var(--panel); }
.steps { position: relative; }
.steps::before { content: ''; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(var(--p, 1)); transform-origin: left; }
.js .steps::before { transform: scaleX(var(--p, 0)); }
.js .step .step-n { color: #d6ccb4; transition: color .5s var(--ease); }
.js .step.is-on .step-n { color: var(--gold); }

/* ---------- Reveal (never hides content without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .38s var(--ease), transform .38s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(112%); transition: transform .85s var(--ease); transition-delay: calc(var(--i, 0) * 38ms); }
.js [data-split].is-in .w > span { transform: none; }
/* The wipe clips the inner picture, never the observed element: Chrome counts an element's own clip-path
   in IntersectionObserver ratios, so a fully clipped target would never reach the reveal threshold. */
.js .reveal-media > picture { display: block; overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.js .reveal-media img { transform: scale(1.08); transition: transform 1.5s var(--ease); }
.js .reveal-media.is-in > picture { clip-path: inset(0 0 0 0); }
.js .reveal-media.is-in img { transform: none; }
.js .gallery-item figcaption { opacity: 0; transition: opacity .8s var(--ease) .45s; }
.js .gallery-item.is-in figcaption { opacity: 1; }
.js .card:hover .reveal-media.is-in img { transform: scale(1.025); transition-duration: .5s; }
.gallery-item[data-parallax] { will-change: transform; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-cta { display: none; }
}
@media (max-width: 1080px) {
  :root { --header-h: 84px; }
  .menu-toggle { display: inline-flex; }
  .js .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(32, 34, 31, .25); padding: 12px var(--gutter) 28px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .js .site-header.nav-open .primary-nav { display: block; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-list > li { border-bottom: 1px solid var(--line); }
  .js .nav-list > li > a, .js .sub-toggle { width: 100%; justify-content: space-between; min-height: 56px; padding: 12px 0; font-size: 18px; }
  .js .nav-list > li > a::after, .js .sub-toggle::after { display: none; }
  .js .sub-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; background: transparent; }
  .js .has-sub.open .sub-menu { display: block; }
  .js .sub-menu a { padding: 12px 14px; }
  .js .nav-mobile-only { display: block; border-bottom: 0 !important; padding-top: 16px; }
  .js .nav-mobile-only .btn { width: 100%; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .menu-toggle { display: none; }
  .no-js .primary-nav { order: 3; width: 100%; margin: 0 0 12px; }
  .no-js .nav-list { flex-wrap: wrap; }
  .header-actions { margin-left: auto; gap: 14px; }
  .scene-caption { left: 20px; }
  .story-ticks { left: 20px; right: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cards:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split, .split--mascot, .area-grid, .contact-grid, .faq--split, .pricing--price { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: 1 / -1; }
  .gallery-item:nth-child(2), .gallery-item:nth-child(3) { margin-top: 0; }
  .contact-aside { position: static; }
  .svc-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { padding-left: 24px; }
  .steps::before { right: auto; bottom: 0; width: 1px; height: auto; transform: scaleY(var(--p, 1)); transform-origin: top; }
  .js .steps::before { transform: scaleY(var(--p, 0)); }
}
@media (max-width: 860px) {
  .story { display: block; margin-top: 0; padding: 0; }
  .story-copy { position: relative; height: auto; padding: 36px var(--gutter) 12px; }
  .story-stage .visual { inset: 0; }
  .story-copy h1 { max-width: 12em; font-size: clamp(36px, 6.6vw, 56px); }
  .story-hint { margin-top: 26px; }
  .story-track { height: calc(100vh + var(--stages, 4) * 46vh); height: calc(100svh + var(--stages, 4) * 46svh); }
  .story.is-static .story-copy, .no-js .story-copy { min-height: 0; }
  .story.is-static .story-stage, .no-js .story-stage { height: min(480px, 104vw); }
  .story-ticks { top: 18px; left: var(--gutter); right: var(--gutter); gap: 8px; }
  .story-ticks .tick-label { font-size: 0; }
  .story-ticks .tick-label .n { font-size: 11px; }
  .scene-caption { left: var(--gutter); bottom: calc(26px + env(safe-area-inset-bottom)); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .brand svg { width: 156px; }
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-phone { width: 44px; justify-content: center; border: 1px solid var(--line); }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  h1 { font-size: clamp(36px, 10.4vw, 52px); letter-spacing: -.04em; margin-bottom: 20px; }
  .story-copy .lead { margin-bottom: 26px; }
  .actions { gap: 10px 22px; }
  .scene-number { font-size: 40px; }
  .scene-title { font-size: 17px; }
  .scene-sub { font-size: 14px; }
  .gallery, .cards, .cards:has(> :nth-child(4)), .field-row { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; gap: 8px; }
  .editorial-n { font-size: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .faq-a { padding-right: 0; }
  .final-cta { padding-inline: 0; }
  .final-cta .final-inner { padding-inline: var(--gutter); }
  .btn { width: 100%; }
  .actions .phone-link { width: auto; }
  .text-link { gap: 16px; }
  .svc-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 20px 0; }
  .svc-desc { grid-column: 1 / -1; grid-row: 2; }
  .mobile-bar { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateY(calc(100% + 24px)); transition: transform .4s var(--ease); }
  .mobile-bar.is-on { transform: none; }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px; font-size: 15px; font-weight: 500; box-shadow: 0 12px 30px -14px rgba(32, 34, 31, .5); }
  .mobile-bar a:first-child { background: var(--white); border: 1px solid var(--line); }
  .mobile-bar a:first-child svg { width: 18px; height: 18px; color: var(--gold-text); }
  .mobile-bar a:last-child { justify-content: space-between; background: var(--ink); color: #fff; }
  .mobile-bar .arrow { color: #d5ba7b; }
  .no-js .mobile-bar { display: none; }
}
@media (max-width: 380px) {
  .brand svg { width: 138px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js [data-split] .w > span, .js .reveal-media img { transform: none; }
  .js .reveal-media > picture { clip-path: none; }
  .js .gallery-item figcaption { opacity: 1; }
  .js .steps::before { transform: none; }
  .site-header.is-hidden { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hint-line::after { animation: hint 1.8s var(--ease) infinite; }
}
@keyframes hint { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@media print {
  .site-header, .story-track, .final-cta, .menu-toggle, .mobile-bar { display: none !important; }
  body { background: #fff; }
}
