/* ==========================================================================
   Eagle Eye Home Renovations — Design System
   Palette: deep navy + brass/gold on warm off-white
   Type: Fraunces (display) + Inter (UI/body)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #08192a;
  --navy-800: #0b2035;
  --navy-700: #0e2a43;
  --navy-600: #163a5a;
  --navy-500: #1f4c73;
  --gold-600: #b3893b;
  --gold-500: #c9a24e;
  --gold-400: #d9b768;
  --gold-200: #ecd9a6;

  /* Neutrals (warm) */
  --ink: #17212b;
  --slate: #5a6675;
  --slate-light: #8a94a1;
  --cloud: #f7f4ee;
  --cloud-2: #efeae1;
  --paper: #ffffff;
  --line: #e6e1d7;
  --line-strong: #d6cfc1;

  /* Semantic */
  --bg: var(--cloud);
  --text: var(--ink);
  --muted: var(--slate);
  --accent: var(--gold-500);
  --accent-strong: var(--gold-600);

  /* Type */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: 0.8rem;
  --fs-body: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h4: 1.25rem;
  --fs-h3: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.4vw, 3rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4.2vw, 4.4rem);

  /* Spacing */
  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --container: 1200px;
  --container-narrow: 820px;

  /* UI */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(11, 32, 53, 0.06);
  --shadow: 0 18px 40px -18px rgba(11, 32, 53, 0.28);
  --shadow-lg: 0 40px 80px -32px rgba(8, 25, 42, 0.45);
  --ring: 0 0 0 3px rgba(201, 162, 78, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--gold-200); color: var(--navy-800); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--navy-800); }
h1 { font-size: var(--fs-h1); font-weight: 600; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; }
p { color: var(--muted); }
p.lead { font-size: var(--fs-lg); color: var(--slate); }
strong { color: var(--text); font-weight: 700; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 0.5rem + 2vw, 2.5rem); }
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }
.section--cloud { background: var(--cloud); }
.section--paper { background: var(--paper); }
.section--cloud2 { background: var(--cloud-2); }
.grid { display: grid; gap: clamp(1.1rem, 0.7rem + 1.4vw, 2rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Section heading ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-strong);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); --btn-bd: var(--gold-500);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.6rem; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  cursor: pointer; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background .3s, color .3s, border-color .3s;
  box-shadow: 0 10px 24px -12px rgba(201, 162, 78, 0.9);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(201, 162, 78, 0.95); }
.btn:active { transform: translateY(0); }
.btn .btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { --btn-bd: var(--navy-800); box-shadow: none; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.5); box-shadow: none; }
.btn--outline-light:hover { --btn-bd: #fff; background: rgba(255,255,255,0.08); box-shadow: none; }
.btn--navy { --btn-bg: var(--navy-700); --btn-fg: #fff; --btn-bd: var(--navy-700); box-shadow: 0 10px 24px -14px rgba(14,42,67,0.9); }
.btn--navy:hover { --btn-bg: var(--navy-800); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--navy-700); border-bottom: 1.5px solid transparent; transition: color .3s, border-color .3s; }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent-strong); border-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: padding .35s var(--ease);
  padding-block: 1.5rem;
}
/* Blur/background live on a pseudo-element so the header element itself never becomes a
   containing block for the position:fixed mobile nav drawer (backdrop-filter would do that). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 244, 238, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), var(--shadow-sm);
  opacity: 0; transition: opacity .35s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled { padding-block: 1.1rem; }
@media (max-width: 560px) {
  .site-header { padding-block: 1.1rem; }
  .site-header.is-scrolled { padding-block: 1rem; }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* Brand block: FULL logo lockup on a "seal-style" badge — cream centre with a
   solid gold ring, a thin navy accent, and a soft golden aura so it POPS on
   BOTH the dark hero and any light page (never fades). Sized to accepted
   header-brand standards (~60px logo default). ::before sits behind the img
   so the logo is never clipped. */
/* PROPORTIONAL SCALING: a single --brand-scale variable drives EVERY dimension —
   halo, gold ring, navy accent, aura, padding, shadow — all scale uniformly.
   Halo ratio 2.4× keeps the logo well clear of the ring (letters never touch). */
.brand {
  --brand-scale: 36px;
  --halo-d:    calc(var(--brand-scale) * 2.4);
  --gold-w:    calc(var(--brand-scale) * 0.06);   /* gold ring thickness */
  --navy-w:    calc(var(--brand-scale) * 0.10);   /* gold + navy inset total */
  --aura:      calc(var(--brand-scale) * 0.08);
  --shadow-y:  calc(var(--brand-scale) * 0.14);
  --shadow-b:  calc(var(--brand-scale) * 0.55);
  --pad-y:     calc(var(--brand-scale) * 0.10);
  --pad-x:     calc(var(--brand-scale) * 0.65);
  position: relative; display: inline-flex; align-items: center; flex-shrink: 0;
  padding: var(--pad-y) var(--pad-x); isolation: isolate;
}
.brand::before {
  content: ""; position: absolute;
  left: 50%; top: 50%;
  width: var(--halo-d); aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 22%, #ffffff 0%, #fbf5e5 68%, #f2e6c7 100%);
  transform: translate(-50%, -50%);
  z-index: -1;
  box-shadow:
    inset 0 0 0 var(--gold-w) #c9a24e,               /* gold ring */
    inset 0 0 0 var(--navy-w) #08192a,               /* navy accent behind gold */
    0 0 var(--aura) rgba(201, 162, 78, 0.5),         /* subtle golden aura */
    0 var(--shadow-y) var(--shadow-b) calc(var(--shadow-y) * -0.3) rgba(8, 25, 42, 0.35),
    0 2px 6px rgba(8, 25, 42, 0.12);
  transition: width .3s var(--ease), box-shadow .3s var(--ease);
}
.brand::after {
  content: ""; position: absolute;
  left: 50%; top: 50%;
  width: var(--halo-d); aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(148deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 42%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: width .3s var(--ease);
}
.brand:hover::before {
  box-shadow:
    inset 0 0 0 var(--gold-w) #d9b768,
    inset 0 0 0 var(--navy-w) #08192a,
    0 0 calc(var(--aura) * 2) rgba(201, 162, 78, 0.7),
    0 var(--shadow-y) calc(var(--shadow-b) * 1.3) calc(var(--shadow-y) * -0.2) rgba(8, 25, 42, 0.4),
    0 3px 8px rgba(8, 25, 42, 0.16);
}
.brand .brand-logo {
  display: block; flex-shrink: 0;
  height: var(--brand-scale); width: auto;
  transition: height .3s var(--ease);
}
/* State overrides: change ONLY --brand-scale — everything else scales with it */
.site-header.is-scrolled .brand { --brand-scale: 28px; }
@media (max-width: 560px) { .brand { --brand-scale: 28px; } }

/* Footer: same design, larger scale on the dark navy backdrop.
   Reserve the full halo height (min-height) + margin so the circular badge
   never overlaps the tagline paragraph beneath it. */
.site-footer .brand { --brand-scale: 48px; min-height: calc(var(--brand-scale) * 2.4); margin-bottom: 0.6rem; }

/* header over dark hero — flip nav text to light */
.site-header.on-dark:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,0.9); }
.site-header.on-dark:not(.is-scrolled) .nav-links a:hover { color: #fff; }
.site-header.on-dark:not(.is-scrolled) .nav-toggle span { background: #fff; }
.site-header.on-dark:not(.is-scrolled) .header-phone { color: #fff; }

/* Screen-reader-only utility (retained) */
.brand .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { font-size: 0.98rem; font-weight: 500; color: var(--navy-700); position: relative; padding-block: 0.35rem; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy-800); }
.header-cta { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--navy-800); font-size: 0.98rem; }
.header-phone svg { color: var(--accent-strong); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--navy-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 84vw);
    background: var(--navy-800); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 6rem 2rem 2rem; gap: 0; transform: translateX(100%);
    transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); z-index: 90;
  }
  .nav.open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links a { display: block; color: rgba(255,255,255,0.9); font-size: 1.15rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links a::after { display: none; }
  .header-cta { flex-direction: column; align-items: stretch; width: 100%; margin-top: 1.5rem; gap: 1rem; }
  .header-phone { color: #fff; justify-content: center; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(8,25,42,0.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 80; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}
body.nav-open { overflow: hidden; }

/* ---------- Hero (cinematic) ---------- */
.hero { position: relative; min-height: min(94vh, 900px); display: flex; align-items: center; color: #fff; padding-top: 6rem; overflow: hidden; }
/* Ken-Burns crossfade slideshow */
.hero__slides { position: absolute; inset: 0; z-index: -3; background: var(--navy-900); }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.6s var(--ease); will-change: opacity, transform; }
.hero__slide.is-active { opacity: 1; }
html.js .hero__slide.is-active { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.16); } }
/* legacy single image support */
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
/* cinematic scrim: navy from the left for text legibility + bottom vignette */
.hero__overlay { position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(8,25,42,0.94) 0%, rgba(8,25,42,0.75) 38%, rgba(8,25,42,0.30) 72%, rgba(8,25,42,0.12) 100%),
    radial-gradient(120% 90% at 20% 30%, transparent 40%, rgba(8,25,42,0.45) 100%); }
/* film grain for depth (data-uri noise) */
.hero__grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner { max-width: 700px; padding-block: 3rem; position: relative; }
.hero .eyebrow { color: var(--gold-400); }
.hero .eyebrow::before { background: var(--gold-400); }
.hero h1 { color: #fff; margin-bottom: 1.3rem; text-shadow: 0 2px 24px rgba(8,25,42,0.35); }
.hero h1 .accent { color: var(--gold-400); font-style: italic; position: relative; }
/* animated gold underline that draws under the accent words */
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-200)); transform: scaleX(0); transform-origin: left; }
html.js .hero.is-live h1 .accent::after { animation: drawLine 0.9s var(--ease) 1s forwards; }
@keyframes drawLine { to { transform: scaleX(1); } }
.hero p { color: rgba(255,255,255,0.88); font-size: var(--fs-lg); max-width: 33em; text-shadow: 0 1px 12px rgba(8,25,42,0.3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.16); }
.hero__trust .t-item { display: flex; align-items: center; gap: 0.7rem; }
.hero__trust .t-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: #fff; line-height: 1; }
.hero__trust .t-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.25; }

/* Word-by-word headline rise (each word wrapped in .word > span) */
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero h1 .word > span { display: inline-block; }
html.js .hero h1 .word > span { transform: translateY(115%); opacity: 0; }
html.js .hero.is-live h1 .word > span { animation: wordRise 0.85s var(--ease) forwards; }
@keyframes wordRise { to { transform: translateY(0); opacity: 1; } }

/* Entrance for eyebrow, paragraph, actions, trust (staggered) */
html.js .hero .h-fade { opacity: 0; transform: translateY(16px); }
html.js .hero.is-live .h-fade { animation: heroFade 0.8s var(--ease) forwards; }
@keyframes heroFade { to { opacity: 1; transform: none; } }

/* Floating live reviews badge */
.hero__reviews { position: absolute; right: clamp(1rem, 3vw, 3rem); bottom: clamp(4.5rem, 8vh, 6rem); z-index: 3;
  display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1.1rem;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius-pill);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), background .3s; }
.hero__reviews:hover { transform: translateY(-3px); background: rgba(255,255,255,0.16); }
.hero__reviews .hr-stars { color: var(--gold-400); letter-spacing: 1px; font-size: 0.95rem; }
.hero__reviews .hr-text { font-size: 0.86rem; line-height: 1.2; }
.hero__reviews .hr-text strong { display: block; font-size: 0.98rem; }
html.js .hero__reviews { opacity: 0; }
html.js .hero.is-live .hero__reviews { animation: heroFade 0.9s var(--ease) 1.4s forwards; }
@media (max-width: 780px) { .hero__reviews { display: none; } }

/* Scroll cue */
.hero__cue { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.7); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__cue .cue-mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.5); border-radius: 12px; position: relative; }
.hero__cue .cue-mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 3px; background: #fff; transform: translateX(-50%); animation: cueDot 1.6s ease-in-out infinite; }
@keyframes cueDot { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; transform: translate(-50%, 8px); } }
@media (max-width: 780px) { .hero__cue { display: none; } }
/* slideshow progress dots */
.hero__dots { position: absolute; left: clamp(1.1rem, 0.5rem + 2vw, 2.5rem); bottom: 1.6rem; z-index: 3; display: flex; gap: 0.5rem; }
.hero__dots button { width: 28px; height: 3px; border: 0; padding: 0; border-radius: 3px; background: rgba(255,255,255,0.3); cursor: pointer; transition: background .3s; }
.hero__dots button.active { background: var(--gold-400); }
@media (max-width: 780px) { .hero__dots { display: none; } }

/* ---------- Trust badges strip ---------- */
.badge-strip { background: var(--navy-800); color: #fff; }
.badge-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; padding-block: 1.15rem; }
.badge-strip .badge { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.9); }
.badge-strip .badge svg { color: var(--gold-400); flex-shrink: 0; }
.badge-strip .divider { width: 1px; height: 20px; background: rgba(255,255,255,0.18); }
@media (max-width: 720px) { .badge-strip .divider { display: none; } }

/* ---------- Service cards ---------- */
.service-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; min-height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--cloud-2); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__tag { position: absolute; top: 1rem; left: 1rem; background: rgba(8,25,42,0.82); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.75rem; border-radius: var(--radius-pill); backdrop-filter: blur(4px); }
.service-card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.service-card__body h3 { font-size: 1.3rem; }
.service-card__body p { font-size: 0.98rem; flex: 1; }
.service-card__body .link-arrow { margin-top: 0.4rem; }

/* Icon-led service tile (no image) */
.service-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color .3s; height: 100%; }
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.service-tile .tile-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy-700), var(--navy-500)); color: var(--gold-400); margin-bottom: 1.1rem; }
.service-tile h4 { margin-bottom: 0.4rem; color: var(--navy-800); font-size: 1.1rem; }
.service-tile p { font-size: 0.95rem; }

/* ---------- Feature / why-choose ---------- */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature .f-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--accent-strong); box-shadow: var(--shadow-sm); }
.feature h4 { margin-bottom: 0.3rem; font-size: 1.08rem; }
.feature p { font-size: 0.96rem; }

/* Split media + content */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse { direction: ltr; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__media .media-badge { position: absolute; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.8rem; }
.split__media .media-badge.bl { bottom: -22px; left: -22px; }
.split__media .media-badge.tr { top: -22px; right: -22px; }
.media-badge .mb-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--navy-800); line-height: 1; }
.media-badge .mb-label { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 560px) { .split__media .media-badge.bl { left: 8px; bottom: -16px; } .split__media .media-badge.tr { right: 8px; } }

.checklist { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text); font-weight: 500; }
.checklist li svg { flex-shrink: 0; color: var(--accent-strong); margin-top: 3px; }
.checklist.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .checklist.two { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.stats { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background:
   radial-gradient(700px 300px at 15% 0%, rgba(201,162,78,0.16), transparent 60%),
   radial-gradient(600px 320px at 90% 100%, rgba(31,76,115,0.5), transparent 60%); }
.stats .container { position: relative; }
.stats .grid { text-align: center; }
.stat .s-num { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); font-weight: 600; color: var(--gold-400); line-height: 1; }
.stat .s-label { margin-top: 0.5rem; color: rgba(255,255,255,0.8); font-weight: 500; letter-spacing: 0.02em; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 0.6rem + 2vw, 2.4rem); counter-reset: step; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: var(--gold-200); line-height: 1; display: block; margin-bottom: 0.6rem; }
.step h4 { margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 1.4rem; left: 3.6rem; right: -1rem; height: 2px; background: linear-gradient(90deg, var(--gold-200), transparent); }
@media (max-width: 900px) { .step::after { display: none !important; } }

/* ---------- Service area ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.area-list .chip { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.55rem 1.1rem; font-weight: 500; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.area-list .chip svg { color: var(--accent-strong); }

/* Compass service-area layout */
.compass-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .compass-layout { grid-template-columns: 1fr; } }
.compass-wrap { max-width: 480px; margin-inline: auto; filter: drop-shadow(0 20px 40px rgba(8,25,42,0.35)); }
.compass { display: block; width: 100%; height: auto; }
.compass-copy { display: flex; flex-direction: column; }
.compass-copy p { font-size: var(--fs-lg); }
.area-stat { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.area-stat .area-num { font-family: var(--font-display); font-size: 3.5rem; font-weight: 600; color: var(--accent-strong); line-height: 1; }
.area-stat .area-lbl { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: var(--navy-800); line-height: 1.35; }
.area-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.2rem; margin-top: 1.2rem; padding: 0; list-style: none; }
@media (max-width: 560px) { .area-cities { grid-template-columns: 1fr; } }
.area-cities li { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; color: var(--text); font-size: 0.97rem; }
.area-cities .ac-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 3px rgba(201,162,78,0.18); }

/* ---------- Rating badge ---------- */
.rating-badge { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0.9rem auto 0; padding: 0.5rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.rating-badge .rating-stars { color: var(--gold-500); font-size: 1.05rem; letter-spacing: 1px; }
.rating-badge .rating-text { font-size: 0.95rem; color: var(--navy-800); font-weight: 500; }
.rating-badge .rating-text strong { color: var(--navy-800); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, 1fr); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.testi-track::-webkit-scrollbar { height: 6px; }
.testi-track::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; }
@media (min-width: 981px) { .testi-track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.testi-card { scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.testi-card .stars { color: var(--gold-500); display: flex; gap: 2px; }
.testi-card blockquote { font-size: 1.05rem; color: var(--text); line-height: 1.6; }
.testi-card .who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.testi-card .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--navy-700), var(--navy-500)); color: var(--gold-400); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); flex-shrink: 0; }
.testi-card .who .name { display: block; font-weight: 700; color: var(--navy-800); }
.testi-card .who .meta { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 1px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,25,42,0.92), rgba(8,25,42,0.86)); }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 1.1rem auto 0; font-size: var(--fs-lg); }
.cta-band .hero__actions { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.9rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: var(--gold-200); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--navy-800); font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; color: var(--accent-strong); }
.faq-item[open] summary .q-icon { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-item .faq-body { padding: 0 1.4rem 1.4rem; }
.faq-item .faq-body p { margin: 0; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.55rem 1.2rem; font-weight: 600; font-size: 0.92rem; color: var(--slate); cursor: pointer; transition: all .25s; }
.filter-btn:hover { border-color: var(--line-strong); color: var(--navy-800); }
.filter-btn.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.gallery-grid { columns: 3; column-gap: 1.2rem; }
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 560px) { .gallery-grid { columns: 1; } }
.gallery-item { break-inside: avoid; margin-bottom: 1.2rem; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; transition: transform .7s var(--ease); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,25,42,0.78)); opacity: 0; transition: opacity .4s; }
.gallery-item .g-cap { position: absolute; left: 1rem; bottom: 0.9rem; color: #fff; font-weight: 600; z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:hover .g-cap { opacity: 1; transform: translateY(0); }
.gallery-item.hide { display: none; }

/* ---------- Before / After slider ---------- */
.ba { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: none; outline: 1px solid rgba(201,162,78,0.45); outline-offset: -1px; }
/* Grip pulses gold to invite dragging; stops once the user grabs it (.ba.touched) */
html.js .ba:not(.touched) .ba-grip { animation: gripPulse 2.4s ease-in-out infinite; }
@keyframes gripPulse { 0%, 100% { box-shadow: var(--shadow), 0 0 0 0 rgba(201,162,78,0.55); } 50% { box-shadow: var(--shadow), 0 0 0 12px rgba(201,162,78,0); } }
@media (prefers-reduced-motion: reduce) { html.js .ba .ba-grip { animation: none !important; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 50%); }
.ba .ba-label { position: absolute; top: 1rem; padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(8,25,42,0.75); color: #fff; }
.ba .ba-label.before { left: 1rem; } .ba .ba-label.after { right: 1rem; }
.ba .ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 12px rgba(0,0,0,0.4); }
.ba .ba-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy-800); box-shadow: var(--shadow); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--navy-800); margin-bottom: 0.45rem; }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--cloud); transition: border-color .25s, box-shadow .25s, background .25s; font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: var(--ring); }
.field input:invalid:not(:placeholder-shown), .field.error input, .field.error textarea, .field.error select { border-color: #c0392b; }
.field .err-msg { display: none; color: #c0392b; font-size: 0.82rem; margin-top: 0.35rem; }
.field.error .err-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.8rem; text-align: center; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; }
.form-success .fs-check { width: 64px; height: 64px; border-radius: 50%; background: rgba(39,174,96,0.12); color: #219653; display: grid; place-items: center; margin: 0 auto 1.2rem; }

/* contact info list */
.contact-list { display: grid; gap: 1.4rem; }
.contact-list .ci { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); }
.contact-list .ci h4 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.contact-list .ci p, .contact-list .ci a { color: var(--muted); font-size: 0.98rem; }
.contact-list .ci a:hover { color: var(--accent-strong); }

/* ---------- Contact layout + quote wizard ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.trust-note { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 1.8rem; padding: 1rem 1.2rem; background: var(--cloud-2); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--slate); }
.trust-note svg { color: var(--accent-strong); flex-shrink: 0; margin-top: 2px; }

.wizard-progress { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.8rem; }
.wp-step { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--cloud-2); color: var(--slate); border: 1.5px solid var(--line-strong); flex-shrink: 0; transition: all .3s var(--ease); }
.wp-step.active { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.wp-step.done { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.wp-line { flex: 1; height: 2px; background: var(--line-strong); }
.wizard-step h3 { margin-bottom: 0.3rem; }
.wizard-step > p { margin: 0 0 1.3rem; font-size: 0.98rem; }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; background: var(--cloud); font-weight: 600; font-size: 0.95rem; color: var(--navy-800); transition: border-color .2s, background .2s, box-shadow .2s; }
.tile:hover { border-color: var(--gold-400); }
.tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.tile .tile-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex-shrink: 0; display: grid; place-items: center; transition: all .2s; }
.tile input:checked ~ .tile-check { background: var(--gold-500); border-color: var(--gold-500); }
.tile input:checked ~ .tile-check::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-900); }
.tile:has(input:checked) { border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 1px var(--gold-500); }
.tile input:focus-visible ~ .tile-check { box-shadow: var(--ring); }
.grid-err { display: none; color: #c0392b; font-size: 0.85rem; margin-top: 0.7rem; }
.tile-grid.error + .grid-err { display: block; }
.wizard-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.wizard-actions .btn--ghost { box-shadow: none; }

/* ---------- Founder card ---------- */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } }
.founder__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); display: grid; place-items: center; box-shadow: var(--shadow); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo .monogram { font-family: var(--font-display); font-size: 5rem; color: var(--gold-400); font-weight: 600; }
.founder__photo .photo-note { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(8,25,42,0.7); color: rgba(255,255,255,0.8); font-size: 0.75rem; padding: 0.5rem; text-align: center; }
.founder__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.3rem 0; }
.founder__badges .fb { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.45rem 0.95rem; font-size: 0.85rem; font-weight: 600; color: var(--navy-700); }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--navy-800); margin-top: 1rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; color: #fff; padding: 9rem 0 4rem; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,25,42,0.9), rgba(8,25,42,0.72)); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-top: 1rem; font-size: var(--fs-lg); }
.breadcrumbs { display: flex; gap: 0.5rem; align-items: center; font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-bottom: 1.2rem; }
.breadcrumbs a:hover { color: var(--gold-400); }
.breadcrumbs .sep { opacity: 0.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding-top: clamp(3.5rem, 3rem + 2vw, 5rem); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
/* footer brand — logo has its own light card treatment (see .site-footer .brand .brand-logo above) */
.site-footer .f-about p { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-top: 1rem; max-width: 34ch; }
.footer-col h5 { color: #fff; font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a, .footer-col li { font-size: 0.95rem; color: rgba(255,255,255,0.68); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); display: grid; place-items: center; color: rgba(255,255,255,0.8); transition: all .3s; }
.social-row a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
/* Light variant — for use on cream/paper backgrounds (contact sidebar etc.) */
.social-row--light a { border-color: var(--line-strong); color: var(--navy-700); }
.social-row--light a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ---------- Skip link (a11y) ---------- */
.skip-link { position: fixed; left: 1rem; top: 0.7rem; z-index: 200; background: var(--navy-800); color: #fff; padding: 0.65rem 1.1rem; border-radius: 8px; font-weight: 600; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Mobile sticky action bar ---------- */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 75; display: none; gap: 0; background: var(--navy-800); box-shadow: 0 -6px 24px -10px rgba(8,25,42,.6); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 56px; font-weight: 700; font-size: 1rem; }
.mobile-bar__call { color: #fff; }
.mobile-bar__call svg { color: var(--gold-400); }
.mobile-bar__quote { background: var(--gold-500); color: var(--navy-900); }
@media (max-width: 980px) { .mobile-bar { display: flex; } body { padding-bottom: 56px; } .mobile-bar.hide-bar { transform: translateY(100%); } }

/* ==========================================================================
   X-FACTOR MOTION SYSTEM — on-theme "reveal / transformation" cues
   ========================================================================== */
/* Curtain-wipe image reveal: image unmasks left→right like a curtain lifting.
   Applied to split media + service card media on scroll-in. */
html.js .media-reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.05s var(--ease), transform 1.05s var(--ease); transform: scale(1.04); }
html.js .media-reveal.in { clip-path: inset(0 0 0 0); transform: scale(1); }

/* Gold sheen sweep across primary buttons on hover */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent); transform: skewX(-18deg); opacity: 0; }
.btn:hover::after { animation: sheen 0.85s var(--ease); }
@keyframes sheen { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
.btn--outline-light::after, .btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(201,162,78,0.4), transparent); }

/* Section eyebrow: tiny gold tick draws in with the reveal */
.reveal.in .eyebrow::before { animation: tickGrow 0.6s var(--ease) 0.1s both; }
@keyframes tickGrow { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); } }

/* Service/gallery image gentle zoom already handled; add a subtle lift to stat numbers */
html.js .stat.in .s-num { animation: statPop 0.7s var(--ease) both; }
@keyframes statPop { from { transform: translateY(10px) scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* Respect reduced motion everywhere for the cinematic layer */
@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active { animation: none !important; opacity: 1; transform: none; }
  .hero h1 .word > span, .hero .h-fade, .hero__reviews { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero h1 .accent::after { animation: none !important; transform: scaleX(1) !important; }
  .hero__cue .cue-mouse::after { animation: none !important; }
  html.js .media-reveal { clip-path: none !important; transform: none !important; }
  .btn::after { display: none !important; }
  html.js .stat.in .s-num { animation: none !important; }
}

/* ==========================================================================
   CRAFT FX — "Measure → Design → Build → Finish" signature motions
   ========================================================================== */
/* DESIGN: blueprint drafts itself over the photo, then a draft-line sweeps
   across and the drawing dissolves into the finished room. */
.blueprint-reveal { position: relative; }
.bp { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; z-index: 2; pointer-events: none; display: none; }
html.js .blueprint-reveal .bp { display: block; }
.bp-tint { position: absolute; inset: 0; background: linear-gradient(135deg, #0b2035 0%, #0e2a43 60%, #08192a 100%); }
.bp-draw { position: absolute; inset: 0; width: 100%; height: 100%; }
.bp-draw .bp-p { stroke-dasharray: 1800; stroke-dashoffset: 1800; }
.bp-draw .bp-t { opacity: 0; }
.bp-edge { position: absolute; top: -4%; bottom: -4%; left: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--gold-400), transparent); box-shadow: 0 0 16px 2px rgba(228,198,122,0.7); opacity: 0; }
.bp-tag { position: absolute; left: 1rem; top: 1rem; z-index: 3; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-900); background: var(--gold-400); padding: 0.4rem 0.7rem; border-radius: 6px; opacity: 0; box-shadow: var(--shadow-sm); }
/* play on scroll-in */
html.js .blueprint-reveal.in .bp-draw .bp-p { animation: bpDraw 1.15s var(--ease) forwards; }
html.js .blueprint-reveal.in .bp-draw .bp-t { animation: heroFade 0.6s ease 0.55s forwards; }
html.js .blueprint-reveal.in .bp { animation: bpWipe 0.95s var(--ease) 1.25s forwards; }
html.js .blueprint-reveal.in .bp-edge { animation: bpEdge 0.95s var(--ease) 1.25s forwards; }
html.js .blueprint-reveal.in .bp-tag { animation: heroFade 0.7s var(--ease) 2.05s forwards; }
@keyframes bpDraw { to { stroke-dashoffset: 0; } }
@keyframes bpWipe { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes bpEdge { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* BUILD: line house constructs itself part-by-part as the process steps reveal. */
.build-house { display: block; margin: 0 auto 1.8rem; width: clamp(120px, 18vw, 168px); height: auto; }
.build-house path, .build-house line, .build-house rect { stroke: var(--gold-500); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.build-house [class^="bh-"] { stroke-dasharray: 480; stroke-dashoffset: 480; }
html.js .build-house.build .bh-1 { animation: bpDraw 0.6s var(--ease) 0s forwards; }
html.js .build-house.build .bh-2 { animation: bpDraw 0.7s var(--ease) 0.45s forwards; }
html.js .build-house.build .bh-3 { animation: bpDraw 0.7s var(--ease) 1.0s forwards; }
html.js .build-house.build .bh-4 { animation: bpDraw 0.7s var(--ease) 1.55s forwards; }
.build-house .bh-glow { opacity: 0; }
html.js .build-house.build .bh-glow { animation: heroFade 0.8s ease 2.2s forwards; }

/* MEASURE: tape-measure divider extends with tick marks on scroll-in. */
.tape { position: relative; height: 34px; max-width: 520px; margin: -0.5rem auto 2.6rem; }
.tape .tape-line { position: absolute; left: 0; top: 16px; height: 2px; width: 100%; background: var(--gold-500); transform: scaleX(0); transform-origin: left; }
.tape .tape-ticks { position: absolute; left: 0; top: 8px; height: 10px; width: 100%; opacity: 0;
  background-image: repeating-linear-gradient(90deg, var(--gold-500) 0 1.5px, transparent 1.5px 26px); }
.tape .tape-ticks.major { top: 4px; height: 16px; background-image: repeating-linear-gradient(90deg, var(--gold-600) 0 2px, transparent 2px 104px); }
.tape .tape-hook { position: absolute; left: -2px; top: 4px; width: 10px; height: 24px; border: 2px solid var(--gold-600); border-right: 0; border-radius: 3px 0 0 3px; opacity: 0; }
html.js .tape .tape-line, html.js .tape .tape-ticks, html.js .tape .tape-hook { }
html.js .tape.in .tape-line { animation: tapeExtend 1.1s var(--ease) forwards; }
html.js .tape.in .tape-ticks { animation: heroFade 0.6s ease 0.5s forwards; }
html.js .tape.in .tape-hook { animation: heroFade 0.4s ease 0.15s forwards; }
@keyframes tapeExtend { to { transform: scaleX(1); } }

/* FINISH: hero accent underline painted on as a brush stroke. */
.hero h1 .accent::after {
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400) 55%, var(--gold-200));
  height: 6px; bottom: -0.12em; border-radius: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='12' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C40 3 70 9 110 6 C150 3 180 10 220 6 C255 3 280 8 298 5 L298 11 C270 9 240 12 210 10 C160 8 120 11 80 9 C50 8 25 11 2 10 Z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='12' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C40 3 70 9 110 6 C150 3 180 10 220 6 C255 3 280 8 298 5 L298 11 C270 9 240 12 210 10 C160 8 120 11 80 9 C50 8 25 11 2 10 Z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

@media (prefers-reduced-motion: reduce) {
  html.js .blueprint-reveal .bp { display: none !important; }
  html.js .blueprint-reveal .bp-tag { opacity: 1 !important; animation: none !important; }
  html.js .build-house [class^="bh-"] { stroke-dashoffset: 0 !important; animation: none !important; }
  html.js .build-house .bh-glow { opacity: 1 !important; animation: none !important; }
  html.js .tape .tape-line { transform: scaleX(1) !important; animation: none !important; }
  html.js .tape .tape-ticks, html.js .tape .tape-hook { opacity: 1 !important; animation: none !important; }
}

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
/* Content is visible by default; only hidden when JS is active, so a JS failure never hides content. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .08s; } html.js .reveal.d2 { transition-delay: .16s; } html.js .reveal.d3 { transition-delay: .24s; } html.js .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
[id] { scroll-margin-top: 96px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mx-auto { margin-inline: auto; }
.maxw-narrow { max-width: 640px; }
.hidden { display: none !important; }
.divider-line { height: 1px; background: var(--line); border: 0; }
