/* =============================================
   Proyectur Viajes — Hoja de estilos principal
   ============================================= */

/* -------- Variables globales -------- */
:root {
  /* Colores de marca */
  --red: #ff1744;
  --red-dark: #d90035;
  --red-light: #ff5c72;
  --red-soft: #ffe6ea;

  --gray-900: #1c1f26;
  --gray-800: #2b2f38;
  --gray-700: #444b57;
  --gray-500: #6b7280;
  --gray-300: #d4d8dd;
  --gray-100: #f4f5f7;

  --white: #ffffff;

  /* Tipografía */
  --font-main: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, sans-serif;

  /* Espaciado */
  --section-padding: 5rem 1.25rem;
  --max-width: 1200px;

  /* Bordes y sombras */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(28, 31, 38, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 31, 38, 0.1);
  --shadow-red: 0 10px 30px rgba(255, 23, 68, 0.35);

  --transition: 0.25s ease;
}

/* -------- Reset básico -------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: var(--section-padding);
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-head {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 700px;
}

/* -------- Botones -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-900);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-light {
  background: var(--white);
  color: var(--red);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
}

/* =============================================
   Header
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  max-width: 1400px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 56px;
  width: auto;
}

@media (min-width: 900px) {
  .logo img {
    height: 66px;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 2.2rem;
}

.nav-desktop a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-desktop a:hover {
  color: var(--red);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--gray-900);
  border-radius: 4px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.25rem 2rem;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  z-index: 999;
}

.nav-mobile.active {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.nav-mobile a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gray-800);
}

.nav-mobile .btn {
  width: 100%;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* =============================================
   Marquee
   ============================================= */
.marquee-wrapper {
  background: var(--gray-900);
  overflow: hidden;
  padding: 0.85rem 0;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--gray-900), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--gray-900), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  color: var(--gray-300);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0 1.6rem;
}

.marquee-track span.marquee-dot {
  color: var(--red);
  padding: 0;
  font-size: 1.1rem;
}

.marquee-track span strong {
  color: var(--white);
  font-weight: 700;
  margin-right: 0.4rem;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 27, 0.55) 0%, rgba(20, 22, 27, 0.75) 55%, rgba(20, 22, 27, 0.92) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 680px;
  padding: 7rem 1.25rem 5rem;
}

.hero-content .eyebrow {
  color: var(--red-light);
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-bottom: 1.2rem;
}

.hero-content h1 span {
  color: var(--red);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =============================================
   Servicios
   ============================================= */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-100);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--red);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =============================================
   Destinos
   ============================================= */
.destinos {
  background: var(--gray-900);
}

.destinos .eyebrow {
  color: var(--red-light);
}

.destinos .section-title,
.destinos .section-head p {
  color: var(--white);
}

.destinos .section-subtitle {
  color: var(--gray-300);
}

.destinos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.destino-card {
  position: relative;
  overflow: hidden;
  height: 220px;
  display: block;
  color: var(--white);
  background: var(--gray-800);
}

.destino-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.destino-card:hover .destino-photo {
  transform: scale(1.08);
}

.destino-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 22, 27, 0.92) 0%, rgba(20, 22, 27, 0.35) 55%, rgba(20, 22, 27, 0.05) 100%);
  transition: background var(--transition);
}

.destino-card:hover .destino-overlay {
  background: linear-gradient(to top, rgba(255, 23, 68, 0.6) 0%, rgba(20, 22, 27, 0.5) 60%, rgba(20, 22, 27, 0.1) 100%);
}

.destino-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.3rem 1.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.destino-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.2;
}

.destino-desc {
  font-size: 0.78rem;
  color: var(--gray-300);
}

.destino-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  opacity: 0;
  transform: scale(0.7);
}

.destino-arrow svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.destino-card:hover .destino-arrow {
  opacity: 1;
  transform: scale(1);
  background: var(--red);
  border-color: var(--red);
}

@media (min-width: 780px) {
  .destinos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .destino-card {
    height: 260px;
  }
}

/* =============================================
   Vuelos destacados
   ============================================= */
.vuelos {
  background: var(--white);
}

.vuelos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.vuelo-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.vuelo-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-100);
}

.vuelo-photo {
  height: 220px;
  position: relative;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.vuelo-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(28, 31, 38, 0.55) 100%);
}

.vuelo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
}

.vuelo-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vuelo-region {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.vuelo-nombre {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.vuelo-dur {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vuelo-dur svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-500);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.vuelo-incluye {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

.vuelo-incluye li {
  font-size: 0.85rem;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.vuelo-incluye li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ff1744' opacity='.14'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%23ff1744' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
}

.vuelo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid var(--gray-300);
  margin-top: auto;
  gap: 0.75rem;
}

.vuelo-desde {
  font-size: 0.68rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vuelo-precio {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.02em;
}

.vuelo-cta {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.65rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.vuelo-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

@media (min-width: 700px) {
  .vuelos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .vuelos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
   Nosotros
   ============================================= */
.about {
  background: var(--gray-100);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text .eyebrow {
  color: var(--red);
}

.about-text p {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.75rem;
}

.about-stats div strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
}

.about-stats div span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.team-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 620px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gray-300);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 1.25rem 1rem 1.5rem;
}

.team-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.team-card .team-role {
  color: var(--gray-500);
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}

.team-social a:hover {
  background: var(--red);
  color: var(--white);
}

.team-social svg {
  width: 15px;
  height: 15px;
}

@media (min-width: 700px) {
  .about-intro {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 780px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: none;
  }
}

/* =============================================
   Testimonios — version original (cinta animada tipo marquee, sin
   flechas ni puntos). No comparte clases con el carrusel de Novedades
   a proposito, para que un cambio en uno nunca afecte al otro.
   ============================================= */
.testimonials {
  background: var(--white);
}

.testimonial-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 -1.25rem;
}

.testimonial-marquee::before,
.testimonial-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), transparent);
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--white), transparent);
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0 1.25rem;
  animation: testimonial-scroll 60s linear infinite;
}

.testimonial-track:hover,
.testimonial-track.paused {
  animation-play-state: paused;
}

@keyframes testimonial-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex: 0 0 clamp(280px, 80vw, 360px);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.testimonial-quote-icon {
  color: var(--red);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}

.testimonial-card p {
  color: var(--gray-700);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gray-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  color: var(--gray-500);
  font-size: 0.82rem;
}

/* =============================================
   Novedades — carrusel propio e independiente del de Testimonios.
   Estructura: .novedades-carousel > .novedades-carousel-viewport > tarjetas
               .novedades-carousel > .novedades-carousel-arrow--prev/--next
               .novedades-carousel > .novedades-carousel-dots
   El JS calcula --novedades-arrow-top para centrar las flechas sobre la
   foto de la tarjeta (no sobre el texto), sea cual sea la altura real de
   las tarjetas en cada ancho de pantalla.
   ============================================= */
.novedades-carousel {
  position: relative;
}

.novedades-carousel-viewport {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 1.25rem 0.5rem;
  margin: 0 -1.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.novedades-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.novedades-carousel-arrow {
  display: none;
  position: absolute;
  top: var(--novedades-arrow-top, 50%);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-md);
  align-items: center;
  justify-content: center;
  color: var(--gray-900);
  cursor: pointer;
  z-index: 3;
  transition: background var(--transition), color var(--transition);
}

.novedades-carousel-arrow:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.novedades-carousel-arrow:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.novedades-carousel-arrow svg {
  width: 20px;
  height: 20px;
}

/* Las flechas quedan DENTRO del borde del carrusel (no en negativo) para
   que nunca se corten contra el viewport en anchos intermedios (~900-1200px)
   donde el container no deja margen extra afuera. */
.novedades-carousel-arrow--prev {
  left: 8px;
}

.novedades-carousel-arrow--next {
  right: 8px;
}

.novedades-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.novedades-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.novedades-carousel-dot:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.novedades-carousel-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

/* Ocultas en celular: ahi queda solo el deslizado (swipe) y los puntos. */
@media (min-width: 900px) {
  .novedades-carousel-arrow {
    display: flex;
  }
}
.novedades {
  background: var(--gray-100);
}

.novedad-card {
  flex: 0 0 clamp(270px, 80vw, 320px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.novedad-label {
  display: block;
  padding: 1.1rem 1.25rem 0;
  color: var(--red);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.novedad-photo {
  aspect-ratio: 4 / 3;
  margin-top: 0.65rem;
  overflow: hidden;
  background: var(--gray-300);
}

.novedad-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.novedad-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.novedad-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.novedad-resumen {
  color: var(--gray-700);
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
  flex: 1;
}

.novedad-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.novedad-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.novedad-cta {
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.65rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.novedad-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}


/* =============================================
   CTA final
   ============================================= */
.cta-final {
  color: var(--white);
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 23, 68, 0.82) 0%, rgba(217, 0, 53, 0.72) 50%, rgba(28, 31, 38, 0.78) 100%);
  z-index: -1;
}

.cta-final .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.cta-final h2 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  margin-bottom: 1rem;
  max-width: 760px;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3), 0 4px 24px rgba(0, 0, 0, 0.35);
}

.cta-final p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 2.4rem;
  max-width: 560px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.cta-final .btn-light {
  position: relative;
  animation: cta-neon-pulse 2.4s ease-out infinite;
}

@keyframes cta-neon-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55), 0 10px 30px rgba(0, 0, 0, 0.25);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0), 0 10px 30px rgba(0, 0, 0, 0.25);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 10px 30px rgba(0, 0, 0, 0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-final .btn-light {
    animation: none;
  }
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 1.25rem 2.5rem;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a,
.footer-col address a {
  color: var(--gray-300);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-col address {
  font-style: normal;
  color: var(--gray-300);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-col ul li a:hover {
  color: var(--red-light);
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer-social a:hover {
  background: var(--red);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-300);
}

.footer-bottom a:hover {
  color: var(--red-light);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    padding-right: 6rem;
  }
}

/* -------- Botón flotante de WhatsApp -------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

/* =============================================
   Subpáginas de Destino (destinos/*.html)
   ============================================= */
.destino-breadcrumb {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}

.destino-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}

.destino-breadcrumb a:hover {
  color: var(--red);
}

.destino-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.destino-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 27, 0.3) 0%, rgba(20, 22, 27, 0.55) 55%, rgba(20, 22, 27, 0.95) 100%);
  z-index: -1;
}

.destino-hero-content {
  max-width: 720px;
  padding: 5rem 1.25rem 3rem;
}

.destino-hero-content .eyebrow {
  color: var(--red-light);
}

.destino-hero-content h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  margin-bottom: 0.9rem;
}

.destino-hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

.destino-galeria {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.galeria-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
}

@media (min-width: 700px) {
  .destino-galeria {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
   Subdestinos dentro de una página de Región
   (destinos/*.html, generadas desde data/destinos.csv)
   ============================================= */
.subdestino-group {
  margin-bottom: 3.5rem;
}

.subdestino-group:last-child {
  margin-bottom: 0;
}

.subdestino-heading {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
}

.subdestino-heading h3 {
  font-size: 1.3rem;
}

.subdestino-heading span {
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 600;
}

/* =============================================
   Índice de tipo de paquete (paquetes/index.html)
   ============================================= */
.tipos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 780px) {
  .tipos-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .tipo-card {
    height: 180px;
  }
}

.tipo-card {
  position: relative;
  overflow: hidden;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
  color: var(--white);
  transition: background var(--transition);
}

.tipo-card:hover {
  background: linear-gradient(135deg, var(--red-dark), var(--gray-900));
}

.tipo-card-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.tipo-card-count {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-300);
  font-weight: 600;
  margin-top: 0.3rem;
}

/* =============================================
   Ficha de paquete (paquete/*.html, generadas)
   ============================================= */
.paquete-breadcrumb {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  color: var(--gray-500);
}

.paquete-breadcrumb a {
  font-weight: 600;
  color: var(--gray-500);
  transition: color var(--transition);
}

.paquete-breadcrumb a:hover {
  color: var(--red);
}

.paquete-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .paquete-layout {
    grid-template-columns: 1.3fr 1fr;
  }
}

.paquete-main h2 {
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
}

.paquete-main h2:first-child {
  margin-top: 0;
}

.paquete-listas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 560px) {
  .paquete-listas {
    grid-template-columns: 1fr 1fr;
  }
}

.paquete-lista {
  list-style: none;
}

.paquete-lista li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--gray-700);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.paquete-lista li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ff1744' opacity='.14'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%23ff1744' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
}

.paquete-lista.no-incluye li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%236b7280' opacity='.14'/%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.paquete-opciones {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  list-style: none;
}

.paquete-opciones li {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-300);
}

.paquete-opciones li:last-child {
  border-bottom: none;
}

.paquete-sidebar {
  position: sticky;
  top: 100px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.paquete-sidebar-region {
  color: var(--red);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.paquete-sidebar h1 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.paquete-sidebar-tipo {
  display: inline-block;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.paquete-precio-wrap {
  padding: 1.25rem 0;
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  margin-bottom: 1.5rem;
}

.paquete-precio-desde {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.paquete-precio-valor {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.paquete-precio-valor.consultar {
  font-size: 1.3rem;
  color: var(--gray-800);
}

.paquete-precio-nota {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.paquete-fact {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--gray-700);
}

.paquete-fact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gray-500);
  margin-top: 1px;
}

.paquete-sidebar .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* =============================================
   Página de Términos y Condiciones
   ============================================= */
.legal-header {
  padding: 3rem 1.25rem 2rem;
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
}

.legal-header a.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.legal-header a.back-link:hover {
  color: var(--red);
}

.legal-header img {
  height: 42px;
  margin: 0 auto 1.5rem;
}

.legal-header h1 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.legal-header p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
  font-size: 0.92rem;
  color: var(--gray-700);
}

.legal-content h2 {
  font-size: 1.15rem;
  color: var(--gray-900);
  margin: 2.4rem 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--red-soft);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 0.9rem;
}

.legal-content ol {
  margin: 0 0 1rem 1.3rem;
}

.legal-content ol li {
  margin-bottom: 0.7rem;
  padding-left: 0.3rem;
}

.legal-content strong {
  color: var(--gray-900);
}

/* -------- Utilidades de animación al hacer scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
