/* ==============================================================================
   DESEO CARIBE — HERO PAGE STYLESHEET
   Sistema de diseño: "LINEAR NOIR"
   Referencia estética: linear.app — negro profundo, plata y blanco.
   ------------------------------------------------------------------------------
   CÓMO EDITAR ESTE ARCHIVO
   1. Todo color, tipografía, radio y sombra vive en :root (sección 1).
      Cambia un valor ahí y se propaga a todo el sitio.
   2. Las secciones están numeradas y ordenadas tal como aparecen en el HTML,
      de arriba (header) hacia abajo (footer).
   3. Las clases de animación (.fade-up, tarjetas, etc.) están documentadas
      en la sección 3 — no dupliques @keyframes, reutiliza los existentes.
   4. Respeta prefers-reduced-motion (sección 12) al agregar animaciones nuevas.
   ============================================================================== */


/* ==============================================================================
   1. TOKENS DE DISEÑO (paleta, tipografía, espaciado, sombras)
   ============================================================================== */
:root {

  /* --- Fondos: escala de negros (del más profundo al más elevado) ------------- */
  --bg-abyss:        #020203;  /* Negro absoluto — footer, base de body           */
  --bg-void:         #050506;  /* Negro base — hero, secciones primarias          */
  --bg-deep:         #0a0b0e;  /* Negro ligeramente elevado — secciones alternas  */
  --bg-elevated:     #111318;  /* Paneles / tarjetas sobre negro                  */
  --bg-elevated-2:   #191b21;  /* Hover de tarjetas, respuestas de FAQ abiertas   */

  /* --- Bordes y líneas discretas (siempre blanco a baja opacidad) ------------- */
  --border-subtle:   rgba(255, 255, 255, 0.07);
  --border-medium:   rgba(255, 255, 255, 0.14);
  --border-strong:   rgba(255, 255, 255, 0.24);

  /* --- Plata y blanco: texto y superficies claras ----------------------------- */
  --silver-bright:   #f2f3f5;  /* Titulares — máximo contraste sobre negro        */
  --silver:          #c6cad3;  /* Cuerpo de texto principal                       */
  --silver-muted:    #888d98;  /* Texto secundario / metadatos                    */
  --silver-dim:      #52565f;  /* Detalles muy discretos, iconos inactivos        */
  --white-pure:      #ffffff;  /* Máximo brillo — botones primarios, focos        */

  /* --- Acento: violeta-índigo discreto (guiño directo a linear.app) ----------- */
  --accent:          #6e77ff;
  --accent-bright:   #9aa0ff;
  --accent-dim:      rgba(110, 119, 255, 0.14);
  --accent-glow:     rgba(110, 119, 255, 0.38);

  /* --- Tipografía -------------------------------------------------------------- */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Escala tipográfica fluida (clamp = mínimo, preferido, máximo) */
  --fs-hero:   clamp(2.35rem, 1.2rem + 4.2vw, 4.35rem);
  --fs-h2:     clamp(1.85rem, 1.3rem + 2vw, 2.75rem);
  --fs-h3:     clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-lead:   clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  --fs-body:   clamp(0.98rem, 0.93rem + 0.2vw, 1.05rem);
  --fs-small:  clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);

  /* --- Radios, sombras y transiciones ------------------------------------------ */
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   26px;
  --radius-pill: 999px;

  --shadow-sm:   0 2px 14px rgba(0, 0, 0, 0.35);
  --shadow-md:   0 16px 45px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 20px 60px var(--accent-glow);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --section-pad: clamp(64px, 5vw + 32px, 120px);
}

/* ==============================================================================
   2. RESET Y BASE
   ============================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--silver);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

::selection {
  background: var(--accent);
  color: var(--white-pure);
}

/* Foco visible para navegación por teclado — accesibilidad, no decorativo */
a:focus-visible,
button:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================================================================
   3. ANIMACIONES GLOBALES (scroll reveal + utilidades)
   ============================================================================== */

/* Revelado al hacer scroll: opacidad + leve desplazamiento vertical */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger discreto: cuando varias .fade-up son hermanas directas de una grilla,
   cada una se retrasa un poco más que la anterior para un efecto de cascada. */
.feature-grid .fade-up:nth-child(2),
.testimonial-grid .fade-up:nth-child(2) { transition-delay: 0.06s; }
.feature-grid .fade-up:nth-child(3),
.testimonial-grid .fade-up:nth-child(3) { transition-delay: 0.12s; }
.feature-grid .fade-up:nth-child(4),
.testimonial-grid .fade-up:nth-child(4) { transition-delay: 0.18s; }
.feature-grid .fade-up:nth-child(5),
.testimonial-grid .fade-up:nth-child(5) { transition-delay: 0.24s; }
.feature-grid .fade-up:nth-child(6),
.testimonial-grid .fade-up:nth-child(6) { transition-delay: 0.30s; }
.feature-grid .fade-up:nth-child(7),
.testimonial-grid .fade-up:nth-child(7) { transition-delay: 0.36s; }
.feature-grid .fade-up:nth-child(8),
.testimonial-grid .fade-up:nth-child(8) { transition-delay: 0.42s; }
.feature-grid .fade-up:nth-child(9),
.testimonial-grid .fade-up:nth-child(9) { transition-delay: 0.48s; }

/* ==============================================================================
   4. HEADER / NAVEGACIÓN
   ============================================================================== */
header {
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.logo-link {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--silver);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease-soft);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-bright);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:not(.btn-outline):hover::after { width: 100%; }
.nav-links a:not(.btn-outline):hover { color: var(--silver-bright); }

.btn-outline {
  border: 1px solid var(--border-strong);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  color: var(--silver-bright);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}
.btn-outline:hover {
  border-color: var(--white-pure);
  background: rgba(255, 255, 255, 0.06);
}
.menu-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--silver-bright);
  cursor: pointer;
}

/* ==============================================================================
   5. HERO — fondo con grilla, resplandor y partículas ascendentes
   ============================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%, #121420 0%, var(--bg-void) 55%),
    var(--bg-void);
  color: var(--silver-bright);
  overflow: hidden;
  isolation: isolate;
}

/* Capa 1: grilla técnica muy discreta, se desvanece hacia los bordes */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}

/* Capa 2: resplandor índigo que sigue al cursor (JS actualiza --mx / --my) */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 18%), var(--accent-glow), transparent 45%);
  opacity: 0.55;
  pointer-events: none;
}

/* Capa 3: canvas de partículas plateadas ascendiendo (ver script al final del blade) */
#heroParticles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--silver-bright);
}
.hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--silver-bright) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 38px;
}
.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-lead);
  color: var(--silver);
}
.hero-features li i {
  color: var(--accent-bright);
  margin-top: 5px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==============================================================================
   6. BOTONES (usados en header, hero y tarjetas)
   ============================================================================== */
.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #d7dbe4 100%);
  color: #0a0a0c;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  box-shadow: var(--shadow-glow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 26px 70px var(--accent-glow);
}
.btn-primary i { transition: transform 0.3s var(--ease-out); }
.btn-primary:hover i { transform: translateX(3px); }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--silver-bright);
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}
.btn-secondary:hover {
  border-color: var(--white-pure);
  background: rgba(255, 255, 255, 0.05);
}

.btn-card {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 26px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-medium);
  color: var(--silver-bright);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.3s var(--ease-soft), transform 0.2s var(--ease-soft);
}
.btn-card:hover {
  border-color: var(--accent-bright);
  transform: translateY(-2px);
}

/* ==============================================================================
   7. TÍTULOS DE SECCIÓN (compartidos)
   ============================================================================== */
.section {
  padding: var(--section-pad) 0;
  background: var(--bg-void);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--silver-bright);
}
.section-sub {
  color: var(--silver-muted);
  font-size: var(--fs-lead);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ==============================================================================
   8. ACERCA DE NOSOTROS
   ============================================================================== */
#tours.section {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}
.about-panel {
  position: relative;
  max-width: 780px;
  padding: 36px 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-md);
}
.about-panel h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--silver-bright);
  margin-bottom: 14px;
}
.about-panel p {
  color: var(--silver);
  font-size: var(--fs-body);
}

/* ==============================================================================
   9. "EL PAQUETE INCLUYE" — grilla de tarjetas
   ============================================================================== */
.testimonials {
  background: var(--bg-void);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.testi-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.testi-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--bg-elevated-2);
}
.testi-item i {
  color: var(--accent-bright);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.testi-item p {
  color: var(--silver);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==============================================================================
   10. BENEFICIOS — narrativa + grilla de funciones + cierre
   ============================================================================== */
#contacto.section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  /* [MODIFICACIÓN] "overflow: hidden" contiene las nuevas capas de fondo dentro
     del section (para que la máscara radial no se desborde) e "isolation: isolate"
     crea un contexto de apilamiento propio — exactamente lo mismo que hace .hero
     en la sección 5, para que z-index funcione igual de predecible aquí. */
  overflow: hidden;
  isolation: isolate;
}
#contacto .section-title,
#contacto .section-sub { color: var(--silver-bright); }
#contacto .section-sub { color: var(--silver-muted); }

/* ------------------------------------------------------------------------------
   [MODIFICACIÓN] FONDO "DASHBOARD" PARA #contacto
   --------------------------------------------------------------------------------
   Se reutiliza la MISMA técnica visual del hero (sección 5 → .hero-grid /
   .hero-glow) para que la sección de Beneficios —que justamente habla del
   dashboard del producto— quede conectada visualmente al hero, siguiendo el
   lenguaje de fondos con cuadrícula técnica + resplandor de linear.app.

   .contacto-grid → misma cuadrícula que .hero-grid (líneas blancas al 7% de
                    opacidad, var(--border-subtle)), enmascarada con un
                    radial-gradient para que se desvanezca hacia los bordes y
                    no compita visualmente con las tarjetas de .feature-grid.
                    Se usa un tamaño de celda algo menor (48px vs. 56px del
                    hero) para reforzar la sensación de "panel de datos".

   .contacto-glow → resplandor índigo (var(--accent-glow), el mismo tono del
                    hero) colocado en dos focos fijos (esquina superior
                    izquierda + inferior derecha). A diferencia de .hero-glow,
                    éste NO sigue al cursor: es una sección de contenido, no
                    el hero, así que no necesita el JS de pointermove.

   Ambas capas son puramente decorativas (aria-hidden en el HTML) y quedan
   DETRÁS del contenido: llevan z-index: 0, mientras que el .container de la
   sección recibe z-index: 2 (ver regla "#contacto > .container" más abajo).
   ------------------------------------------------------------------------------ */
.contacto-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 100% 65% at 50% 0%, black 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 100% 65% at 50% 0%, black 0%, transparent 78%);
  pointer-events: none;
}
.contacto-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 10% 8%, var(--accent-glow), transparent 42%),
    radial-gradient(circle at 92% 92%, rgba(110, 119, 255, 0.16), transparent 46%);
  opacity: 0.5;
  pointer-events: none;
}
/* El contenido real (título, narrativa, tarjetas, cierre) sube por encima
   de las dos capas de fondo anteriores. */
#contacto > .container {
  position: relative;
  z-index: 2;
}

.benefit-narrative {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}
.benefit-narrative p {
  font-size: var(--fs-lead);
  color: var(--silver);
}
.benefit-narrative blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  color: var(--silver-muted);
  font-style: italic;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.feature-card {
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.feature-card i {
  color: var(--accent-bright);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.feature-card p {
  font-size: 0.98rem;
  color: var(--silver);
  line-height: 1.6;
}
.feature-card strong {
  color: var(--silver-bright);
  font-weight: 600;
}

.benefit-closing {
  max-width: 700px;
  padding: 32px 36px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-closing p {
  color: var(--silver);
  font-size: var(--fs-body);
}
.benefit-closing p:last-child {
  color: var(--accent-bright);
  font-weight: 600;
}

/* ==============================================================================
   11. PREGUNTAS FRECUENTES (FAQ)
   ============================================================================== */
#frecuentes.section {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-soft);
}
.faq-item:hover { border-color: var(--border-medium); }
.faq-item.is-open { border-color: var(--accent); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--silver-bright);
  background: transparent;
  transition: background 0.25s var(--ease-soft);
  user-select: none;
}
.faq-question:hover { background: rgba(255, 255, 255, 0.03); }
.faq-question i {
  font-size: 1rem;
  color: var(--accent-bright);
  transition: transform 0.35s var(--ease-out);
  flex-shrink: 0;
}
.faq-item.is-open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.45s var(--ease-out), padding 0.35s var(--ease-soft);
}
.faq-item.is-open .faq-answer {
  padding: 0 24px 22px;
}
.faq-answer p {
  color: var(--silver-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==============================================================================
   12. FOOTER
   ============================================================================== */
footer {
  background: var(--bg-abyss);
  border-top: 1px solid var(--border-subtle);
  color: var(--silver-muted);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  color: var(--silver-bright);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.footer-grid p { font-size: 0.92rem; line-height: 1.7; }
.footer-grid a {
  color: var(--silver-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  transition: color 0.25s var(--ease-soft);
}
.footer-grid a:hover { color: var(--silver-bright); }

/* Datos de contacto en monoespaciada — trato tipográfico de "dato" */
.footer-grid .contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--silver);
}
.footer-grid .contact-line i {
  color: var(--accent-bright);
  width: 16px;
  text-align: center;
}

.social-links { display: flex; gap: 12px; margin-top: 4px; }
.social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  color: var(--silver-muted);
  margin-bottom: 0;
  transition: border-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}
.social-links a:hover {
  border-color: var(--accent-bright);
  color: var(--silver-bright);
  background: var(--accent-dim);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--silver-dim);
}

/* ==============================================================================
   13. TARJETAS DE TOURS (heredadas — sin uso actual en esta página, se conservan
       actualizadas por si otra vista del sitio reutiliza este stylesheet)
   ============================================================================== */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.tour-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.tour-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
}
.tour-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  filter: grayscale(0.15) brightness(0.9);
}
.tour-card:hover img { transform: scale(1.04); }
.tour-body { padding: 22px 20px 26px; }
.tour-body h3 { font-size: 1.3rem; font-weight: 600; color: var(--silver-bright); margin-bottom: 8px; }
.tour-body p { color: var(--silver-muted); font-size: 0.92rem; margin-bottom: 16px; }
.tour-body .price { font-weight: 700; color: var(--accent-bright); font-size: 1.15rem; }

/* ==============================================================================
   14. RESPONSIVE — móviles, tablets, laptops, escritorios grandes / Smart TV
   ============================================================================== */

/* Pantallas grandes / Smart TV: se limita el ancho de lectura y se abre aire */
@media (min-width: 1600px) {
  .container { max-width: 1360px; }
  .hero-content { max-width: 720px; }
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-void);
    border: 1px solid var(--border-subtle);
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    padding: 22px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .hero { min-height: 78vh; }
  .about-panel { padding: 28px 24px; }
  .benefit-closing { padding: 26px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .btn-primary, .btn-secondary { padding: 13px 26px; font-size: 0.92rem; }
  .hero-buttons { gap: 12px; }
  .section { padding: 56px 0; }
}

/* ==============================================================================
   15. ACCESIBILIDAD — respeta la preferencia de movimiento reducido
   ============================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up {
    transition: opacity 0.3s ease;
    transform: none !important;
  }
  .testi-item:hover,
  .feature-card:hover,
  .tour-card:hover,
  .btn-primary:hover {
    transform: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}