/* =========================================================
   Norman Birchall Heating & Plumbing — "Midnight" style
   Dark, glassy, motion-led. Re-brand by editing :root.
   The pinned horizontal "Success stories" section works with
   script.js; without JS it falls back to a swipeable row.
   ========================================================= */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("fonts/inter-800.woff") format("woff"); }

:root {
  --bg: #f3f7ff;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --text: #0b1b3a;
  --muted: #4a5b7a;
  --line: rgba(11,27,58,.12);
  --ink: #0b1b3a;
  --cyan: #12b3e8;
  --blue: #1747ff;
  --mint: #19d3a2;
  --sun: #ffc83d;
  --hot: #ff7a1a;          /* CTA colour */
  --hot-2: #ffb13d;
  --wa: #25d366;
  --grad: linear-gradient(120deg, #1747ff, #12b3e8 55%, #19d3a2);
  --grad-warm: linear-gradient(120deg, #fff3b0, #ffd35c 45%, #ffb13d);
  --heat: linear-gradient(180deg, rgba(255,122,26,.30) 0%, rgba(214,38,84,.62) 55%, rgba(120,16,50,.9) 100%);
  --water: linear-gradient(180deg, rgba(23,71,255,.28) 0%, rgba(18,120,232,.6) 55%, rgba(8,30,120,.9) 100%);
  --radius: 26px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
p { margin: 0; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--hot); color: #1a0d00; padding: .6rem 1rem; z-index: 400; }
.skip-link:focus { left: 1rem; top: 1rem; }
.hero .grad-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: 1rem 1.7rem; border-radius: 999px; border: 1px solid transparent; font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-hot { background: linear-gradient(120deg, var(--hot), var(--hot-2)); color: #1f0e00; box-shadow: 0 10px 28px -10px rgba(255,122,26,.8); }
.btn-hot:hover { box-shadow: 0 16px 36px -10px rgba(255,138,61,.85); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.hero .btn-ghost { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero .btn-ghost:hover { background: #fff; color: var(--blue); }
.btn-wa { background: var(--wa); color: #06331a; }
.btn-wa:hover { background: #1ebe5a; }
.btn-wa svg { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }
.btn-small { padding: .72rem 1.2rem; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.05; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(23,71,255,.6); }
.logo-mark svg { width: 21px; height: 21px; fill: #fff; }
.logo small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .15rem; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); transition: color .15s; }
.site-nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--line); cursor: pointer; position: relative; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, background .2s; }
.nav-burger span { top: 22px; }
.nav-burger span::before { top: -7px; left: 0; right: 0; }
.nav-burger span::after { top: 7px; left: 0; right: 0; }
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); isolation: isolate; color: #fff; background: #1747ff; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none; background: radial-gradient(700px 480px at 88% 0%, rgba(255,200,61,.55), transparent 62%), radial-gradient(640px 460px at 0% 105%, rgba(25,211,162,.6), transparent 62%), linear-gradient(135deg, #1747ff 0%, #12b3e8 62%, #19d3a2 118%); opacity: .88; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: -1; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.orb-a { width: 520px; height: 520px; background: #ffb13d; top: -160px; right: -60px; }
.orb-b { width: 440px; height: 440px; background: #19d3a2; bottom: -200px; left: -120px; opacity: .45; animation-delay: -6s; }
.orb-c { width: 300px; height: 300px; background: #ff5fa2; top: 40%; left: 42%; opacity: .28; animation-delay: -11s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-40px, 50px, 0) scale(1.12); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.7) 1.3px, transparent 1.3px); background-size: 28px 28px; opacity: .45; mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.45); font-size: .85rem; font-weight: 600; color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: #7dffd2; box-shadow: 0 0 0 4px rgba(125,255,210,.3), 0 0 14px #7dffd2; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); margin: 1.3rem 0 1.5rem; letter-spacing: -.045em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.92); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-media { position: relative; max-width: 580px; width: 100%; justify-self: end; }
.hero-frame { border-radius: 36px; padding: 10px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.6); box-shadow: 0 40px 70px -30px rgba(8,24,90,.7); transform: rotate(2deg); transition: transform .5s; }
.hero-frame:hover { transform: rotate(0); }
.hero-frame img { height: auto; border-radius: 28px; aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: 50% 50%; }
.glass { position: absolute; background: #fff; border-radius: 18px; padding: .85rem 1.1rem; font-size: .86rem; line-height: 1.35; color: var(--muted); box-shadow: 0 20px 40px -18px rgba(8,24,90,.6); }
.glass strong { display: block; color: var(--ink); font-size: 1rem; }
.glass-a { left: -1.6rem; bottom: 11%; }
.glass-b { right: -.6rem; top: 8%; }

/* ---------- Marquee ---------- */
.marquee { background: linear-gradient(90deg, #ff7a1a, #ffb13d, #ff7a1a); overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: scroll-x 32s linear infinite; }
.marquee span { font-size: clamp(1.15rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; color: #2a1200; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee span::after { content: "✦"; color: #fff; font-size: .9em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-top: .9rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -30px rgba(23,71,255,.5); }
.stat { background: #fff; padding: 2rem 1.5rem; }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat span { display: block; margin-top: .6rem; color: var(--muted); font-size: .92rem; }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile { position: relative; isolation: isolate; color: #fff; border-radius: var(--radius); padding: 1.8rem; overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .25s, box-shadow .25s; box-shadow: 0 20px 40px -26px rgba(11,27,58,.55); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img, radial-gradient(circle at 88% 12%, rgba(255,255,255,.35), transparent 42%)) center / cover no-repeat; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wash, var(--water)); transition: opacity .35s; }
.tile.heat { --wash: var(--heat); background: linear-gradient(135deg, #ff7a1a, #d62654); }
.tile.water { --wash: var(--water); background: linear-gradient(135deg, #12b3e8, #1747ff); }
.tile:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -24px rgba(11,27,58,.6); }
.tile:hover::before { transform: scale(1.08); }
.tile:hover::after { opacity: .85; }
.tile .ic { width: 50px; height: 50px; border-radius: 15px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; margin-bottom: auto; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tile .ic svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 1.4rem; margin: 1.2rem 0 .5rem; }
.tile p { color: rgba(255,255,255,.92); font-size: .98rem; }
.t-wide { grid-column: span 3; }
.t-third { grid-column: span 2; }
.t-big { grid-column: span 4; min-height: 300px; }
.t-big h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.t-big p { max-width: 30rem; }
.t-cta { grid-column: span 2; background: linear-gradient(150deg, #0b1b3a, #1747ff); justify-content: space-between; gap: 1.5rem; }
.t-cta::before, .t-cta::after { display: none; }
.t-cta h3 { margin-top: 0; }

/* ===== Pinned horizontal scroll: Success stories ===== */
.hscroll { position: relative; isolation: isolate; color: #fff; background: #1747ff; }
.hscroll::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(700px 460px at 100% 0%, rgba(255,200,61,.5), transparent 62%), radial-gradient(640px 440px at 0% 100%, rgba(255,95,162,.45), transparent 62%), linear-gradient(135deg, #1b3bff 0%, #6a35ff 55%, #d1457f 115%); opacity: .88; }
.hscroll::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.55) 1.2px, transparent 1.2px); background-size: 26px 26px; opacity: .35; mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%); }
.hscroll-sticky { position: relative; height: auto; display: flex; flex-direction: column; justify-content: center; gap: 1.8rem; padding: 4rem 0; overflow: hidden; }
.hscroll-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.hscroll .kicker { color: #ffd35c; }
.hscroll .grad-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hscroll-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-top: .8rem; }
.hscroll-count { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.03em; color: rgba(255,255,255,.7); white-space: nowrap; }
.hscroll-count b { color: #fff; }
.hscroll-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem 0 1rem; }
.hscroll-viewport::-webkit-scrollbar { display: none; }
.hscroll-track { display: flex; gap: 1.4rem; width: max-content; padding-inline: max(1.25rem, calc((100vw - 1200px) / 2)); will-change: transform; }
.story { scroll-snap-align: start; flex: none; width: min(86vw, 880px); display: grid; grid-template-columns: 1fr 1fr; background: #fff; color: var(--ink); border-radius: 32px; overflow: hidden; min-height: 420px; box-shadow: 0 30px 60px -28px rgba(8,10,60,.7); }
.story-img { position: relative; }
.story-art { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; background: #d62654; }
.story-art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.story-img.story-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wash); }
.story:hover .story-art::before { transform: scale(1.07); }
.story-art b { font-size: clamp(7rem, 16vw, 11rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: rgba(255,255,255,.95); text-shadow: 0 10px 40px rgba(0,0,0,.25); }
.story-art svg { position: absolute; right: 1.2rem; top: 1.2rem; width: 54px; height: 54px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; z-index: 1; }
.story-art.a1 { --wash: linear-gradient(135deg, rgba(255,122,26,.62), rgba(214,38,84,.82)); }
.story-art.a2 { --wash: linear-gradient(135deg, rgba(18,179,232,.6), rgba(23,71,255,.85)); }
.story-art.a3 { --wash: linear-gradient(135deg, rgba(255,122,26,.6), rgba(255,177,61,.78)); }
.story-art.a4 { --wash: linear-gradient(135deg, rgba(25,211,162,.55), rgba(18,179,232,.82)); }
.story-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.story-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(255,255,255,.35)); }
.story-body { padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.story-no { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--hot); }
.story-stat { font-size: clamp(3.2rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.story-stat small { display: block; font-size: .95rem; letter-spacing: 0; font-weight: 600; color: var(--muted); -webkit-text-fill-color: var(--muted); margin-top: .5rem; }
.story h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.story p { color: var(--muted); }
.story-end { background: linear-gradient(150deg, #ff7a1a, #ffb13d); color: #1f0e00; grid-template-columns: 1fr; align-content: center; text-align: left; padding: clamp(1.6rem, 4vw, 3rem); width: min(86vw, 560px); gap: 1.2rem; }
.story-end h3 { font-size: clamp(2rem, 4vw, 3rem); }
.story-end p { color: #4a2400; }
.story-end .story-no { color: #7a3300; }
.story-end .btn-hot { background: #0b1b3a; color: #fff; box-shadow: none; }
.hscroll-bar { height: 4px; background: rgba(255,255,255,.3); border-radius: 3px; overflow: hidden; }
.hscroll-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #fff, #ffd35c); transform-origin: left; transform: scaleX(.16); }
.hscroll-hint { color: rgba(255,255,255,.85); font-size: .85rem; display: flex; align-items: center; gap: .6rem; }
.hscroll-hint svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* JS-enabled pinned mode */
.js .hscroll.is-pinned .hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 5.5rem 0 2rem; }
.js .hscroll.is-pinned .hscroll-viewport { overflow: visible; scroll-snap-type: none; }
.js .hscroll.is-pinned .hscroll-hint .swipe { display: none; }
.hscroll:not(.is-pinned) .hscroll-hint .scrolly { display: none; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; }
.step { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; position: relative; box-shadow: 0 20px 40px -30px rgba(23,71,255,.5); border-top: 4px solid var(--hot); }
.step:nth-child(2) { border-top-color: var(--cyan); }
.step:nth-child(3) { border-top-color: var(--mint); }
.step:nth-child(4) { border-top-color: var(--blue); }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-size: 3rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; margin-bottom: 1.2rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-img { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 18px 18px 0 var(--sun), 0 30px 60px -30px rgba(11,27,58,.5); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: .9rem 0 1.2rem; }
.about > div > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1rem; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.pill { padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }

/* FAQ */
.faq-wrap { max-width: 50rem; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq:first-of-type { border-top: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; padding: 1.4rem 3rem 1.4rem 0; font-weight: 700; font-size: 1.15rem; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem; color: var(--blue); }
details.faq[open] summary::after { content: "–"; background: var(--hot); color: #fff; border-color: var(--hot); }
details.faq .faq-a { padding: 0 3rem 1.5rem 0; color: var(--muted); }
details.faq .faq-a a { color: var(--blue); }

/* Contact */
.contact { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; border-radius: 40px; padding: clamp(1.8rem, 5vw, 4rem); color: #fff; isolation: isolate; background: #12b3e8; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 100% 0%, rgba(255,200,61,.5), transparent 60%), linear-gradient(135deg, #1747ff 0%, #12b3e8 70%, #19d3a2 120%); opacity: .9; }
.contact h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: .9rem 0 1rem; }
.contact > div > p { color: rgba(255,255,255,.94); font-size: 1.08rem; }
.contact .kicker { color: #ffd35c; }
.contact .grad-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 1.6rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; }
.contact-list .ic { width: 44px; height: 44px; flex: none; border-radius: 14px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; }
.contact-list svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; color: rgba(255,255,255,.8); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.contact-list a { text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.form-card { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 30px 60px -30px rgba(8,10,60,.7); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--ink); }
.field input, .field textarea { width: 100%; font: 500 1rem var(--font); padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: #f3f7ff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(23,71,255,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: .4rem 0 1.2rem; }
.consent input { margin-top: .25rem; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.consent a { color: var(--blue); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.form-card .btn { width: 100%; }
.msg { display: none; padding: .9rem 1rem; border-radius: 14px; font-weight: 600; margin-bottom: 1rem; }
.msg-ok { background: #d8fbee; color: #07603f; border: 1px solid #8fe9c8; }
.msg-err { background: #ffe3e0; color: #8f1f14; border: 1px solid #ffb3ab; }
#sent:target, #error:target { display: block; }

/* Footer */
.site-footer { padding: 3.5rem 0 6.5rem; font-size: .92rem; color: rgba(255,255,255,.75); background: #0b1b3a; }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: rgba(255,255,255,.6); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-legal p + p { margin-top: .35rem; }
.footer-legal a { color: #fff; font-weight: 600; }
.credit { margin-top: .9rem; font-size: .82rem; }
.credit a { color: #ffd35c !important; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Legal pages */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: .8rem 0; }
.page-hero p { color: var(--muted); font-size: 1.1rem; }
.legal-body { max-width: 46rem; padding-bottom: 3rem; }
.legal-body h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.legal-body p, .legal-body li { color: #33466b; }
.legal-body p { margin-bottom: .9rem; }
.legal-body ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal-body a { color: var(--blue); font-weight: 600; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-burger { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: rgba(255,255,255,.98); padding: .5rem 1.25rem 1.3rem; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(11,27,58,.35); }
  .site-nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .site-nav .btn { margin-top: .8rem; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 960px) {
  .hero-grid, .about, .contact { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin-inline: auto; justify-self: center; }
  .glass-a { left: -.3rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-big { grid-column: span 2; }
  .t-wide, .t-third { grid-column: span 1; }
  .t-cta { grid-column: span 2; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .t-big, .t-wide, .t-third, .t-cta { grid-column: span 1; }
  .steps, .field-row { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; width: 84vw; min-height: 0; }
  .story-img { height: 150px; }
  .story-img::after { background: linear-gradient(0deg, rgba(255,255,255,.4), transparent 50%); }
  .story-body { gap: .6rem; padding: 1.2rem; }
  .story-stat { font-size: 2.8rem; }
  .story p { font-size: .94rem; }
  .story-end { width: 84vw; }
  .hscroll-head { align-items: flex-start; }
  .js .hscroll.is-pinned .hscroll-sticky { padding-top: 5rem; gap: 1rem; }
  .contact { border-radius: 28px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 220; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { padding: .9rem .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
.container.faq-wrap { margin-left: max(1.25rem, calc((100% - 1200px) / 2)); }
.credit + .credit { margin-top: .3rem; }
