/* ==========================================================================
   DV Dependable Roofing LLC — stylesheet
   Layout concept: editorial zinc grid (1200px, 80px rhythm) with the logo's
   roof-red as the single chromatic punctuation; liquid-glass controls float
   over photography.
   ========================================================================== */

/* Self-hosted DM Sans (variable: wght + opsz) — Cosmica substitute per DESIGN.md */
@font-face { font-family: "DM Sans"; font-style: normal; font-display: swap; font-weight: 100 1000; src: url("../fonts/dm-sans-latin-opsz-normal.woff2") format("woff2-variations"), url("../fonts/dm-sans-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-display: swap; font-weight: 100 1000; src: url("../fonts/dm-sans-latin-opsz-italic.woff2") format("woff2-variations"), url("../fonts/dm-sans-latin-opsz-italic.woff2") format("woff2"); }

:root {
  /* Zinc neutrals (from DESIGN.md) */
  --obsidian: #09090b;
  --graphite: #18181b;
  --slate: #27272a;
  --iron: #3f3f46;
  --steel: #52525b;
  --fog: #71717a;
  --ash: #a1a1aa;
  --mist: #d4d4d8;
  --cloud: #ececee;
  --paper: #f4f4f5;
  --subtle: #fafafa;
  --snow: #ffffff;

  /* Brand accent, sampled from the logo roofline (replaces Ember) */
  --red: #d90a14;
  --red-deep: #a8070f;
  --red-glow: rgba(217, 10, 20, .28);

  /* Type — single family per DESIGN.md (Cosmica → DM Sans) */
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text-caption: 12px;
  --text-meta: 13px;
  --text-body: 15px;
  --text-body-lg: 18px;
  --text-sub: 20px;
  --text-h-sm: clamp(26px, 3vw, 32px);
  --text-h: clamp(30px, 4vw, 40px);
  --text-h-lg: clamp(36px, 5.4vw, 56px);
  --text-display: clamp(42px, 7vw, 76px);

  /* Geometry */
  --r-card: 36px;
  --r-icon: 40px;
  --r-pill: 10000px;
  --r-badge: 12px;
  --r-btn: 14px;
  --r-section: 56px;

  --page: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* Liquid glass — deliberately very transparent */
  --glass-tint: rgba(255, 255, 255, .07);
  --glass-tint-2: rgba(255, 255, 255, .015);
  --glass-edge: rgba(255, 255, 255, .42);
  --glass-blur: 4px;
  --glass-shadow: 0 10px 30px rgba(9, 9, 11, .14);

  --shadow-btn: inset 0 .5px 0 0 rgba(255, 255, 255, .5), inset 0 9px 14px -5px rgba(117, 123, 133, .4), 0 0 0 1.5px rgb(44, 46, 52), 0 4px 6px 0 rgba(0, 0, 0, .14);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--obsidian); font-weight: 600; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--red); color: var(--snow); }

.wrap { width: 100%; max-width: calc(var(--page) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--obsidian); color: var(--snow); padding: 10px 16px; border-radius: var(--r-btn); transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-meta); color: var(--steel); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red); border-radius: 2px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 48px; align-items: end; margin-bottom: 40px; }
.section-head h2 { font-size: var(--text-h-lg); line-height: 1.08; margin-top: 14px; }
.section-head p { color: var(--steel); font-size: var(--text-body-lg); line-height: 1.5; max-width: 46ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Badges & tags ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-badge); font-size: var(--text-caption); font-weight: 500; line-height: 1.64; }
.badge--red { background: var(--red); color: var(--snow); }
.badge--line { border: 1px solid var(--cloud); color: var(--graphite); background: var(--snow); }
.badge--dark { background: var(--iron); color: var(--subtle); }
.tag { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid var(--cloud); border-radius: var(--r-badge); font-size: var(--text-caption); color: var(--graphite); line-height: 1.5; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border-radius: var(--r-btn); font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: transform .35s var(--ease-out), background-color .25s, color .25s, box-shadow .25s; isolation: isolate; overflow: hidden; }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--dark { background: var(--obsidian); color: var(--snow); box-shadow: var(--shadow-btn); }
.btn--dark:hover { background: #1c1c20; }
.btn--light { background: var(--subtle); color: var(--graphite); box-shadow: inset 0 0 0 1px var(--cloud); }
.btn--light:hover { background: var(--snow); }
.btn--red { background: var(--red); color: var(--snow); box-shadow: inset 0 .5px 0 rgba(255,255,255,.5), inset 0 9px 14px -6px rgba(255,255,255,.35), 0 0 0 1.5px var(--red-deep), 0 6px 18px var(--red-glow); }
.btn--red:hover { background: #e6121c; }
.btn--pill { border-radius: var(--r-pill); }
/* shine sweep */
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 66%); transform: translateX(-120%); transition: transform .9s var(--ease-out); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }

/* ==========================================================================
   LIQUID GLASS
   Very transparent: ~7% tint, light blur, bright specular rim + inner
   refraction lip. Chromium additionally gets true lens refraction through
   an SVG displacement filter (see #lg-refract in the page).
   ========================================================================== */
.glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, var(--glass-tint) 0%, var(--glass-tint-2) 55%, rgba(255,255,255,.05) 100%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.06);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, .75),
    inset 0 -1px 0 0 rgba(255, 255, 255, .18),
    inset 1px 0 0 0 rgba(255, 255, 255, .22),
    inset -1px 0 0 0 rgba(255, 255, 255, .12),
    inset 0 0 18px 0 rgba(255, 255, 255, .08),
    var(--glass-shadow);
  border: 1px solid transparent;
  background-clip: padding-box;
}
/* specular highlight + rim gradient */
.glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.18) 28%, rgba(255,255,255,.04) 50%, rgba(255,255,255,.22) 78%, rgba(255,255,255,.7) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* soft top sheen */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 70% at 30% -10%, rgba(255,255,255,.22), transparent 55%);
  opacity: .8;
}
html.lg-refract .glass { -webkit-backdrop-filter: blur(calc(var(--glass-blur) * .6)) saturate(180%) brightness(1.06); backdrop-filter: url(#lg-refract) blur(calc(var(--glass-blur) * .6)) saturate(180%) brightness(1.06); }
.glass--dark-text { color: var(--obsidian); }
.glass--light-text { color: var(--snow); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

.glass-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; transition: transform .4s var(--ease-out), background-color .3s; }
.glass-btn:hover { transform: translateY(-2px) scale(1.02); --glass-tint: rgba(255,255,255,.14); }
.glass-btn:active { transform: scale(.96); }
.glass-btn svg { width: 16px; height: 16px; }
.glass-icon { width: 48px; height: 48px; padding: 0; border-radius: 50%; }
.glass-icon svg { width: 20px; height: 20px; }

/* ==========================================================================
   HEADER — floating glass pill
   ========================================================================== */
.site-header { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 0; right: 0; z-index: 100; padding-inline: var(--gutter); pointer-events: none; animation: header-in 1s var(--ease-out) .1s both; }
@keyframes header-in { from { transform: translateY(-120%); opacity: 0; } }
.nav { pointer-events: auto; max-width: var(--page); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 20px; border-radius: var(--r-pill); color: var(--obsidian); transition: color .35s, padding .35s var(--ease-out), max-width .5s var(--ease-out); --glass-blur: 9px; --glass-tint: rgba(255,255,255,.18); --glass-tint-2: rgba(255,255,255,.06); }
.site-header.is-scrolled .nav { max-width: 1080px; --glass-tint: rgba(255,255,255,.12); --glass-tint-2: rgba(255,255,255,.03); }
.site-header.on-dark .nav { color: var(--snow); --glass-tint: rgba(255,255,255,.08); --glass-tint-2: rgba(255,255,255,.02); }
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 40px; width: auto; transition: opacity .3s; }
.nav__logo .logo-light { display: none; }
.site-header.on-dark .nav__logo .logo-dark { display: none; }
.site-header.on-dark .nav__logo .logo-light { display: block; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { position: relative; padding: 9px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; opacity: .82; transition: opacity .2s, background-color .25s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { opacity: 1; background: rgba(255,255,255,.22); }
.site-header.on-dark .nav__links a:hover, .site-header.on-dark .nav__links a[aria-current="true"] { background: rgba(255,255,255,.12); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.nav__toggle span { position: relative; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out), background-color .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out); }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { pointer-events: auto; max-width: var(--page); margin: 10px auto 0; padding: 12px; border-radius: 28px; display: grid; gap: 4px; color: var(--obsidian); --glass-blur: 22px; --glass-tint: rgba(255,255,255,.62); --glass-tint-2: rgba(255,255,255,.5); transform-origin: top center; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility .35s; }
.mobile-menu a { padding: 14px 16px; border-radius: 16px; font-size: 18px; font-weight: 500; }
.mobile-menu a:hover { background: rgba(255,255,255,.5); }
.mobile-menu .btn { margin-top: 6px; }
.mobile-menu:not(.is-open) { opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden; }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (min-width: 981px) { .mobile-menu { display: none; } }
@media (max-width: 480px) {
  .nav { padding-left: 14px; }
  .nav__logo img { height: 34px; }
  .nav__cta .btn { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + clamp(120px, 16vw, 168px)); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px 64px; align-items: end; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero h1 { font-size: var(--text-display); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.rotator { position: relative; display: inline-grid; vertical-align: bottom; color: var(--red); }
.rotator > span { grid-area: 1 / 1; transition: transform .8s var(--ease-out), opacity .6s, filter .6s; }
.rotator > span:not(.is-active) { transform: translateY(80%); opacity: 0; filter: blur(8px); }
.rotator > span.is-leaving { transform: translateY(-80%); opacity: 0; filter: blur(8px); }
.hero__side { display: grid; gap: 20px; padding-bottom: 8px; }
.hero__side p { font-size: var(--text-body-lg); color: var(--steel); line-height: 1.5; }
.capture { display: flex; gap: 8px; padding: 6px; background: var(--snow); border: 1px solid var(--cloud); border-radius: 18px; }
.capture input { flex: 1; min-width: 0; border: 1px solid transparent; background: transparent; border-radius: var(--r-btn); padding: 12px 12px; font: inherit; font-size: 14px; color: var(--graphite); }
.capture input::placeholder { color: var(--ash); }
.capture input:focus { outline: none; }
.capture:focus-within { border-color: var(--mist); box-shadow: 0 0 0 4px rgba(9,9,11,.04); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--text-meta); color: var(--fog); }
.hero__proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof svg { width: 14px; height: 14px; color: var(--red); }

.hero__media { position: relative; margin-top: clamp(36px, 5vw, 56px); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 7.2; min-height: 380px; max-width: 100%; background: var(--slate); }
.hero__media img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--parallax, 0px)) scale(1.02); will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,11,0) 55%, rgba(9,9,11,.35)); pointer-events: none; }
.hero__chip { position: absolute; z-index: 2; }
.hero__chip--claim { left: 24px; bottom: 24px; max-width: 340px; padding: 18px 20px; border-radius: 24px; }
.hero__chip--claim strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.hero__chip--claim p { font-size: 14px; line-height: 1.45; opacity: .95; }
.hero__chip--fin { top: 24px; right: 24px; padding: 10px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.hero__chip--fin i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); animation: pulse 2.4s infinite; }
.hero__chip--work { right: 24px; bottom: 24px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 4 / 5; min-height: 0; }
  .hero__chip--claim { right: 16px; left: 16px; bottom: 80px; max-width: none; padding: 14px 16px; }
  .hero__chip--claim p { display: none; }
  .hero__chip--work { left: 16px; right: 16px; bottom: 16px; }
  .hero__chip--fin { top: 16px; right: 16px; }
}
@media (max-width: 480px) { .capture { flex-direction: column; } .capture .btn { width: 100%; } }

/* page-load choreography */
.load-up { animation: load-up 1.1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms + 200ms); }
@keyframes load-up { from { transform: translateY(110%); } }
.load-fade { animation: load-fade 1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms + 200ms); }
@keyframes load-fade { from { opacity: 0; transform: translateY(16px); } }
.load-reveal { animation: load-reveal 1.4s var(--ease-out) both .55s; }
@keyframes load-reveal { from { clip-path: inset(8% 6% 0 6% round 36px); transform: scale(.985); } to { clip-path: inset(0 0 0 0 round 36px); } }

/* ==========================================================================
   TRUST STRIP (logo-strip analogue)
   ========================================================================== */
.trust { padding-block: 44px 0; overflow: hidden; }
.trust__label { text-align: center; font-size: var(--text-meta); color: var(--fog); margin-bottom: 18px; }
.marquee { display: flex; width: max-content; gap: 48px; animation: marquee 38s linear infinite; }
.trust:hover .marquee { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--fog); opacity: .75; letter-spacing: -.01em; white-space: nowrap; }
.marquee svg { width: 20px; height: 20px; color: var(--ash); }
.trust__mask { -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }

/* ==========================================================================
   SERVICES — horizontal category band
   ========================================================================== */
.services__controls { display: flex; gap: 8px; justify-content: flex-end; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--snow); border: 1px solid var(--cloud); color: var(--graphite); transition: background-color .2s, transform .3s var(--ease-out), opacity .2s; }
.round-btn:hover { transform: scale(1.06); }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; }
.round-btn svg { width: 18px; height: 18px; }
.band { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--page)) / 2)); padding-inline: max(var(--gutter), calc((100vw - var(--page)) / 2)); padding-bottom: 12px; scrollbar-width: none; cursor: grab; }
.band::-webkit-scrollbar { display: none; }
.band.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.band.is-dragging * { pointer-events: none; }
.svc { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--snow); border: 1px solid var(--cloud); border-radius: var(--r-card); overflow: hidden; transition: transform .5s var(--ease-out), border-color .3s; }
.svc:hover { transform: translateY(-6px); border-color: var(--mist); }
.svc__img { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--ph, var(--mist)); max-width: 100%; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__count { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 500; }
.svc__body { padding: 22px 24px 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.svc__body h3 { font-size: var(--text-sub); line-height: 1.3; }
.svc__body p { color: var(--steel); font-size: 14px; line-height: 1.5; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc--dark { background: var(--graphite); border-color: var(--graphite); color: var(--snow); padding: 28px; justify-content: space-between; }
.svc--dark h3 { color: var(--snow); font-size: var(--text-h-sm); line-height: 1.15; }
.svc--dark ul { display: grid; gap: 14px; margin-top: 24px; }
.svc--dark li { display: flex; align-items: center; gap: 12px; font-size: var(--text-sub); font-weight: 500; }
.svc--dark li svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.svc--dark p { color: var(--ash); font-size: 14px; margin-top: 24px; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { display: flex; align-items: baseline; gap: 14px; padding: 28px; border-top: 1px solid var(--mist); }
.stat b { font-size: var(--text-h-lg); font-weight: 600; color: var(--obsidian); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--steel); line-height: 1.4; max-width: 18ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .stat { padding: 22px 4px; } }

/* ==========================================================================
   DARK FEATURE BLOCK
   ========================================================================== */
.dark-block { background: var(--graphite); color: var(--snow); border-radius: var(--r-card); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; position: relative; overflow: hidden; }
.dark-block::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(217,10,20,.22), transparent 65%); pointer-events: none; }
.dark-block h2 { color: var(--snow); font-size: var(--text-h); line-height: 1.12; font-weight: 700; margin-bottom: 28px; }
.dark-block .eyebrow { color: var(--ash); margin-bottom: 12px; }
.pain { display: grid; gap: 4px; }
.pain li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: var(--text-sub); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.07); transition: padding .35s var(--ease-out), color .25s; }
.pain li:hover { padding-left: 8px; }
.pain li svg { width: 18px; height: 18px; color: var(--red); flex: none; transition: transform .35s var(--ease-out); }
.pain li:hover svg { transform: translateX(4px); }
.layers-card { background: var(--slate); border-radius: 28px; padding: 28px; position: relative; }
.layers-card h3 { color: var(--snow); font-size: var(--text-sub); margin-bottom: 6px; }
.layers-card > p { color: var(--ash); font-size: 14px; margin-bottom: 22px; }
.layers { display: grid; gap: 6px; counter-reset: layer; }
.layer { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font-size: 14px; transition: background-color .3s, transform .4s var(--ease-out); }
.layer:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }
.layer i { display: block; height: 10px; border-radius: 3px; background: var(--swatch); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.layer b { font-weight: 500; color: var(--snow); }
.layer small { color: var(--fog); font-size: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 880px) { .dark-block { grid-template-columns: 1fr; } }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); font-size: 14px; background: var(--snow); border: 1px solid var(--cloud); color: var(--iron); transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out); }
.filter small { font-size: 12px; color: var(--ash); font-variant-numeric: tabular-nums; transition: color .25s; }
.filter:hover { border-color: var(--mist); transform: translateY(-1px); }
.filter[aria-pressed="true"] { background: var(--obsidian); color: var(--snow); border-color: var(--obsidian); }
.filter[aria-pressed="true"] small { color: var(--ash); }
.gallery { columns: 3 300px; column-gap: 16px; }
.work { position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: 28px; overflow: hidden; background: var(--ph, var(--mist)); transform: translateZ(0); }
.work.is-hidden { display: none; }
.work::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(9,9,11,.42)); pointer-events: none; }
.work figcaption { z-index: 1; }
.work.is-entering { animation: work-in .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes work-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.work__open { display: block; width: 100%; cursor: zoom-in; }
.work img { width: 100%; height: auto; max-height: 560px; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.work:hover img { transform: scale(1.045); }
.work figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; border-radius: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; transition: transform .5s var(--ease-out); }
.work figcaption strong { font-size: 14px; font-weight: 600; line-height: 1.3; min-width: 0; }
.work figcaption em { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .9; white-space: nowrap; }
.work:hover figcaption { transform: translateY(-4px); }
.gallery__more { display: flex; justify-content: center; margin-top: 28px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); background: rgba(9, 9, 11, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { position: relative; max-width: min(1400px, 100%); max-height: 100%; display: grid; place-items: center; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 24px; object-fit: contain; transform: scale(.96); opacity: 0; transition: transform .5s var(--ease-out), opacity .35s; }
.lightbox.is-open .lightbox__img.is-ready { transform: none; opacity: 1; }
.lightbox__bar { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: var(--r-pill); color: var(--snow); max-width: calc(100% - 32px); }
.lightbox__cap { padding: 0 10px; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox__cap em { font-style: normal; opacity: .7; margin-right: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.lightbox__close { position: fixed; top: max(20px, env(safe-area-inset-top, 0px)); right: 20px; color: var(--snow); }
.lightbox .glass-icon { width: 44px; height: 44px; flex: none; }

/* ==========================================================================
   BEFORE / AFTER
   ========================================================================== */
.ba-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.ba-stack { display: grid; gap: 16px; }
.compare { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--slate); aspect-ratio: 16 / 10; max-width: 100%; user-select: none; touch-action: pan-y; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255,255,255,.9); box-shadow: 0 0 20px rgba(0,0,0,.3); pointer-events: none; }
.compare__handle { position: absolute; top: 50%; left: var(--pos); width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; color: var(--snow); cursor: ew-resize; touch-action: none; }
.compare__handle svg { width: 24px; height: 24px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.chip { text-shadow: 0 1px 10px rgba(0,0,0,.4); position: absolute; top: 18px; padding: 7px 14px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--snow); pointer-events: none; }
.chip--l { left: 18px; } .chip--r { right: 18px; }
.compare__caption { position: absolute; left: 18px; bottom: 18px; right: 18px; padding: 14px 18px; border-radius: 20px; color: var(--snow); pointer-events: none; font-size: 14px; }
.compare__caption strong { display: block; font-size: 16px; }
.pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 28px; overflow: hidden; background: var(--snow); border: 1px solid var(--cloud); padding: 6px; }
.pair figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; max-width: 100%; background: var(--ph, var(--mist)); }
.pair img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pair:hover img { transform: scale(1.04); }
.pair .chip { top: 12px; left: 12px; }
.pair__label { grid-column: 1 / -1; padding: 10px 10px 6px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pair__label strong { font-size: 15px; color: var(--obsidian); }
.pair__label span { font-size: 13px; color: var(--fog); }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; } .compare { aspect-ratio: 4 / 3.4; } }

/* ==========================================================================
   TREE SERVICE VIDEO
   ========================================================================== */
.video-card { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--obsidian); min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 32px; padding: 40px; isolation: isolate; }
.video-card__ambient { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(40px) saturate(1.4) brightness(.7); transform: scale(1.1); z-index: -2; }
.video-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 50%, transparent, rgba(9,9,11,.55)); }
.phone { position: relative; width: min(330px, 78vw); aspect-ratio: 352 / 624; border-radius: 34px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.18); background: var(--slate); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone__controls { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px; border-radius: var(--r-pill); color: var(--snow); }
.phone__controls .glass-icon { width: 42px; height: 42px; }
.phone__progress { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.phone__progress i { display: block; height: 100%; width: 0; background: var(--snow); border-radius: 3px; }
.video-card__col { display: grid; gap: 12px; align-content: center; color: var(--snow); min-width: 0; }
.video-card__col--l { justify-items: end; text-align: right; }
.v-chip { padding: 14px 18px; border-radius: 22px; max-width: 280px; }
.v-chip strong { display: block; font-size: 16px; font-weight: 600; }
.v-chip span { display: block; font-size: 13px; opacity: .85; margin-top: 2px; line-height: 1.4; }
.video-card__col--l .v-chip:nth-child(2) { margin-right: 36px; }
.video-card__col--r .v-chip:nth-child(2) { margin-left: 36px; }
@media (max-width: 900px) {
  .video-card { grid-template-columns: 1fr; padding: 24px 16px; min-height: 0; justify-items: center; }
  .video-card__col { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); width: 100%; justify-items: stretch; text-align: left; }
  .video-card__col--l .v-chip:nth-child(2), .video-card__col--r .v-chip:nth-child(2) { margin: 0; }
  .v-chip { max-width: none; }
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--snow); border: 1px solid var(--cloud); border-radius: var(--r-card); padding: 28px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; transition: transform .5s var(--ease-out), border-color .3s; }
.step:hover { transform: translateY(-4px); border-color: var(--mist); }
.step__n { font-size: 13px; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.step__icon { width: 52px; height: 52px; border-radius: var(--r-icon); background: var(--paper); display: grid; place-items: center; color: var(--obsidian); }
.step__icon svg { width: 22px; height: 22px; }
.step h3 { font-size: var(--text-sub); line-height: 1.3; }
.step p { font-size: 14px; color: var(--steel); }
.step::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.step:hover::after { transform: scaleX(1); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   BREAKTHROUGH IMAGE
   ========================================================================== */
.breakthrough { margin-top: var(--section); position: relative; border-radius: var(--r-section) var(--r-section) 0 0; overflow: hidden; height: clamp(360px, 62vw, 760px); background: var(--slate); }
.breakthrough img { width: 100%; height: 124%; object-fit: cover; transform: translateY(var(--parallax, 0px)); will-change: transform; }
.breakthrough__chip { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 10px 18px; border-radius: var(--r-pill); color: var(--snow); font-size: 13px; font-weight: 500; white-space: nowrap; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--snow); padding-block: var(--section); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.about__photo { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--ph, var(--mist)); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo .chip { top: auto; bottom: 18px; left: 18px; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; padding: 10px 16px; }
.about__text h2 { font-size: var(--text-h-lg); line-height: 1.08; margin: 14px 0 20px; }
.about__text p { color: var(--steel); font-size: var(--text-body-lg); margin-bottom: 16px; max-width: 52ch; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 26px 0 30px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--graphite); }
.checks svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 2px; }
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.client { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--ph, var(--mist)); }
.client img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.client:hover img { transform: scale(1.05); }
.client::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(9,9,11,.4)); pointer-events: none; }
.client figcaption { z-index: 1; text-shadow: 0 1px 10px rgba(0,0,0,.35); position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 14px; border-radius: 18px; color: var(--snow); font-size: 13px; font-weight: 500; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.faq h2 { font-size: var(--text-h-lg); line-height: 1.08; margin-top: 14px; }
.faq__intro p { color: var(--steel); font-size: var(--text-body-lg); margin-top: 16px; max-width: 36ch; }
.faq__list { display: grid; gap: 8px; }
.qa { background: var(--snow); border: 1px solid var(--cloud); border-radius: 24px; transition: border-color .3s; }
.qa[open] { border-color: var(--mist); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 500; color: var(--obsidian); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); flex: none; transition: transform .4s var(--ease-out), background-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--obsidian); border-radius: 2px; transition: transform .4s var(--ease-out); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { transform: rotate(180deg); background: var(--obsidian); }
.qa[open] summary i::before { background: var(--snow); }
.qa[open] summary i::after { transform: rotate(0); background: var(--snow); }
.qa__a { padding: 0 24px 22px; color: var(--steel); font-size: 15px; max-width: 64ch; }
@media (max-width: 880px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.contact__info { background: var(--graphite); color: var(--snow); border-radius: var(--r-card); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.contact__info::before { content: ""; position: absolute; width: 420px; height: 420px; left: -140px; bottom: -200px; background: radial-gradient(circle, rgba(217,10,20,.25), transparent 65%); }
.contact__info h2 { color: var(--snow); font-size: var(--text-h); line-height: 1.1; font-weight: 700; margin-top: 12px; }
.contact__info .eyebrow { color: var(--ash); }
.contact__info > div > p { color: var(--ash); margin-top: 14px; font-size: 16px; max-width: 40ch; }
.contact__lines { display: grid; gap: 10px; position: relative; }
.contact__line { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.contact__line svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.contact__line small { display: block; color: var(--fog); font-size: 12px; }
.contact__line span { font-size: 15px; font-weight: 500; }
.contact__line .pending { color: var(--ash); font-weight: 400; font-style: italic; }
.form { background: var(--snow); border: 1px solid var(--cloud); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.form h3 { grid-column: 1 / -1; font-size: var(--text-sub); }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; color: var(--iron); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--graphite); background: var(--subtle); border: 1px solid var(--cloud); border-radius: var(--r-btn); padding: 12px 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--iron); background: var(--snow); box-shadow: 0 0 0 4px rgba(9,9,11,.05); }
.field input::placeholder, .field textarea::placeholder { color: var(--ash); }
.hp { position: absolute; left: -9999px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.form__foot p { font-size: 13px; color: var(--fog); max-width: 38ch; }
.form__status { grid-column: 1 / -1; font-size: 14px; padding: 12px 16px; border-radius: var(--r-btn); background: var(--paper); color: var(--graphite); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { margin-top: var(--section); padding-bottom: 96px; background: var(--obsidian); color: var(--ash); border-radius: var(--r-section) var(--r-section) 0 0; padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { margin-top: 18px; font-size: 14px; max-width: 34ch; }
.footer h4 { color: var(--snow); font-size: 14px; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.footer ul { display: grid; gap: 10px; font-size: 14px; }
.footer a:hover { color: var(--snow); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; color: var(--fog); }
.footer__big { display: block; width: 100%; height: auto; margin-top: 40px; user-select: none; }
.footer__big text { font-family: var(--font); font-weight: 700; font-size: 170px; letter-spacing: -6px; fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; }
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* Floating mobile call-to-action */
.float-cta { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); transform: translate(-50%, 140%); z-index: 90; display: none; padding: 6px; border-radius: var(--r-pill); transition: transform .6s var(--ease-out); }
.float-cta.is-visible { transform: translate(-50%, 0); }
@media (max-width: 720px) { .float-cta { display: flex; } }

/* ==========================================================================
   SCROLL REVEAL (only armed below the fold, after JS runs)
   ========================================================================== */
.js .reveal.pre { opacity: 0; transform: translateY(28px); }
.js .reveal { transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--rd, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .hero__media img, .breakthrough img { transform: none !important; }
}

/* ==========================================================================
   WARRANTIES
   ========================================================================== */
.warranties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.warranty { position: relative; overflow: hidden; background: var(--snow); border: 1px solid var(--cloud); border-radius: var(--r-card); padding: 28px; display: grid; gap: 14px; align-content: start; min-height: 260px; transition: transform .5s var(--ease-out), border-color .3s; }
.warranty:hover { transform: translateY(-4px); border-color: var(--mist); }
.warranty__tag { justify-self: start; padding: 4px 10px; border-radius: var(--r-badge); border: 1px solid var(--cloud); font-size: 12px; color: var(--graphite); }
.warranty__big { font-size: var(--text-h-lg); line-height: 1; font-weight: 600; letter-spacing: -.035em; color: var(--obsidian); font-variant-numeric: tabular-nums; margin-top: auto; padding-top: 28px; }
.warranty__big em { display: block; font-style: normal; font-size: .4em; letter-spacing: -.01em; color: var(--red); font-weight: 600; margin-top: 10px; }
.warranty p { color: var(--steel); font-size: 15px; max-width: 36ch; }
.warranty--dark { background: var(--graphite); border-color: var(--graphite); }
.warranty--dark .warranty__tag { border-color: rgba(255,255,255,.14); color: var(--mist); }
.warranty--dark .warranty__big { color: var(--snow); }
.warranty--dark p { color: var(--ash); }
.warranty__swatches { display: flex; gap: 6px; }
.warranty__swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: transform .4s var(--ease-out); }
.warranty--dark:hover .warranty__swatches i { transform: translateY(-3px); }
.warranty--dark:hover .warranty__swatches i:nth-child(2) { transition-delay: .03s; } .warranty--dark:hover .warranty__swatches i:nth-child(3) { transition-delay: .06s; } .warranty--dark:hover .warranty__swatches i:nth-child(4) { transition-delay: .09s; } .warranty--dark:hover .warranty__swatches i:nth-child(5) { transition-delay: .12s; } .warranty--dark:hover .warranty__swatches i:nth-child(6) { transition-delay: .15s; }
@media (max-width: 900px) { .warranties { grid-template-columns: 1fr; } .warranty { min-height: 0; } }

/* misc */
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__proof a { display: inline-flex; align-items: center; gap: 6px; color: var(--graphite); font-weight: 500; }
.hero__proof a:hover { color: var(--red); }
a.contact__line { transition: background-color .25s, border-color .25s, transform .35s var(--ease-out); }
a.contact__line:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); transform: translateX(4px); }
.contact__line span { overflow-wrap: anywhere; }
.tree-strip { margin-top: 16px; }

/* ==========================================================================
   MAP
   ========================================================================== */
.map { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 520px; background: var(--mist) url("../img/site/roof-replacement-aerial-hero-dv-dependable-roofing-700.webp") center / cover; border: 1px solid var(--cloud); }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.02); }
.map__card { position: absolute; left: 24px; top: 24px; width: min(380px, calc(100% - 48px)); padding: 26px; border-radius: 28px; display: grid; gap: 10px; --glass-tint: rgba(255,255,255,.55); --glass-tint-2: rgba(255,255,255,.4); --glass-blur: 14px; }
.map__card h2 { font-size: var(--text-h-sm); line-height: 1.15; }
.map__card address { font-style: normal; font-size: 17px; color: var(--graphite); line-height: 1.45; }
.map__card p { font-size: 14px; color: var(--steel); }
.map__card .btn-row { margin-top: 8px; }
@media (max-width: 640px) {
  .map { min-height: 0; display: flex; flex-direction: column; }
  .map__frame { position: relative; height: 320px; order: 2; }
  .map__card { position: relative; left: auto; top: auto; width: 100%; border-radius: 0; --glass-tint: rgba(255,255,255,.92); --glass-tint-2: rgba(255,255,255,.92); }
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 95; display: flex; align-items: center; gap: 10px; animation: wa-in .9s var(--ease-out) 1.2s both; }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.9); } }
.wa-float__icon { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -8px 16px rgba(0,0,0,.12), 0 10px 28px rgba(37, 211, 102, .45); transition: transform .4s var(--ease-out); }
.wa-float__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wa-ring 2.8s infinite 2s; }
@keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
.wa-float__icon svg { width: 30px; height: 30px; stroke-width: 1.7; }
.wa-float:hover .wa-float__icon { transform: scale(1.08) rotate(-6deg); }
.wa-float__label { padding: 8px 14px; border-radius: 16px; font-size: 14px; font-weight: 600; line-height: 1.2; opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .45s var(--ease-out); pointer-events: none; --glass-tint: rgba(255,255,255,.6); --glass-tint-2: rgba(255,255,255,.45); --glass-blur: 12px; }
.wa-float__label small { display: block; font-size: 11px; font-weight: 500; color: var(--steel); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .wa-float__icon { width: 54px; height: 54px; }
  .float-cta { left: 16px; transform: translateY(140%); }
  .float-cta.is-visible { transform: none; }
}
@media (hover: none) { .wa-float__label { display: none; } }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.platform { display: grid; gap: 4px; padding: 22px 24px; background: var(--snow); border: 1px solid var(--cloud); border-radius: 28px; transition: transform .45s var(--ease-out), border-color .3s; }
.platform:hover { transform: translateY(-4px); border-color: var(--mist); }
.platform small { font-size: 13px; color: var(--fog); font-weight: 500; }
.platform b { display: flex; align-items: center; gap: 8px; font-size: var(--text-h); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: var(--obsidian); font-variant-numeric: tabular-nums; }
.platform b .stars svg { width: 24px; height: 24px; }
.platform > span { font-size: 14px; color: var(--steel); }
.stars { display: inline-flex; gap: 2px; color: var(--red); }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; background: var(--snow); border: 1px solid var(--cloud); border-radius: var(--r-card); padding: 28px; display: grid; gap: 16px; transition: transform .5s var(--ease-out), border-color .3s; }
.review:hover { transform: translateY(-4px); border-color: var(--mist); }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--graphite); }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--cloud); }
.review figcaption > span:nth-child(2) { display: grid; min-width: 0; }
.review figcaption strong { font-size: 15px; color: var(--obsidian); font-weight: 600; }
.review figcaption small { font-size: 12px; color: var(--fog); }
.review figcaption em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--iron); border: 1px solid var(--cloud); border-radius: var(--r-badge); padding: 4px 8px; white-space: nowrap; }
.review__avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--obsidian); font-weight: 600; }
.review--feature { background: var(--graphite) radial-gradient(120% 80% at 100% 0%, rgba(217,10,20,.28), transparent 60%); border-color: var(--graphite); color: var(--snow); }
.review--feature blockquote { font-size: var(--text-h-sm); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--snow); }
.review--feature .review__second { font-size: 18px; font-weight: 400; line-height: 1.45; letter-spacing: 0; color: var(--mist); }
.review__src { font-size: 13px; color: var(--ash); }
.review--feature .glass-btn { justify-self: start; }
@media (max-width: 900px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.socials { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.socials .glass-btn { padding: 10px 14px; font-size: 13px; }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); color: var(--mist); transition: background-color .25s, color .25s, transform .35s var(--ease-out); }
.footer__social a:hover { background: var(--snow); color: var(--obsidian); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.hero__proof a svg { color: var(--red); }
@media (max-width: 520px) {
  .review figcaption { flex-wrap: wrap; }
  .review figcaption em { margin-left: 52px; }
}

.footer__bottom .credit { color: var(--mist); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.2); transition: color .2s, border-color .2s; }
.footer__bottom .credit:hover { color: var(--snow); border-color: var(--red); }

/* before/after v2 */
.compare--wide { aspect-ratio: 1487 / 795; border-radius: var(--r-card); margin-bottom: 16px; }
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pairs { grid-template-columns: 1fr; } .compare--wide { aspect-ratio: 4 / 3; } }
/* SMS float */
.sms-float .wa-float__icon { background: var(--red); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -8px 16px rgba(0,0,0,.14), 0 10px 28px var(--red-glow); }
.sms-float .wa-float__icon::after { animation-name: sms-ring; }
@keyframes sms-ring { 0% { box-shadow: 0 0 0 0 rgba(217,10,20,.4); } 70%, 100% { box-shadow: 0 0 0 16px rgba(217,10,20,0); } }
@media (max-width: 420px) { .contact__line span { font-size: 14px; overflow-wrap: break-word; } }

/* Hero social links: phones only (desktop layout unchanged) */
.hero__social { display: none; }
@media (max-width: 767px) {
  .hero__social { display: flex; gap: 8px; margin-top: 18px; }
  .hero__social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: var(--snow); border: 1px solid var(--cloud); font-size: 14px; font-weight: 500; color: var(--graphite); transition: transform .3s var(--ease-out), border-color .25s; }
  .hero__social a:active { transform: scale(.96); }
  .hero__social svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--paper); color: var(--red); flex: none; }
}
