/* ═══════════════════════════════════════════════════════════════
   Faventy · landing (v2)
   Misma paleta que la app. Sin librerías. Móvil primero.
   Movimiento: solo transform / opacity / clip-path, y siempre con
   prefers-reduced-motion respetado.
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("/fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --brand: #707CF6;
  --brand-strong: #2739F1;
  --brand-tint: #ECEEFE;
  --accent: #FF9A00;
  --ink: #16171D;
  --ink-2: #555A6B;
  --ink-3: #7D8193;
  --bg: #FAFAFD;
  --surface: #FFFFFF;
  --surface-2: #F3F4F8;
  --hair: rgba(22, 23, 29, 0.09);
  --dark: #0D0E16;
  --green: #16A34A;
  --inst: #C08A2E;   /* dorado de las entidades oficiales, como en la app */

  /* Sombras en capas (en vez de bordes y brillos de color) */
  --sh-1: 0 0 0 1px rgba(22, 23, 29, 0.05), 0 1px 2px rgba(22, 23, 29, 0.04), 0 4px 12px -2px rgba(22, 23, 29, 0.05);
  --sh-2: 0 0 0 1px rgba(22, 23, 29, 0.05), 0 2px 4px rgba(22, 23, 29, 0.04), 0 12px 24px -6px rgba(22, 23, 29, 0.10), 0 32px 64px -16px rgba(22, 23, 29, 0.16);
  --sh-device: 0 2px 4px rgba(22, 23, 29, 0.06), 0 18px 36px -8px rgba(22, 23, 29, 0.20), 0 48px 90px -20px rgba(22, 23, 29, 0.28);

  /* Curvas */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1);

  --font: "Manrope", ui-rounded, -apple-system, "SF Pro Rounded", system-ui, sans-serif;

  /* Colores por categoría (los de la app) */
  --c-fiesta: #E0409B; --c-musica: #8B5CF6; --c-afterwork: #6366F1; --c-celebracion: #F472B6;
  --c-deporte: #10B981; --c-competicion: #059669; --c-motor: #DC2626; --c-cultura: #B45309;
  --c-cine: #1F2937; --c-feria: #F97316; --c-educacion: #0EA5E9; --c-exposicion: #7C3AED;
  --c-networking: #2739F1; --c-gastronomia: #EA580C; --c-salud: #14B8A6; --c-solidario: #EF4444;
  --c-espiritual: #A78BFA; --c-moda: #DB2777; --c-animales: #84CC16; --c-exterior: #22C55E; --c-familiar: #F59E0B;
}
/* Muelle de verdad donde el navegador lo entiende */
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
  }
}

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; font-weight: 800; }
h2 { font-size: clamp(36px, 5.2vw, 70px); letter-spacing: -0.042em; line-height: 1.0; }
h3 { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -0.028em; }
p { margin: 0; text-wrap: pretty; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(112, 124, 246, 0.6); outline-offset: 3px; border-radius: 10px; }
::selection { background: #D9DCFD; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 1000; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

.sec-head { max-width: 800px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head .sub { margin-top: 20px; font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 54ch; }

/* ───────────── Botones ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: -0.01em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2B2C35; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #EEF0FF; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 15px;
  border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none;
  transition: transform 0.16s var(--ease-out), background-color 0.2s;
}
.store:hover { background: #2B2C35; }
.store:active { transform: scale(0.97); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.12; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.store small { font-size: 11px; font-weight: 600; opacity: 0.78; letter-spacing: 0.01em; }
.store-light { background: #fff; color: var(--ink); }
.store-light:hover { background: #EEF0FF; }

/* ───────────── Chips de categoría ───────────── */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; color: var(--c, var(--brand)); background: color-mix(in srgb, var(--c, var(--brand)) 12%, #fff); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-fiesta { --c: var(--c-fiesta); } .chip-musica { --c: var(--c-musica); } .chip-exposicion { --c: var(--c-exposicion); } .chip-cultura { --c: var(--c-cultura); } .chip-feria { --c: var(--c-feria); }

/* ───────────── Nav ───────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; pointer-events: none; }
.nav-in {
  pointer-events: auto;
  width: min(1200px, 100% - 32px); margin-inline: auto; height: 60px; padding: 0 9px 0 18px;
  display: flex; align-items: center; gap: 24px; border-radius: 999px;
  background: rgba(250, 250, 253, 0.7); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 0 0 1px rgba(22, 23, 29, 0.04);
  transition: box-shadow 0.35s var(--ease-out), background-color 0.35s;
}
.nav.scrolled .nav-in { background: rgba(255, 255, 255, 0.82); box-shadow: 0 0 0 1px rgba(22, 23, 29, 0.05), 0 8px 24px -8px rgba(22, 23, 29, 0.14); }
.nav-logo img { height: 29px; width: auto; }
.nav-links { position: relative; display: flex; margin-left: auto; }
.nav-links a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-pill { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 999px; background: rgba(22, 23, 29, 0.06); opacity: 0; transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out), opacity 0.25s; }
.nav-pill.on { opacity: 1; }
@media (max-width: 940px) { .nav-links { display: none; } .nav-in .btn { margin-left: auto; } }

/* ═════════════ HÉROE ═════════════ */
.hero { position: relative; padding: clamp(118px, 16vh, 168px) 0 0; overflow: hidden; overflow: clip; }

/* Mapa de fondo: vive alrededor del teléfono */
.city { position: absolute; left: -100%; top: -30%; width: 300%; height: 160%; max-width: none; pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 50% 46% at 50% 44%, #000 34%, transparent 72%);
          mask-image: radial-gradient(ellipse 50% 46% at 50% 44%, #000 34%, transparent 72%); }
.city-marks { -webkit-mask-image: none; mask-image: none; }
.city #manzanas path { fill: #E9EBF3; }
.city .ave { fill: none; stroke: var(--bg); stroke-width: 15; stroke-linecap: round; }
.city .route { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.city .you-halo { fill: rgba(39, 57, 241, 0.14); }
.city .you-dot { fill: var(--brand-strong); stroke: #fff; stroke-width: 3; }
.city .pin-ring { fill: #fff; stroke: var(--c-fiesta); stroke-width: 3; }
.city .dot { fill: var(--c); stroke: #fff; stroke-width: 3; }
.city g, .city .dot { transform-box: fill-box; transform-origin: center; }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title title" "copy visual"; column-gap: 48px; }
.display { grid-area: title; font-size: clamp(48px, 7.1vw, 108px); line-height: 0.96; letter-spacing: -0.052em; position: relative; z-index: 3; }
.display .ln { display: block; overflow: hidden; overflow: clip; padding: 0.06em 0 0.12em; margin: -0.06em 0 -0.12em; }
.display .ln > span { display: block; }

/* Palabras clave en el azul de la marca */
.hl { font-style: normal; color: var(--brand-strong);
  background-image: linear-gradient(120deg, #7A85F8, #2739F1);
  background-image: linear-gradient(120deg in oklch, #7A85F8, #2739F1);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding: 0.1em 0 0.16em; margin: -0.1em 0 -0.16em; }
.rv-rise .w > .hl { display: inline-block; }

/* La palabra que rueda: barrio → pueblo → ciudad */
.roll { display: inline-block; height: 1.18em; margin-bottom: -0.22em; vertical-align: top; overflow: hidden; overflow: clip; }
.roll-track { display: flex; flex-direction: column; align-items: flex-start; transform: translateY(calc(-2 * 1.18em)); }
.roll-track > span { display: block; height: 1.18em; line-height: 0.96; margin: 0; padding: 0.02em 0.02em 0; }

.hero-copy { grid-area: copy; max-width: 470px; padding-top: clamp(26px, 3vw, 40px); position: relative; z-index: 3; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.5; }
.hero .stores { margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--ink-3); font-weight: 600; }

.hero-visual { grid-area: visual; position: relative; width: clamp(290px, 25vw, 360px); margin-top: calc(-1 * clamp(48px, 7.1vw, 108px) * 0.5); margin-right: clamp(40px, calc(890px - 50vw), 260px); --mx: 0; --my: 0; }

/* Dispositivo: los mockups de siempre (marco + pantalla en una imagen) */
.device { position: relative; aspect-ratio: 660 / 1351; width: 100%; }
.device > img { position: relative; width: 100%; height: auto; }
.device::before { content: ""; position: absolute; inset: 1% 2.5%; border-radius: 13% / 6.2%; box-shadow: var(--sh-device); z-index: -1; }

.device-hero { z-index: 2; transform: perspective(1400px) rotateY(calc(var(--mx) * 7deg)) rotateX(calc(var(--my) * -6deg)); }

/* Tarjetas tipo entrada del héroe */
.ticket {
  --stub: 50px;
  position: absolute; width: 316px; display: grid; grid-template-columns: 70px minmax(0, 1fr) var(--stub);
  align-items: stretch; height: 92px;
  filter: drop-shadow(0 1px 1px rgba(22, 23, 29, 0.06)) drop-shadow(0 10px 18px rgba(22, 23, 29, 0.12));
  translate: calc(var(--mx) * var(--d, 1) * 10px) calc(var(--my) * var(--d, 1) * 8px - var(--sy, 0) * var(--d, 1) * 60px);
}
.ticket > * { background: #fff; }
.ticket-img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px 0 0 16px; }
.ticket-main { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 12px; min-width: 0;
  -webkit-mask: radial-gradient(circle 8px at 100% 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 100% 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 8px at 100% 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 100% 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
.ticket-main b { font-size: 14.5px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-when { font-size: 12px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.ticket-main .chip { align-self: flex-start; margin-top: 4px; padding: 3px 8px; font-size: 11px; }
.ticket-stub { position: relative; border-radius: 0 16px 16px 0; display: grid; place-items: center;
  -webkit-mask: radial-gradient(circle 8px at 0 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 0 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 8px at 0 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 0 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
.ticket-stub::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; border-left: 2px dashed #E3E4EC; }
.ticket-stub span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--brand-strong); }
.ticket-a { --d: 1.4; --rot: -5deg; left: -66%; top: 60%; z-index: 3; }
.ticket-b { --d: 2.2; --rot: 6deg; right: -76%; top: 15%; z-index: 1; }

/* Entrada al revés: la matriz a la izquierda, la foto a la derecha */
.ticket-rev { grid-template-columns: var(--stub) minmax(0, 1fr) 70px; }
.ticket-rev .ticket-img { border-radius: 0 16px 16px 0; }
.ticket-rev .ticket-stub { border-radius: 16px 0 0 16px;
  -webkit-mask: radial-gradient(circle 8px at 100% 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 100% 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 8px at 100% 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 100% 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
.ticket-rev .ticket-stub::before { left: auto; right: 0; }
.ticket-rev .ticket-main {
  -webkit-mask: radial-gradient(circle 8px at 0 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 0 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 8px at 0 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 0 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
.ticket-a, .ticket-b { transform: rotate(var(--rot)); }

@media (max-width: 1180px) {
  .ticket-b { display: none; }
  .hero-visual { margin-right: 0; }
}

/* Héroe en móvil y tableta: una columna */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "copy" "visual"; }
  .display { font-size: clamp(40px, 11.4vw, 84px); }
  .hero-copy { max-width: 560px; }
  .hero-visual { margin: 64px auto 0; width: min(290px, 64vw); }
  .city-marks .route, .city-marks .you, .city-marks .pin-1 { display: none; }
  .ticket { --stub: 42px; width: 244px; height: 78px; grid-template-columns: 58px minmax(0, 1fr) var(--stub); }
  .ticket-rev { grid-template-columns: var(--stub) minmax(0, 1fr) 58px; }
  .ticket-main b { font-size: 13px; }
  .ticket-a { left: -40%; top: 64%; }
}
@media (max-width: 480px) {
  .ticket { width: 232px; }
  .ticket-a { left: -18%; top: 68%; }
}
@media (max-width: 400px) {
  .stores { gap: 10px; }
  .store { height: 54px; padding: 0 14px 0 12px; gap: 8px; }
  .store span { font-size: 15.5px; }
  .store svg { width: 23px; height: 23px; }
}

/* ── Entrada del héroe (una sola vez) ── */
@keyframes ln-up { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes device-in { from { opacity: 0; translate: 0 70px; } }
@keyframes deal { from { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) rotate(0deg) scale(0.92); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } }
@keyframes roll {
  0%, 40% { transform: translateY(0); animation-timing-function: var(--spring); }
  56%, 68% { transform: translateY(-1.18em); animation-timing-function: var(--spring); }
  86%, 100% { transform: translateY(-2.36em); }
}

.js .display .ln > span { animation: ln-up 1s var(--ease-out) both; }
.js .display .ln:nth-child(2) > span { animation-delay: 0.09s; }
.js .roll-track { animation: roll 2.9s linear both; }
.js .hero-copy > * { animation: fade-up 0.8s var(--ease-out) both; }
.js .hero-copy > :nth-child(1) { animation-delay: 0.3s; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.38s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.46s; }
.js .hero-visual .device-hero { animation: device-in 1.2s var(--ease-out) 0.25s both; }
.js .ticket { animation: deal 1s var(--spring) both; }
.js .ticket-a { --fx: 110px; --fy: -40px; animation-delay: 0.85s; }
.js .ticket-b { --fx: -120px; --fy: 60px; animation-delay: 1s; }

.js .city .ave { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease-in-out) 0.2s forwards; }
.js .city .ave-2 { animation-delay: 0.45s; }
.js .city .route { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s var(--ease-in-out) 1.3s forwards; }
.js .city .you { animation: pop 0.6s var(--spring) 1.1s both; }
.js .city .pin-1 { animation: pop 0.7s var(--spring) 2.6s both; }
.js .city .dot { animation: pop 0.6s var(--spring) both; }
.js .city .dot:nth-of-type(1) { animation-delay: 0.9s; }
.js .city .dot:nth-of-type(2) { animation-delay: 1.05s; }
.js .city .dot:nth-of-type(3) { animation-delay: 1.2s; }
.js .city .dot:nth-of-type(4) { animation-delay: 1.35s; }

/* ═════════════ CÓMO FUNCIONA ═════════════ */
.story { padding: clamp(110px, 14vw, 170px) 0 40px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); }
.step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
.step-tab { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--brand-strong); margin-bottom: 14px; }
.step-tab::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: var(--brand-tint) var(--icon) center / 14px no-repeat; }
.step:nth-child(1) .step-tab { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232739F1'%3E%3Cpath d='M12 3.2 3 10.4V20a1 1 0 0 0 1 1h5.5v-6h5v6H20a1 1 0 0 0 1-1v-9.6z'/%3E%3C/svg%3E"); }
.step:nth-child(2) .step-tab { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232739F1' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.4 5.3 3.4 8.5s-1 6.1-3.4 8.5c-2.4-2.4-3.4-5.3-3.4-8.5s1-6.1 3.4-8.5z'/%3E%3C/svg%3E"); }
.step:nth-child(3) .step-tab { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232739F1' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='3'/%3E%3Cpath d='M4 10h16M9 3v4M15 3v4'/%3E%3C/svg%3E"); }
.step:nth-child(4) .step-tab { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232739F1'%3E%3Cpath d='M5 4h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H10l-4.5 3.6c-.3.3-.8 0-.8-.4V17H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.step h3 { font-size: clamp(28px, 3.1vw, 42px); letter-spacing: -0.035em; }
.step > p:not(.step-tab) { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.step p b { color: var(--ink); font-weight: 800; }

.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232739F1' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks-light li { color: #fff; }
.ticks-light li::before { background-color: rgba(255, 255, 255, 0.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E"); }

/* Escritorio: los pasos se atenúan y el teléfono se queda fijo */
@media (min-width: 901px) {
  .js .step { opacity: 0.22; transition: opacity 0.5s var(--ease-out); }
  .js .step.is-on { opacity: 1; }
  .device-inline { display: none; }
}
.story-stage { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.stage::before { content: ""; position: absolute; inset: 8vh 0; border-radius: 40px; background: var(--tint, #EEF0FE); transition: background-color 0.8s var(--ease-out); }
.device-stage { width: min(350px, 37vh); z-index: 1; }

/* Pantallas: todos los mockups comparten marco, así que el fundido solo cambia la pantalla */
.scr { position: absolute; inset: 0; transition: opacity 0.45s var(--ease-out); }
.scr:not(.is-on) { opacity: 0; }
.scr img, .zoom img, .scroll-pair img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.zoom, .scroll-pair { position: absolute; inset: 0; --z: 0; --o: 0; }
/* Franja central de la pantalla que hace zoom; el marco, la barra de estado y la de pestañas no se mueven */
.z-band { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 4.9% 0 4.9%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 10%, #000 17%, #000 82%, transparent 89%);
          mask-image: linear-gradient(to bottom, transparent 10%, #000 17%, #000 82%, transparent 89%); }
.z-far-in { transform-origin: 70.04% 45.84%; transform: scale(calc(1 + var(--z) * 1.9)); will-change: transform; }
.z-near { opacity: var(--o); }
.scroll-pair .sp-2 { opacity: var(--o); }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-stage { display: none; }
  .step { min-height: 0; padding: 40px 0 56px; }
  .device-inline { width: min(280px, 72vw); margin: 40px auto 0; }
}

/* ═════════════ DETALLES ═════════════ */
.details { padding: clamp(100px, 12vw, 150px) 0 clamp(100px, 12vw, 150px); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { min-width: 0; background: var(--surface); border-radius: 30px; padding: 8px; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.tile-visual { position: relative; min-height: 210px; border-radius: 22px; background: var(--surface-2); display: grid; place-items: center; padding: 22px; overflow: hidden; }
.tile-copy { padding: 18px 16px 14px; }
.tile h3 { font-size: 20px; letter-spacing: -0.022em; }
.tile-copy p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.t-cap, .t-cal { grid-column: span 4; }
.t-count, .t-loc, .t-cp, .t-notif, .t-heart { grid-column: span 2; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-cap, .t-cal { grid-column: span 2; } .t-count, .t-loc, .t-cp, .t-notif, .t-heart { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento > * { grid-column: span 1 !important; } }

/* Aforo */
.cap { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--sh-1); }
.cap-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.cap-head b { color: var(--green); font-weight: 800; font-variant-numeric: tabular-nums; }
.cap-head > span { color: var(--ink-3); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.cap-bar { height: 10px; border-radius: 5px; background: var(--surface-2); margin: 12px 0 16px; overflow: hidden; }
.cap-bar span { display: block; height: 100%; width: 100%; border-radius: 5px; background: linear-gradient(90deg, #22C55E, #16A34A); transform-origin: left; transform: scaleX(var(--fill, 0.76)); transition: transform 0.9s var(--ease-out); }
.cap-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cap-people { display: flex; align-items: center; }
.cap-people img, .cap-you { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-right: -9px; flex: none; }
.cap-you { display: grid; place-items: center; background: var(--brand-strong); color: #fff; font-size: 11px; font-weight: 800; opacity: 0; transform: scale(0.6) translateX(-8px); transition: opacity 0.2s, transform 0.45s var(--spring); }
.cap.is-in .cap-you { opacity: 1; transform: none; }
.cap-btn { position: relative; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--brand-strong); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; overflow: hidden; transition: background-color 0.3s var(--ease-out), transform 0.16s var(--ease-out); display: grid; }
.cap-btn:active { transform: scale(0.96); }
.cap-btn > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 6px; transition: transform 0.4s var(--ease-out), opacity 0.25s; }
.cap-btn .cb-b { transform: translateY(120%); opacity: 0; }
.cap-btn .cb-b::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.cap.is-in .cap-btn { background: var(--green); }
.cap.is-in .cb-a { transform: translateY(-120%); opacity: 0; }
.cap.is-in .cb-b { transform: none; opacity: 1; }

/* Cuenta atrás */
.t-count .tile-visual { gap: 14px; align-content: center; }
.count { display: flex; gap: 8px; }
.count div { min-width: 60px; padding: 12px 6px 9px; border-radius: 14px; background: #fff; box-shadow: var(--sh-1); text-align: center; }
.count b { display: block; font-size: 27px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums;
  color: var(--brand-strong); background-image: linear-gradient(135deg, #7A85F8, #2739F1); background-image: linear-gradient(135deg in oklch, #7A85F8, #2739F1);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.count span { font-size: 10.5px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.count-for { font-size: 13px; font-weight: 700; color: var(--ink-3); text-align: center; }
@media (max-width: 1100px) and (min-width: 621px) { .count div { min-width: 50px; } .count b { font-size: 23px; } }

/* Ubicación oculta */
.t-loc .tile-visual { padding: 0; }
.loc { position: absolute; inset: 0; }
.loc-map { position: absolute; inset: -20%; transform: rotate(-12deg);
  background:
    linear-gradient(transparent 46%, #E2E4EE 46%, #E2E4EE 54%, transparent 54%) 0 0 / 100% 100%,
    linear-gradient(#E9EBF2 2px, transparent 2px) 0 0 / 38px 38px,
    linear-gradient(90deg, #E9EBF2 2px, transparent 2px) 0 0 / 38px 38px,
    #F3F4F8; }
.loc-zone { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; background: rgba(112, 124, 246, 0.16); border: 2px dashed rgba(39, 57, 241, 0.35); transition: transform 0.9s var(--ease-out), opacity 0.5s; }
.loc-pin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -26px 0 0 -13px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand-strong); box-shadow: 0 0 0 3px #fff; transition: opacity 0.35s, transform 0.5s var(--ease-out); }
.loc-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 7px; padding: 8px 13px 8px 11px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; box-shadow: var(--sh-1); transition: opacity 0.4s 0.35s, transform 0.6s var(--spring) 0.35s; }
.loc-tag::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232739F1'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h.5A1.5 1.5 0 0 1 19 11.5v8a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 5 19.5v-8A1.5 1.5 0 0 1 6.5 10zm2.2 0h5.6V8a2.8 2.8 0 0 0-5.6 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.js .loc:not(.is-in) .loc-zone { transform: scale(0.3); opacity: 0; }
.js .loc:not(.is-in) .loc-tag { opacity: 0; transform: translate(-50%, -30%) scale(0.92); }
.loc.is-in .loc-pin { opacity: 0; transform: rotate(-45deg) scale(0.6); }
.js .loc:not(.is-in) .loc-pin { opacity: 1; }

/* Código postal */
.cp { width: 100%; max-width: 300px; display: grid; gap: 12px; }
.cp-field { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 16px; background: #fff; box-shadow: var(--sh-1); }
.cp-ico { width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237D8193' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E") center / contain no-repeat; }
.cp-text { font-size: 18px; font-weight: 800; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; min-width: 1ch; }
.cp-caret { width: 2px; height: 22px; border-radius: 1px; background: var(--brand-strong); margin-left: -8px; }
/* La estrella de la app: a la derecha del campo, para guardar la búsqueda */
.cp-star { position: relative; flex: none; width: 22px; height: 22px; margin-left: auto; transition: opacity 0.25s, transform 0.5s var(--spring); }
.cp-star::before, .cp-star::after { content: ""; position: absolute; inset: 0; background: center / contain no-repeat; }
.cp-star::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9A00' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 3.6l2.55 5.17 5.7.83-4.13 4.02.98 5.68L12 16.62l-5.1 2.68.98-5.68-4.13-4.02 5.7-.83z'/%3E%3C/svg%3E"); transition: opacity 0.2s; }
.cp-star::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF9A00' stroke='%23FF9A00' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 3.6l2.55 5.17 5.7.83-4.13 4.02.98 5.68L12 16.62l-5.1 2.68.98-5.68-4.13-4.02 5.7-.83z'/%3E%3C/svg%3E"); opacity: 0; transform: scale(0.3); transition: opacity 0.2s, transform 0.5s var(--spring); }
.cp-star.saved::before { opacity: 0; }
.cp-star.saved::after { opacity: 1; transform: none; }
.cp-anim .cp-star:not(.on) { opacity: 0; transform: scale(0.4); }
.cp-results { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; transition: opacity 0.25s, transform 0.35s var(--ease-out); }
.cp-results.is-out { opacity: 0; transform: translateY(4px); }
.cp-results span { padding: 6px 11px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 700; color: var(--ink-2); box-shadow: var(--sh-1); }

/* Avisos */
.notifs { width: 100%; max-width: 330px; display: grid; gap: 8px; }
.notif { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.92); box-shadow: var(--sh-1); font-size: 13px; line-height: 1.3; transition: opacity 0.5s var(--ease-out), transform 0.7s var(--spring); }
.notif img { width: 34px; height: 34px; border-radius: 9px; }
.notif b { display: block; font-weight: 800; font-size: 13.5px; }
.notif span { color: var(--ink-2); font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif time { align-self: start; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.notif:nth-child(2) { transition-delay: 0.35s; }
.js .notifs:not(.is-in) .notif { opacity: 0; transform: translateY(-18px) scale(0.97); }

/* Guardar */
.t-heart .tile-visual { background: #FFF3E2; gap: 12px; align-content: center; }
.heart { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--sh-2); display: grid; place-items: center; cursor: pointer; transition: transform 0.16s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.heart:active { transform: scale(0.94); }
.heart svg { width: 38px; height: 38px; fill: none; stroke: #B5B8C6; stroke-width: 1.9; transition: fill 0.2s, stroke 0.2s; }
.heart[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); animation: heart-pop 0.55s var(--spring); }
@keyframes heart-pop { 0% { transform: scale(0.7); } 100% { transform: scale(1); } }
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst b { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--accent); opacity: 0; transform: rotate(calc(var(--i) * 45deg)) translateY(-30px) scale(0.6); }
.burst b:nth-child(even) { background: var(--c-fiesta); }
.burst b:nth-child(1) { --i: 0; } .burst b:nth-child(2) { --i: 1; } .burst b:nth-child(3) { --i: 2; } .burst b:nth-child(4) { --i: 3; }
.burst b:nth-child(5) { --i: 4; } .burst b:nth-child(6) { --i: 5; } .burst b:nth-child(7) { --i: 6; } .burst b:nth-child(8) { --i: 7; }
.heart.burst-on .burst b { animation: burst 0.6s var(--ease-out) forwards; }
@keyframes burst {
  0% { opacity: 1; transform: rotate(calc(var(--i) * 45deg)) translateY(-34px) scale(1); }
  100% { opacity: 0; transform: rotate(calc(var(--i) * 45deg)) translateY(-58px) scale(0.3); }
}
.heart-label { font-size: 13px; font-weight: 800; color: #B26A00; text-align: center; min-height: 20px; }

/* Calendario: vista de día, el plan cae en su hueco */
.cal { width: 100%; max-width: 500px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px; position: relative; }
.cal-day { width: 64px; height: 70px; border-radius: 16px; background: #fff; box-shadow: var(--sh-1); display: grid; place-content: center; text-align: center; line-height: 1; }
.cal-day span { font-size: 11px; font-weight: 800; color: #E5484D; letter-spacing: 0.04em; }
.cal-day b { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cal-tl { position: relative; padding: 2px 0 0; }
.cal-h { position: relative; height: 40px; }
.cal-h::after { content: ""; position: absolute; left: 50px; right: 0; top: 8px; height: 1px; background: rgba(22, 23, 29, 0.1); }
.cal-h span { font-size: 11.5px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cal-ev { position: absolute; left: 56px; right: 0; top: 52px; bottom: -6px; display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding: 9px 12px; border-radius: 10px; background: #E7E9FE; box-shadow: inset 3px 0 0 var(--brand-strong); transition: opacity 0.45s var(--ease-out), transform 0.8s var(--spring); }
.cal-ev b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #1C27A8; }
.cal-ev span { font-size: 12.5px; color: #4A52A6; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ok { position: absolute; right: 0; top: -30px; display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: #DCFCE7; color: #166534; font-style: normal; font-size: 12px; font-weight: 800; transition: opacity 0.3s 0.55s, transform 0.5s var(--spring) 0.55s; }
.cal-ok::before { content: ""; width: 11px; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.js .cal:not(.is-in) .cal-ev { opacity: 0; transform: translateY(-26px) scale(0.98); }
.js .cal:not(.is-in) .cal-ok { opacity: 0; transform: scale(0.7); }
@media (max-width: 420px) { .cal-day { width: 54px; height: 62px; } .cal { gap: 10px; } }

/* ═════════════ CATEGORÍAS ═════════════ */
.cats { padding: clamp(60px, 8vw, 110px) 0 clamp(100px, 12vw, 160px); overflow: hidden; overflow: clip; }
.cats-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cats .sec-head { margin-bottom: 0; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 170px; gap: 12px; }
.collage figure { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--surface-2); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figcaption { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 8px; padding: 36px 14px 13px; font-size: 13.5px; font-weight: 800; color: #fff; background: linear-gradient(transparent, rgba(10, 10, 20, 0.62)); }
.collage figcaption .chip { background: rgba(255, 255, 255, 0.92); }
.c1 { grid-row: 1 / 3; } .c4 { grid-column: 1 / 3; }
@media (max-width: 900px) { .cats-grid { grid-template-columns: minmax(0, 1fr); } .collage { grid-template-rows: 150px 150px 140px; } }
@media (max-width: 560px) { .collage figcaption { font-size: 0; gap: 0; padding: 28px 10px 10px; } .collage figcaption .chip { font-size: 11.5px; } }

.kinetic { margin-top: clamp(70px, 9vw, 120px); display: grid; gap: 0.06em; font-size: clamp(42px, 7.6vw, 120px); }
.k-row { display: flex; gap: 0.5em; width: max-content; white-space: nowrap; font-weight: 800; letter-spacing: -0.048em; line-height: 1.08; will-change: transform; }
.k-row li { display: flex; align-items: center; gap: 0.3em; }
.k-row li::before { content: ""; width: 0.2em; height: 0.2em; border-radius: 50%; background: var(--c); flex: none; }
.k-row[data-k="-1"] { color: var(--ink-3); }

/* ═════════════ ORGANIZADORES ═════════════ */
.org { margin: 0 12px; border-radius: 40px; color: var(--ink);
  background: #EEF0FE; background: linear-gradient(180deg, #F1F2FF 0%, #E9ECFF 100%); background: linear-gradient(180deg in oklch, #F1F2FF 0%, #E9ECFF 100%); padding: clamp(96px, 12vw, 150px) 0; overflow: hidden; overflow: clip; transform-origin: 50% 0; }
.org .sub { color: var(--ink-2); }
.org-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.org-list > div { position: relative; padding-top: 24px; }
.org-list > div::before, .trust-list > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(39, 57, 241, 0.16); transform-origin: left; transition: transform 1.1s var(--ease-out); }
.org-list dt { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.org-list dd { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 900px) { .org-list { grid-template-columns: minmax(0, 1fr); } }

.studio { margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.studio-url { font-size: 14px; font-weight: 800; color: var(--brand-strong); margin-bottom: 14px; }
.studio h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; line-height: 1.06; }
.studio-copy > p:not(.studio-url) { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.studio .btn { margin-top: 30px; }
.browser-wrap { perspective: 1600px; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(22, 23, 29, 0.07), 0 2px 4px rgba(22, 23, 29, 0.04), 0 24px 48px -16px rgba(30, 40, 120, 0.18), 0 60px 110px -40px rgba(30, 40, 120, 0.22);
  transform-origin: 50% 100%; will-change: transform; }
.browser-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #F6F7FA; box-shadow: inset 0 -1px 0 rgba(22, 23, 29, 0.06); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #DDDFE7; }
.browser-bar span { margin: 0 auto; padding: 4px 40px; border-radius: 8px; background: #ECEDF2; color: var(--ink-3); font-size: 12px; font-weight: 700; }
.browser img { width: 100%; }
@media (max-width: 900px) { .studio { grid-template-columns: minmax(0, 1fr); } .org { margin: 0 8px; border-radius: 28px; } }

/* Entidades oficiales: evento o actividad */
.inst { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); align-items: center;
  padding: clamp(24px, 3.4vw, 44px); border-radius: 32px; background: rgba(255, 255, 255, 0.72); box-shadow: var(--sh-1); }
.inst-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; font-weight: 800; color: var(--inst); }
.new-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.inst h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.035em; line-height: 1.08; }
.inst-copy > p:not(.inst-kicker) { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }
.inst-copy > p.inst-csv { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(39, 57, 241, 0.12); font-size: 15px; }
.inst-csv b { color: var(--ink); font-weight: 800; }
.inst-csv a { font-weight: 800; color: var(--brand-strong); text-decoration: none; white-space: nowrap; }
.inst-csv a:hover { text-decoration: underline; }
.inst-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inst-card { --t: var(--brand-strong); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232739F1' stroke-width='2.3'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.4 5.3 3.4 8.5s-1 6.1-3.4 8.5c-2.4-2.4-3.4-5.3-3.4-8.5s1-6.1 3.4-8.5z'/%3E%3C/svg%3E"); display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 24px; background: #fff; box-shadow: var(--sh-1); }
.ic-act { --t: var(--inst); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C08A2E'%3E%3Cpath d='M12 3.2 3 10.4V20a1 1 0 0 0 1 1h5.5v-6h5v6H20a1 1 0 0 0 1-1v-9.6z'/%3E%3C/svg%3E"); }
.ic-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ic-head b { font-size: 16px; font-weight: 800; color: var(--t); }
.ic-ico { flex: none; width: 28px; height: 28px; border-radius: 9px; background: color-mix(in srgb, var(--t) 12%, #fff) var(--icon) center / 16px no-repeat; }
.ic-where { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.ic-mock { display: grid; justify-items: start; gap: 4px; padding: 14px; border-radius: 16px; background: var(--surface-2); }
.ic-mock .chip { margin-bottom: 4px; }
.ic-mock b { font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.ic-meta { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.ic-tabs { display: flex; gap: 2px; margin-bottom: 6px; padding: 3px; border-radius: 999px; background: #fff; box-shadow: var(--sh-1); }
.ic-tabs span { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: var(--ink-3); }
.ic-tabs .on { background: var(--inst); color: #fff; }
.ic-q { margin-top: 4px; font-size: 17px; font-weight: 800; letter-spacing: -0.015em; }
.inst-card p:not(.ic-q) { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1000px) { .inst { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .inst { padding: 22px 16px; border-radius: 26px; } .inst-cards { grid-template-columns: minmax(0, 1fr); } }

/* ═════════════ CONFIANZA ═════════════ */
.trust { padding: clamp(110px, 13vw, 170px) 0 clamp(80px, 9vw, 120px); }
.trust-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.trust-grid > h2, .faq-head { position: sticky; top: 120px; }
.trust-grid > h2 { font-size: clamp(34px, 4.4vw, 58px); }
.trust-list > div { position: relative; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 20px; padding: 28px 0 30px; }
.trust-list > div::before { background: var(--hair); }
.trust-list > div:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); }
.trust-list dt { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.trust-list dd { font-size: 16px; color: var(--ink-2); }
@media (max-width: 900px) {
  .trust-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-grid > h2, .faq-head { position: static; }
}
@media (max-width: 560px) { .trust-list > div { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* ═════════════ PREGUNTAS ═════════════ */
.faq { padding: clamp(60px, 8vw, 100px) 0 clamp(100px, 12vw, 150px); }
.faq-head h2 { font-size: clamp(34px, 4.4vw, 58px); }
.faq-head p { margin-top: 18px; color: var(--ink-2); font-size: 16px; }
.faq-head a { font-weight: 800; color: var(--brand-strong); text-decoration: none; }
.faq-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq-list details { border-top: 1px solid var(--hair); }
.faq-list details:last-child { border-bottom: 1px solid var(--hair); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; letter-spacing: -0.02em; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171D' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.35s var(--ease-out), background-color 0.2s; }
.faq-list summary:hover::after { background-color: #E8E9F0; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 48px 26px 0; }
.faq-a p { color: var(--ink-2); font-size: 16.5px; max-width: 60ch; }
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq-list details::details-content { block-size: 0; overflow: hidden; overflow: clip; transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; }
}

/* ═════════════ CIERRE ═════════════ */
.close { padding: 0 0 clamp(90px, 10vw, 130px); }
.close-card { position: relative; border-radius: 40px; overflow: hidden; overflow: clip; color: #fff; isolation: isolate;
  background: #2739F1;
  background: linear-gradient(150deg, #7C86F8 0%, #3446F2 45%, #1D2BCB 100%);
  background: linear-gradient(150deg in oklch, #7C86F8 0%, #3446F2 45%, #1D2BCB 100%);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: 560px; }
.close-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M17 6h30l11 11v30l-11 11H17L6 47V17z' fill='%23fff'/%3E%3C/svg%3E") 0 0 / 64px 64px;
  transform: rotate(44.5deg) scale(1.6);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 60%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 75% 60%, #000 10%, transparent 70%); }
.close-copy { padding: clamp(44px, 6vw, 88px); align-self: center; }
.close-copy h2 { font-size: clamp(34px, 4.2vw, 58px); }
.close-copy p { margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, 0.82); max-width: 40ch; }
.close .stores { margin-top: 32px; }
.close-phones { position: relative; min-height: 420px; }
.device-close { position: absolute; width: clamp(220px, 21vw, 290px); }
.d-1 { left: 4%; top: 18%; }
.d-2 { left: 44%; top: 8%; }
@media (max-width: 900px) {
  .close-card { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 28px; }
  .close-phones { min-height: 380px; }
  .device-close { width: min(220px, 48vw); }
  .d-1 { left: 6%; top: 6%; } .d-2 { left: auto; right: 6%; top: 18%; }
}

/* ═════════════ PIE ═════════════ */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--hair); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.footer h4 { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.footer nav a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 15px; text-decoration: none; font-weight: 600; }
.footer nav a:hover { color: var(--ink); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.footer-bottom address { font-style: normal; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ═════════════ APARICIONES (una vez, al entrar en pantalla) ═════════════ */
/* Titulares: cada palabra sube desde su propia máscara, por líneas */
.rv-rise .w { display: inline-block; overflow: hidden; overflow: clip; vertical-align: top; padding: 0.08em 0.02em 0.14em; margin: -0.08em -0.02em -0.14em; }
.rv-rise .w > span { display: inline-block; }
.js .rv-rise:not(.in) .w > span { transform: translateY(112%); }
.js .rv-rise .w > span { transition: transform 1s var(--ease-out); transition-delay: calc(var(--l, 0) * 85ms); }

/* Fotos: se abren con un recorte */
.rv-clip { clip-path: inset(0 round 24px); transition: clip-path 1.2s var(--ease-out); }
.rv-clip img { transition: transform 1.4s var(--ease-out); }
.js .rv-clip:not(.in) { clip-path: inset(18% 14% 18% 14% round 24px); }
.js .rv-clip:not(.in) img { transform: scale(1.18); }
.collage .c2 { transition-delay: 0.08s; } .collage .c3 { transition-delay: 0.16s; } .collage .c4 { transition-delay: 0.12s; }

/* Listas con filete: la línea se dibuja, el texto no se mueve */
.js .rv-line:not(.in)::before { transform: scaleX(0); }
.org-list > div:nth-child(2)::before { transition-delay: 0.1s; } .org-list > div:nth-child(3)::before { transition-delay: 0.2s; }

/* ═════════════ Sin movimiento ═════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .city .ave, .city .route { stroke-dashoffset: 0 !important; }
  .device-hero { transform: none; }
  .ticket { translate: none; }
}
.no-motion-js .rv-rise .w > span, .no-motion-js .rv-clip img { transform: none !important; }
.no-motion-js .rv-clip { clip-path: none !important; }
.no-motion-js .rv-line::before { transform: none !important; }
.no-motion-js .step { opacity: 1 !important; }
.no-motion-js .notif, .no-motion-js .cal-ev, .no-motion-js .cal-ok, .no-motion-js .loc-zone { opacity: 1 !important; transform: none !important; }
.no-motion-js .loc-tag { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
.no-motion-js .loc-pin { opacity: 0 !important; }
