/* =========================================================
   VIVE VIAJANDO SLP — base.css
   "Moderno vibrante": reset, variables de marca, tipografía
   y utilidades base — paleta cálida y formas redondeadas,
   inspiradas en los colores del logo pero ordenadas a solo
   3 acentos de color.
   ========================================================= */

:root {
  /* Acentos de marca (paleta "Moderno vibrante") */
  --brand-coral: #FF6B4A;
  --brand-coral-dark: #E04E2E;
  --brand-yellow: #FFD166;
  --brand-magenta: #E0457A;
  --brand-navy: #201830;

  --brand-gradient: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-coral) 55%, var(--brand-magenta) 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(255,209,102,.16) 0%, rgba(255,107,74,.16) 55%, rgba(224,69,122,.16) 100%);

  /* Verde WhatsApp reservado únicamente para la burbuja flotante (icono reconocible) */
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe5b;

  /* Tinta: morado-marino cálido, no negro/gris de plantilla */
  --ink: var(--brand-navy);
  --ink-soft: #4A4160;
  --ink-faint: #8A8199;

  /* Papel: crema cálido */
  --paper: #FFF7EE;
  --paper-deep: #FBEEE0;
  --paper-line: #EDE0CF;
  --bg: var(--paper);
  --bg-soft: var(--paper-deep);
  --bg-tint: #FFEDE0;
  --line: var(--paper-line);
  --card: #FFFFFF;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  /* Alias de compatibilidad: ya no usamos una mono aparte, todo vive en la misma familia */
  --font-mono: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;
  /* Alias de compatibilidad: las formas "cortadas" del tema anterior ahora son
     esquinas redondeadas — se resuelven a "none" y cada componente define su
     propio border-radius explícito. */
  --clip-cut: none;
  --clip-cut-sm: none;

  --shadow-sm: 0 2px 10px rgba(32, 24, 48, 0.07);
  --shadow-md: 0 14px 34px rgba(32, 24, 48, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(32, 24, 48, 0.32);

  --container: 1180px;
  --header-h: 84px;
}

* , *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 700; font-style: normal; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }

/* Etiqueta tipo "pastilla" con acento de color, reemplaza el look de código de boleto */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-magenta);
  margin-bottom: 16px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(224, 69, 122, .1);
}
.eyebrow::before { content: "✈ "; }

.section-head { max-width: 680px; margin: 0 0 46px; position: relative; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* Palabra de fondo enorme — apagada por defecto, no encaja con el look vibrante y limpio */
.watermark { display: none; }

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subrayado con el degradado de marca */
.ink-underline {
  position: relative;
  white-space: nowrap;
}
.ink-underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: -0.02em;
  height: .2em;
  background: var(--brand-gradient);
  opacity: .5;
  border-radius: 2px;
  z-index: -1;
}

/* ---------- Botones: pastilla redondeada, consistentes por acción ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

/* Cualquier botón que dispare la misma acción (cotizar por WhatsApp) usa el
   mismo relleno coral — .btn--primary y .btn--whatsapp son visualmente
   idénticos a propósito. */
.btn--primary,
.btn--whatsapp {
  background: var(--brand-coral);
  color: #fff;
  box-shadow: 0 14px 30px -8px rgba(255, 107, 74, .55);
}
.btn--primary:hover,
.btn--whatsapp:hover {
  background: var(--brand-coral-dark);
  box-shadow: 0 18px 36px -8px rgba(255, 107, 74, .6);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--outline:hover { box-shadow: inset 0 0 0 2px var(--brand-coral); color: var(--brand-coral-dark); transform: translateY(-2px); }

.btn--white {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--brand-coral-dark); }

.btn--sm { padding: 12px 22px; font-size: .86rem; }
.btn--lg { padding: 19px 40px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* Chip de estadística: pastilla blanca redondeada (reemplaza el sello de pasaporte) */
.stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 108px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  flex-shrink: 0;
}
.stamp strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  color: var(--ink);
}
.stamp span {
  font-size: .68rem;
  letter-spacing: .01em;
  color: var(--ink-faint);
  display: block;
  margin-top: 6px;
  line-height: 1.2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--brand-yellow);
  font-size: .8rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: .01em;
}

.chip {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
}

/* Fotos: marco redondeado limpio, sin rotación ni cinta adhesiva */
.polaroid {
  background: var(--card);
  padding: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.polaroid img { width: 100%; display: block; border-radius: var(--radius-lg); }
.polaroid figcaption {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.polaroid--right { transform: none; }
.polaroid::before { content: none; }

/* Divisor simple entre secciones (reemplaza la "ruta de vuelo" punteada) */
.route-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--brand-coral);
  opacity: .7;
  padding: 6px 0;
}
.route-divider svg { width: 20px; height: 20px; flex-shrink: 0; }
.route-divider__line {
  flex: 1;
  max-width: 220px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--brand-gradient);
  opacity: .5;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* El estado oculto solo aplica si JavaScript se ejecutó (ver script inline en <head>).
   Así, si JS falla o está deshabilitado, todo el contenido es visible por defecto. */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
/* Debe ganar en especificidad a "html.js .reveal" para poder revertir el
   ocultamiento una vez que script.js agrega esta clase. */
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 720px) {
  .stamp { min-width: 84px; padding: 12px 14px; }
}
