/* Vayra · web de presentación (PLAN 7m). Una sola hoja para todas las páginas. Laguna como único acento. */
:root {
  --paper: #FBF9F5; --ink: #13232B; --text: #3D4B52; --muted: #5E6B72;
  --laguna: #0A6A85; --laguna-deep: #0B4F6C; --laguna-light: #4FC3D9;
  --sand: #F1F5F6; --line: #E2E8EA; --green: #16875A;
  --display: 'Bricolage Grotesque', -apple-system, system-ui, sans-serif;
  --body: -apple-system, 'SF Pro Text', system-ui, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1240px; --pad: clamp(20px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--laguna); } a:hover { color: var(--laguna-deep); }
:focus-visible { outline: 3px solid var(--laguna); outline-offset: 3px; border-radius: 6px; }
.d { font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Barra */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.logo svg { width: 28px; height: 30px; }
.logo span { font-size: 29px; line-height: 1; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav .links { display: contents; }
.nav a:not(.pill) { color: var(--ink); text-decoration: none; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.pill:hover { color: #fff; background: #000; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: clamp(20px, 5vw, 64px); }
.hero-text { flex: 1 1 460px; min-width: 0; }
h1 { margin: 0; font-size: clamp(48px, 7vw, 104px); line-height: 0.95; }
.yet { color: var(--laguna); position: relative; display: inline-block; }
.yet svg { position: absolute; left: 0; bottom: -0.2em; width: 100%; height: 0.28em; overflow: visible; }
.lead { margin: 40px 0 0; font-size: clamp(18px, 1.6vw, 21px); color: var(--text); max-width: 520px; }

/* Lista de espera */
.wait { margin-top: 30px; max-width: 500px; display: flex; flex-direction: column; gap: 10px; }
.wait label { font-size: 15px; font-weight: 600; }
.wait .row { display: flex; gap: 8px; }
.wait input[type=email] { flex: 1; min-width: 0; height: 56px; border-radius: 14px; border: 1.5px solid #C9D2D6; background: #fff; padding: 0 16px; font: 16px var(--body); color: var(--ink); }
.wait input[type=email]::placeholder { color: #7C878D; }
.wait button { height: 56px; border-radius: 14px; border: 0; background: var(--laguna); color: #fff; font: 700 16px var(--body); padding: 0 22px; cursor: pointer; }
.wait button:hover { background: var(--laguna-deep); }
.wait button[disabled] { opacity: 0.6; cursor: default; }
.wait .note { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.wait .done { margin: 0; font-size: 18px; font-weight: 700; color: var(--laguna); }
.wait .err { margin: 0; font-size: 14px; color: #B3261E; }
.hp { position: absolute; left: -9999px; }

/* Escenario del hero: el video recreado y la captura real */
.stage-wrap { flex: 1 1 520px; min-width: 0; display: flex; justify-content: center; }
.stage { position: relative; width: 560px; max-width: 100%; height: 600px; }
.tiktok { position: absolute; left: 0; top: 120px; width: 200px; height: 356px; border-radius: 22px; background: #182329; transform: rotate(-6deg); box-shadow: 0 24px 50px rgba(19,35,43,.3); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; z-index: 1; color: #fff; }
.tiktok small { font-size: 12px; font-weight: 600; opacity: .75; }
.tiktok .cap { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.tiktok .cap span { background: #fff; color: var(--ink); font-weight: 800; font-size: 18px; line-height: 1.15; padding: 4px 8px; border-radius: 5px; }
.tiktok p { margin: 0 0 10px; font-size: 12px; opacity: .8; line-height: 1.35; }
.tiktok .bar-p { height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); }
.tiktok .bar-p i { display: block; width: 62%; height: 3px; border-radius: 2px; background: #fff; }
.link-route { position: absolute; left: 176px; top: 210px; width: 130px; height: 150px; z-index: 3; }
.phone { border-radius: 46px; border: 9px solid var(--ink); overflow: hidden; background: var(--ink); box-shadow: 0 28px 56px rgba(19,35,43,.26); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stage .phone { position: absolute; right: 10px; top: 0; width: 270px; height: 586px; z-index: 2; }

/* La ruta: cada sección es una parada */
.route { position: relative; padding: 140px 0 0 64px; }
.route::before { content: ""; position: absolute; left: 15px; top: 110px; bottom: 30px; border-left: 3px dotted var(--laguna); opacity: .55; }
.stop { position: relative; margin-bottom: 150px; }
.num { position: absolute; left: -64px; top: 6px; width: 34px; height: 34px; border-radius: 50%; background: var(--laguna); color: #fff; font-size: 16px; letter-spacing: 0; display: flex; align-items: center; justify-content: center; }
.num.soon { background: var(--paper); border: 3px solid var(--laguna); color: var(--laguna); }
h2 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 0.98; }
.stop p.body { margin: 18px 0 0; font-size: 19px; color: var(--text); max-width: 480px; }
.split { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; }
.split > .text { flex: 1 1 380px; min-width: 0; }
.split > .art { flex: 1 1 480px; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips span { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 12px 20px; font-size: 20px; font-weight: 700; }
.chips span:nth-child(odd) { transform: rotate(-1.5deg); } .chips span:nth-child(even) { transform: rotate(1.5deg); }
.chips .on { background: var(--laguna); border-color: var(--laguna); color: #fff; }
.chips .dash { border-style: dashed; }

.duo { position: relative; height: 580px; }
.duo .phone { position: absolute; width: 250px; height: 543px; }
.duo .a { left: 4%; top: 0; transform: rotate(-3deg); }
.duo .b { left: 52%; top: 50px; transform: rotate(3deg); }
.duo .crop { display: none; }
.duo .aside { display: none; }

.moments { position: relative; margin-top: 48px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.moments > svg { position: absolute; left: 0; top: -44px; width: 100%; height: 80px; }
.moment { flex: 1 1 230px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.moment:nth-child(3) { margin-top: 56px; } .moment:nth-child(4) { margin-top: 12px; } .moment:nth-child(5) { margin-top: 64px; }
.tag { font-size: 14px; font-weight: 700; color: var(--laguna); }
.crop { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(19,35,43,.10); }
.crop img { width: 100%; height: 100%; object-fit: cover; }
.story { width: 170px; height: 260px; border-radius: 20px; background: var(--laguna-deep); transform: rotate(3deg); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 16px 34px rgba(11,79,108,.35); color: #fff; }
.story .d { font-size: 34px; }
.story small { font-size: 13px; opacity: .85; line-height: 1.35; }

.know { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "text art" "cards art"; gap: 28px 72px; align-items: start; }
.know .text { grid-area: text; } .know .cards { grid-area: cards; } .know .art { grid-area: art; position: relative; height: 520px; }
.know .art .crop { position: absolute; width: 250px; }
.know .art .e { left: 0; top: 0; height: 500px; transform: rotate(-2deg); }
.know .art .f { left: 50%; top: 40px; height: 460px; transform: rotate(2.5deg); }
.know .art .stamp { display: none; }
.cards { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.card { background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: 0 10px 28px rgba(19,35,43,.08); display: flex; flex-direction: column; gap: 6px; flex: 1 1 180px; }
.card.alt { background: var(--sand); box-shadow: none; transform: rotate(1.5deg); }
.card b { font-size: 12px; color: var(--laguna); letter-spacing: .06em; }
.card strong { font-size: 17px; line-height: 1.25; }
.card span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.card .d { font-size: 30px; line-height: 1; }
.stamp { width: 140px; height: 140px; flex: 0 0 140px; border: 2px dashed var(--laguna); border-radius: 50%; transform: rotate(6deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--paper); }
.stamp .d { font-size: 40px; line-height: 1; color: var(--laguna); }
.stamp small { font-size: 12px; color: var(--text); text-align: center; line-height: 1.3; max-width: 100px; }
.soon-pill { display: inline-block; font-size: 13px; font-weight: 700; color: var(--laguna); border: 1.5px solid var(--laguna); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }

/* Preguntas */
.faq { display: flex; flex-wrap: wrap; gap: 32px 72px; padding-top: 110px; }
.faq h2 { flex: 1 1 320px; }
.faq .list { flex: 1 1 520px; min-width: 0; border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { list-style: none; cursor: pointer; font-size: 19px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--laguna); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; font-size: 16px; color: var(--text); }

/* Cierre */
.close { margin-top: 140px; background: var(--laguna); color: #fff; position: relative; overflow: hidden; }
.close > svg { position: absolute; left: 0; top: 0; width: 100%; height: 160px; }
.close .wrap { padding-top: 96px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; position: relative; }
.close .kicker { margin: 0; font-size: clamp(18px, 1.8vw, 24px); }
.close .big { margin: 6px 0 0; font-size: clamp(76px, 13vw, 190px); line-height: .9; }
.close .wait { flex: 0 1 440px; margin: 0; }
.close .wait input[type=email] { border: 0; }
.close .wait button { border: 2px solid #fff; }
.close .wait .note { color: rgba(255,255,255,.85); }
.close .wait .done { color: #fff; }
.close .wait .err { color: #FFD6D2; }

/* Pie */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 36px; padding-bottom: 56px; }
.foot .logo span { font-size: 24px; }
.foot small { font-size: 13px; color: var(--muted); margin-left: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.foot nav a { color: var(--ink); min-height: 44px; display: flex; align-items: center; }

/* Botón fijo abajo en el celular */
.sticky { display: none; }

/* Páginas de texto: privacidad, términos, soporte */
.doc { max-width: 720px; margin: 0 auto; padding: 40px var(--pad) 80px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 8px; }
.doc .date { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 26px; letter-spacing: -0.02em; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }

/* Aparecer al entrar en pantalla, solo donde el navegador lo soporta y sin movimiento reducido */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise { animation: rise both linear; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
  }
}

/* Celular */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav .links { display: none; }
  .pill { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 9px 16px; }
  .pill:hover { background: transparent; color: var(--ink); }
  h1 { font-size: 50px; }
  .lead { margin-top: 30px; font-size: 18px; }
  .hero { gap: 28px; }
  .stage { width: 100%; height: 470px; }
  .tiktok { top: 60px; width: 146px; height: 260px; padding: 12px; transform: rotate(-5deg); }
  .tiktok .cap span { font-size: 14px; padding: 3px 6px; }
  .tiktok small, .tiktok p { font-size: 11px; }
  .link-route { left: 118px; top: 150px; width: 80px; height: 120px; }
  .stage .phone { right: 0; width: 206px; height: 448px; border-width: 7px; border-radius: 36px; }
  .route { padding: 96px 0 0 38px; }
  .route::before { left: 11px; top: 70px; }
  .stop { margin-bottom: 100px; }
  .num { left: -40px; top: 2px; width: 28px; height: 28px; font-size: 14px; }
  h2 { font-size: 42px; line-height: 1; }
  .stop p.body { font-size: 17px; margin-top: 14px; }
  .chips span { font-size: 15px; padding: 9px 15px; border-width: 1.5px; }
  .duo { height: 470px; }
  .duo .phone { width: 206px; height: 448px; border-width: 7px; border-radius: 36px; }
  .duo .a { left: 0; transform: rotate(-2deg); }
  .duo .b { display: none; }
  .duo .crop { display: block; position: absolute; right: -6px; top: 150px; width: 128px; height: 150px; border: 4px solid #fff; border-radius: 20px; transform: rotate(4deg); }
  .duo .crop img { object-position: 50% 52%; }
  .duo .aside { display: block; position: absolute; right: 0; top: 314px; font-size: 13px; line-height: 1.35; color: var(--muted); max-width: 84px; }
  .moments { flex-direction: column; gap: 34px; margin-top: 30px; }
  .moments > svg { display: none; }
  .moment { flex: none; width: 100%; margin-top: 0 !important; }
  .moment:nth-child(3), .moment:nth-child(5) { padding-left: 18px; }
  .moment .crop { height: 250px !important; }
  .moment.last { flex-direction: row; align-items: flex-end; gap: 14px; }
  .story { width: 150px; height: 230px; flex: 0 0 150px; }
  .know { display: block; }
  .know .art { height: 330px; margin-top: 22px; }
  .know .art .e { width: 220px; height: 300px; transform: none; }
  .know .art .e img { object-position: 50% 20% !important; }
  .know .art .f { display: none; }
  .know .art .stamp { display: flex; position: absolute; right: -8px; top: 120px; width: 120px; height: 120px; transform: rotate(8deg); }
  .know .art .stamp .d { font-size: 34px; }
  .know .cards .stamp { display: none; }
  .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card strong { font-size: 15px; } .card span { font-size: 13px; } .card .d { font-size: 24px; }
  .faq { padding-top: 40px; }
  summary { font-size: 17px; }
  .close { margin-top: 80px; }
  .close .wrap { padding-top: 56px; padding-bottom: 48px; }
  .close .big { font-size: 76px; }
  .foot { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .foot small { margin-left: 0; }
  .sticky { display: block; position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 10; text-align: center; padding: 15px; border-radius: 14px; background: var(--laguna); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(19,35,43,.25); transition: opacity .2s, translate .2s; }
  .sticky:hover { color: #fff; }
  .sticky[hidden] { display: block; opacity: 0; translate: 0 20px; pointer-events: none; }
}
.todo { background: #FFF1B8; color: #5C4A00; padding: 1px 4px; border-radius: 4px; }
