/* =========================================================
   Daminato Viajes — Rediseño home 2026
   Estilo: luminoso / editorial. Rojo de marca #FF0007.
   ========================================================= */

/* ---------- Tipografías (auto-alojadas) ---------- */
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-style: italic; font-display: swap; src: url("../fonts/dm-sans-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --red: #FF0007;          /* rojo de marca (logo, acentos gráficos) */
  --red-strong: #E0000A;   /* mismo rojo, apenas más profundo: botones y texto sobre blanco (contraste AA) */
  --red-dark: #B80008;     /* hover */
  --red-tint: #FFE9EA;

  --ink: #1C1517;          /* casi negro con sesgo cálido */
  --ink-2: #4B4245;
  --muted: #6F6467;
  --paper: #FFFFFF;
  --sand: #F7F3F1;
  --line: #E9E1DF;
  --wa: #25D366;

  /* tokens que cambian con el modo noche */
  --red-text: #E0000A;     /* rojo para textos y links */
  --card: #FFFFFF;         /* tarjetas y formulario */
  --panel: #1C1517;        /* bloques oscuros (WhatsApp, íconos) */
  --panel-ink: #FFFFFF;
  --panel-hover: #000000;
  --footer-line: transparent;
  --footer-bg: #1C1517;
  --header-bg: rgb(255 255 255 / .94);
  --logo-light: block;
  --logo-dark: none;

  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-accent: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-hero: clamp(2.35rem, 1.2rem + 5vw, 5.25rem);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(28 21 23 / .06), 0 8px 24px -8px rgb(28 21 23 / .14);
  --shadow-hover: 0 2px 4px rgb(28 21 23 / .06), 0 18px 36px -12px rgb(28 21 23 / .24);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Modo noche ----------
   Sin elección guardada se sigue el tema del sistema;
   el switch fija data-theme="dark" | "light" en <html>. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #151012;
    --sand: #1E1719;
    --card: #241C1F;
    --ink: #F3ECED;
    --ink-2: #CEC3C5;
    --muted: #A3979B;
    --line: #342A2D;
    --red-text: #FF5A5F;
    --red-tint: #2B1517;
    --panel: #2B2225;
    --panel-hover: #3A2F33;
    --footer-line: #2A2124;
    --footer-bg: #0D0A0B;
    --header-bg: rgb(21 16 18 / .92);
    --logo-light: none;
    --logo-dark: block;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 28px -10px rgb(0 0 0 / .7);
    --shadow-hover: 0 2px 4px rgb(0 0 0 / .4), 0 20px 40px -12px rgb(0 0 0 / .8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #151012;
  --sand: #1E1719;
  --card: #241C1F;
  --ink: #F3ECED;
  --ink-2: #CEC3C5;
  --muted: #A3979B;
  --line: #342A2D;
  --red-text: #FF5A5F;
  --red-tint: #2B1517;
  --panel: #2B2225;
  --panel-hover: #3A2F33;
  --footer-line: #2A2124;
  --footer-bg: #0D0A0B;
  --header-bg: rgb(21 16 18 / .92);
  --logo-light: none;
  --logo-dark: block;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 28px -10px rgb(0 0 0 / .7);
  --shadow-hover: 0 2px 4px rgb(0 0 0 / .4), 0 20px 40px -12px rgb(0 0 0 / .8);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--panel); color: var(--panel-ink); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-text);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }

.lead { color: var(--ink-2); font-size: var(--fs-md); max-width: 58ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red-strong); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: #1C1517; }
.btn-light:hover { background: #FFE9EA; color: #1C1517; } /* fijo: el hero es oscuro en ambos modos */
.btn-ghost { border-color: rgb(255 255 255 / .7); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / .14); border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0 18px; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  color: var(--red-text); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

.circle-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgb(255 255 255 / .55); background: rgb(28 21 23 / .25); color: #fff;
  cursor: pointer; transition: background-color .2s, border-color .2s;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.circle-btn:hover { background: var(--red-strong); border-color: var(--red-strong); }

/* ---------- "Cambio" -> "Exchange" (efecto pizarra, mismo ancho) ---------- */
.swap { position: relative; display: inline-block; white-space: nowrap; }
.swap-size { visibility: hidden; }                 /* reserva el ancho de la palabra más larga */
.swap-text { position: absolute; left: 0; top: 0; white-space: nowrap; }
@media (min-width: 901px) { .main-nav .swap-text { left: 50%; transform: translateX(-50%); } }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo { height: 40px; width: auto; }
.logo-on-light { display: var(--logo-light); }
.logo-on-dark { display: var(--logo-dark); }
.logo-text { display: none; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--ink); }
.logo-d { width: 26px; height: 30px; background: var(--red); border-radius: 3px 15px 15px 3px; }
.logo-missing .logo { display: none; }
.logo-missing .logo-text { display: inline-flex; }
.logo-invert { filter: brightness(0) invert(1); }
.logo-text-invert { color: #fff; }
.logo-text-invert .logo-d { background: #fff; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgb(28 21 23 / .35); }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm);
  color: var(--ink-2); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.main-nav ul a:hover { color: var(--ink); background: var(--sand); }
.main-nav ul a.is-active { color: var(--red-text); }
.nav-ext { color: var(--muted) !important; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-switch {
  flex: none; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 999px; color: var(--ink);
}
.theme-track {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  width: 64px; height: 34px; padding: 0 9px; border-radius: 999px;
  background: var(--sand); border: 1px solid var(--line);
  transition: background-color .3s, border-color .3s;
}
.theme-track > .ic { width: 15px; height: 15px; color: var(--muted); }
.theme-knob {
  position: absolute; top: 3px; left: 3px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); box-shadow: 0 1px 3px rgb(0 0 0 / .25);
  transition: transform .3s var(--ease), background-color .3s;
}
.theme-knob .ic { width: 15px; height: 15px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
.knob-sun { color: var(--red-strong); }
.knob-moon { color: #FFD9A0; opacity: 0; transform: rotate(-60deg); }
.theme-switch[aria-checked="true"] .theme-knob { transform: translateX(30px); background: #3A2F33; }
.theme-switch[aria-checked="true"] .knob-sun { opacity: 0; transform: rotate(60deg); }
.theme-switch[aria-checked="true"] .knob-moon { opacity: 1; transform: none; }
.theme-switch:hover .theme-track { border-color: var(--muted); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); place-items: center; cursor: pointer; }
.menu-toggle .ic { width: 22px; height: 22px; }
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Hero / slider ---------- */
.hero {
  position: relative;
  height: clamp(560px, 80vh, 780px);
  background: #1C1517;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.slide-media { position: absolute; inset: 0; overflow: hidden; }
.slide-media picture { display: contents; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.slide.is-active .slide-media img { transform: scale(1); }
.slide-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(20 12 14 / .78) 0%, rgb(20 12 14 / .45) 38%, rgb(20 12 14 / 0) 68%),
    linear-gradient(0deg, rgb(20 12 14 / .7) 0%, rgb(20 12 14 / 0) 42%);
}
.slide-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 128px;
}
.slide-inner { max-width: 640px; display: grid; gap: 18px; }
.slide-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgb(255 255 255 / .16); color: #fff; border: 1px solid rgb(255 255 255 / .28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tag-red { background: var(--red-strong); border-color: var(--red-strong); }
.slide-title { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.slide-sub {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.15; letter-spacing: 0;
  color: rgb(255 255 255 / .92);
}
.slide-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }

/* Precio con la forma de la "D" del logo */
.price-d {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 64px; padding: 8px 34px 8px 20px;
  background: var(--red-strong); color: #fff;
  border-radius: 6px 999px 999px 6px;
  line-height: 1.1;
}
.price-d small { font-size: var(--fs-xs); font-weight: 500; opacity: .9; letter-spacing: .02em; }
.price-d strong { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-d.is-ask strong { font-size: 1.2rem; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 30px; margin-inline: auto; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hero-counter { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; letter-spacing: .08em; display: flex; align-items: baseline; gap: 8px; }
.hero-counter #heroCurrent { font-size: 1.5rem; letter-spacing: 0; }
.hero-counter .sep { opacity: .5; }
.hero-buttons { display: flex; gap: 10px; }
#heroPause .ic-play { display: none; }
.hero.is-paused #heroPause .ic-play { display: block; }
.hero.is-paused #heroPause .ic-pause { display: none; }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgb(255 255 255 / .18); z-index: 3; }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--red); }

/* Afiches verticales: la pieza se ve entera sobre un fondo desenfocado */
.slide--poster .slide-media::before {
  content: ""; position: absolute; inset: -60px;
  background-image: var(--poster); background-size: cover; background-position: center;
  filter: blur(36px) saturate(1.1) brightness(.5);
}
@media (max-width: 1023px) {
  .slide--poster .slide-media img {
    position: absolute; left: 50%; translate: -50% 0; top: 24px;
    width: auto; height: 38%; max-width: calc(100% - 2 * var(--gutter));
    object-fit: contain; border-radius: 10px;
    box-shadow: 0 24px 48px -16px rgb(0 0 0 / .6);
  }
}
@media (min-width: 1024px) {
  .slide--poster .slide-media img {
    position: absolute; top: 40px; bottom: 96px; height: auto; width: auto; max-width: 40%;
    right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
    height: calc(100% - 136px);
    object-fit: contain; border-radius: 12px;
    box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6);
  }
  .slide--poster .slide-media::after { background: linear-gradient(90deg, rgb(20 12 14 / .55) 0%, rgb(20 12 14 / 0) 60%); }
}

/* Imagen faltante: fondo de marca */
.img-missing {
  background:
    radial-gradient(120% 90% at 85% 15%, rgb(255 0 7 / .55), transparent 60%),
    linear-gradient(135deg, #2A1E21, #120C0E);
}
.img-missing img { visibility: hidden; }

/* ---------- Riel de promociones ---------- */
.rail-section { padding-block: 28px 8px; border-bottom: 1px solid var(--line); }
.rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rail-title { font-size: var(--fs-lg); display: flex; align-items: center; gap: 10px; }
.rail-title .count { font-size: var(--fs-xs); font-weight: 600; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 3px 9px; letter-spacing: .02em; }
.rail-hint { color: var(--muted); font-size: var(--fs-sm); }
.rail-scroller { position: relative; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); scrollbar-width: thin; scrollbar-color: var(--line) transparent; -webkit-overflow-scrolling: touch; }
.rail-scroller::-webkit-scrollbar { height: 6px; }
.rail-scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.rail { display: flex; gap: 14px; padding-block: 18px 22px; width: max-content; max-width: none; margin: 0;
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); }
.rail li { scroll-snap-align: start; }
.rail-item {
  width: 184px; display: grid; gap: 10px; text-align: left;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
}
.rail-thumb { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.rail-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.rail-item:hover .rail-thumb img { transform: scale(1.05); }
.rail-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--red); transition: box-shadow .25s; }
.rail-item[aria-current="true"] .rail-thumb::after { box-shadow: inset 0 0 0 3px var(--red); }
.rail-name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); line-height: 1.25; }
.rail-meta { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-xs); color: var(--muted); margin-top: 3px; }
.rail-item[aria-current="true"] .rail-name { color: var(--red-text); }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-sand { background: var(--sand); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2, .about-body h2, .contact-info h2 { font-size: var(--fs-2xl); }
h2 em {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  color: var(--red-text); letter-spacing: -0.01em; font-size: 1.12em;
}

/* ---------- Destacados: tarjetas tipo pasaje ---------- */
.tickets-pager { display: none; justify-content: center; gap: 6px; margin-top: 4px; }
.tickets-pager span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.tickets-pager span.is-on { width: 18px; border-radius: 3px; background: var(--red); }
.tickets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ticket {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ticket:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ticket-media { position: relative; display: block; aspect-ratio: 4 / 3.4; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--sand); }
.ticket-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ticket:hover .ticket-media img { transform: scale(1.05); }
.ticket-media .tag { position: absolute; left: 14px; top: 14px; background: rgb(28 21 23 / .55); border-color: transparent; }
.ticket-body { padding: 20px 22px 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.ticket-body h3 { font-size: 1.35rem; }
.ticket-body h3 a { text-decoration: none; }
.ticket-body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* toda la tarjeta clickeable */
.ticket-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: var(--fs-sm); }
.ticket-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ticket-meta span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--red); margin-right: 8px; }
.ticket-stub {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px 20px;
  border-top: 2px dashed var(--line);
}
/* muescas del pasaje */
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sand);
}
.ticket-stub::before { left: -10px; }
.ticket-stub::after { right: -10px; }
.ticket-price { display: grid; line-height: 1.1; }
.ticket-price small { font-size: var(--fs-xs); color: var(--muted); }
.ticket-price strong { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ticket-go {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--red-strong); color: #fff; transition: background-color .2s, transform .3s var(--ease);
}
.ticket:hover .ticket-go { background: var(--red-dark); transform: rotate(-45deg); }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-year { display: grid; gap: 22px; align-content: start; }
.year-block { display: grid; gap: 10px; margin: 0; }
.year {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  font-size: clamp(6.5rem, 3rem + 11vw, 13rem); line-height: .82; letter-spacing: -0.02em;
  color: var(--red);
}
.year-caption { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-left: .4em; }
.about-body { display: grid; gap: 20px; padding-top: 34px; }
.about-body > p { color: var(--ink-2); max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 8px 0 0; border-top: 1px solid var(--line); max-width: 460px; }
.facts div { padding: 18px 14px 16px 0; display: grid; gap: 4px; align-content: start; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts dd { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.35; }
.services { display: flex; flex-wrap: wrap; gap: 8px; }
.services li { padding: 7px 14px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500; }
.about-body .link-arrow { justify-self: start; margin-top: 4px; }

.cambios {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 28px;
  padding: 26px 30px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--paper) 55%, var(--red-tint));
}
.cambios-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--panel-ink); }
.cambios-icon .ic { width: 26px; height: 26px; }
.cambios h3 { font-size: var(--fs-lg); margin-bottom: 4px; }
.cambios p { color: var(--ink-2); font-size: var(--fs-sm); max-width: 62ch; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-info { display: grid; gap: 20px; }
.wa-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--panel); color: var(--panel-ink); text-decoration: none;
  transition: background-color .2s;
  margin-top: 8px;
}
.wa-card:hover { background: var(--panel-hover); }
.wa-card-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; flex: none; }
.wa-card-icon .ic { width: 26px; height: 26px; }
.wa-card-text { display: grid; line-height: 1.2; }
.wa-card-text small { font-size: var(--fs-xs); opacity: .75; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.wa-card-text strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.wa-card-arrow { margin-left: auto; opacity: .7; }
.channels { display: grid; border-top: 1px solid var(--line); }
.channels li { display: grid; grid-template-columns: 20px 118px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.channels .ic { color: var(--red-text); margin-top: 2px; }
.channels small { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.channels div { display: flex; flex-wrap: wrap; gap: 2px 14px; min-width: 0; }
.channels a, .channels span { font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.channels a:hover { color: var(--red-text); }
.channels .map-link { font-size: var(--fs-sm); color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }

.contact-form {
  background: var(--card); border-radius: 18px; box-shadow: var(--shadow);
  padding: clamp(22px, 3.5vw, 36px);
  display: grid; gap: 16px;
}
.contact-form h3 { font-size: var(--fs-lg); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 14px; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236F6467' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-strong); box-shadow: 0 0 0 4px rgb(224 0 10 / .12); }
.field input[aria-invalid="true"] { border-color: var(--red-strong); }
.field-error { font-size: var(--fs-sm); color: var(--red-text); }
.form-note { font-size: var(--fs-sm); color: var(--muted); text-align: center; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--footer-line); background: var(--footer-bg); color: rgb(255 255 255 / .78); padding-top: clamp(56px, 7vw, 80px); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer-brand p { max-width: 36ch; }
.footer-col h4 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .2); color: #fff; }
.social a:hover { background: var(--red-strong); border-color: var(--red-strong); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px));
  position: relative;
  font-size: var(--fs-xs); color: rgb(255 255 255 / .6);
}
.footer-legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgb(255 255 255 / .12); }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flotante ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px -8px rgb(0 0 0 / .45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s linear .25s;
}
.wa-fab.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease), visibility 0s; }
.wa-fab.is-visible:hover { transform: scale(1.06); }
.wa-fab .ic { width: 30px; height: 30px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .header-wa span { display: none; }
  .header-wa { width: 46px; padding: 0; min-height: 46px; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
    background: var(--paper);
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s linear .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease), visibility 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav ul a { font-size: 1.5rem; font-weight: 600; color: var(--ink); padding: 18px 0; border-radius: 0; width: 100%; }
  .main-nav ul a:hover { background: none; color: var(--red-text); }
  .nav-mobile-extra { display: grid; gap: 12px; }
  .nav-mobile-phone { text-align: center; color: var(--muted); font-size: var(--fs-sm); }
  .nav-mobile-phone a { font-size: inherit; padding: 0; display: inline; color: var(--ink); font-family: var(--font-body); font-weight: 600; }
  body.menu-open { overflow: hidden; }

  .about { grid-template-columns: 1fr; }
  .about-body { padding-top: 0; }
  .year-block { grid-template-columns: auto 1fr; align-items: end; gap: 16px; }
  .year-caption { padding-bottom: .9em; }
  .facts { max-width: none; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero { height: max(600px, min(88svh, 740px)); }
  .slide-media img { object-position: center; }
  .slide-media::after {
    background: linear-gradient(0deg, rgb(20 12 14 / .92) 0%, rgb(20 12 14 / .62) 45%, rgb(20 12 14 / .1) 75%, rgb(20 12 14 / .25) 100%);
  }
  .slide-content { padding-bottom: 104px; }
  .slide-inner { gap: 14px; }
  .slide-foot { gap: 14px; }
  .price-d { min-height: 56px; padding: 6px 28px 6px 16px; }
  .price-d strong { font-size: 1.35rem; }
  .slide-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .slide-actions .btn { padding: 0 12px; }
  .hero-controls { bottom: 26px; }
  .circle-btn { width: 42px; height: 42px; }

  .rail-item { width: 148px; }
  .rail-hint { display: none; }

  /* destacados: fila deslizable en celular */
  .tickets {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  .tickets::-webkit-scrollbar { display: none; }
  .ticket { flex: 0 0 min(80%, 300px); scroll-snap-align: start; }
  .ticket:hover { transform: none; }
  .ticket-body { padding: 16px 16px 10px; gap: 6px; }
  .ticket-body h3 { font-size: 1.125rem; }
  .ticket-meta { font-size: var(--fs-xs); gap: 4px 10px; }
  .ticket-stub { padding: 12px 16px 14px; }
  .ticket-price strong { font-size: 1.15rem; }
  .ticket-go { width: 38px; height: 38px; }
  .tickets-pager { display: flex; }

  .cambios { grid-template-columns: auto 1fr; padding: 22px; }
  .cambios .btn { grid-column: 1 / -1; }
  .channels li { grid-template-columns: 20px minmax(0, 1fr); }
  .channels li div { grid-column: 2; }
  .field-row { grid-template-columns: minmax(0, 1fr) 104px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-fab { width: 54px; height: 54px; right: 14px; }
}

@media (max-width: 380px) {
  .logo { height: 32px; }
  .header-bar { gap: 12px; }
  .header-actions { gap: 6px; }
  .slide-actions { grid-template-columns: 1fr; }
  .hero { height: max(640px, min(92svh, 760px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .slide-media img, .slide.is-active .slide-media img { transform: none; }
}
