/* ==========================================================================
   Elevate Roofing — premium lead-gen site
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #06080c;
  --bg-2: #0a0e15;
  --bg-3: #0f141d;
  --line: rgba(203, 213, 230, .1);
  --line-2: rgba(203, 213, 230, .17);
  --silver: #cbcdd5;
  --text: #f1f4f8;
  --text-2: #aab3c2;
  --text-3: #7d8797;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-3: #2563eb;
  --blue-4: #1d4ed8;
  --danger: #f87171;
  --ok: #34d399;
  --paper: #eef1f5;
  --ink: #0b1220;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --topbar-h: 38px;
  --bar-h: 84px;
  --section-y: clamp(80px, 9.5vw, 140px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 400 1rem/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: rgba(59, 130, 246, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.i {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: #fff; color: #000; font-weight: 600; transform: translateY(-160%); transition: transform .3s; }
.skip-link:focus { transform: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* film grain (desktop only — cheap, static) */
@media (hover: hover) and (pointer: fine) {
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display); font-stretch: 108%; font-weight: 760;
  font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.028em;
  color: var(--text); text-wrap: balance;
}
.hero-title em, .h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: normal; letter-spacing: -.01em; }
/* gradient on the serif accent — applied to each word span once split (Safari-safe) */
.hero-title em:not(.is-split), .h2 em:not(.is-split),
.hero-title em .w > span, .h2 em .w > span {
  color: transparent;
  background-image: linear-gradient(100deg, #eef3fb 0%, #a9cbff 42%, #4b8dff 100%);
  -webkit-background-clip: text; background-clip: text;
  padding-right: .06em;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font: 700 .76rem/1 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-2);
}
.kicker .i { width: 18px; height: 18px; stroke-width: 2.6; }
.lead { font-size: clamp(1.02rem, 1.2vw, 1.14rem); line-height: 1.65; color: var(--text-2); max-width: 36rem; }
.h2 + .lead, .h2 + p { margin-top: 22px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding-bottom: 4px;
  color: var(--text); font-weight: 600; font-size: .98rem;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: border-color .3s, gap .4s var(--ease-spring);
}
.link-arrow:hover { border-color: var(--blue-2); gap: 12px; }
.link-arrow .i { width: 18px; height: 18px; }

/* Split-text reveal */
.split .w { display: inline-block; padding-bottom: .14em; margin-bottom: -.14em; clip-path: inset(-.6em -.35em 0 -.35em); }
.split .w > span {
  display: inline-block; transform: translate3d(0, 112%, 0) rotate(3deg); transform-origin: 0 100%;
  transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms + var(--sd, 0ms));
}
.split.is-in .w > span { transform: none; }
.js .hero-title:not(.is-split) { visibility: hidden; animation: failsafe-vis 0s 2.5s forwards; }
@keyframes failsafe-vis { to { visibility: visible; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 1.45em; border-radius: 999px;
  font: 600 1rem/1 var(--font-text); letter-spacing: -.005em; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; user-select: none; touch-action: manipulation;
  transition: scale .45s var(--ease-spring), translate .6s var(--ease-out), box-shadow .35s, background-color .3s, color .3s;
}
.btn:active { scale: .965; transition-duration: .08s, .6s, .35s, .3s, .3s; }
.btn .i { width: 1.1em; height: 1.1em; }
.btn .arrow { transition: transform .45s var(--ease-spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { --h: 42px; padding: 0 1.15em; font-size: .92rem; }
.btn-lg { --h: 58px; padding: 0 1.75em; font-size: 1.04rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #4b92ff 0%, #2c6cf1 52%, #1f56d8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .22),
              0 0 0 1px rgba(59, 130, 246, .65), 0 12px 32px -12px rgba(59, 130, 246, .85);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, .38) 50%, transparent 72%);
  transform: translateX(-130%); transition: transform 1s var(--ease-out);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .22), 0 0 0 1px rgba(96, 165, 250, .9), 0 18px 44px -12px rgba(59, 130, 246, 1); }
.btn-primary:hover::before { transform: translateX(130%); }

.btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn-white { color: #0b1f4d; background: #fff; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .55), inset 0 -1px 0 rgba(0, 0, 0, .08); }
.btn-white:hover { box-shadow: 0 22px 50px -14px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .16); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }

.ripple {
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .42); transform: scale(0); animation: ripple .65s var(--ease-out) forwards;
}
.btn-white .ripple { background: rgba(37, 99, 235, .18); }
@keyframes ripple { to { transform: scale(2.4); opacity: 0; } }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--blue-2); animation: dot-pulse 2.2s var(--ease-out) infinite; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, .75); } 70%, 100% { box-shadow: 0 0 0 9px rgba(96, 165, 250, 0); } }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: transform .55s var(--ease-out); }
.site-header.is-scrolled { transform: translateY(calc(var(--topbar-h) * -1)); }
.site-header.is-hidden { transform: translateY(-100%); }

.topbar {
  height: var(--topbar-h); display: flex; align-items: center;
  background: linear-gradient(90deg, #0a1226, #12244f 50%, #0a1226);
  border-bottom: 1px solid rgba(96, 165, 250, .18);
  font-size: .84rem; color: rgba(225, 232, 245, .86);
}
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; }
.topbar p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(96, 165, 250, .75); text-underline-offset: 3px; }
.topbar-dot { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; flex-shrink: 0; animation: amber-pulse 2s infinite; }
@keyframes amber-pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); } }
.show-sm { display: none; }

.header-bar { border-bottom: 1px solid transparent; transition: background-color .45s, border-color .45s; }
.site-header.is-scrolled .header-bar, .site-header.menu-open .header-bar {
  background: rgba(6, 8, 12, .74); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
}
.header-inner { height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .45s var(--ease-out); }
.site-header.is-scrolled .header-inner { height: 70px; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 60px; width: auto; transition: height .45s var(--ease-out); }
.site-header.is-scrolled .brand img { height: 50px; }

.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 10px 14px; border-radius: 99px; font-size: .93rem; font-weight: 500; color: var(--text-2); transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; border-radius: 2px; background: var(--blue-2); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav a:hover, .nav a.is-current { color: var(--text); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.hp-icon { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(59, 130, 246, .14); color: var(--blue-2); border: 1px solid rgba(96, 165, 250, .28); }
.hp-icon::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(96, 165, 250, .6); animation: ring 2.6s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.hp-icon .i { width: 17px; height: 17px; }
.hp-text { display: flex; flex-direction: column; line-height: 1.15; }
.hp-text small { font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.header-phone:hover .hp-icon { background: var(--blue); color: #fff; }

.show-md { display: none; }
.call-pill {
  height: 40px; padding: 0 15px 0 13px; border-radius: 99px; align-items: center; gap: 7px;
  background: linear-gradient(180deg, #4b92ff, #2563eb); color: #fff; font-weight: 600; font-size: .9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 22px -8px rgba(59, 130, 246, .85);
  transition: scale .3s var(--ease-spring);
}
.call-pill:active { scale: .94; }
.call-pill .i { width: 16px; height: 16px; }
.menu-toggle { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); transition: scale .3s var(--ease-spring), background-color .3s; }
.menu-toggle:active { scale: .92; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-spring), top .3s var(--ease-out); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; overflow-y: auto;
  display: flex; flex-direction: column; gap: 32px;
  padding: calc(var(--topbar-h) + 64px + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: rgba(6, 8, 12, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; }
.mm-nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 760 clamp(1.9rem, 8vw, 2.5rem)/1.05 var(--font-display); font-stretch: 110%; letter-spacing: -.025em; color: var(--text);
  opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out);
}
.mm-nav a span { min-width: 2.2em; font: 600 .78rem var(--font-text); letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--blue-2); }
.mobile-menu.is-open .mm-nav a { opacity: 1; transform: none; }
.mobile-menu.is-open .mm-nav a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.is-open .mm-nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open .mm-nav a:nth-child(4) { transition-delay: .15s; }
.mobile-menu.is-open .mm-nav a:nth-child(5) { transition-delay: .2s; }
.mm-actions { display: grid; gap: 10px; opacity: 0; transform: translateY(16px); transition: opacity .6s .22s var(--ease-out), transform .7s .22s var(--ease-out); }
.mobile-menu.is-open .mm-actions { opacity: 1; transform: none; }
.mm-foot { margin-top: auto; font-size: .85rem; color: var(--text-3); text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--topbar-h) + var(--bar-h) + clamp(24px, 4.5vh, 52px)) 0 96px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 50% 40%; opacity: 0; scale: 1.14; transition: opacity 1.6s var(--ease-out), scale 3.2s var(--ease-out); filter: saturate(.75); }
.hero.is-ready .hero-img { opacity: .62; scale: 1.02; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 12, .97) 0%, rgba(6, 8, 12, .86) 34%, rgba(6, 8, 12, .5) 62%, rgba(6, 8, 12, .7) 100%),
    linear-gradient(180deg, rgba(6, 8, 12, .7) 0%, rgba(6, 8, 12, 0) 26%, rgba(6, 8, 12, 0) 66%, var(--bg) 100%);
}
.hero-glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(620px 440px at 76% 46%, rgba(59, 130, 246, .3), transparent 70%),
    radial-gradient(520px 420px at 10% 8%, rgba(59, 130, 246, .13), transparent 70%);
  translate: calc(var(--hx, 0) * 24px) calc(var(--hy, 0) * 18px);
  transition: translate 1.2s var(--ease-out);
  animation: glow-drift 16s ease-in-out infinite alternate;
}
@keyframes glow-drift { from { opacity: .85; } to { opacity: 1; transform: scale(1.06); } }
.hero-lines {
  position: absolute; right: -3%; bottom: 2%; width: 64%; height: auto;
  translate: calc(var(--hx, 0) * -14px) calc(var(--hy, 0) * -10px); transition: translate 1.2s var(--ease-out);
}
.hl { fill: none; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hl-1 { stroke: rgba(203, 205, 213, .13); stroke-width: 16; }
.hl-2 { stroke: rgba(59, 130, 246, .5); stroke-width: 11; }
.hl-3 { stroke: rgba(203, 205, 213, .07); stroke-width: 2; }
.hero.is-ready .hl { animation: draw 2.6s var(--ease-in-out) forwards; }
.hero.is-ready .hl-2 { animation-delay: .55s; }
.hero.is-ready .hl-3 { animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 1100px) { .hero-copy { padding-top: clamp(20px, 6vh, 64px); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 12px; border-radius: 99px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .84rem; font-weight: 600; color: var(--silver);
}
.hero-title {
  margin: 24px 0 22px;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 820;
  font-size: clamp(3rem, 6vw, 5.9rem); line-height: .95; letter-spacing: -.038em; color: var(--text);
}
.hero-title em { display: block; font-size: 1.1em; line-height: .95; letter-spacing: -.02em; }
.hero-lead { font-size: clamp(1.04rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 33rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 500; color: var(--text); }
.hero-trust .i { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(59, 130, 246, .18); color: var(--blue-2); stroke-width: 3; }
.hero-proof {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; padding: 7px 18px 7px 7px; border-radius: 99px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  transition: border-color .3s, background-color .3s;
}
.hero-proof:hover { border-color: rgba(96, 165, 250, .4); background: rgba(59, 130, 246, .07); }
.proof-stack { display: flex; }
.proof-stack img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.proof-stack img + img { margin-left: -11px; }
.proof-text { display: flex; flex-direction: column; font-size: .8rem; color: var(--text-3); line-height: 1.3; }
.proof-text b { color: var(--text); font-size: .9rem; font-weight: 600; }
.hero-proof .arrow { width: 18px; height: 18px; color: var(--text-2); transition: transform .45s var(--ease-spring); }
.hero-proof:hover .arrow { transform: translateX(4px); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 56px; translate: -50% 0; background: rgba(255, 255, 255, .12); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: linear-gradient(transparent, var(--blue-2)); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 110%; } }

/* hero entrance */
.js [data-hero]:not(.hero-title) { opacity: 0; animation: failsafe-op .01s 2.5s forwards; }
@keyframes failsafe-op { to { opacity: 1; } }
.js .hero.is-ready [data-hero]:not(.hero-title) { animation: rise 1.1s var(--ease-out) both; }
.js .hero.is-ready [data-hero="1"] { animation-delay: .05s; }
.js .hero.is-ready [data-hero="3"] { animation-delay: .45s; }
.js .hero.is-ready [data-hero="4"] { animation-delay: .58s; }
.js .hero.is-ready [data-hero="5"] { animation-delay: .7s; }
.js .hero.is-ready [data-hero="6"] { animation-delay: .82s; }
.js .hero.is-ready [data-hero="q"] { animation: card-in 1.3s var(--ease-out) .3s both; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translate3d(0, 46px, 0) scale(.965); } to { opacity: 1; transform: none; } }

/* ---------- Quote card & form ---------- */
.quote-home { position: relative; width: 100%; max-width: 500px; justify-self: end; }
.quote-home::before {
  content: ""; position: absolute; inset: 8% -8% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(59, 130, 246, .38), transparent); filter: blur(30px);
}
.quote-card {
  position: relative; padding: clamp(20px, 2.3vw, 30px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(23, 31, 46, .84), rgba(10, 14, 22, .92));
  border: 1px solid rgba(255, 255, 255, .085);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 30px 70px -36px rgba(29, 78, 216, .55), inset 0 1px 0 rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
}
.quote-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(96, 165, 250, .6), rgba(96, 165, 250, 0) 38%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.quote-card.is-pinged { animation: ping 1.1s var(--ease-out); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, .7), 0 50px 100px -40px rgba(0, 0, 0, .95); }
  100% { box-shadow: 0 0 0 22px rgba(96, 165, 250, 0), 0 50px 100px -40px rgba(0, 0, 0, .95); }
}
.qc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qc-badge { display: inline-flex; align-items: center; gap: 9px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); }
.qc-count { font-size: .8rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.qc-count b { color: var(--text); font-weight: 600; }
.qc-title { margin-top: 14px; font: 740 clamp(1.4rem, 2vw, 1.7rem)/1.12 var(--font-display); font-stretch: 105%; letter-spacing: -.022em; color: var(--text); }
.qc-sub { margin-top: 5px; font-size: .88rem; color: var(--text-3); }
.qc-progress { position: relative; height: 4px; margin: 18px 0 22px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.qc-progress span {
  position: absolute; inset: 0 auto 0 0; width: var(--p, 16%); border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #7cb7ff); box-shadow: 0 0 14px rgba(96, 165, 250, .8);
  transition: width .8s var(--ease-spring);
}

.qsteps { position: relative; transition: height .55s var(--ease-out); }
.qstep { display: none; }
.qstep.is-active { display: block; animation: step-in .55s var(--ease-out) both; }
.qstep.is-leaving { display: block; position: absolute; inset: 0 0 auto 0; pointer-events: none; animation: step-out .32s ease both; }
.qsteps.no-anim .qstep { animation: none !important; }
.qsteps[data-dir="back"] .qstep.is-active { animation-name: step-in-back; }
.qsteps[data-dir="back"] .qstep.is-leaving { animation-name: step-out-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes step-out { to { opacity: 0; transform: translateX(-26px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes step-out-back { to { opacity: 0; transform: translateX(26px); } }

.qstep-title { margin-bottom: 14px; font: 650 1.08rem/1.3 var(--font-text); color: var(--text); letter-spacing: -.01em; outline: none; }
.qsummary { margin-bottom: 8px; font-size: .8rem; color: var(--text-3); }
.qsummary button { color: var(--blue-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile, .option {
  position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .085);
  transition: border-color .25s, background-color .25s, box-shadow .3s, translate .45s var(--ease-spring), scale .2s var(--ease-out);
}
.tile input, .option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 98px; padding: 14px; border-radius: 18px; }
.tile-ic, .opt-ic {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(59, 130, 246, .12); color: var(--blue-2); border: 1px solid rgba(96, 165, 250, .2);
  transition: background-color .3s, color .3s, border-color .3s;
}
.tile-ic .i, .opt-ic .i { width: 20px; height: 20px; }
.tile-t { font-size: .92rem; font-weight: 600; line-height: 1.25; color: var(--text); padding-right: 18px; }
.tick {
  position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .22); scale: 0; transition: scale .45s var(--ease-spring);
}
.tick .i { width: 13px; height: 13px; stroke-width: 3.2; }
@media (hover: hover) {
  .tile:hover, .option:hover { border-color: rgba(96, 165, 250, .45); background: rgba(59, 130, 246, .065); translate: 0 -2px; }
}
.tile:active, .option:active { scale: .97; }
.tile.is-checked, .option.is-checked {
  border-color: var(--blue); background: linear-gradient(180deg, rgba(59, 130, 246, .2), rgba(59, 130, 246, .07));
  box-shadow: inset 0 0 0 1px var(--blue), 0 14px 30px -14px rgba(59, 130, 246, .7);
}
.tile.is-checked .tick { scale: 1; }
.tile.is-checked .tile-ic, .option.is-checked .opt-ic { background: var(--blue); color: #fff; border-color: transparent; }
.tile.has-focus, .option.has-focus { outline: 2px solid var(--blue-2); outline-offset: 2px; }

.options { display: grid; gap: 9px; }
.option { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 11px 14px; border-radius: 16px; }
.opt-ic.is-hot { background: rgba(251, 146, 60, .14); color: #fdba74; border-color: rgba(251, 146, 60, .28); }
.option.is-checked .opt-ic.is-hot { background: #f97316; }
.opt-t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.opt-t b { font-size: .95rem; font-weight: 600; color: var(--text); }
.opt-t small { font-size: .8rem; color: var(--text-3); }
.radio { position: relative; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .26); flex-shrink: 0; transition: border-color .25s, background-color .25s; }
.radio::after { content: ""; position: absolute; inset: 4.5px; border-radius: 50%; background: #fff; scale: 0; transition: scale .4s var(--ease-spring); }
.option.is-checked .radio { border-color: var(--blue); background: var(--blue); }
.option.is-checked .radio::after { scale: 1; }
.qnext-btn { margin-top: 14px; }

.field { position: relative; margin-bottom: 13px; }
.field label { display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 600; color: var(--text-2); }
.field .opt { color: var(--text-3); font-weight: 500; }
.field input, .field textarea {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .13); color: var(--text);
  font: 500 1rem var(--font-text); -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .25s, background-color .2s;
}
.field textarea { height: auto; min-height: 74px; padding: 14px 16px; line-height: 1.45; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .pc-field input::placeholder { color: rgba(170, 179, 194, .45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: rgba(59, 130, 246, .06); box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(248, 113, 113, .16); }
input:-webkit-autofill, textarea:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 1000px #131b29 inset; caret-color: var(--text); transition: background-color 9999s; }
.field-icon input { height: 60px; padding-left: 48px; padding-right: 48px; font-size: 1.1rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.field-icon input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.fi-ic { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--blue-2); pointer-events: none; }
.fi-ok { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #052e1a; scale: 0; transition: scale .45s var(--ease-spring); }
.fi-ok .i { width: 15px; height: 15px; stroke-width: 3; }
.field.is-valid .fi-ok { scale: 1; }
.field-note { margin: 10px 2px 16px; font-size: .86rem; color: var(--text-3); transition: color .3s; }
.field-note.is-good { color: #6ee7b7; }
.field-error { margin-top: 7px; font-size: .82rem; font-weight: 500; color: var(--danger); }
.field-error:empty { display: none; }
.qstep > .field-error { margin-top: 10px; }
.is-shake { animation: shake .45s var(--ease-out); }
@keyframes shake { 15%, 85% { translate: -2px 0; } 30%, 70% { translate: 5px 0; } 45%, 55% { translate: -6px 0; } }

.btn-submit { margin-top: 6px; }
.btn-submit .bs-label, .btn-submit .bs-loading, .btn-submit .bs-done { display: inline-flex; align-items: center; gap: .6em; }
.btn-submit .bs-loading, .btn-submit .bs-done { display: none; }
.btn-submit.is-loading .bs-label, .btn-submit.is-done .bs-label { display: none; }
.btn-submit.is-loading .bs-loading { display: inline-flex; }
.btn-submit.is-done .bs-done { display: inline-flex; }
.btn-submit.is-done { background: linear-gradient(180deg, #34d399, #059669); box-shadow: 0 0 0 1px rgba(52, 211, 153, .6), 0 14px 34px -12px rgba(16, 185, 129, .9); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.qform-legal { margin-top: 12px; font-size: .75rem; line-height: 1.5; color: var(--text-3); text-align: center; }
.qform-legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.qform-error { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .32); color: #fecaca; font-size: .88rem; line-height: 1.5; }
.qform-error a { color: #fff; font-weight: 700; text-decoration: underline; }
.qform-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; min-height: 22px; }
.qback { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--text-2); transition: color .2s, gap .3s var(--ease-spring); }
.qback:hover { color: var(--text); gap: 9px; }
.qback .i { width: 16px; height: 16px; }
.qassure { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: .76rem; color: var(--text-3); }
.qassure .i { width: 14px; height: 14px; }
.qform-noscript { margin-top: 12px; color: var(--text); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .018), transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; flex-shrink: 0; }
.marquee span { font: 820 clamp(1.5rem, 3.3vw, 2.9rem)/1 var(--font-display); font-stretch: 120%; text-transform: uppercase; letter-spacing: -.012em; color: var(--silver); white-space: nowrap; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.2px rgba(203, 205, 213, .5); }
.marquee i { font-style: normal; font-size: 1.15rem; color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
section[id] { scroll-margin-top: 70px; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.head-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px 72px; align-items: end; }
.head-aside .lead { max-width: 30rem; }
.head-center { max-width: 840px; margin-inline: auto; text-align: center; }
.head-center .lead { margin-inline: auto; max-width: 620px; }

/* reveal on scroll */
.js-ready [data-reveal]:not(.is-in) { opacity: 0; }
.js-ready [data-reveal].is-in { animation: rise 1.15s var(--ease-out) var(--rd, 0ms) both; }
.js-ready [data-reveal="scale"].is-in { animation-name: rise-scale; animation-duration: 1.3s; }
@keyframes rise-scale { from { opacity: 0; transform: scale(.94) translateY(30px); } to { opacity: 1; transform: none; } }

/* spotlight hover */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 165, 250, .17), transparent 50%);
  transition: opacity .5s;
}
@media (hover: hover) { .spot:hover::after { opacity: 1; } }

/* ---------- Services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.svc {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 430px; border-radius: 26px; background: var(--bg-3); border: 1px solid var(--line);
  transition: border-color .4s;
}
.svc:hover { border-color: rgba(96, 165, 250, .35); }
.svc-a, .svc-b { min-height: 560px; }
.svc-a { grid-column: span 7; }
.svc-b { grid-column: span 5; }
.svc-c, .svc-d, .svc-e { grid-column: span 4; }
.svc-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; filter: saturate(.82) brightness(.82); transition: scale 1.5s var(--ease-out), filter .7s; }
.svc:hover .svc-media img { scale: 1.18; filter: saturate(1) brightness(.92); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 8, 12, 0) 18%, rgba(6, 8, 12, .5) 52%, rgba(6, 8, 12, .95) 100%); }
.svc-body { width: 100%; padding: clamp(22px, 2.6vw, 34px); }
.svc-num {
  display: inline-block; margin-bottom: 14px; padding: 6px 11px; border-radius: 99px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--blue-2);
  background: rgba(6, 8, 12, .55); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.svc-title { font: 760 clamp(1.5rem, 2.2vw, 2.1rem)/1.05 var(--font-display); font-stretch: 108%; letter-spacing: -.022em; color: #fff; }
.svc-text { margin-top: 10px; max-width: 30rem; font-size: .97rem; color: rgba(226, 232, 241, .82); }
.svc-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; height: 42px; padding: 0 16px 0 18px; border-radius: 99px;
  font-size: .9rem; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .3s, border-color .3s, gap .45s var(--ease-spring), scale .3s var(--ease-spring);
}
.svc-cta::after { content: ""; position: absolute; inset: 0; }
.svc-cta .i { width: 17px; height: 17px; }
.svc:hover .svc-cta { background: var(--blue); border-color: var(--blue); gap: 12px; }
.svc:active .svc-cta { scale: .96; }

.emergency {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  margin-top: 16px; padding: 24px 28px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(100deg, rgba(37, 99, 235, .24), rgba(37, 99, 235, .07) 55%, rgba(255, 255, 255, .02));
  border: 1px solid rgba(96, 165, 250, .26);
}
.em-icon { position: relative; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #4b92ff, #1d4ed8); box-shadow: 0 12px 30px -10px rgba(59, 130, 246, .95); }
.em-icon::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid rgba(96, 165, 250, .7); animation: ring 2.4s var(--ease-out) infinite; }
.em-icon .i { width: 26px; height: 26px; }
.em-copy h3 { font: 740 1.4rem/1.15 var(--font-display); font-stretch: 106%; letter-spacing: -.018em; color: var(--text); }
.em-copy p { margin-top: 4px; color: var(--text-2); font-size: .97rem; }
.em-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Why ---------- */
.why { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 16%, var(--bg-2) 84%, var(--bg) 100%); overflow: clip; }
.why::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: 10%; background: radial-gradient(closest-side, rgba(59, 130, 246, .12), transparent); pointer-events: none; }
.why-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.why-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.why-cta .link-arrow { margin-top: 0; }
.why-media { position: relative; padding: 0 0 60px 72px; }
.wm-main { aspect-ratio: 5 / 4; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.wm-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; scale: 1.16; }
.wm-inset { position: absolute; left: 0; bottom: 0; width: 34%; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; border: 6px solid var(--bg-2); box-shadow: 0 34px 60px -20px rgba(0, 0, 0, .85); }
.wm-inset img { width: 100%; height: 100%; object-fit: cover; }
.wm-badge {
  position: absolute; right: 20px; top: 20px; display: flex; align-items: center; gap: 12px; max-width: 300px;
  padding: 12px 16px 12px 12px; border-radius: 18px; font-size: .8rem; line-height: 1.35; color: var(--text-2);
  background: rgba(12, 17, 26, .74); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7); animation: float 7s ease-in-out infinite;
}
.wm-badge b { display: block; color: var(--text); font-size: .92rem; font-weight: 600; }
.wm-badge-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--blue); color: #fff; }
@keyframes float { 50% { translate: 0 -8px; } }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(56px, 7vw, 96px); }
.promise {
  padding: 26px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .048), rgba(255, 255, 255, .014)); border: 1px solid var(--line);
  transition: border-color .4s, translate .6s var(--ease-out);
}
.promise:hover { border-color: rgba(96, 165, 250, .32); translate: 0 -3px; }
.pr-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(59, 130, 246, .12); color: var(--blue-2); border: 1px solid rgba(96, 165, 250, .22); transition: background-color .35s, color .35s; }
.pr-ic .i { width: 22px; height: 22px; }
.promise:hover .pr-ic { background: var(--blue); color: #fff; }
.promise h3 { font: 650 1.1rem/1.3 var(--font-text); letter-spacing: -.012em; color: var(--text); }
.promise p { margin-top: 8px; font-size: .95rem; line-height: 1.6; color: var(--text-2); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.process-media { position: sticky; top: 104px; height: min(74vh, 720px); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.pm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.1; transition: opacity 1s var(--ease-out), scale 1.8s var(--ease-out); }
.pm-img.is-active { opacity: 1; scale: 1; }
.pm-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 8, 12, .1) 40%, rgba(6, 8, 12, .9)); }
.pm-hud { position: absolute; left: 26px; right: 26px; bottom: 26px; }
.pm-step { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); }
.pm-step b { color: #fff; }
.pm-label { display: block; margin-top: 8px; font: 740 1.55rem/1.15 var(--font-display); font-stretch: 106%; letter-spacing: -.02em; color: #fff; }
.pm-bars { display: flex; gap: 6px; margin-top: 18px; }
.pm-bars i { position: relative; flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .2); }
.pm-bars i::after { content: ""; position: absolute; inset: 0; background: var(--blue-2); transform-origin: left; transform: scaleX(var(--f, 0)); transition: transform .6s var(--ease-out); }

.process-steps { position: relative; padding-left: 40px; }
.process-steps::before, .process-steps::after { content: ""; position: absolute; left: 5px; top: 0; width: 1px; }
.process-steps::before { bottom: 0; background: var(--line-2); }
.process-steps::after { height: calc(var(--pp, 0) * 100%); background: linear-gradient(180deg, rgba(96, 165, 250, 0), var(--blue-2)); box-shadow: 0 0 10px rgba(96, 165, 250, .7); }
.pstep { position: relative; min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .26; transition: opacity .7s var(--ease-out); }
.pstep::before { content: ""; position: absolute; left: -40px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255, 255, 255, .28); transition: .5s var(--ease-out); }
.pstep.is-active { opacity: 1; }
.pstep.is-active::before { background: var(--blue-2); border-color: var(--blue-2); box-shadow: 0 0 0 5px rgba(96, 165, 250, .2), 0 0 16px rgba(96, 165, 250, .8); }
.pstep-num { display: block; margin-bottom: 18px; font: 820 clamp(3.6rem, 6vw, 5.6rem)/1 var(--font-display); font-stretch: 125%; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(203, 205, 213, .32); transition: -webkit-text-stroke-color .6s; }
.pstep.is-active .pstep-num { -webkit-text-stroke-color: rgba(96, 165, 250, .95); }
.pstep h3 { font: 740 clamp(1.6rem, 2.6vw, 2.3rem)/1.08 var(--font-display); font-stretch: 106%; letter-spacing: -.022em; color: var(--text); }
.pstep p { margin-top: 14px; max-width: 30rem; font-size: 1.05rem; color: var(--text-2); }
.pstep-img { display: none; }

/* ---------- Work / gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  height: 40px; padding: 0 18px; border-radius: 99px; font-size: .9rem; font-weight: 600; color: var(--text-2);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2);
  transition: color .25s, background-color .3s, border-color .3s, scale .3s var(--ease-spring);
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.chip:active { scale: .95; }
.chip.is-active { color: var(--bg); background: var(--text); border-color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vw, 280px); grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--line); cursor: zoom-in; isolation: isolate; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: scale 1.2s var(--ease-out), filter .5s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 8, 12, .8)); opacity: .85; transition: opacity .4s; }
.g-item:hover img { scale: 1.06; filter: saturate(1.05); }
.g-cap { position: absolute; left: 16px; right: 52px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 3px; font-size: .94rem; font-weight: 600; line-height: 1.3; color: #fff; text-align: left; opacity: 0; translate: 0 8px; transition: opacity .45s var(--ease-out), translate .45s var(--ease-out); }
.g-cap small { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; translate: 0 0; }
.g-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(6, 8, 12, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; scale: .7; transition: opacity .35s, scale .45s var(--ease-spring); }
.g-zoom .i { width: 16px; height: 16px; }
.g-item:hover .g-zoom { opacity: 1; scale: 1; }
@media (hover: none) { .g-cap { opacity: 1; translate: 0 0; } }
.g-item.is-filtered { display: none; }
.gallery.is-fading .g-item { opacity: 0; scale: .97; }
.gallery .g-item { transition: opacity .35s var(--ease-out), scale .45s var(--ease-out); }
.gallery-more { display: none; justify-content: center; margin-top: 22px; }

.reels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: center; margin-top: clamp(80px, 9vw, 130px); }
.reels-head h3 { font: 760 clamp(1.8rem, 3vw, 2.6rem)/1.05 var(--font-display); font-stretch: 108%; letter-spacing: -.024em; color: var(--text); }
.reels-head p { margin-top: 12px; max-width: 22rem; color: var(--text-2); }
.reels-head .btn { margin-top: 24px; }
.reels-head .btn .i { color: #25d366; }
.reels-row { display: flex; justify-content: flex-end; gap: 22px; }
.reel { width: 218px; flex-shrink: 0; }
.reel:nth-child(2) { translate: 0 44px; }
.reel figcaption { margin-top: 14px; text-align: center; font-size: .88rem; font-weight: 500; color: var(--text-2); }
.phone {
  position: relative; aspect-ratio: 9 / 19; padding: 7px; border-radius: 36px;
  background: linear-gradient(160deg, #2c3342, #0c1017 42%, #1c2331);
  box-shadow: 0 44px 70px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .09), 0 0 0 1px rgba(0, 0, 0, .7);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 29px; background: #000; }
.phone-notch { position: absolute; top: 15px; left: 50%; width: 68px; height: 20px; border-radius: 20px; translate: -50% 0; background: #000; }

/* ---------- Reviews (light) ---------- */
.reviews { margin-inline: clamp(8px, 1.4vw, 20px); border-radius: clamp(24px, 3.2vw, 44px); background: var(--paper); color: #475467; }
.reviews .h2 { color: var(--ink); }
.reviews .h2 em .w > span, .reviews .h2 em:not(.is-split) { background-image: linear-gradient(100deg, #0b1220 0%, #1d4ed8 70%); }
.reviews .kicker { color: var(--blue-3); }
.review-grid { columns: 3; column-gap: 18px; }
.review-grid > .review { break-inside: avoid; margin-bottom: 18px; }
.review-grid.is-collapsed .is-extra { display: none; }
.reviews-more { display: flex; justify-content: center; margin-top: 14px; }
.review-grid:not(.is-collapsed) + .reviews-more { display: none; }
.btn-ghost-dark { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .14), 0 10px 24px -16px rgba(15, 23, 42, .5); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .3), 0 16px 30px -16px rgba(15, 23, 42, .5); }
.review {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 24px;
  background: #fff; border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04), 0 26px 50px -30px rgba(15, 23, 42, .4);
  transition: translate .6s var(--ease-out), box-shadow .5s;
}
.review:hover { translate: 0 -4px; box-shadow: 0 1px 0 rgba(15, 23, 42, .04), 0 36px 60px -30px rgba(15, 23, 42, .5); }
.stars { display: flex; gap: 3px; color: #f59e0b; }
.stars .i { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.review blockquote { flex: 1; font-size: 1.04rem; line-height: 1.62; color: #1e293b; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: #64748b; }
.review figcaption b { display: block; font-size: .95rem; color: var(--ink); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pc-check { max-width: 470px; margin-top: 30px; }
.pc-field { display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 8px 0 18px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .3s; }
.pc-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); }
.pc-field > .i { width: 20px; height: 20px; color: var(--blue-2); }
.pc-field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--text); font: 600 1.05rem var(--font-text); letter-spacing: .05em; text-transform: uppercase; }
.pc-field input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pc-field.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(248, 113, 113, .16); }
.pc-result {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding: 14px 14px 14px 18px; border-radius: 20px;
  background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .28);
  animation: pop-in .55s var(--ease-spring);
}
.pc-result.is-maybe { background: rgba(59, 130, 246, .08); border-color: rgba(96, 165, 250, .28); }
.pc-result.is-error { background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .3); }
.pc-msg { flex: 1 1 200px; font-size: .95rem; font-weight: 500; color: var(--text); }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.town-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.town-list li { padding: 8px 14px; border-radius: 99px; font-size: .87rem; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, .025); border: 1px solid var(--line); transition: color .25s, border-color .25s; }
.town-list li:hover { color: var(--text); border-color: rgba(96, 165, 250, .4); }

.map-card { position: relative; padding: 12px; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 120% at 50% 45%, #0e1522, #080b11 70%); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.map { width: 100%; height: auto; }
.map-rings circle { fill: none; stroke: rgba(96, 165, 250, .3); stroke-width: 1; stroke-dasharray: 3 6; }
.map-ring-labels text { fill: rgba(170, 179, 194, .5); font: 600 11px var(--font-text); letter-spacing: .08em; text-anchor: middle; }
.map-sweep { transform-origin: 330px 280px; animation: sweep 9s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.town circle { fill: var(--silver); }
.town text { fill: var(--silver); font: 600 13px var(--font-text); }
.town.minor text { fill: rgba(203, 205, 213, .66); font-weight: 500; }
.map-card .town { opacity: 0; transition: opacity .6s var(--ease-out); }
.map-card.is-in .town, html:not(.js-ready) .map-card .town { opacity: 1; }
.hq-dot { fill: var(--blue); stroke: #fff; stroke-width: 2.5; }
.hq-pulse { fill: none; stroke: var(--blue-2); stroke-width: 2; transform-origin: 330px 280px; animation: hq-pulse 2.6s var(--ease-out) infinite; }
.hq-pulse.p2 { animation-delay: 1.3s; }
@keyframes hq-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(4.2); opacity: 0; } }
.hq-label-bg { fill: rgba(6, 8, 12, .88); stroke: rgba(96, 165, 250, .55); }
.hq-label { fill: #fff; font: 700 13px var(--font-text); }
.hq-l-lg { display: none; }
.hq-l-lg .hq-label { font-size: 21px; }
.map-legend { display: flex; gap: 18px; padding: 4px 12px 8px; font-size: .78rem; color: var(--text-3); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; }
.lg-hq { background: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .25); }
.lg-town { background: var(--silver); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-copy { position: sticky; top: 110px; }
.faq-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.faq-cta .i { width: 18px; height: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: background-color .35s, border-color .35s; }
.faq-item:hover { border-color: var(--line-2); }
.faq-item.is-open { background: rgba(255, 255, 255, .05); border-color: rgba(96, 165, 250, .32); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 22px 21px 24px; list-style: none; cursor: pointer; font: 600 1.04rem/1.4 var(--font-text); color: var(--text); -webkit-tap-highlight-color: transparent; border-radius: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); transition: background-color .35s, border-color .35s, rotate .5s var(--ease-spring); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 2px; background: currentColor; translate: -50% -50%; transition: rotate .5s var(--ease-spring); }
.faq-ic::after { rotate: 90deg; }
.faq-item.is-open .faq-ic { background: var(--blue); border-color: var(--blue); rotate: 180deg; color: #fff; }
.faq-item.is-open .faq-ic::after { rotate: 0deg; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; line-height: 1.7; color: var(--text-2); max-width: 44rem; }
.faq-a a { color: var(--blue-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Final CTA ---------- */
.cta-final { padding-top: clamp(40px, 6vw, 80px); }
.cta-panel {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(56px, 8vw, 112px) clamp(22px, 6vw, 80px); border-radius: 36px;
  background: radial-gradient(120% 150% at 50% -10%, #4b8dff 0%, #1f5ae0 34%, #13328f 66%, #0a1640 100%);
  box-shadow: 0 60px 120px -50px rgba(29, 78, 216, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg svg { width: 100%; height: 100%; }
.cta-bg path { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 18; }
.cta-bg path:nth-child(2) { stroke: rgba(147, 197, 253, .28); stroke-width: 12; }
.cta-bg path:nth-child(3) { stroke: rgba(255, 255, 255, .07); stroke-width: 2; }
.kicker-light { color: rgba(255, 255, 255, .88); }
.cta-title { color: #fff; font-size: clamp(2.4rem, 6vw, 5.2rem); }
.cta-title em .w > span, .cta-title em:not(.is-split) { background-image: linear-gradient(100deg, #fff 0%, #cfe1ff 60%, #a5c8ff 100%); }
.cta-lead { max-width: 34rem; margin: 22px auto 0; font-size: 1.1rem; color: rgba(255, 255, 255, .86); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.contact-card { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .3s, background-color .3s, translate .5s var(--ease-out); }
a.contact-card:hover { border-color: rgba(96, 165, 250, .35); background: rgba(59, 130, 246, .06); translate: 0 -2px; }
.cc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: rgba(59, 130, 246, .12); color: var(--blue-2); border: 1px solid rgba(96, 165, 250, .22); }
.cc-ic .i { width: 21px; height: 21px; }
.contact-card small { display: block; margin-bottom: 3px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.contact-card b { display: block; font-size: .98rem; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { padding: 76px 0 calc(28px + env(safe-area-inset-bottom)); background: #05070a; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.35fr; gap: 40px; }
.f-brand img { width: 168px; height: auto; }
.f-brand p { max-width: 22rem; margin: 18px 0 22px; font-size: .95rem; }
.f-col h3 { margin-bottom: 18px; font: 700 .76rem var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.f-col li { margin-bottom: 10px; }
.f-col a, .f-col button, .f-col span { font-size: .95rem; color: var(--text-2); transition: color .2s; }
.f-col a:hover, .f-col button:hover { color: var(--text); }
.f-contact a, .f-contact span { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.f-contact .i { width: 17px; height: 17px; margin-top: 3px; color: var(--blue-2); }
.f-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; font-size: .85rem; color: var(--text-3); }
.f-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.f-bottom a:hover { color: var(--text); }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; grid-template-columns: 1fr 1fr 1.45fr; gap: 6px; padding: 6px; border-radius: 22px;
  background: rgba(10, 14, 21, .84); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 22px 50px -10px rgba(0, 0, 0, .75);
  transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
.mb-btn { height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .06); -webkit-tap-highlight-color: transparent; transition: scale .2s var(--ease-out), background-color .2s; }
.mb-btn:active { scale: .94; }
.mb-btn .i { width: 18px; height: 18px; }
.mb-wa .i { color: #25d366; }
.mb-primary { color: #fff; background: linear-gradient(180deg, #4b92ff, #2563eb); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 24px -8px rgba(59, 130, 246, .85); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 9, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s var(--ease-out); }
.modal-panel {
  position: relative; width: min(500px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 28px; scrollbar-width: none; opacity: 0; transform: translateY(26px) scale(.965);
  transition: opacity .45s var(--ease-out), transform .65s var(--ease-out);
}
.modal-panel::-webkit-scrollbar { display: none; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .13); transition: background-color .25s, rotate .5s var(--ease-spring), scale .2s; }
.modal-close:hover { background: rgba(255, 255, 255, .16); rotate: 90deg; }
.modal-close:active { scale: .9; }
.modal-close .i { width: 18px; height: 18px; }
.modal .quote-card { max-width: none; }
.modal .qc-top { padding-right: 50px; }
.quote-home.is-empty { min-height: var(--qh, 560px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(3, 5, 9, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .4s var(--ease-out); touch-action: pan-y; }
.lightbox.is-open { opacity: 1; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: min(1100px, 92vw); }
.lb-img { width: auto; max-width: 100%; max-height: 80vh; border-radius: 16px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); transition: opacity .3s, transform .5s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.lb-img.is-swapping { opacity: 0; transform: scale(.975); }
.lb-stage figcaption { display: flex; gap: 16px; font-size: .95rem; color: var(--text-2); }
.lb-count { color: var(--text-3); font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); transition: background-color .2s, scale .2s var(--ease-out); }
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-btn:active { scale: .9; }
.lb-btn .i { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .header-phone .hp-text small { display: none; }
}

@media (max-width: 1099px) {
  :root { --bar-h: 68px; }
  .nav, .header-phone, .hide-md { display: none !important; }
  .show-md { display: inline-flex; }
  .site-header.is-scrolled .header-inner { height: 64px; }
  .brand img { height: 50px; }
  .site-header.is-scrolled .brand img { height: 44px; }

  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .quote-home { justify-self: start; max-width: 600px; }
  .scroll-cue { display: none; }
  .hero-lines { width: 120%; right: -40%; bottom: auto; top: 10%; opacity: .6; }

  .head-split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .svc-a, .svc-b { grid-column: span 12; min-height: 460px; }
  .svc-c, .svc-d { grid-column: span 6; }
  .svc-e { grid-column: span 12; }

  .why-grid, .areas-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .why-media { max-width: 680px; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-copy { position: static; }

  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-media { display: none; }
  .process-steps { padding-left: 32px; }
  .pstep { min-height: 0; opacity: 1; padding: 0 0 56px; justify-content: flex-start; }
  .pstep::before { left: -32px; top: 6px; margin-top: 0; }
  .pstep-img { display: block; aspect-ratio: 4 / 3; margin-bottom: 22px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
  .pstep-img img { width: 100%; height: 100%; object-fit: cover; }
  .pstep-num { font-size: 3rem; margin-bottom: 10px; }

  .reels { grid-template-columns: minmax(0, 1fr); }
  .reels-row { justify-content: flex-start; }

  .review-grid { columns: 2; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }

  .mobile-bar { display: grid; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (max-width: 767px) {
  :root { --topbar-h: 34px; --bar-h: 64px; }
  .topbar { font-size: .78rem; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .brand img { height: 46px; }

  .hero { padding-top: calc(var(--topbar-h) + var(--bar-h) + 22px); padding-bottom: 56px; }
  .hero-shade { background: linear-gradient(180deg, rgba(6, 8, 12, .8) 0%, rgba(6, 8, 12, .5) 36%, rgba(6, 8, 12, .74) 66%, var(--bg) 100%); }
  .eyebrow { font-size: .76rem; padding: 7px 13px 7px 11px; }
  .hero-title { margin: 18px 0 16px; font-size: clamp(2.6rem, 12.4vw, 3.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-ctas, .hero-proof { display: none; }
  .hero-trust { gap: 8px 16px; margin-top: 20px; }
  .hero-trust li { font-size: .84rem; }
  .hero-grid { gap: 28px; }
  .quote-card { border-radius: 24px; }
  .tile { min-height: 96px; padding: 12px; }
  .tile-t { font-size: .88rem; }

  .marquee { padding: 18px 0; }
  .marquee-group { gap: 22px; padding-right: 22px; }

  .svc, .svc-a, .svc-b { min-height: 420px; grid-column: span 12; }
  .svc-c, .svc-d, .svc-e { grid-column: span 12; min-height: 380px; }
  .emergency { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; }
  .em-actions .btn { flex: 1 1 100%; }

  .promises { grid-template-columns: minmax(0, 1fr); }
  .promise { padding: 22px; }
  .why-media { padding: 0 0 48px 36px; }
  .wm-badge { left: auto; right: 0; top: auto; bottom: 0; max-width: 60%; padding: 10px 12px 10px 10px; font-size: .74rem; }
  .wm-badge-ic { width: 34px; height: 34px; border-radius: 10px; }
  .wm-badge b { font-size: .84rem; }
  .wm-inset { width: 38%; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; gap: 10px; }
  .g-item { border-radius: 16px; }
  .g-cap { font-size: .84rem; left: 12px; bottom: 10px; }
  .g-zoom { display: none; }
  .gallery.is-collapsed .is-extra { display: none; }
  .gallery.is-collapsed + .gallery-more { display: flex; }

  .reels-row { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .reels-row::-webkit-scrollbar { display: none; }
  .reel { width: 56%; scroll-snap-align: center; }
  .reel:nth-child(2) { translate: none; }

  .review { padding: 26px 22px; }
  .review-grid { columns: 1; max-width: 640px; margin-inline: auto; }
  .review-grid.is-collapsed .is-extra-sm { display: none; }
  .map .town.minor text { display: none; }
  .town text { font-size: 22px; }
  .map-ring-labels { display: none; }
  .hq-l-sm { display: none; }
  .hq-l-lg { display: inline; }
  .town-list { gap: 6px; }
  .town-list li { padding: 6px 12px; font-size: .82rem; }
  .pc-field { height: 58px; }

  .faq-item summary { padding: 18px 18px 18px 20px; font-size: 1rem; }
  .faq-a p { padding: 0 20px 20px; }

  .cta-panel { border-radius: 28px; }
  .cta-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { width: 100%; max-height: calc(100dvh - 10px); border-radius: 26px 26px 0 0; transform: translateY(100%); transition: opacity .3s, transform .6s var(--ease-out); }
  .modal-panel::before { content: ""; position: absolute; top: 8px; left: 50%; z-index: 4; width: 40px; height: 4px; border-radius: 4px; translate: -50% 0; background: rgba(255, 255, 255, .22); }
  .modal .quote-card { border-radius: 26px 26px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .modal-close { top: 14px; right: 14px; }

  .lb-prev, .lb-next { top: auto; bottom: calc(22px + env(safe-area-inset-bottom)); translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-img { max-height: 68vh; }
}

@media (max-width: 380px) {
  .tiles { gap: 8px; }
  .tile-ic { width: 34px; height: 34px; }
  .mb-btn span { font-size: .82rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-ready [data-reveal]:not(.is-in), .js [data-hero]:not(.hero-title) { opacity: 1; }
  .split .w > span { transform: none !important; }
  .marquee-track { animation: none; }
  .hl { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Thank-you + legal pages
   ========================================================================== */
.page-simple .site-header { position: sticky; }
.page-simple .header-bar { background: rgba(6, 8, 12, .8); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.page-simple .header-inner { height: 72px; }
.page-simple .brand img { height: 50px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--text-2); transition: color .2s, gap .3s var(--ease-spring); }
.back-link:hover { color: var(--text); gap: 11px; }
.back-link .i { width: 17px; height: 17px; }

.ty { position: relative; isolation: isolate; overflow: clip; min-height: calc(100svh - 72px); padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); }
.ty::before { content: ""; position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; background: radial-gradient(50% 60% at 50% 30%, rgba(59, 130, 246, .26), transparent 70%); }
.ty-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.ty-check { width: 96px; height: 96px; margin: 0 auto 28px; }
.ty-check circle { fill: rgba(59, 130, 246, .12); stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 290; stroke-dashoffset: 290; animation: ty-draw 1s var(--ease-out) .15s forwards; }
.ty-check path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: ty-draw .6s var(--ease-out) .75s forwards; }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
.ty h1 { font: 800 clamp(2.3rem, 5.4vw, 4.2rem)/1.02 var(--font-display); font-stretch: 110%; letter-spacing: -.03em; color: var(--text); text-wrap: balance; }
.ty h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: normal; color: transparent; background-image: linear-gradient(100deg, #eef3fb, #a9cbff 45%, #4b8dff); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.ty-lead { margin: 20px auto 0; max-width: 34rem; font-size: 1.12rem; color: var(--text-2); }
.ty-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; text-align: left; }
.ty-step { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.ty-step b { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px; background: rgba(59, 130, 246, .15); color: var(--blue-2); font-size: .9rem; }
.ty-step h2 { font: 650 1.02rem/1.3 var(--font-text); color: var(--text); }
.ty-step p { margin-top: 6px; font-size: .9rem; color: var(--text-2); }
.ty-fast { margin-top: 18px; padding: 26px; border-radius: 24px; text-align: center; background: linear-gradient(100deg, rgba(37, 99, 235, .22), rgba(37, 99, 235, .06)); border: 1px solid rgba(96, 165, 250, .26); }
.ty-fast h2 { font: 720 1.3rem/1.2 var(--font-display); font-stretch: 106%; color: var(--text); }
.ty-fast p { margin-top: 6px; color: var(--text-2); }
.ty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.ty-save { margin-top: 26px; font-size: .9rem; color: var(--text-3); }
.ty-save a { color: var(--text); font-weight: 700; }
.ty-home { margin-top: 30px; }
.js .ty [data-ty] { opacity: 0; animation: rise 1s var(--ease-out) both; }
.js .ty [data-ty="1"] { animation-delay: .35s; } .js .ty [data-ty="2"] { animation-delay: .5s; } .js .ty [data-ty="3"] { animation-delay: .65s; } .js .ty [data-ty="4"] { animation-delay: .8s; } .js .ty [data-ty="5"] { animation-delay: .95s; }

.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.legal-inner { max-width: 760px; margin-inline: auto; }
.legal h1 { font: 800 clamp(2.2rem, 5vw, 3.4rem)/1.04 var(--font-display); font-stretch: 108%; letter-spacing: -.03em; color: var(--text); }
.legal .updated { margin-top: 12px; color: var(--text-3); font-size: .9rem; }
.legal h2 { margin: 40px 0 12px; font: 700 1.25rem/1.3 var(--font-display); font-stretch: 104%; letter-spacing: -.01em; color: var(--text); }
.legal p, .legal li { color: var(--text-2); line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { margin-top: 10px; padding-left: 0; }
.legal li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }
.legal a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 2px; }
.legal .note { margin-top: 28px; padding: 16px 18px; border-radius: 16px; background: rgba(245, 158, 11, .08); border: 1px dashed rgba(245, 158, 11, .5); color: #fcd34d; font-size: .9rem; }

@media (max-width: 767px) {
  .ty-steps { grid-template-columns: minmax(0, 1fr); }
  .ty-actions .btn { width: 100%; }
}
.page-simple .site-footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }

/* optional note toggle in step 4 */
.add-note { display: inline-flex; align-items: center; gap: 7px; padding: 4px 2px; font-size: .86rem; font-weight: 600; color: var(--text-2); transition: color .2s; }
.add-note:hover { color: var(--text); }
.add-note .i { width: 15px; height: 15px; color: var(--blue-2); }
.add-note .opt { color: var(--text-3); font-weight: 500; }
#q-notes-wrap:not([hidden]) { animation: rise .5s var(--ease-out) both; }
