:root {
  --cream: #faf5eb;
  --paper: #ffffff;
  --ink: #151313;
  --ink-2: #2a2626;
  --muted: #6d6660;
  --red: #c95153;
  --red-pale: #dc8586;
  --red-deep: #a63e40;
  --rose: #f5ddd8;
  --line: rgba(21, 19, 19, .12);

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "DM Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); }
em, i { font-style: normal; }
h2 em, h1 em { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 6px; }
section { scroll-margin-top: 72px; }

.eyebrow {
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--red-pale); }

.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 64px); padding: 0 var(--gutter); }
.sec-head > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.sec-head--light h2, .sec-head--light p { color: var(--cream) !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-display); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 42px; padding: 0 20px; font-size: .9rem; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--red); }
.btn-ghost { border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--red-pale); }
.btn-ghost-light { border-color: rgba(250, 245, 235, .5); color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(250, 245, 235, .08); }
.btn-red { background: var(--red); color: var(--cream); }
.btn-red:hover { background: var(--red-deep); }

/* ───────── Loader ───────── */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s;
}
.loader-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loader-skip {
  position: absolute; right: var(--gutter); bottom: 28px;
  background: none; border: 0; font-family: var(--f-display); font-size: .85rem; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
html:not(.js) .loader { display: none; }

/* ───────── Nav ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px; padding: 0 var(--gutter);
  transition: background-color .35s, box-shadow .35s, height .35s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  height: 64px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 36px); font-family: var(--f-display); font-weight: 500; font-size: .95rem; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { top: 24px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex; align-items: center;
  padding: 110px var(--gutter) 80px;
  background:
    radial-gradient(60vw 60vw at 82% 70%, rgba(201, 81, 83, .10), transparent 60%),
    var(--cream);
}
.hero-copy { position: relative; z-index: 3; max-width: min(820px, 45vw); }
.hero-title {
  font-size: clamp(2.8rem, min(7.2vw, 12.5vh), 8.6rem);
  line-height: .94;
  letter-spacing: -.035em;
}
.hero-title .w { display: inline-block; }
.hero-title em { color: var(--red); padding-right: .04em; }
.hero-sub { margin-top: 26px; max-width: 30ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--muted); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-girl {
  position: absolute; z-index: 2;
  right: -9vw; bottom: -7%;
  height: 100%;
  aspect-ratio: 1739 / 1520;
  max-width: 72vw;
  transform-origin: 60% 100%;
  will-change: transform;
}
.girl-inner { position: absolute; inset: 0; transform-origin: 60% 100%; transition: transform .7s var(--ease-out); }
.hero-girl img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }
/* zona clicable: el óvalo de la chica, no toda la caja */
.girl-hit {
  position: absolute; left: 22%; right: 6%; top: 4%; bottom: 0;
  border: 0; padding: 0; background: none; border-radius: 48% 48% 0 0;
  cursor: pointer; pointer-events: none;
}
.hero.is-ready .girl-hit { pointer-events: auto; }
.girl-hit:focus-visible { outline-offset: -8px; }
.hero.is-ready .girl-inner:has(.girl-hit:hover),
.hero.is-ready .girl-inner:has(.girl-hit:focus-visible) { transform: scale(1.04); }
.girl-cue {
  position: absolute; left: 0; top: 0; z-index: 3;
  transform: translate(var(--cx, 50%), var(--cy, 40%)) translate(14px, 14px) scale(.6);
  padding: 9px 16px 9px 14px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-family: var(--f-display); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.girl-cue::before {
  content: ""; width: 10px; height: 10px; background: var(--red);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.hero-girl.is-hover .girl-cue { opacity: 1; transform: translate(var(--cx, 50%), var(--cy, 40%)) translate(14px, 14px) scale(1); }
@media (hover: none) {
  /* en táctil la etiqueta queda fija sobre la chica */
  .girl-cue { --cx: 0; --cy: 0; left: 36%; top: 12%; }
  .hero.is-ready .girl-cue { opacity: 1; transform: scale(1); animation: cue 2.4s ease-in-out infinite; }
}
@keyframes cue { 50% { transform: scale(1.08); } }

/* Hero 2: probador */
.hero-video {
  position: absolute; z-index: 2; left: 0; top: 0; width: 0; height: auto;
  /* darken: el fondo blanco toma el color del hero y la chica conserva sus colores
     (multiply la teñía de crema) */
  mix-blend-mode: darken;
  opacity: 0; pointer-events: none;
}
.hero-try {
  position: absolute; inset: 0; z-index: 4;
  container-type: size;
  visibility: hidden; pointer-events: none;
  --ih: calc(100cqh - 76px);
  --iw: calc(var(--ih) * 1.005);
  --il: clamp(0px, 3vw, 60px);
}
.hero.is-try .hero-try { visibility: visible; pointer-events: auto; }
/* --sl/--st/--sw/--sh los fija main.js para que encaje con el último frame del video */
.try-stage {
  position: absolute;
  left: var(--sl, var(--il)); top: var(--st, calc(100cqh - var(--ih)));
  width: var(--sw, var(--iw)); height: var(--sh, var(--ih));
}
.try-face {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left bottom;
  opacity: 0; transition: opacity .55s var(--ease-out);
}
.try-face.is-on { opacity: 1; }
.try-panel {
  position: absolute;
  left: max(calc(var(--sl, var(--il)) + var(--sw, var(--iw)) * .76), calc(100% - var(--gutter) - 600px));
  right: var(--gutter);
  top: calc(var(--st, calc(100cqh - var(--ih))) + var(--sh, var(--ih)) * .30);
  transform: translateY(-50%);
}
.try-kicker {
  position: absolute; bottom: calc(100% + 18px); left: 0;
  font-family: var(--f-serif); font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1;
}
.try-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.try-card {
  position: relative; display: grid; gap: 8px; padding: 10px 10px 14px; text-align: left;
  border: 1.5px solid var(--line); border-radius: 18px; background: var(--paper);
  box-shadow: 0 10px 30px rgba(21, 19, 19, .06);
  transition: transform .4s var(--ease-out), border-color .25s, box-shadow .4s, background-color .25s;
}
.try-img { display: block; overflow: hidden; border-radius: 11px; }
.try-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transform: scale(1.12); transition: transform .6s var(--ease-out); }
.try-card { overflow: hidden; }
.try-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21, 19, 19, .1); }
.try-card:hover img { transform: scale(1.2); }
.try-card[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(201, 81, 83, .18), 0 18px 40px rgba(21, 19, 19, .1); }
.try-n {
  position: absolute; top: 16px; left: 16px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  font-family: var(--f-display); font-weight: 700; font-size: .9rem;
  transition: background-color .25s;
}
.try-card[aria-pressed="true"] .try-n { background: var(--red); }
.try-name { font-family: var(--f-display); font-weight: 600; font-size: clamp(.82rem, 1vw, .95rem); padding: 0 4px; line-height: 1.2; }
.try-back {
  position: absolute; top: calc(100% + 20px); left: 0;
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: none; padding: 6px 0;
  font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: var(--muted);
  transition: color .2s;
}
.try-back:hover { color: var(--ink); }
.try-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.try-back:hover svg { transform: translateX(-3px); }
.no-anim .hero.is-try .hero-girl, .no-anim .hero.is-try .hero-copy > *, .no-anim .hero.is-try .hero-scroll { opacity: 0 !important; visibility: hidden; }

.hero-scroll {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 26px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero-scroll svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* Pre-animation states (only when JS is running) */
.js .hero-girl, .js .nav-logo, .js .hero-title, .js .hero-sub, .js .hero-cta, .js .hero-scroll { opacity: 0; }

/* ───────── Monturas (carrusel) ───────── */
.frames { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); background: var(--paper); }
.carousel { position: relative; height: clamp(260px, 38vw, 520px); }
.car-stage { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; cursor: grab; }
.car-stage.is-dragging { cursor: grabbing; }
.slide {
  position: absolute; left: 50%; top: 50%; margin: 0;
  width: clamp(240px, 40vw, 600px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition: transform .8s var(--ease-out), opacity .6s, filter .6s;
  cursor: pointer;
}
.slide img { width: 100%; height: 100%; object-fit: contain; user-select: none; }
.slide.is-active img { animation: float 4.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-3.5%); } }
.car-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(21, 19, 19, .08); display: grid; place-items: center;
  transition: background-color .25s, transform .3s var(--ease-out);
}
.car-arrow:hover { background: var(--ink); color: var(--cream); transform: translateY(-50%) scale(1.06); }
.car-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.car-prev { left: var(--gutter); }
.car-next { right: var(--gutter); }
.car-info { text-align: center; margin-top: 8px; padding: 0 var(--gutter); }
.car-name { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.02em; }
.car-meta { color: var(--muted); margin: 4px 0 22px; font-size: .95rem; }
.car-meta strong { color: var(--ink); }
.car-info > * { transition: opacity .3s, transform .3s; }
.car-info.is-swapping .car-name, .car-info.is-swapping .car-meta { opacity: 0; transform: translateY(6px); }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.car-dots button { width: 44px; height: 20px; border: 0; background: none; padding: 0; position: relative; }
.car-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(21, 19, 19, .18); transition: background-color .3s, height .3s, top .3s; }
.car-dots button[aria-selected="true"]::before { background: var(--ink); height: 3px; top: 8.5px; }

/* ───────── Test + colección ───────── */
.match { background: var(--red); padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(80px, 9vw, 130px); }
.match .sec-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.match-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px);
  max-width: 1400px; margin: 0 auto;
  padding-top: clamp(60px, 8vw, 120px);
}
.mcard {
  position: relative; display: block;
  aspect-ratio: 16 / 10.5;
  background: var(--red-pale);
  border-radius: 6px;
  color: var(--cream);
  isolation: isolate;
}
.mcard-title {
  position: absolute; z-index: 3; top: clamp(18px, 3vw, 36px);
  font-family: var(--f-serif); font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: .95; letter-spacing: -.01em;
}
.mcard-sub { position: absolute; z-index: 3; top: calc(clamp(18px, 3vw, 36px) + 2 * clamp(1.95rem, 3.65vw, 3.25rem) + 10px); font-size: .92rem; opacity: .92; max-width: 34%; line-height: 1.35; }
.mcard-arrow {
  position: absolute; z-index: 3; bottom: clamp(18px, 3vw, 36px);
  width: clamp(36px, 3.6vw, 52px); height: clamp(36px, 3.6vw, 52px);
  fill: none; stroke: var(--cream); stroke-width: 1.6; stroke-linecap: square;
  transition: transform .45s var(--ease-out);
}
.mcard:hover .mcard-arrow { transform: scale(1.15); }

.mcard-title, .mcard-sub, .mcard-arrow { left: clamp(18px, 3vw, 36px); }
/* sobresale solo por arriba: el contenedor recorta exacto en el borde inferior y derecho de la card */
.mcard-clip {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; top: -45%;
  overflow: hidden; border-radius: 0 0 6px 0;
  pointer-events: none;
}
.mcard-pop .mcard-img {
  position: absolute; bottom: 0; right: 0;
  height: calc(118% / 1.45); width: auto; max-width: none;
  transform-origin: 100% 100%;
  transition: transform .7s var(--ease-out);
}
.mcard-pop:hover .mcard-img { transform: scale(1.04); }

.mcard-photo { overflow: hidden; }
.mcard-photo .mcard-cover {
  position: absolute; z-index: 1;
  --pad: clamp(10px, 1.4vw, 18px);
  top: var(--pad); right: var(--pad);
  width: calc(60% - var(--pad)); height: calc(100% - 2 * var(--pad));
  object-fit: cover; object-position: 75% 70%;
  border-radius: 3px;
  transition: transform 1s var(--ease-out);
}
.mcard-photo:hover .mcard-cover { transform: scale(1.04); }

/* ───────── Servicios ───────── */
.services { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.services .sec-head h2 { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em; font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); max-width: 1500px; margin: 0 auto; }
.svc {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: var(--radius);
  background: #f2f2f2;
}
.svc > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc:hover > img { transform: scale(1.05); }
.svc > .svc-product { object-fit: contain; }
.svc-rx { background: #fdfdfd; }
.svc-sun { background: linear-gradient(180deg, #eeedf2 0%, #f8f8fa 50%, #f2f2f4 100%); }
.pill {
  position: absolute; left: 50%; bottom: clamp(16px, 2vw, 26px); z-index: 2;
  transform: translateX(-50%);
  background: #fff; color: var(--ink);
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  transition: background-color .25s, color .25s;
}
.svc:hover .pill { background: var(--ink); color: var(--cream); }

.art-lens { background: linear-gradient(160deg, #cfe2f0 0%, #98bddb 100%); }
.cl {
  position: absolute; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .95) 0 7%, transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(140, 200, 235, .35) 0 38%, rgba(70, 150, 210, .45) 39% 41%, rgba(160, 215, 245, .3) 42% 64%, rgba(255, 255, 255, .7) 66% 68%, transparent 70%);
  box-shadow: inset 0 -10px 30px rgba(40, 110, 170, .25), 0 30px 50px rgba(30, 80, 130, .25);
  transition: transform 1s var(--ease-out);
}
.cl-1 { width: 62%; aspect-ratio: 1; left: 8%; top: 18%; transform: rotate(-10deg) scaleY(.82); }
.cl-2 { width: 46%; aspect-ratio: 1; right: 6%; top: 46%; transform: rotate(20deg) scaleY(.7); }
.art-lens:hover .cl-1 { transform: rotate(-4deg) scaleY(.86) translateY(-6px); }
.art-lens:hover .cl-2 { transform: rotate(26deg) scaleY(.74) translateY(4px); }

.art-chart { background: #f4f4f4; }
.chart {
  position: absolute; inset: 10% 8% 22%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  font-family: var(--f-display); font-weight: 700; color: var(--ink); line-height: 1;
  filter: blur(2.2px); transition: filter 1s var(--ease-out);
}
.chart span { font-size: calc(var(--s) * clamp(3.4rem, 7vw, 6.4rem)); letter-spacing: .14em; }
.chart span:nth-child(5) { border-bottom: 2px solid var(--red); padding-bottom: 4px; }
.art-chart:hover .chart, .art-chart:focus-visible .chart { filter: blur(0); }

/* ───────── App ───────── */
.app {
  background: var(--ink); color: var(--cream);
  padding: clamp(90px, 11vw, 160px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center;
}
.app-phone { display: flex; justify-content: center; }
.phone {
  position: relative; width: min(340px, 78vw); aspect-ratio: 9 / 19;
  border-radius: 48px; padding: 12px; background: #2b2727;
  box-shadow: 0 0 0 1.5px #474040, 0 50px 120px rgba(201, 81, 83, .25);
}
.phone-notch { position: absolute; z-index: 5; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0d0c0c; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #f4f1ec; }
.face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 22%; transform: scale(1.35); transform-origin: 30% 30%; opacity: 0; transition: opacity .6s; }
.face.is-on { opacity: 1; }
.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(201, 81, 83, .28) 85%, rgba(255, 140, 140, .9) 100%);
  transform: translateY(-110%);
  mix-blend-mode: multiply;
}
.screen.is-scanning .scan { animation: scan 1.3s cubic-bezier(.6, 0, .4, 1) both; }
@keyframes scan { to { transform: translateY(340%); } }
.mesh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mesh ellipse { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: .35; stroke-dasharray: 1.4 1.2; vector-effect: non-scaling-stroke; }
.mesh circle { fill: #fff; }
.mesh { opacity: 0; transition: opacity .4s; }
.screen.is-scanning .mesh { opacity: 1; }
.hud-top {
  position: absolute; top: 58px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  background: rgba(21, 19, 19, .72); color: #fff; backdrop-filter: blur(8px);
  padding: 7px 14px; border-radius: 999px; font-size: .74rem; font-weight: 500;
}
.hud-top .dot { width: 7px; height: 7px; border-radius: 50%; background: #5bd38a; }
.screen.is-scanning .hud-top .dot { background: var(--red); animation: blink .6s infinite alternate; }
@keyframes blink { to { opacity: .2; } }
.sheet {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background: rgba(255, 253, 248, .94); color: var(--ink); backdrop-filter: blur(10px);
  border-radius: 26px; padding: 16px 18px 18px;
}
.sheet-label { font-size: .7rem; color: var(--muted); }
.sheet-label strong { color: var(--ink); }
.sheet-frame { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; margin: 1px 0 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.chips span { font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--rose); color: var(--red-deep); }

.app-copy h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
.app-copy h2 em { color: var(--red-pale); }
.feat { list-style: none; padding: 0; margin: clamp(32px, 4vw, 48px) 0; display: grid; gap: 0; }
.feat li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(250, 245, 235, .14); }
.feat li:last-child { border-bottom: 1px solid rgba(250, 245, 235, .14); }
.feat-n { font-family: var(--f-serif); font-size: 1.6rem; color: var(--red-pale); line-height: 1.1; }
.feat h3 { font-size: 1.3rem; margin-bottom: 4px; }
.feat p { color: rgba(250, 245, 235, .7); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── Lentes ───────── */
.lenses { padding: clamp(90px, 11vw, 150px) var(--gutter); }
.lens-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.lens-tabs button {
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.lens-tabs button:hover { border-color: var(--ink); }
.lens-tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.lens-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); max-width: 1300px; margin: 0 auto; align-items: center; }
.lens-demo {
  --lx: 50%; --ly: 50%; --r: 120px;
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  background: #1e2340; cursor: none; touch-action: none;
  user-select: none;
}
.scene {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 6%;
  padding: 7% 7%;
  background: radial-gradient(120% 90% at 30% 40%, #3b5bff 0%, #1d2a7a 55%, #121735 100%);
  color: #eef1ff;
  transition: filter .6s;
}
.scene-inner { font-size: clamp(.7rem, 1.25vw, 1rem); }
.sc-kicker { opacity: .7; font-size: .85em; margin-bottom: .6em; }
.sc-h { font-family: var(--f-display); font-weight: 700; font-size: 2em; line-height: 1.05; letter-spacing: -.02em; margin-bottom: .7em; }
.sc-p { line-height: 1.5; margin-bottom: 1em; }
.sc-small { font-size: .72em; opacity: .75; }
.sc-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 30%; border-radius: 14px; }
.lens-view { position: absolute; inset: 0; clip-path: circle(var(--r) at var(--lx) var(--ly)); }
.lens-view .scene { transform-origin: var(--lx) var(--ly); }
.lens-ring {
  position: absolute; left: var(--lx); top: var(--ly);
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 7px solid var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35), 0 18px 40px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.lens-ring::after {
  content: ""; position: absolute; inset: 8% 12% auto auto; width: 26%; height: 12%;
  border-radius: 50%; background: rgba(255, 255, 255, .22); transform: rotate(35deg); filter: blur(2px);
}
.lens-hint {
  position: absolute; left: 16px; top: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}
.zones { position: absolute; left: var(--lx); top: var(--ly); width: calc(var(--r) * 2); height: calc(var(--r) * 2); transform: translate(-50%, -50%); display: none; grid-template-rows: 1fr 1fr 1fr; }
.zones span {
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
  border-bottom: 1px dashed rgba(255, 255, 255, .55);
}
.zones span:last-child { border-bottom: 0; }

/* modos */
.lens-demo[data-mode="azul"] .scene-outer { filter: saturate(1.25) brightness(1.05); }
.lens-demo[data-mode="azul"] .scene-in { filter: sepia(.75) saturate(1.7) hue-rotate(-12deg) brightness(1.08); }

.lens-demo[data-mode="progresivo"] .scene-outer { filter: blur(4px); }
.lens-demo[data-mode="progresivo"] .zones { display: grid; }

.lens-demo[data-mode="fatiga"] .scene-outer { filter: blur(1.8px) contrast(.88); }
.lens-demo[data-mode="fatiga"] .scene-in { transform: scale(1.12); }

.lens-demo[data-mode="foto"] .scene { background: radial-gradient(120% 90% at 70% 10%, #fff7d6 0%, #f6d27a 40%, #e58a52 100%); color: #3a2414; }
.lens-demo[data-mode="foto"] .scene-outer { filter: brightness(1.45) contrast(.75) saturate(.8); }
.lens-demo[data-mode="foto"] .scene-in { animation: photo 4s ease-in-out infinite; }
@keyframes photo {
  0%, 12% { filter: brightness(1.4) contrast(.78) saturate(.8); }
  50%, 88% { filter: brightness(.72) contrast(1.05) saturate(1.05) sepia(.25); }
  100% { filter: brightness(1.4) contrast(.78) saturate(.8); }
}

.lens-info h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.lens-info > p:not(.lens-for-label) { color: var(--muted); font-size: 1.05rem; }
.lens-for-label { margin-top: 24px; font-family: var(--f-display); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.lens-info ul { list-style: none; padding: 0; margin: 10px 0 28px; }
.lens-info li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: baseline; }
.lens-info li::before { content: "✦"; color: var(--red); font-size: .8em; }
.lens-info.is-swapping > * { opacity: 0; transform: translateY(6px); }
.lens-info > * { transition: opacity .3s, transform .3s; }

/* ───────── Pares ───────── */
.pairs {
  background: var(--rose);
  padding: clamp(90px, 11vw, 150px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center;
}
.pairs-visual { position: relative; aspect-ratio: 1; max-width: 620px; width: 100%; justify-self: center; }
.pv { position: absolute; width: 60%; }
.pv-a { left: 0; top: 0; transform: rotate(-9deg); }
.pv-b { right: 0; bottom: 0; transform: rotate(7deg) scaleX(-1); }
.sticker {
  position: absolute; right: 6%; top: 8%;
  width: clamp(110px, 13vw, 170px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: var(--cream);
  display: grid; place-content: center; text-align: center;
  transform: rotate(12deg);
  box-shadow: 0 20px 40px rgba(166, 62, 64, .3);
}
.sticker span { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 2.8vw, 2.8rem); letter-spacing: -.04em; line-height: 1; }
.sticker small { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pairs-copy h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.pairs-copy h2 em { color: var(--red); }
.lead { margin-top: 22px; font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; }
.steps { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.steps span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); font-family: var(--f-display); font-weight: 700; font-size: .9rem; }
.pairs-cta { display: grid; gap: 14px; justify-items: start; }
.fine { font-size: .8rem; color: var(--muted); }

/* ───────── Examen ───────── */
.exam { padding: clamp(90px, 11vw, 150px) var(--gutter) clamp(70px, 8vw, 110px); }
.timeline {
  position: relative; list-style: none; padding: 0; margin: 0 auto; max-width: 1300px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px);
}
.timeline::before {
  content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px;
  background: var(--red); transform-origin: left; transform: scaleX(var(--progress, 0));
}
.timeline::after { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: var(--line); z-index: -1; }
.timeline li { position: relative; }
.t-n {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ink);
  font-family: var(--f-display); font-weight: 700; margin-bottom: 20px; position: relative; z-index: 1;
}
.timeline h3 { font-size: 1.25rem; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: .96rem; }
.trust {
  list-style: none; padding: 0; margin: clamp(60px, 7vw, 100px) auto 0; max-width: 1300px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust li { padding: 26px 20px; text-align: center; font-size: .95rem; color: var(--muted); }
.trust li + li { border-left: 1px solid var(--line); }
.trust strong { display: block; font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); letter-spacing: -.01em; }

/* ───────── Cita ───────── */
.book { padding: 0 var(--gutter) clamp(90px, 10vw, 140px); }
.book-card {
  max-width: 1300px; margin: 0 auto;
  background: var(--ink); color: var(--cream); border-radius: calc(var(--radius) + 8px);
  padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  overflow: hidden;
}
.book-copy { position: relative; }
.book-copy h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.book-copy > p:not(.eyebrow) { margin-top: 14px; color: rgba(250, 245, 235, .7); }
.book-star { width: 64px; fill: var(--red); margin-top: 32px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-form .full { grid-column: 1 / -1; }
.book-form label { display: grid; gap: 6px; font-size: .82rem; color: rgba(250, 245, 235, .75); font-weight: 500; }
.book-form input, .book-form select {
  height: 50px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid rgba(250, 245, 235, .18); background: rgba(250, 245, 235, .05); color: var(--cream);
  font: inherit; font-size: 1rem; color-scheme: dark;
  transition: border-color .2s, background-color .2s;
}
.book-form input:focus, .book-form select:focus { outline: none; border-color: var(--red-pale); background: rgba(250, 245, 235, .09); }
.book-form .is-invalid { border-color: #ff8f8f; }
.book-form button { margin-top: 6px; }
.form-msg { min-height: 1.4em; font-size: .92rem; color: var(--red-pale); }

/* ───────── FAQ ───────── */
.faq {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(90px, 10vw, 140px);
  background: linear-gradient(115deg, #fbd5e5 0%, #e3d6ff 20%, #cdeef0 40%, #fff1cc 58%, #fcd3dc 76%, #d4e4ff 100%);
  background-size: 260% 260%;
  animation: holo 22s ease-in-out infinite alternate;
}
/* brillo nacarado encima del degradado */
.faq::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 25%, rgba(255, 255, 255, .7), transparent 70%),
    radial-gradient(35% 45% at 85% 70%, rgba(255, 255, 255, .55), transparent 70%),
    conic-gradient(from 210deg at 60% 40%, rgba(255, 182, 220, .35), rgba(180, 220, 255, .35), rgba(200, 255, 225, .3), rgba(255, 240, 190, .35), rgba(255, 182, 220, .35));
  filter: blur(30px);
  animation: holo-sheen 26s ease-in-out infinite alternate;
}
@keyframes holo { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
@keyframes holo-sheen { to { transform: translate3d(4%, -3%, 0) rotate(8deg); } }
.faq .faq-list { background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--radius); padding: 6px clamp(18px, 3vw, 36px); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 20px 60px rgba(120, 90, 160, .12); }
.faq details:first-child { border-top: 0 !important; }
.faq details:last-child { border-bottom: 0; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-size: 1.6rem; font-weight: 300; line-height: 1; transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 64ch; }

/* ───────── Footer ───────── */
.footer { background: var(--ink); color: var(--cream); padding: clamp(60px, 8vw, 100px) var(--gutter) 32px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(250, 245, 235, .14); }
.foot-logo { width: min(420px, 70vw); filter: invert(94%) sepia(9%) saturate(300%) hue-rotate(5deg); }
.news { display: grid; gap: 10px; }
.news label { font-size: .9rem; color: rgba(250, 245, 235, .7); }
.news div { display: flex; gap: 8px; flex-wrap: wrap; }
.news input { height: 52px; min-width: 0; flex: 1 1 220px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(250, 245, 235, .2); background: transparent; color: var(--cream); font: inherit; }
.news input:focus { outline: none; border-color: var(--red-pale); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; }
.foot-cols h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-pale); margin-bottom: 14px; }
.foot-cols a { display: block; padding: 5px 0; color: rgba(250, 245, 235, .8); transition: color .2s; }
.foot-cols a:hover { color: var(--cream); }
.foot-legal { font-size: .8rem; color: rgba(250, 245, 235, .5); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .8rem; }
.foot-bottom nav a { color: rgba(250, 245, 235, .6); transition: color .2s; }
.foot-bottom nav a:hover { color: var(--cream); }

/* ───────── Merch ───────── */
.merch { background: #fff; padding: clamp(80px, 10vw, 140px) var(--gutter); display: grid; gap: clamp(10px, 1.4vw, 18px); }
.merch-top { display: grid; grid-template-columns: 37fr 61fr; gap: clamp(10px, 1.4vw, 18px); }
.merch-bottom { display: grid; grid-template-columns: 35fr 26fr 35fr; gap: clamp(10px, 1.4vw, 18px); }
.merch-top, .merch-bottom { max-width: 1400px; width: 100%; margin: 0 auto; }
.merch-claim { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(18px, 2.4vw, 30px); padding: clamp(8px, 3vw, 48px); }
.merch-claim h2 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: .98; letter-spacing: .02em;
  font-variation-settings: "wdth" 110;
}
.merch-star { width: clamp(30px, 3.2vw, 46px); fill: var(--ink); }
.merch-tile { position: relative; margin: 0; overflow: hidden; background: #eee; }
.merch-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.merch-wide { aspect-ratio: 606 / 372; }
.merch-bottom .merch-tile { aspect-ratio: auto; height: clamp(320px, 40vw, 620px); }
.merch-tile:hover img { transform: scale(1.04); }
.merch-tile figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-family: var(--f-display); font-weight: 600; font-size: .85rem;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease-out);
}
.merch-tile:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .merch-top { grid-template-columns: 1fr; }
  .merch-bottom { grid-template-columns: 1fr 1fr; }
  .merch-bottom .merch-tile { height: auto; aspect-ratio: 3 / 4; }
  .merch-bottom .merch-tile:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .merch-tile figcaption { opacity: 1; transform: none; }
}

/* ───────── Cookies (mismo componente que highbuilds.com, en colores Glassitas) ───────── */
.cookie-banner {
  position: fixed; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 92;
  max-width: 380px; padding: 18px 20px; border-radius: 22px;
  background: #1F1F1E; color: #E4E4E4;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55);
  font-family: var(--f-body);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .35s;
}
.cookie-banner.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.cookie-banner-title { margin: 0 0 6px; font-family: var(--f-display); font-size: 15px; font-weight: 500; color: #E4E4E4; }
.cookie-banner-txt { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: #E4E4E4; }
.cookie-banner-txt a { color: var(--red-pale); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; align-items: center; gap: 8px; }
.cookie-banner-actions .cookie-banner-ok, .cookie-banner-actions .cookie-banner-necessary { flex: 1 1 0; min-width: 0; padding-left: 10px; padding-right: 10px; }
.cookie-banner-view:not([hidden]) { animation: cookie-banner-in .25s ease; }
@keyframes cookie-banner-in { from { opacity: 0; transform: translateY(4px); } }
.cookie-banner-gear, .cookie-banner-back {
  appearance: none; display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; padding: 0;
  border: 1px solid rgba(228, 228, 228, .28); border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.cookie-banner-gear svg, .cookie-banner-back svg { width: 18px; height: 18px; }
.cookie-banner-gear svg { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cookie-banner-gear:hover svg { transform: rotate(60deg); }
.cookie-banner-gear:hover, .cookie-banner-back:hover { background: rgba(228, 228, 228, .1); border-color: rgba(228, 228, 228, .5); }
.cookie-banner-gear:focus-visible, .cookie-banner-back:focus-visible { outline: 2px solid #E4E4E4; outline-offset: 3px; }
.cookie-banner-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cookie-banner-head .cookie-banner-title { margin: 0; }
.cookie-banner-back { width: 32px; height: 32px; }
.cookie-banner-cats { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 14px; }
.cookie-banner-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.cookie-banner-cat b { display: block; font-family: var(--f-display); font-size: 14.5px; font-weight: 600; color: #fff; }
.cookie-banner-cat small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: rgba(228, 228, 228, .6); }
.cookie-banner-cat input {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 4px; background: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .15s ease;
}
.cookie-banner-cat input::after {
  content: ""; width: 10px; height: 6px; margin-top: -2px;
  border: solid #1F1F1E; border-width: 0 0 2px 2px;
  transform: rotate(-45deg) scale(0); transition: transform .15s ease;
}
.cookie-banner-cat input:checked { background: var(--red); }
.cookie-banner-cat input:checked::after { transform: rotate(-45deg) scale(1); border-color: var(--cream); }
.cookie-banner-cat input:disabled { background: #8a8a88; cursor: default; }
.cookie-banner-cat:has(input:disabled) { cursor: default; }
.cookie-banner-cat input:focus-visible { outline: 2px solid var(--red-pale); outline-offset: 3px; }
.cookie-banner-necessary, .cookie-banner-ok {
  appearance: none; border: 0; cursor: pointer; padding: 9px 16px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; white-space: nowrap;
  transition: background .2s ease, opacity .2s ease;
}
.cookie-banner-necessary { background: #E4E4E4; color: #1F1F1E; }
.cookie-banner-necessary:hover { opacity: .85; }
.cookie-banner-necessary:focus-visible { outline: 2px solid #E4E4E4; outline-offset: 3px; }
.cookie-banner-ok { background: var(--red); color: var(--cream); }
.cookie-banner-ok:hover { background: var(--red-pale); color: #1F1F1E; }
.cookie-banner-ok:focus-visible { outline: 2px solid var(--red-pale); outline-offset: 3px; }
@media (max-width: 480px) { .cookie-banner { max-width: none; right: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity .2s ease, visibility 0s linear .2s; transform: none; }
  .cookie-banner.is-visible { transition: opacity .2s ease, visibility 0s; }
  .cookie-banner-view:not([hidden]) { animation: none; }
}

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }

/* ───────── Responsive ───────── */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 26px; max-width: 560px; }
  .timeline li { display: grid; grid-template-columns: 50px 1fr; column-gap: 20px; }
  .timeline li .t-n { grid-row: span 2; margin: 0; }
  .timeline::before, .timeline::after { top: 24px; bottom: 24px; left: 24px; right: auto; width: 2px; height: auto; }
  .timeline::before { transform-origin: top; transform: scaleY(var(--progress, 0)); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lens-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 64px; left: 12px; right: 12px;
    flex-direction: column; gap: 0; padding: 8px 20px;
    background: var(--paper); border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease-out), visibility .3s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-burger { display: block; }
  .nav-logo img { height: 24px; }

  .hero { align-items: flex-start; padding-top: 104px; padding-bottom: 0; }
  .hero-copy { max-width: 100%; }
  .hero-title { font-size: clamp(2.5rem, 10.5vw, 4.4rem); }
  .hero-sub { margin-top: 18px; }
  .hero-cta { margin-top: 24px; }
  .hero-girl { height: auto; width: 118vw; max-width: none; right: -22vw; bottom: -4%; }
  .hero-scroll { display: none; }
  .hero-try { --iw: min(100vw, calc(100cqh - 250px) * 1.005); --ih: calc(var(--iw) / 1.005); --il: 0px; }
  .try-stage { left: calc(50% - var(--iw) / 2); top: auto; bottom: 0; width: var(--iw); height: var(--ih); }
  .try-panel { left: var(--gutter); right: var(--gutter); top: 96px; transform: none; max-width: 520px; }
  .try-kicker { position: static; margin-bottom: 12px; font-size: 1.5rem; }
  .try-back { position: static; margin-top: 8px; }
  .try-card { padding: 7px 7px 10px; border-radius: 14px; gap: 6px; }
  .try-n { top: 11px; left: 11px; width: 24px; height: 24px; font-size: .78rem; }
  .girl-hit { left: 18%; right: 14%; }

  .app, .pairs, .book-card { grid-template-columns: 1fr; }
  .match-grid { grid-template-columns: 1fr; gap: 90px; max-width: 680px; }
  .app-phone { order: 2; }
  .pairs-visual { max-width: 440px; }
}

@media (max-width: 640px) {
  .btn-sm { display: none; }
  .match-grid { gap: 70px; padding-top: 70px; }
  .carousel { height: 300px; }
  .slide { width: 72vw; }
  .car-arrow { width: 40px; height: 40px; top: 50%; }
  .car-dots button { width: 30px; }
  .svc-grid { gap: 10px; }
  .pill { padding: 9px 14px; font-size: .8rem; }
  .book-form { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .lens-demo { aspect-ratio: 4 / 5; }
  .scene { grid-template-columns: 1fr; padding: 9%; align-content: center; }
  .sc-img { aspect-ratio: 16 / 9; }
  .scene-inner { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
