/* ==========================================================================
   Llamando al Doctor — site styles
   Palette (unchanged brand colours) · Rubik + JetBrains Mono (self-hosted)
   ========================================================================== */

:root {
  --navy: #29293b;
  --lime: #c3ff00;
  --pink: #ff4d7c;
  --violet: #7878f7;
  --paper: #faf8f9;
  --grey: #9a9cb0;          /* text tone: 5.3:1 on navy (was #8b8da0, 4.35:1) */
  --pink-text: #ff6a91;     /* pink for small text: 5.2:1 on navy; --pink stays for lines/fills */
  --ink-deep: #1a1a26;      /* text on pink/violet surfaces: ≥4.8:1 */
  --panel: #323247;
  --panel-2: #3a3a52;
  --muted: #b9b9c8;
  --hair: rgba(250, 248, 249, .1);
  --font: 'Rubik', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(16px, 6vw, 96px);
  --lane: 8%;
  --stroke: 14px;
  --glow: rgba(195, 255, 0, .10);
}
:root[data-slot='dawn'] { --glow: rgba(120, 120, 247, .28); }
:root[data-slot='day'] { --glow: rgba(250, 248, 249, .12); }
:root[data-slot='dusk'] { --glow: rgba(255, 77, 124, .22); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--navy); color: var(--paper); overflow-x: hidden; line-height: 1.4; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.kicker { display: inline-flex; gap: 10px; align-items: center; color: var(--pink-text); }
.rule { display: block; width: min(320px, 70%); height: 2px; background: var(--pink); margin: 18px 0; }
.lime { color: var(--lime); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.logo-svg { display: block; }
.logo-svg svg, svg.logo-svg { width: 100%; height: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; background: var(--lime); color: var(--navy); padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(250, 248, 249, .3); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn.dark { background: var(--navy); color: var(--paper); }
.btn.lg { padding: 15px 26px; font-size: 16px; }
.stores { display: flex; gap: 8px; flex-wrap: wrap; }
.stores a { display: block; transition: transform .2s; }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 42px; width: auto; }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(16px, 4vw, 56px); transition: background .3s; }
.hdr.solid, .hdr.open { background: rgba(41, 41, 59, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hdr .logo { display: block; width: 146px; color: var(--lime); flex: none; }
.nav { display: flex; gap: 6px; align-items: center; font-size: 15px; }
.nav > a, .nav .dd > button { color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav .dd > button:hover, .nav .dd.open > button { color: var(--paper); background: var(--panel); }
.nav > a[aria-current='page'], .nav .dd > button.current { color: var(--paper); }
.nav .dd { position: relative; }
.nav .dd > button::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav .dd.open > button::after { transform: translateY(1px) rotate(-135deg); }
.menu { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; background: var(--panel-2); border-radius: 20px; padding: 8px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .55); display: none; }
.dd.open .menu, .lang.open .menu { display: grid; }
.menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; transition: background .15s; }
.menu a:hover, .menu a[aria-current='page'] { background: var(--panel); }
.menu a b { font-weight: 500; }
.menu a span { font-size: 13px; color: var(--muted); }
.hdr-actions { display: flex; gap: 10px; align-items: center; }
.lang { position: relative; }
.flag { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1.5px rgba(250, 248, 249, .15); }
.lang > button { color: var(--muted); padding: 8px 12px 8px 9px; border-radius: 999px; background: var(--panel); display: inline-flex; gap: 8px; align-items: center; }
.lang > button:hover, .lang.open > button { color: var(--paper); }
.lang > button::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.lang.open > button::after { transform: translateY(1px) rotate(-135deg); }
.lang .menu { left: auto; right: 0; min-width: 240px; }
.lang .menu a[aria-current='true'] { background: var(--panel); }
.lang .menu a b { white-space: nowrap; }
.lang .menu a[aria-current='true'] b::after { content: ' ✓'; color: var(--lime); }
.lang .menu a { grid-template-columns: 22px 1fr; column-gap: 12px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); place-items: center; }
.burger i, .burger i::before, .burger i::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--paper); position: relative; transition: transform .25s, background .25s; }
.burger i::before, .burger i::after { content: ''; position: absolute; left: 0; }
.burger i::before { top: -6px; } .burger i::after { top: 6px; }
.hdr.open .burger i { background: transparent; }
.hdr.open .burger i::before { transform: translateY(6px) rotate(45deg); }
.hdr.open .burger i::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; }

@media (max-width: 1080px) {
  .nav, .hdr-actions .lang, .hdr-actions .btn.hide-m { display: none; }
  .burger { display: grid; }
  .mnav { position: fixed; inset: 76px 0 0 0; z-index: 39; background: var(--navy); padding: 18px 18px 40px; overflow-y: auto; }
  .hdr.open ~ .mnav { display: block; }
  .mnav h3 { margin: 22px 0 8px; }
  .mnav a { display: block; padding: 14px 4px; font-size: 20px; border-bottom: 1px solid var(--hair); }
  .mnav .langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
  .mnav .langs a { border: 0; font-size: 15px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--panel); display: inline-flex; align-items: center; gap: 8px; }
  .mnav .langs .flag { width: 20px; height: 20px; }
  .mnav .langs a[aria-current='true'] { background: var(--paper); color: var(--navy); }
  .mnav .btn { margin-top: 26px; width: 100%; font-size: 17px; padding: 16px; border: 0; }
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */
main { display: block; }
section { position: relative; z-index: 2; padding-left: var(--pad); padding-right: var(--pad); }
.wrap { max-width: 1280px; margin: 0 auto; }
.sec { padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(20px, 4vh, 40px); }
.has-line .sec-in { margin-left: calc(var(--lane) + 30px); }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.sec-head h2, .h2 { font-size: clamp(34px, 4.4vw, 68px); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-top: 14px; }
.sec-head h2 em, .h2 em { font-style: normal; color: var(--lime); }
.sec-head p { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--muted); font-weight: 300; max-width: 60ch; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; font-weight: 300; color: var(--muted); max-width: 52ch; }
.lead b, .lead strong { color: var(--paper); font-weight: 500; }

/* ---------- the line ---------- */
#line-layer { position: absolute; inset: 0 0 auto 0; pointer-events: none; z-index: 1; overflow: hidden; }
#line-layer path { fill: none; stroke-width: var(--stroke); stroke-linecap: round; stroke-linejoin: round; }
#line-layer .track { stroke: rgba(195, 255, 0, .06); }
#line-layer .ink { stroke: var(--lime); }
.station { fill: var(--navy); stroke: var(--lime); stroke-width: 5; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.station.on { transform: scale(1); }
.wp { position: absolute; width: 1px; height: 1px; pointer-events: none; }
.wp.lane { left: var(--lane); }
.wp.lane-r { right: var(--lane); }

/* ==========================================================================
   Heroes
   ========================================================================== */
.hero { overflow-x: clip; min-height: 100vh; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; padding-top: 110px; padding-bottom: 40px; }
.hero::before { content: ''; position: absolute; right: -10%; top: -20%; width: 70vw; height: 90vh; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; transition: background 1.2s; }
.hero h1 { margin-top: 28px; font-size: clamp(44px, 5.8vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: .96; min-height: 2em; }
.hero h1 em { font-style: normal; color: var(--lime); display: block; }
.hero .lead { margin-top: 28px; }
.ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-mark { justify-self: center; width: min(30vw, 330px); color: var(--lime); position: relative; }
.hero-mark .logo-svg { animation: rise 1.4s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.line-origin { position: absolute; left: 9.9%; top: 98%; width: 1px; height: 1px; }

/* time chip (home) */
.now-wrap { position: relative; display: inline-block; }
.now { display: inline-flex; align-items: center; gap: 12px; background: var(--panel); border-radius: 999px; padding: 8px 16px 8px 10px; font-size: 14px; transition: background .2s; }
.now:hover, .now[aria-expanded='true'] { background: var(--panel-2); }
.now i { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; animation: ping 1.8s infinite; margin-left: 4px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.now b { font-family: var(--mono); font-weight: 500; color: var(--lime); }
.now .chev { color: var(--muted); font-size: 14px; line-height: 1; transform: translateY(-3px); transition: transform .2s; }
.now[aria-expanded='true'] .chev { transform: translateY(2px) rotate(180deg); }
.tt-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 5; width: 320px; max-width: calc(100vw - 80px); background: var(--panel-2); border-radius: 18px; padding: 16px 18px; display: grid; gap: 12px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); }
.tt-pop[hidden] { display: none; }
.tt-pop input { width: 100%; accent-color: var(--lime); }
.tt-pop button { justify-self: start; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }

/* inner page hero */
.phero { overflow-x: clip; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; padding-top: 150px; padding-bottom: 70px; min-height: 76vh; }
.phero::before { content: ''; position: absolute; right: -10%; top: -30%; width: 60vw; height: 80vh; background: radial-gradient(closest-side, rgba(195, 255, 0, .08), transparent); pointer-events: none; }
.phero h1 { margin-top: 20px; font-size: clamp(42px, 5.6vw, 92px); font-weight: 600; letter-spacing: -.04em; line-height: .98; }
.phero h1 em { font-style: normal; color: var(--lime); }
.phero .lead { margin-top: 26px; }
.phero .hero-mark { width: min(22vw, 250px); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--grey); }
.crumbs a:hover { color: var(--paper); }
.crumbs span[aria-hidden] { opacity: .5; }

/* plain (utility pages without the line) */
.plain-hero { padding-top: 150px; padding-bottom: 40px; }
.plain-hero h1 { margin-top: 16px; font-size: clamp(40px, 5vw, 80px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plain-hero .lead { margin-top: 20px; }
.plain-hero h1 em { font-style: normal; color: var(--lime); }
.cutout { width: min(100%, 460px); margin: 0 auto; }

/* ==========================================================================
   Home sections
   ========================================================================== */
.statement { padding-top: 20vh; padding-bottom: 10vh; }
.statement p { font-size: clamp(30px, 4vw, 62px); line-height: 1.12; letter-spacing: -.02em; max-width: 20ch; margin-left: auto; }
.statement p span { color: var(--grey); } .statement p b { font-weight: 500; color: var(--lime); }

.stop { min-height: 58vh; display: flex; align-items: center; }
.stop .wp { top: 50%; }
.stop .txt { max-width: 470px; }
.stop.l .txt { margin-left: calc(var(--lane) + 30px); }
.stop.r .txt { margin-left: auto; margin-right: calc(var(--lane) + 30px); text-align: right; }
.stop.r .rule { margin-left: auto; }
.num { font-size: clamp(80px, 12vw, 184px); font-weight: 700; letter-spacing: -.055em; line-height: .86; margin-top: 18px; }
.num small { font-size: .36em; font-weight: 500; letter-spacing: -.02em; }
.num .lt { color: var(--lime); font-weight: 600; }
.lbl { font-size: 20px; line-height: 1.45; font-weight: 300; color: var(--muted); }
.lbl b { color: var(--paper); font-weight: 500; }

.ring-stop { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding-top: 12vh; padding-bottom: 12vh; }
.ring-box { position: relative; width: clamp(300px, 34vw, 480px); aspect-ratio: 1; }
.ring-box .wp { left: 50%; top: 50%; }
.ring { width: 100%; height: 100%; }
.ring text { fill: var(--paper); font-family: var(--font); font-size: 13px; opacity: .55; text-anchor: middle; dominant-baseline: middle; }
.ring .seg { fill: var(--panel); transition: fill .3s; cursor: pointer; }
.ring .seg.has { fill: #4a4a66; }
.ring .seg.cur { fill: var(--lime); }
.ring .seg:hover { fill: #6a6a88; }
.ring .hand { stroke: var(--paper); stroke-width: 3; stroke-linecap: round; transform-origin: 300px 300px; transition: transform .8s cubic-bezier(.3, 1.3, .5, 1); }
.ring .c1 { font-size: 56px; font-weight: 700; opacity: 1; letter-spacing: -2px; }
.ring .c2 { font-size: 15px; opacity: .6; }
.ring-copy h2 { font-size: clamp(34px, 4vw, 60px); font-weight: 500; letter-spacing: -.03em; line-height: 1; max-width: 16ch; margin: 14px 0 36px; }
.story .h { font-family: var(--mono); font-size: 13px; color: var(--lime); }
.story h3 { margin-top: 12px; font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; }
.story p { margin-top: 14px; font-size: 18px; line-height: 1.55; font-weight: 300; color: var(--muted); max-width: 40ch; }
.story .pill { display: inline-block; margin-top: 18px; background: var(--panel); border-radius: 999px; padding: 7px 14px; font-size: 13px; }
.story .hint { margin-top: 28px; font-size: 13px; color: var(--grey); }

.map-stop { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding-top: 10vh; padding-bottom: 10vh; }
.map-stop > .txt { margin-left: calc(var(--lane) + 30px); }
.map svg { width: 100%; height: auto; }
.map circle { fill: #3a3a52; }
.map circle.cov { fill: var(--lime); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.map.in circle.cov { transform: scale(1); }
.countries { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.countries li { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--panel); color: var(--muted); }
.clocks { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.clocks div { background: var(--panel); border-radius: 16px; padding: 12px 16px; min-width: 130px; }
.clocks b { display: block; font-family: var(--mono); font-size: 26px; font-weight: 500; margin-top: 4px; }

.team-stop { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 10vh; padding-bottom: 10vh; }
.team-stop .txt { margin-left: auto; margin-right: calc(var(--lane) + 30px); text-align: right; max-width: 470px; }
.team-stop .rule { margin-left: auto; }
.photo { position: relative; border-radius: 48px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.92); opacity: .82; }
.photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(41, 41, 59, .55)); z-index: 1; }
.photo.color img { filter: none; opacity: 1; }
/* Circular crop (CSS only): square box, round mask, image covers and is framed via object-position. */
.photo-circle { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin: 0 auto; }
@media (max-width: 960px) { .photo-circle { width: min(100%, 280px); margin: 8px 0 0; } }
.photo-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* audiences */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--panel); border-radius: 28px; padding: 28px 24px 24px; min-height: 330px; display: flex; flex-direction: column; position: relative; transition: background .3s, color .3s, transform .3s; }
a.card:hover { background: var(--lime); color: var(--navy); transform: translateY(-6px); }
.card .k { color: var(--muted); }
a.card:hover .k, a.card:hover p { color: var(--navy); }
.card h3 { margin-top: 12px; font-size: 25px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.card .big { margin-top: 24px; font-size: 52px; font-weight: 700; letter-spacing: -.045em; color: var(--lime); transition: color .3s; }
a.card:hover .big { color: var(--navy); }
.card p { margin-top: auto; padding-top: 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card .go { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(250, 248, 249, .12); font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; }
a.card:hover .go { border-color: rgba(41, 41, 59, .2); }
.card .go::after { content: '→'; transition: transform .2s; }
a.card:hover .go::after { transform: translateX(4px); }
.people { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.people a { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: 22px; padding: 22px 26px; box-shadow: inset 0 0 0 1.5px rgba(250, 248, 249, .14); font-size: 20px; transition: background .2s; }
.people a:hover { background: var(--panel); }
.people a span { font-size: 15px; color: var(--muted); text-align: right; }
.people.three { grid-template-columns: repeat(3, 1fr); }
.band h2 { overflow-wrap: anywhere; min-width: 0; }

/* proof */
.proof .top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.proof h2 { font-size: clamp(30px, 3.2vw, 48px); font-weight: 500; letter-spacing: -.03em; }
.marquee { margin-top: 30px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { width: 184px; height: 92px; flex: none; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px 20px; overflow: hidden; }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.awards { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.award { border-top: 2px solid var(--pink); padding-top: 16px; }
.award p { margin-top: 8px; font-size: 16px; line-height: 1.45; }

/* ==========================================================================
   Inner page components
   ========================================================================== */
/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.feature { background: var(--panel); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; }
.feature .n { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.feature .big { font-size: 48px; font-weight: 700; letter-spacing: -.045em; color: var(--lime); line-height: 1; }
.feature h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.feature p, .feature li { font-size: 16px; line-height: 1.55; color: var(--muted); font-weight: 300; }
.feature ul { display: grid; gap: 8px; padding-left: 18px; }
.feature.accent { background: var(--lime); color: var(--navy); }
.feature.accent p, .feature.accent .n, .feature.accent li { color: rgba(41, 41, 59, .8); }
.feature.accent .big { color: var(--navy); }
.features.two { grid-template-columns: repeat(2, 1fr); }
.features.four { grid-template-columns: repeat(4, 1fr); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border: 1px solid var(--hair); border-radius: 24px; overflow: hidden; }
.stats div { padding: 24px 22px; border-right: 1px solid var(--hair); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: clamp(34px, 3.4vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--lime); margin-bottom: 10px; }
.stats span { font-size: 15px; color: var(--muted); line-height: 1.4; }

/* care models (stacked bars) */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.model { background: var(--panel); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; }
.model h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin-top: 14px; line-height: 1.15; }
.model p { margin-top: 10px; color: var(--muted); font-weight: 300; line-height: 1.55; font-size: 16px; }
.stack { margin-top: auto; padding-top: 24px; display: grid; gap: 6px; }
.stack div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; }
.stack .b { height: 26px; border-radius: 6px; display: flex; overflow: hidden; }
.stack .b i { display: block; height: 100%; }
.legend { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; color: var(--muted); }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; background: var(--c); vertical-align: -1px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; counter-reset: s; }
.step { counter-increment: s; background: var(--panel); border-radius: 28px; padding: 28px; position: relative; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 13px; color: var(--navy); background: var(--lime); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.step h3 { margin-top: 22px; font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.step p { margin-top: 12px; color: var(--muted); font-weight: 300; line-height: 1.55; }

/* when yes / no */
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.yesno > div { border-radius: 28px; padding: 30px; }
.yesno .yes { background: var(--lime); color: var(--navy); }
.yesno .no { background: var(--panel); box-shadow: inset 0 0 0 2px var(--pink); }
.yesno h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; display: flex; gap: 12px; align-items: center; }
.yesno h3 i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 18px; }
.yesno .yes h3 i { background: var(--navy); color: var(--lime); }
.yesno .no h3 i { background: var(--pink); color: var(--navy); }
.yesno ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.yesno li { font-size: 18px; padding: 12px 16px; border-radius: 14px; background: rgba(41, 41, 59, .08); }
.yesno .no li { background: rgba(250, 248, 249, .05); }
.alert { margin-top: 16px; display: flex; gap: 16px; align-items: flex-start; border-radius: 22px; padding: 20px 24px; background: rgba(255, 77, 124, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 77, 124, .5); line-height: 1.5; }
.alert b { color: var(--pink-text); }
.alert::before { content: '!'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: var(--navy); display: grid; place-items: center; font-weight: 700; }

/* checklist */
.checks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: var(--panel); font-size: 17px; line-height: 1.4; }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2329293b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; margin-top: 1px; }

/* split (text + media) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.prose-lg p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; font-weight: 300; color: var(--muted); }
.prose-lg p + p { margin-top: 18px; }
.prose-lg p b, .prose-lg p strong { color: var(--paper); font-weight: 500; }
.prose-lg p.hl { color: var(--paper); font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; }

/* quote */
.quote { font-size: clamp(26px, 3vw, 44px); line-height: 1.2; letter-spacing: -.02em; font-weight: 400; max-width: 26ch; }
.quote::before { content: '“'; display: block; font-size: 2.6em; line-height: .6; color: var(--pink); margin-bottom: 10px; }
.cite { margin-top: 28px; display: flex; gap: 16px; align-items: center; }
.cite img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.cite b { display: block; font-weight: 500; font-size: 18px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.member { background: var(--panel); border-radius: 28px; overflow: hidden; }
.member .ph { aspect-ratio: 1 / 1; background: var(--panel-2); position: relative; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member .tx { padding: 20px 22px 24px; }
.member b { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.member span { display: block; margin-top: 4px; color: var(--muted); }

/* values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.value { border-radius: 32px; padding: 34px 30px; min-height: 340px; display: flex; flex-direction: column; }
.value:nth-child(1) { background: var(--lime); color: var(--navy); }
.value:nth-child(2) { background: var(--pink); color: var(--ink-deep); }
.value:nth-child(3) { background: var(--violet); color: var(--ink-deep); }
.value h3 { font-size: clamp(34px, 3.4vw, 52px); font-weight: 600; letter-spacing: -.04em; margin-top: auto; }
.value p { margin-top: 12px; font-size: 18px; line-height: 1.5; }
.value .mono { color: currentColor; opacity: .8; }

/* logos grid */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; }
.logo-grid .logo-tile { width: auto; height: 110px; }

/* faq */
.faq-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.search { flex: 1 1 320px; display: flex; align-items: center; gap: 12px; background: var(--panel); border-radius: 999px; padding: 4px 6px 4px 20px; }
.search input { flex: 1; background: none; border: 0; outline: none; padding: 12px 0; font-size: 16px; min-width: 0; }
.search input::placeholder { color: var(--grey); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 16px; border-radius: 999px; font-size: 14px; box-shadow: inset 0 0 0 1.5px rgba(250, 248, 249, .2); color: var(--muted); }
.chip.on, .chip:hover { background: var(--paper); color: var(--navy); box-shadow: none; }
.faq-group { margin-top: 40px; }
.faq-group h2 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.02em; margin-bottom: 14px; }
.faq-group[hidden] { display: none; }
details.q { border-bottom: 1px solid var(--hair); }
details.q[hidden] { display: none; }
details.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 19px; font-weight: 500; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-weight: 400; transition: transform .25s, background .25s; }
details.q[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--navy); }
details.q .a { padding: 0 4px 24px; color: var(--muted); font-size: 17px; line-height: 1.6; font-weight: 300; max-width: 72ch; }
details.q .a b, details.q .a strong { color: var(--paper); font-weight: 500; }
details.q .a p + p { margin-top: 10px; }
.faq-empty { color: var(--muted); padding: 30px 0; }
.faq-empty[hidden] { display: none; }

/* legal prose */
.legal { max-width: 820px; padding-bottom: 100px; }
.legal h1 { display: none; }
.legal h2 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal h3 { font-size: 19px; font-weight: 500; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; line-height: 1.7; font-weight: 300; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.legal a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.legal strong, .legal b { color: var(--paper); font-weight: 500; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { border: 1px solid var(--hair); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--muted); }
.ordered { list-style: none; counter-reset: o; display: grid; gap: 12px; max-width: 760px; }
.ordered li { counter-increment: o; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--panel); border-radius: 20px; padding: 18px 20px; font-size: 17px; line-height: 1.5; }
.ordered li::before { content: counter(o); width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--navy); font-weight: 700; display: grid; place-items: center; }
.ordered li a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

/* contact channels */
.channels { display: grid; gap: 12px; }
.channel { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: var(--panel); border-radius: 22px; padding: 22px 24px; transition: background .2s; }
a.channel:hover { background: var(--panel-2); }
.channel b { display: block; font-size: 19px; font-weight: 500; }
.channel span { color: var(--muted); font-size: 15px; }
.channel::after { content: '→'; font-size: 20px; }
div.channel::after { content: none; }

/* ---------- calculator ---------- */
.seg-toggle { margin-top: 26px; display: inline-flex; background: var(--panel); border-radius: 999px; padding: 4px; }
.seg-toggle button { padding: 10px 18px; border-radius: 999px; font-size: 15px; color: var(--muted); }
.seg-toggle button[aria-pressed='true'] { background: var(--paper); color: var(--navy); font-weight: 500; }
.calc { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc .inputs { background: var(--panel); border-radius: 28px; padding: 30px; display: grid; gap: 28px; }
.field-r label { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; margin-bottom: 12px; }
.field-r output { font-family: var(--mono); color: var(--lime); white-space: nowrap; }
input[type=range].r { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: #4a4a62; outline: none; }
input[type=range].r::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); border: 4px solid var(--navy); cursor: pointer; }
input[type=range].r::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); border: 4px solid var(--navy); cursor: pointer; }
.results { background: var(--lime); color: var(--navy); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.results .big { font-family: var(--mono); font-size: clamp(38px, 4.4vw, 70px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.results .grid { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid rgba(41, 41, 59, .2); }
.results .grid div { padding-top: 14px; }
.results .grid div + div { padding-left: 14px; }
.results .grid b { display: block; font-family: var(--mono); font-size: 24px; margin-top: 4px; }
.results .fine { font-size: 12px; opacity: .75; line-height: 1.5; }
.results .btn { align-self: flex-start; }

/* ---------- phone CTA (end of the line) ---------- */
.end { padding-top: 16vh; padding-bottom: 30vh; display: grid; place-items: center; }
.phone { width: min(470px, 100%); aspect-ratio: .8; border-radius: 64px; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 48px; }
.no-line .phone { box-shadow: inset 0 0 0 var(--stroke) var(--lime); }
.phone .dot { position: absolute; top: 44px; right: 54px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); opacity: 0; transition: opacity .4s .2s; }
.phone.on .dot, .no-line .phone .dot { opacity: 1; }
.phone h2 { font-size: clamp(36px, 4.2vw, 58px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.phone p { margin: 20px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 26ch; }
.phone .alt { margin-top: 16px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.phone .stores { justify-content: center; margin-top: 14px; }

/* simple CTA band (utility pages) */
.band { margin: 60px 0 100px; border-radius: 32px; background: var(--panel); padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px, 3.2vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; max-width: 20ch; }

/* ==========================================================================
   Forms & modal
   ========================================================================== */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; background: var(--navy); border: 1.5px solid rgba(250, 248, 249, .16); border-radius: 14px; padding: 13px 14px; font-size: 16px; color: var(--paper); outline: none; transition: border-color .2s; }
.form textarea { min-height: 120px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--lime); }
.form .invalid { border-color: var(--pink); }
.form .err { color: var(--pink-text); font-size: 13px; }
.form .err[hidden] { display: none; }
.form .actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 6px; }
.form .note { font-size: 13px; color: var(--grey); }
.form-panel { background: var(--panel); border-radius: 28px; padding: clamp(22px, 3vw, 34px); }
.form-panel .form input, .form-panel .form select, .form-panel .form textarea { background: var(--panel-2); }
.form-done { text-align: center; padding: 30px 10px; }
.form-done[hidden] { display: none; }
.form-done h3 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.form-done p { margin-top: 10px; color: var(--muted); }
.form-done .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); margin: 0 auto 18px; display: grid; place-items: center; color: var(--navy); font-size: 30px; font-weight: 700; }

dialog.modal { margin: auto; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; border-radius: 28px; background: var(--panel); color: var(--paper); padding: 0; overflow: auto; }
dialog.modal::backdrop { background: rgba(20, 20, 32, .72); backdrop-filter: blur(4px); }
dialog.modal .mh { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px 6px; }
dialog.modal .mh h2 { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
dialog.modal .close { width: 40px; height: 40px; border-radius: 50%; background: var(--panel-2); font-size: 22px; line-height: 1; }
dialog.modal .mb { padding: 14px 28px 28px; }
dialog.modal .form input, dialog.modal .form select, dialog.modal .form textarea { background: var(--panel-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { position: relative; z-index: 2; border-top: 1px solid rgba(250, 248, 249, .08); padding: 56px var(--pad) 28px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.fgrid .logo { display: block; width: 177px; color: var(--lime); }
.fgrid h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); font-weight: 400; margin-bottom: 14px; }
.fgrid ul { overflow-wrap: anywhere; list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.fgrid ul a:hover { color: var(--paper); }
.fgrid .stores { margin-top: 22px; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; transition: background .2s, color .2s; }
.social a:hover { background: var(--lime); color: var(--navy); }
.social svg { width: 18px; height: 18px; }
.fbottom { margin-top: 48px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--grey); }
.fbottom a:hover { color: var(--paper); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .cards, .features.four { grid-template-columns: 1fr 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr 1fr; }
  .fgrid > div:first-child { grid-column: 1 / -1; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  :root { --stroke: 8px; --lane: 22px; }
  .has-line section { padding-left: 52px; padding-right: 18px; }
  .has-line .sec-in { margin-left: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: auto; padding-bottom: 90px; }
  .hero-mark { order: -1; width: 140px; justify-self: start; }
  .has-line .hero-mark { margin-left: -44px; }
  .phero { grid-template-columns: 1fr; padding-top: 110px; min-height: auto; padding-bottom: 50px; }
  .phero .hero-mark { width: 110px; }
  .stop .wp.lane-r { left: var(--lane); right: auto; }
  .stop.l .txt, .stop.r .txt, .team-stop .txt, .map-stop > .txt { margin: 0; text-align: left; }
  .stop.r .rule, .team-stop .rule { margin-left: 0; }
  .stop { min-height: 50vh; }
  .ring-stop, .map-stop, .team-stop, .split { grid-template-columns: 1fr; }
  .ring-box { width: 100%; max-width: 380px; }
  .team-stop .photo { order: 2; }
  .calc, .yesno { grid-template-columns: 1fr; }
  .people, .people.three { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr 1fr; }
  .features, .models, .steps, .values, .team-grid { grid-template-columns: 1fr 1fr; }
  .phone { border-radius: 44px; padding: 32px; }
  .phone .dot { top: 30px; right: 36px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cards, .features, .features.two, .features.four, .models, .steps, .values, .team-grid { grid-template-columns: 1fr; }
  .card { min-height: 250px; }
  .form .row { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fgrid > div:last-child { grid-column: 1 / -1; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid .logo-tile { height: 90px; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--hair); }
  .value { min-height: 260px; }
}
