
/* ═══════════════════════════════════════
   HERO SLIDESHOW — carrusel de destinos
═══════════════════════════════════════ */
.hero-slideshow { position: absolute; inset: 0; overflow: hidden; background: var(--primary-dark); }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-tag {
  position: absolute; bottom: 30px; right: 30px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  background: rgba(10,26,70,.55); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: 6px 16px; border-radius: 50px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: .3px;
}
@media (max-width: 600px) {
  .hero-slide-tag { bottom: 16px; right: 16px; font-size: 0.68rem; padding: 5px 12px; }
}

/* ═══════════════════════════════════════
   CARD IMG — mostrar la imagen completa
   sin recortarla (catálogo, paquetes, etc.)
═══════════════════════════════════════ */
.card-img {
  display: flex; align-items: center; justify-content: center;
  background: var(--light);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.package-card:hover .card-img img { transform: none; }

/* ═══════════════════════════════════════
   BRANDS CAROUSEL — logos de navieras
═══════════════════════════════════════ */
.brands-carousel { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.brands-track { display: flex; align-items: center; gap: 44px; width: max-content; animation: brandsScroll 28s linear infinite; }
.brands-carousel:hover .brands-track { animation-play-state: paused; }
.brand-item { position: relative; display: flex; align-items: center; justify-content: center; height: 46px; flex-shrink: 0; }
.brand-item img { max-height: 100%; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: var(--transition); }
.brand-item:hover img { filter: grayscale(0); opacity: 1; }
.brand-item span { font-weight: 800; color: var(--gray); font-size: .9rem; white-space: nowrap; }
.brand-new { position: absolute; top: -10px; right: -14px; background: var(--accent); color: #fff; font-size: .58rem; font-weight: 800; padding: 2px 6px; border-radius: 50px; }
@keyframes brandsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   ABOUT GRID — Nosotros page
═══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-img-col {
  position: relative;
}
.about-img-col img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-lg);
  top: 14px; left: 14px;
  z-index: -1;
  pointer-events: none;
}
.about-content-col h2 {
  font-size: clamp(1.4rem,3vw,1.9rem);
  font-weight: 800; color: var(--primary);
  margin-bottom: 16px; line-height: 1.25;
}
.about-content-col p {
  color: var(--gray); margin-bottom: 13px;
  line-height: 1.8; font-size: clamp(0.85rem,2vw,0.95rem);
}

/* ═══════════════════════════════════════
   MISIÓN / VISIÓN GRID — always 2 cols on desktop
═══════════════════════════════════════ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mv-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.mv-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.mv-card h3 {
  font-size: 1.15rem; font-weight: 800;
  color: var(--primary); margin-bottom: 12px;
}
.mv-card p {
  color: var(--gray); line-height: 1.8; font-size: .9rem;
}

/* ═══════════════════════════════════════
   DETALLE GRID — paquete / evento pages
═══════════════════════════════════════ */
.detalle-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}
.detalle-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

/* ═══════════════════════════════════════
   IMAGE POPUP
═══════════════════════════════════════ */
#imgPopup {
  animation: fadeInPopup .2s ease;
}
@keyframes fadeInPopup {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#imgPopup img {
  animation: scaleInPopup .25s ease;
}
@keyframes scaleInPopup {
  from { transform: scale(.92); }
  to   { transform: scale(1); }
}

/* ═══════════════════════════════════════
   PACKAGES GRID — 4 cols on large screens
═══════════════════════════════════════ */
@media (min-width: 1100px) {
  .packages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE OVERRIDES
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid       { grid-template-columns: 1fr; gap: 28px; }
  .about-img-col img { height: 280px; }
  .about-img-col::after { display: none; }
  .detalle-grid     { grid-template-columns: 1fr; }
  .detalle-sidebar  { position: static; }
}
@media (max-width: 768px) {
  .mv-grid          { grid-template-columns: 1fr; }
  .packages-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .packages-grid    { grid-template-columns: 1fr; }
  .about-img-col img { height: 220px; }
}
