/* Control Proveedores · web de presentación
   Colores y letra de la app: negro de la cabecera, amarillo del logo, piedra clara. */

:root {
  --black: #0e0e0b;
  --ink: #14140f;
  --white: #ffffff;
  --stone: #f2f2ee;
  --yellow: #ffcc00;
  --yellow-soft: #fff6cc;
  --muted: #5a5952;          /* texto secundario sobre claro */
  --muted-dark: #a9a89e;     /* texto secundario sobre negro */

  --m: clamp(16px, 2.6vw, 36px);           /* márgenes de la página */
  --gap-section: clamp(64px, 7vw, 120px);

  --t-hero: clamp(72px, 12.4vw, 216px);
  --t-h2: clamp(44px, 6vw, 100px);
  --t-mid: clamp(22px, 2vw, 30px);
  --t-body: 18px;
  --t-small: 16px;
  --t-h3: clamp(32px, 3.6vw, 60px);
  --t-big: clamp(56px, 9vw, 156px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --radius: 28px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-body);
  line-height: 1.5;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { touch-action: manipulation; }
button, .btn { -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.ch-yellow :focus-visible, .ch-stone :focus-visible, .ch-white :focus-visible { outline-color: var(--ink); }
::selection { background: var(--yellow); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }

/* Capítulos: cada sección es un campo de un color */
.ch-dark { background: var(--black); color: var(--white); }
.ch-yellow { background: var(--yellow); color: var(--ink); }
.ch-stone { background: var(--stone); color: var(--ink); }
.ch-white { background: var(--white); color: var(--ink); }
main > section { position: relative; }

/* Botones: redondos del todo, como en la app */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: var(--t-body); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--yellow); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { background: #ffd633; }
  .btn-dark:hover { background: #2a2a22; }
}

/* Barra de arriba: toma el color del capítulo que tiene debajo */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px; padding: 0 var(--m);
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bar-bg, var(--black)); color: var(--bar-ink, var(--white));
  transition: background-color 300ms ease, color 300ms ease;
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.mark img { width: 36px; height: 36px; }
.mark b { font-weight: 600; color: var(--bar-accent, var(--yellow)); transition: color 300ms ease; }
.bar-links { display: flex; gap: 28px; font-size: 16px; font-weight: 500; }
.bar-links a, .bar-enter { text-decoration: none; padding: 10px 0; }
.bar-actions { display: flex; align-items: center; gap: 20px; font-size: 16px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .bar-links a:hover, .bar-enter:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
}
@media (max-width: 960px) { .bar-links { display: none; } }
@media (max-width: 520px) {
  .bar { height: 64px; }
  .mark span { display: none; }
  .bar-actions { gap: 14px; }
  .bar .btn-sm { padding: 0 16px; font-size: var(--t-small); }
}

/* Borde rasgado del ticket: los dientes cuelgan sobre la sección siguiente */
.tear {
  position: absolute; left: 0; right: 0; bottom: -13px; height: 14px; z-index: 3; pointer-events: none;
  background-repeat: repeat-x; background-size: 28px 14px;
}
.tear-dark { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 0h28L14 14z' fill='%230e0e0b'/%3E%3C/svg%3E"); }
.tear-yellow { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 0h28L14 14z' fill='%23ffcc00'/%3E%3C/svg%3E"); }

/* 1 · Portada: titular y el anuncio al lado */
.hero {
  min-height: 100svh;
  padding: calc(72px + 6vh) var(--m) 9vh;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 8px; align-items: center;
}
.hero-copy { grid-column: 1 / 6; position: relative; z-index: 2; }
.hero-title { font-size: clamp(64px, 8.6vw, 156px); font-weight: 900; line-height: 0.86; letter-spacing: -0.045em; }
.hero-title span { display: block; }
.hero-title .l1 { color: var(--white); }
.hero-title .l2 { color: var(--yellow); }
.hero-lede { margin-top: 32px; max-width: 34ch; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.4; color: var(--white); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.link-light { color: var(--white); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; padding: 12px 0; }
.hero-film { grid-column: 6 / 13; position: relative; border-radius: var(--radius); overflow: hidden; background: #000; transform: rotate(1.2deg); }
.hero-film video { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.film-play {
  position: absolute; left: clamp(14px, 2vw, 28px); bottom: clamp(52px, 5vw, 72px);
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 16px 28px 16px 20px; border: 0; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: var(--t-body); font-weight: 700;
  transition: transform 160ms var(--ease-out), opacity 200ms ease;
}
.film-play:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .film-play:hover { transform: scale(1.05); } }
.hero-film.is-playing { transform: none; transition: transform 300ms var(--ease-out); }
.hero-film.is-playing .film-play { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  .hero { display: block; min-height: auto; padding: calc(64px + 5vh) var(--m) 56px; }
  .hero-title { font-size: 17vw; }
  .hero-lede { margin-top: 24px; font-size: 19px; max-width: none; }
  .hero-actions { margin-top: 24px; }
  .hero-film { margin-top: 36px; transform: none; border-radius: 18px; }
  .film-play { padding: 12px 20px 12px 14px; font-size: 16px; }
}

/* 2 · El problema: tablero de piezas */
.intro { padding: calc(var(--gap-section) * 0.6) var(--m) var(--gap-section); }
.board { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 28svh 28svh auto; gap: 8px; }
.tile { border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; }
.tile-a { grid-column: 1 / 9; grid-row: 1 / 3; background: var(--black); color: var(--white); padding: clamp(20px, 3vw, 44px); }
.tile-a h2 { font-size: var(--t-big); font-weight: 900; line-height: 0.86; letter-spacing: -0.045em; text-transform: uppercase; }
.tile-b { grid-column: 9 / 13; grid-row: 1; background: var(--yellow); padding: clamp(20px, 2.4vw, 36px); }
.tile-word { font-size: var(--t-h2); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; }
.tile-c { grid-column: 9 / 13; grid-row: 2; background: var(--black); }
.tile-c img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.tile-text {
  grid-column: 1 / 13; grid-row: 3; border-radius: 0;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 8px; align-items: start;
  padding: clamp(40px, 5vw, 72px) 0 0;
}
.statement { grid-column: 1 / 7; font-size: var(--t-mid); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; max-width: 26ch; }
.tile-text .body { grid-column: 7 / 13; font-size: var(--t-body); line-height: 1.5; max-width: 52ch; }
@media (max-width: 760px) {
  .intro { padding-top: 48px; }
  .board { grid-template-columns: 1fr 1fr; grid-template-rows: 34svh auto auto; gap: 6px; }
  .tile-a { grid-column: 1 / 3; grid-row: 1; }
  .tile-a h2 { font-size: 15vw; }
  .tile-b { grid-column: 1; grid-row: 2; aspect-ratio: 1; }
  .tile-word { font-size: 9vw; }
  .tile-c { grid-column: 2; grid-row: 2; aspect-ratio: 1; }
  .tile-text { grid-column: 1 / 3; grid-row: 3; display: block; padding-top: 36px; }
  .tile-text .body { margin-top: 20px; font-size: 18px; }
}

/* 4 · Cómo funciona: la barra de progreso en grande */
.how { padding: var(--gap-section) var(--m) var(--gap-section); }
.how h2 { font-size: var(--t-h2); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; margin-bottom: 64px; }
.stages { display: flex; gap: 6px; min-height: 22vh; }
.stage {
  flex: var(--g) 1 0; min-width: 12%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 20px; border-radius: 20px;
}
.stage-time { font-size: var(--t-mid); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.stage p { font-size: var(--t-body); line-height: 1.4; max-width: 30ch; }
.s1 { background: var(--black); color: var(--white); }
.s2 { background: var(--white); }
.s3 { background: var(--yellow-soft); }
.s4 { background: var(--black); color: var(--white); }
.s4 .stage-time { color: var(--yellow); font-size: var(--t-h2); line-height: 0.95; letter-spacing: -0.04em; font-weight: 900; }
.s4 p { font-size: var(--t-mid); line-height: 1.3; max-width: 28ch; }
@media (max-width: 960px) {
  .stages { flex-direction: column; min-height: 70svh; }
  .stage { flex: var(--g) 1 auto; min-height: 120px; min-width: 0; gap: 12px; }
  .s4 .stage-time { font-size: 12vw; }
  .s4 p { font-size: 20px; }
}
@media (max-width: 760px) { .how h2 { font-size: 11vw; margin-bottom: 40px; } }

/* 5 · Antes y ahora: dos tarjetas */
.vs { padding: var(--gap-section) var(--m); }
.vs h2 { font-size: var(--t-h2); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; max-width: 14ch; }
.vs-grid { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs-card { display: grid; grid-template-columns: 38% 1fr; border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.vs-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vs-before { background: var(--black); color: var(--white); }
.vs-before img { object-position: 40% 30%; }
.vs-after { background: var(--yellow); }
.vs-after img { background: var(--stone); }
.vs-body { padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.vs-body h3 { font-size: var(--t-mid); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.vs-list { margin-top: 20px; display: grid; gap: 14px; }
.vs-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.35; }
.mk { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 16px; font-weight: 800; margin-top: 1px; }
.mk.no { background: #b42318; color: var(--white); }
.mk.yes { background: var(--ink); color: var(--yellow); }
@media (max-width: 1100px) { .vs-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .vs h2 { font-size: 11vw; }
  .vs-card { grid-template-columns: 1fr; min-height: 0; }
  .vs-card img { height: 220px; }
  .vs-after img { height: 260px; }
}

/* 6 · Funciones: la app de verdad, en móvil o en ordenador */
.funcs { padding: var(--gap-section) var(--m); }
.funcs-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.funcs-title { font-size: var(--t-h2); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; }
.funcs-hint { margin-top: 20px; color: var(--muted-dark); max-width: 52ch; }
.device-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: #26261f; }
.device-switch button {
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent;
  color: var(--white); font-size: 16px; font-weight: 600;
  transition: background-color 200ms var(--ease-out), color 200ms ease, transform 160ms var(--ease-out);
}
.device-switch button:active { transform: scale(0.96); }
.device-switch button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }

.funcs-grid { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 8px; align-items: start; }
.flist { grid-column: 1 / 7; }
.viewer { grid-column: 7 / 13; position: sticky; top: 96px; display: flex; justify-content: center; }
.funcs-grid[data-device="pc"] .flist { grid-column: 1 / 5; }
.funcs-grid[data-device="pc"] .viewer { grid-column: 5 / 13; }

.frow { padding: 10px 0 18px; }
.fname {
  display: block; width: 100%; text-align: left; border: 0; background: none; padding: 0;
  font-size: var(--t-h3); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em;
  color: var(--muted-dark);
  transition: color 200ms ease, transform 200ms var(--ease-out);
}
.frow.is-on .fname { color: var(--white); }
.fname:active { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) { .fname:hover { color: var(--white); } }
.fdesc { margin-top: 10px; max-width: 46ch; color: var(--muted-dark); font-size: var(--t-body); }
.frow.is-on .fdesc { color: var(--white); }
.funcs-grid[data-device="pc"] .fname { font-size: var(--t-mid); }

.shot { margin: 0; }
.shot img { border-radius: 30px; background: var(--stone); }
.shot .shot-pc { display: none; border-radius: 16px; }
.funcs-grid[data-device="pc"] .shot .shot-movil { display: none; }
.funcs-grid[data-device="pc"] .shot .shot-pc { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot .shot-movil { width: auto; height: min(78vh, 760px); aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; }
.shot.swap img { animation: shot-in 360ms var(--ease-out); }
@keyframes shot-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } }

@media (max-width: 900px) {
  .flist, .funcs-grid[data-device="pc"] .flist { grid-column: 1 / 13; }
  .viewer { display: none; }
  .fname, .funcs-grid[data-device="pc"] .fname { font-size: 10vw; }
  .frow { padding: 12px 0 22px; }
  .frow .shot { margin-top: 22px; }
  .frow .shot .shot-movil { width: min(78vw, 360px); height: auto; max-height: 72svh; }
  .funcs-top { position: relative; }
}

/* 8 · Preguntas: fichas de cajón con su pestaña */
.faq { padding: calc(var(--gap-section) + 14px) var(--m) var(--gap-section); }
.faq h2 { font-size: var(--t-h2); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; margin: 0 auto 72px; max-width: 980px; }
.cards { max-width: 980px; margin: 0 auto; }
.card { position: relative; border-radius: 0 20px 20px 20px; margin-top: 40px; }
.card + .card { margin-top: 52px; }
.c1, .c4 { background: var(--black); color: var(--white); }
.c2, .c5 { background: var(--yellow); }
.c3, .c6 { background: var(--white); }
.card-head { display: block; width: 100%; border: 0; background: none; text-align: left; padding: 0; }
.card-tab {
  position: absolute; top: -40px; left: calc(var(--i, 0) * min(150px, (100% - 200px) / 5));
  height: 41px; width: 200px; padding: 9px 20px 0;
  border-radius: 14px 14px 0 0; background: inherit;
  font-size: 16px; font-weight: 600;
}
.c1 .card-tab, .c4 .card-tab { background: var(--black); }
.c2 .card-tab, .c5 .card-tab { background: var(--yellow); }
.c3 .card-tab, .c6 .card-tab { background: var(--white); }
.c1 { --i: 0; } .c2 { --i: 1; } .c3 { --i: 2; } .c4 { --i: 3; } .c5 { --i: 4; } .c6 { --i: 5; }
.card { border-top-left-radius: 0; }
.c2, .c3, .c4, .c5 { border-top-left-radius: 20px; }
.card-q {
  display: flex; align-items: center; min-height: 80px; padding: 20px 28px;
  font-size: var(--t-mid); font-weight: 600; letter-spacing: -0.01em;
}
.card-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-out); }
.card-a > p { overflow: hidden; padding: 0 28px; max-width: 58ch; font-size: var(--t-body); }
.card.is-open .card-a { grid-template-rows: 1fr; }
.card.is-open .card-a > p { padding-bottom: 28px; }
.card-head:active .card-q { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) { .card-head:hover .card-q { text-decoration: underline; text-underline-offset: 5px; } }
@media (max-width: 760px) {
  .faq h2 { font-size: 11vw; margin-bottom: 64px; }
  .card-tab { width: 128px; padding: 10px 16px 0; font-size: var(--t-small); left: calc(var(--i, 0) * min(48px, (100% - 128px) / 5)); }
  .card-q { min-height: 88px; padding: 18px 20px; font-size: 20px; }
  .card-a > p { padding: 0 20px; }
  .card.is-open .card-a > p { padding-bottom: 22px; }
}

/* 9 · Pide una demo: el primer paso ya abierto */
.cta {
  min-height: 70svh; padding: var(--gap-section) var(--m);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 8px; align-items: center;
}
.cta-copy { grid-column: 1 / 7; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.cta-mascot {
  width: clamp(160px, 17vw, 260px); height: clamp(160px, 17vw, 260px); object-fit: cover; object-position: 50% 18%;
  border-radius: 50%; transform: rotate(-5deg); margin-bottom: auto; background: var(--black);
}
.cta-quote { margin-top: 28px; max-width: 30ch; }
.cta-quote p { font-size: var(--t-mid); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.cta-quote footer { margin-top: 8px; font-size: var(--t-small); }
.cta h2 { margin-top: 32px; font-size: var(--t-big); font-weight: 900; line-height: 0.9; letter-spacing: -0.045em; }
.cta-copy p { margin-top: 24px; font-size: var(--t-mid); line-height: 1.35; max-width: 28ch; }
.dialog {
  grid-column: 8 / 12; width: 100%; max-width: 460px; justify-self: end;
  background: var(--white); border-radius: 24px; padding: 32px;
  box-shadow: 0 1px 2px rgba(20, 20, 15, 0.08), 0 24px 56px -20px rgba(20, 20, 15, 0.35); /* taste-skill-ignore: es un diálogo abierto */
}
.dialog h3 { font-size: var(--t-mid); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 24px; }
.dialog label, .dialog-label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.dialog input {
  width: 100%; min-height: 54px; padding: 0 16px; border: 2px solid #e4e2da; border-radius: 14px;
  font: inherit; font-size: var(--t-body); color: var(--ink); background: var(--white);
  transition: border-color 160ms ease;
}
.dialog input:focus { outline: none; border-color: var(--ink); }
.dialog-label { margin-top: 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--stone); margin-bottom: 24px; }
.seg button { min-height: 48px; border: 0; border-radius: 12px; background: transparent; font-size: 16px; font-weight: 600; color: var(--muted); transition: background-color 180ms var(--ease-out), color 180ms ease, transform 160ms var(--ease-out); }
.seg button:active { transform: scale(0.97); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--white); }
.dialog .btn { min-height: 56px; }
.dialog-note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--yellow-soft); font-size: 16px; }
@media (max-width: 900px) {
  .cta { display: block; min-height: 0; }
  .cta-mascot { margin-bottom: 0; width: 132px; height: 132px; }
  .cta h2 { font-size: 13vw; margin-top: 28px; }
  .cta-copy p { font-size: 20px; }
  .dialog { margin-top: 40px; max-width: none; padding: 24px 20px; }
  .dialog .btn { min-height: 52px; }
}

/* Pie: el ticket del logo, en grande */
.foot { padding: 0 var(--m) calc(32px + env(safe-area-inset-bottom, 0px)); }
.ticket {
  position: relative; background: var(--yellow); color: var(--ink);
  border-radius: 0 0 0 0; padding: clamp(32px, 4vw, 64px) clamp(24px, 4vw, 64px) clamp(40px, 4vw, 64px);
  min-height: 32svh; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto 1fr; gap: 14px 24px;
}
.tk { display: block; height: clamp(14px, 2vw, 30px); border-radius: 4px; background: var(--ink); grid-column: 1; }
.tk1 { width: 46%; } .tk2 { width: 34%; } .tk3 { width: 22%; background: #7a5c00; }
.ticket-word { grid-column: 1; align-self: end; margin-top: 48px; font-size: var(--t-big); font-weight: 900; line-height: 0.86; letter-spacing: -0.05em; }
.ticket-euro { grid-column: 2; grid-row: 4; align-self: end; font-size: var(--t-big); font-weight: 900; line-height: 0.86; }
.foot-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 8px; }
.foot-links { grid-column: 1 / 9; display: grid; grid-template-columns: repeat(4, max-content); gap: 12px 40px; font-size: 16px; }
.foot-links a, .foot-contact a { text-decoration: none; padding: 8px 0; display: inline-block; }
@media (hover: hover) and (pointer: fine) { .foot a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; } }
.foot-contact { grid-column: 9 / 13; font-size: 16px; }
.foot-contact p + p { margin-top: 4px; }
.foot-contact a { color: var(--yellow); font-weight: 600; }
.foot-end { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--t-small); color: var(--muted-dark); }
@media (max-width: 760px) {
  .ticket { min-height: 24svh; }
  .ticket-word { font-size: 13.5vw; }
  .ticket-euro { position: absolute; top: 24px; right: 24px; font-size: 15vw; }
  .ticket { grid-template-columns: 1fr; }
  .foot-grid { display: block; }
  .foot-links { grid-template-columns: 1fr 1fr; gap: 4px 24px; }
  .foot-contact { margin-top: 28px; }
}

/* Movimiento: entrada de cada parte al llegar a su sección */
.js .rise, .js .reveal { opacity: 0; transform: translateY(24px); }
.js .rise.in, .js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 640ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .stage.reveal { transform: scaleX(0.6); transform-origin: left center; }
.js .stage.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .reveal, .js .stage.reveal { transform: none; }
  .js .rise.in, .js .reveal.in { transition: opacity 300ms ease; }
  .shot.swap img { animation: none; }
  .card-a { transition: none; }
}

/* En el móvil el texto llega a los dos márgenes */
@media (max-width: 760px) {
  main p, .fdesc, .statement { max-width: none; }
}
