/* Pochy · landing. Base oscura berenjena-negra, miel como acento, crema para el papel.
   Firma: el repulgue de la empanada como borde entre secciones (igual que la invitación del piloto). */

@font-face {
  font-family: 'Besley';
  src: url('fonts/besley-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Besley';
  src: url('fonts/besley-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Besley';
  src: url('fonts/besley-latin-wght-italic.woff2') format('woff2');
  font-weight: 400 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Besley';
  src: url('fonts/besley-latin-ext-wght-italic.woff2') format('woff2');
  font-weight: 400 900; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Asap';
  src: url('fonts/asap-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Asap';
  src: url('fonts/asap-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #1c1119;      /* berenjena casi negra: fondo base */
  --plum: #281824;       /* superficie elevada */
  --aubergine: #43263f;  /* marca */
  --aubergine-deep: #321c30;
  --honey: #e9a93b;      /* acento */
  --honey-deep: #a86b17;
  --honey-soft: #f3c876;
  --cream: #fbf6ec;      /* papel */
  --ink: #2a2228;        /* texto sobre papel o miel */
  --text: #f6eee6;       /* texto sobre oscuro */
  --mist: #cbbac6;       /* texto secundario sobre oscuro (AA sobre --night y --plum) */
  --line: rgb(246 238 230 / 0.14);

  --display: 'Besley', Georgia, 'Times New Roman', serif;
  --body: 'Asap', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1240px;
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--body); font-variant-numeric: lining-nums; font-size: 1.0625rem; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--honey); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.display {
  font-family: var(--display); font-weight: 600;
  font-variant-numeric: normal; /* los alternos lnum de Besley no siguen el peso variable: sus cifras por defecto ya son lining */
  letter-spacing: -0.015em; line-height: 1.02;
}
.display em { font-style: italic; color: var(--honey); font-weight: 600; }
.h2 { font-size: clamp(2.1rem, 5vw, 4rem); text-wrap: balance; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--mist); max-width: 34em; text-wrap: pretty; }
.kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey); margin-bottom: 18px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 0;
  transition: transform var(--t, 160ms) var(--ease), background-color 160ms var(--ease);
}
.btn svg { width: 22px; height: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-honey:hover { background: var(--honey-soft); }
.btn-ink { background: var(--aubergine-deep); color: var(--cream); }
.btn-ink:hover { background: var(--aubergine); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }

/* ---------- repulgue ---------- */
.crimp {
  --c-fill: var(--honey); --c-ring: var(--honey-deep);
  position: absolute; left: 0; right: 0; top: -21px; height: 22px; pointer-events: none;
  background:
    radial-gradient(circle at 13.5px 22px, var(--c-fill) 11.5px, var(--c-ring) 12px 14px, transparent 14.6px) 0 0 / 27px 22px repeat-x;
}
.crimp-honey { --c-fill: var(--honey); --c-ring: var(--honey-deep); }
.crimp-plum { --c-fill: var(--plum); --c-ring: #3b2636; }
.crimp-cream { --c-fill: var(--cream); --c-ring: #e8dcc6; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px var(--gutter);
  transition: background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.site-header.is-solid { background: rgb(28 17 25 / 0.92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.brand img { width: clamp(96px, 11vw, 132px); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 26px); }
.nav-link { text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 8px 4px; }
.nav-link:hover { color: var(--honey); }
@media (max-width: 720px) { .hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; }
.hero-media, .hero-media picture, .hero-poster, .hero-video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -1; }
.hero-poster, .hero-video { object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 900ms var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-shade {
  z-index: 3; /* encima de los dos videos (1 y 2), que el fundido va alternando */
  background:
    linear-gradient(180deg, rgb(28 17 25 / 0.55) 0%, rgb(28 17 25 / 0.35) 35%, rgb(28 17 25 / 0.82) 78%, var(--night) 100%),
    linear-gradient(90deg, rgb(28 17 25 / 0.7) 0%, rgb(28 17 25 / 0) 70%);
}
.hero-inner { padding-top: 100px; padding-bottom: clamp(28px, 5vh, 56px); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--mist); font-weight: 600; font-size: 0.98rem; margin-bottom: clamp(14px, 2.4vh, 22px); }
.ia-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  background: rgb(233 169 59 / 0.16); color: var(--honey); border: 1px solid rgb(233 169 59 / 0.45);
  font-weight: 800; letter-spacing: 0.04em;
}
.ia-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 10px var(--honey); }
.hero-title {
  font-size: clamp(2.4rem, min(6.4vw, 9.2vh), 5.6rem); line-height: 1;
  max-width: 13.5em; text-wrap: balance;
}
.h-ico {
  display: inline-grid; place-items: center; vertical-align: 0.04em;
  width: 0.86em; height: 0.86em; margin-inline: 0.12em 0.04em; border-radius: 0.24em;
  background: var(--honey); color: var(--aubergine-deep); transform: rotate(-4deg);
}
.h-ico:nth-of-type(2) { transform: rotate(3deg); }
.h-ico svg { width: 62%; height: 62%; }
.js-fly .h-ico { visibility: hidden; } /* la capa voladora dibuja el ícono encima, en el mismo lugar */
.hero-lede { margin-top: clamp(16px, 2.6vh, 26px); font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--mist); max-width: 30em; text-wrap: pretty; }

.ask { position: relative; margin-top: clamp(50px, 7vh, 70px); max-width: 620px; }
.ask-pochy { position: absolute; right: 18px; top: -52px; width: 86px; pointer-events: none; }
.ask-box {
  position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 14px;
  padding: 16px 16px 16px 22px; border-radius: 22px; text-decoration: none;
  background: rgb(251 246 236 / 0.96); color: var(--ink);
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.6);
  transition: transform 200ms var(--ease);
}
.ask-box:hover { transform: translateY(-2px); }
.ask-label { grid-column: 1; font-size: 0.8rem; font-weight: 700; color: #6e6268; letter-spacing: 0.02em; }
.ask-line { grid-column: 1; min-height: 1.6em; font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.15em; background: var(--aubergine); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-send {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--aubergine); color: var(--cream);
}
.ask-send svg { width: 22px; height: 22px; }

.hero-cta { margin-top: clamp(20px, 3vh, 30px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-note { color: var(--mist); font-size: 0.95rem; }

.video-toggle {
  position: absolute; right: var(--gutter); top: 84px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); background: rgb(28 17 25 / 0.6); color: var(--text); cursor: pointer;
}
.video-toggle[hidden] { display: none; }
.video-toggle svg { width: 20px; height: 20px; }

/* ---------- franja de rubros (al pie del hero) ---------- */
.band { position: relative; z-index: 1; width: 100%; padding: 0 0 clamp(16px, 3vh, 30px); color: rgb(246 238 230 / 0.58); }
.band-title { text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; color: rgb(246 238 230 / 0.66); }
.band-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.band-track { display: flex; width: max-content; animation: band 60s linear infinite; }
.band-list { display: flex; flex-shrink: 0; }
.band-list li {
  display: inline-flex; align-items: center; gap: 10px; margin-right: clamp(40px, 5vw, 72px); white-space: nowrap;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem); font-weight: 500; letter-spacing: 0.01em;
}
.band-list svg { width: 22px; height: 22px; flex-shrink: 0; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- comanda ---------- */
.ticket-sec { position: relative; padding: clamp(96px, 16vh, 180px) 0 clamp(120px, 18vh, 200px); }
.ticket-grid > * { min-width: 0; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ticket-copy .lead { margin-top: 24px; }
.ticket-wrap { position: relative; max-width: 460px; justify-self: center; width: 100%; padding-top: 70px; }
.ticket-pochy { position: absolute; width: 180px; right: -48px; top: -74px; z-index: 2; transform: rotate(6deg); }
.ticket {
  position: relative; background: var(--cream); color: var(--ink); border-radius: 4px 4px var(--r) var(--r);
  padding: 30px 26px 26px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7); transform: rotate(-1.5deg);
}
.ticket .crimp { top: -21px; }
.ticket-head {
  display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 6px;
  padding-right: 64px; border-bottom: 2px dashed #d9ccb6; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #6e6268;
}
.t-line { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 16px 0; border-bottom: 1px solid #e8dcc6; }
.t-slot {
  grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: #efe3cc; color: var(--aubergine);
}
.t-slot svg { width: 26px; height: 26px; }
.js-fly .t-slot svg { opacity: 0; }
.t-what { font-weight: 700; line-height: 1.25; }
.t-what small { display: block; font-weight: 500; color: #6e6268; font-size: 0.86rem; }
.t-done {
  justify-self: start; margin-top: 8px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 0.86rem; font-weight: 700;
  background: #e4f0e9; color: #245c3f; display: inline-flex; align-items: center; gap: 6px;
}
.t-done::before { content: ''; width: 12px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg) translate(1px, -2px); }
.js-fly .t-done { opacity: 0; transform: translateY(6px); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.js-fly .t-line.is-done .t-done { opacity: 1; transform: none; }
.ticket-foot { padding-top: 18px; font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
.ticket-foot em { color: var(--honey-deep); }

.fly-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.fly {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; border-radius: 12px;
  background: var(--honey); color: var(--aubergine-deep); transform-origin: 0 0;
  /* Sin will-change ni scale(): el tamaño se anima con width/height para que el SVG se dibuje
     como vector en cada cuadro (una capa escalada se rasteriza chica y se ve borrosa). */
}
.fly svg { width: 62%; height: 62%; }

/* ---------- cómo funciona ---------- */
.how { position: relative; background: var(--plum); padding: clamp(80px, 12vh, 140px) 0 clamp(80px, 14vh, 160px); }
.how-head { max-width: 760px; margin-bottom: clamp(32px, 6vh, 64px); }
.how-grid { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.1fr; gap: clamp(40px, 7vw, 120px); }
.how-stage { position: sticky; top: max(92px, calc(50vh - 330px)); align-self: start; height: max-content; display: grid; justify-items: center; gap: 16px; }
.phone {
  width: min(300px, calc((100vh - 200px) * 0.48)); padding: 10px; border-radius: 44px; background: #120b10;
  box-shadow: 0 0 0 1px #3b2636, 0 50px 100px -40px rgb(0 0 0 / 0.8), 0 0 120px -30px rgb(233 169 59 / 0.35);
}
.phone-screen { position: relative; aspect-ratio: 375 / 780; border-radius: 34px; overflow: hidden; background: var(--cream); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity 420ms var(--ease), transform 600ms var(--ease); }
.shot.is-on { opacity: 1; transform: none; }
.stage-cap { font-size: 0.85rem; color: var(--mist); }
.steps { padding-bottom: 14vh; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-left: 28px; border-left: 2px solid var(--line); transition: border-color 300ms var(--ease); }
.step.is-active { border-left-color: var(--honey); }
.step-n { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.step-t { font-size: clamp(3rem, 7vw, 6rem); color: rgb(246 238 230 / 0.42); transition: color 300ms var(--ease); }
.step.is-active .step-t { color: var(--honey); font-style: italic; }
.step-p { font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 28em; color: var(--mist); text-wrap: pretty; }
.step.is-active .step-p { color: var(--text); }
.step-shot { display: none; }
.step-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--honey); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; padding: 6px 0; }
.step-cta svg { width: 20px; height: 20px; transition: transform 160ms var(--ease); }
.step-cta:hover svg { transform: translateX(4px); }

/* ---------- IA ---------- */
.ia { padding: clamp(96px, 14vh, 160px) 0; }
.ia-head { max-width: 780px; }
.ia-head .lead { margin-top: 22px; }
.ia-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 6vh, 64px); }
.ia-card { padding: 30px 26px 32px; border-radius: var(--r); background: var(--plum); border: 1px solid var(--line); }
.ia-ico { width: 40px; height: 40px; color: var(--honey); margin-bottom: 22px; }
.ia-t { font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.1; margin-bottom: 10px; }
.ia-card p { color: var(--mist); }

/* ---------- en pocas palabras ---------- */
.facts { padding: 0 0 clamp(120px, 16vh, 180px); }
.facts-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--line); padding-top: clamp(56px, 8vh, 96px); }
.facts-list > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font-weight: 800; color: var(--honey); }
.facts-list dd { color: var(--text); }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--honey); color: var(--ink); padding: clamp(72px, 12vh, 130px) 0 clamp(72px, 10vh, 110px); }
.cta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 32px; }
.cta-title { font-size: clamp(3.2rem, 9vw, 8rem); line-height: 0.95; }
.cta-title em { color: var(--aubergine); }
.cta-p { margin-top: 22px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 30em; font-weight: 500; }
.cta-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cta-mail { font-weight: 700; }
.cta-calm { margin-top: 26px; font-size: 0.95rem; font-weight: 600; color: #4a3a1d; }
.cta-pochy { position: relative; width: min(420px, 100%); justify-self: center; aspect-ratio: 640 / 331; }
.cta-pochy img, .cta-pochy svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cta-pochy svg { overflow: visible; pointer-events: none; }
/* Ojos: el origen de cada transform es el centro del ojo (el <g> padre está trasladado ahí). */
.pe { transform-origin: 0 0; }
.pe-look { transform: translate(var(--lx, 0px), var(--ly, 0px)); }
@media (prefers-reduced-motion: no-preference) {
  .cta-pochy.is-live .pe-look { transition: transform 260ms var(--ease); }
  .cta-pochy.is-live .pe { transition: transform 90ms ease-in; }
  .cta-pochy.is-live .pe.is-blink { transform: scale(0.92, 0.1); }
  .cta-pochy.is-live .pe.is-wink { transform: scale(0.92, 0.1); transition-duration: 120ms; }
  .cta-pochy.is-live { transition: transform 420ms cubic-bezier(.3, 1.6, .5, 1); }
  .cta-pochy.is-live.is-hop { transform: translateY(-9px) rotate(-1.5deg); }
}

/* ---------- preguntas ---------- */
.faq { padding: clamp(96px, 14vh, 150px) 0; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.2; }
.faq summary::after { content: '+'; font-size: 1.8rem; line-height: 1; color: var(--honey); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--mist); max-width: 36em; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--mist); font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 72px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { text-underline-offset: 4px; display: inline-block; padding: 6px 0; }
.foot-links a:hover { color: var(--honey); }
.foot-copy { grid-column: 1 / -1; font-size: 0.85rem; }

/* ---------- aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Animación ligada al scroll nativa (sin JS) donde exista: el texto del hero se aleja al bajar. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-inner > :not(.hero-title) { animation: hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 70%; }
    @keyframes hero-out { to { opacity: 0; transform: translateY(-40px); } }
  }
}

/* ---------- teléfono / tablet ---------- */
@media (max-width: 900px) {
  .ticket-grid, .facts-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .ticket-pochy { width: 130px; right: -4px; top: -40px; }
  .ticket { transform: rotate(-1deg); padding-inline: 20px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-stage { display: none; }
  .steps { display: grid; gap: 22px; padding-bottom: 0; }
  .step { min-height: 0; border-left: 0; padding: 28px 22px; border-radius: var(--r); background: var(--night); border: 1px solid var(--line); }
  .step .step-t { color: var(--honey); font-style: italic; font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .step .step-p { color: var(--text); }
  .step-shot { display: block; margin: 8px auto 4px; width: min(250px, 80%); padding: 8px; border-radius: 34px; background: #120b10; box-shadow: 0 0 0 1px #3b2636; }
  .step-shot img { border-radius: 27px; aspect-ratio: 375 / 780; object-fit: cover; object-position: top; width: 100%; }
  .ia-cards { grid-template-columns: 1fr; }
  .facts-list > div { grid-template-columns: 1fr; gap: 4px; }
  .cta-pochy { width: 240px; justify-self: start; order: -1; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ask-pochy { width: 74px; top: -44px; right: 10px; }
  .ask-box { padding: 14px 12px 14px 18px; }
  /* El hero se apoya abajo: la caja no puede cambiar de alto mientras se tipea (movería todo lo de arriba). */
  .ask-line { min-height: 3.2em; }
  .ask-send { width: 42px; height: 42px; }
  .hero-inner { padding-top: 96px; }
  /* En el teléfono el botón fijo del encabezado ya es el CTA: el hero deja lugar a la franja de rubros. */
  .hero-cta .btn { display: none; }
  .hero-cta { margin-top: 12px; }
  .hero-note { font-size: 0.88rem; }
  .eyebrow { font-size: 0.88rem; }
  .site-nav .btn-sm { padding: 0 14px; }
}

/* ---------- movimiento reducido: nada se mueve solo ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .band-viewport { -webkit-mask-image: none; mask-image: none; }
  .band-track { animation: none; width: auto; }
  .band-list { flex-wrap: wrap; justify-content: center; row-gap: 12px; padding-inline: var(--gutter); }
  .band-list li { margin-inline: 14px; }
  .band-list[aria-hidden='true'] { display: none; }
  .caret { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .ask-box:hover { transform: none; }
}

/* Títulos de las secciones de dos columnas: acompañan la lectura en escritorio. */
@media (min-width: 901px) {
  .facts-grid > h2, .faq-grid > h2 { position: sticky; top: 110px; align-self: start; }
}
