/* ==============================
   PAQUETE PRINCIPAL
============================== */

#paquete-principal {
  position: relative;
  overflow: hidden;
}

#paquete-principal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/paq-sec.fondo.png');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.package-header {
  text-align: center;
  margin-bottom: 48px;
}

.package-header .price-badge {
  display: inline-block;
  background: var(--sky);
  color: var(--white);
  padding: 8px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 8px;
}

.day-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.day-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
  cursor: default;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.day-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.05) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
  transition: opacity 0.4s;
}

.day-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.day-card:hover::before {
  opacity: 0.85;
}

.day-card .card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
}

.day-card .card-accent.sun { background: var(--sun); }
.day-card .card-accent.mountain { background: var(--mountain); }
.day-card .card-accent.leaf { background: var(--leaf); }

.day-card .card-body {
  position: relative;
  z-index: 2;
  padding: 32px;
  width: 100%;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.15);
  transition: padding 0.3s;
}

.day-card:hover .card-body {
  background: rgba(255,255,255,0.15);
}

.day-card .day-number {
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 2px;
}

.day-card .day-number.sun-color { color: var(--sun); }
.day-card .day-number.mountain-color { color: var(--mountain); }
.day-card .day-number.leaf-color { color: var(--leaf); }

.day-card h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 10px;
}

.day-card .card-activities {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.day-card:hover .card-activities {
  max-height: 250px;
}

.day-card .card-activities li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  list-style: none;
  position: relative;
  padding-left: 14px;
  white-space: nowrap;
}

.day-card .card-activities li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--sun);
}

.day-card .card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sun);
}

.day-card .card-price span {
  font-weight: 300;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ==============================
   EXPERIENCIAS — SPLIT SCREEN
============================== */

#experiencias {
  position: relative;
  overflow: hidden;
}

#experiencias::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/exp-sec-fondo.png');
  background-size: cover;
  background-position: 50% 50%;
  pointer-events: none;
}

#experiencias .container {
  margin-left: auto;
  margin-right: 0;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 28px;
  border: none;
  background: transparent;
  color: rgba(44,44,44,0.5);
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--sun);
  transition: width 0.3s;
}

.tab-btn:hover {
  color: var(--charcoal);
}

.tab-btn.active {
  color: var(--charcoal);
}

.tab-btn.active::after {
  width: 40%;
}

.split-panel {
  display: none;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.split-panel.active {
  display: flex;
  animation: fadeSlideIn 0.5s ease;
}

.split-image {
  flex: 0 0 55%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

.split-content {
  flex: 1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content .tab-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.split-content h3 {
  font-size: 1.5rem;
  color: var(--charcoal);
}

.split-content .tab-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sun);
}

.split-content ul {
  list-style: none;
  columns: 2;
  column-gap: 24px;
  margin-bottom: 24px;
}

.split-content ul li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 1rem;
  break-inside: avoid;
}

.split-content ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--leaf);
  font-weight: 700;
}

.split-content .btn {
  align-self: flex-start;
  padding: 12px 32px;
}

.split-content .tab-note {
  font-size: 0.85rem;
  color: rgba(44,44,44,0.5);
  margin-top: -12px;
  margin-bottom: 24px;
}

.split-content .tab-note strong {
  color: var(--sun);
}

/* ==============================
   PRECIOS
============================== */

#precios {
  background: var(--white);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.04);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

.price-card .card-top-bar {
  height: 4px;
  flex-shrink: 0;
}

.price-card .card-top-bar.sun-bg { background: var(--sun); }
.price-card .card-top-bar.sky-bg { background: var(--sky); }
.price-card .card-top-bar.leaf-bg { background: var(--leaf); }

.price-card.featured {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(3,0,103,0.10);
  border-color: rgba(254,201,1,0.2);
}

.price-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.price-card .card-body {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-card h3 {
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.price-card .price-card-dest {
  font-size: 0.82rem;
  color: rgba(44,44,44,0.45);
  margin-bottom: 18px;
  font-weight: 300;
}

.price-card .price-amount {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.price-card .price-note {
  font-size: 0.9rem;
  color: rgba(44,44,44,0.5);
  margin-bottom: 4px;
}

.price-card .price-sub {
  font-size: 0.85rem;
  color: rgba(44,44,44,0.4);
  margin-bottom: 20px;
}

.price-card .btn {
  margin-top: auto;
  padding: 12px 32px;
}

/* ==============================
   POR QUÉ
============================== */

#por-que {
  position: relative;
  overflow: hidden;
}

#por-que::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/pq-sec-fondo.png');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  pointer-events: none;
}

#por-que .container {
  max-width: 900px;
  margin-left: 0;
}

.pq-rotator {
  position: relative;
}

.pq-wrapper {
  overflow: hidden;
}

.benefits-grid {
  display: flex;
  gap: 8px;
  width: 100%;
  transition: transform 0.5s ease;
}

.benefit-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
  cursor: default;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  flex: 0 0 calc((100% - 16px) / 3);
}

.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0) 100%);
  z-index: 1;
  transition: opacity 0.4s;
}

.benefit-card:hover::before {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.benefit-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.benefit-body {
  position: relative;
  z-index: 2;
  padding: 32px;
  width: 100%;
}

.benefit-card .benefit-stat {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.benefit-card .benefit-stat.sun-text { color: var(--sun); }
.benefit-card .benefit-stat.sky-text { color: var(--sky); }
.benefit-card .benefit-stat.leaf-text { color: var(--leaf); }
.benefit-card .benefit-stat.mountain-text { color: var(--mountain); }

.benefit-card h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  line-height: 1.6;
}

.pq-btn {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--sun);
  color: var(--charcoal);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pq-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(254,201,1,0.3);
}

.pq-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pq-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(44,44,44,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pq-dot.active {
  background: var(--sun);
  transform: scale(1.3);
}

/* ==============================
   CONTACTO
============================== */

#contacto {
  background: var(--sky);
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/contacto-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  background-attachment: fixed;
}

#contacto .container {
  position: relative;
  z-index: 1;
}

#contacto h2 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 10px;
}

#contacto .contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  font-weight: 300;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==============================
   MODAL
============================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 0, 103, 0.4);
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: modalIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(3,0,103,0.15);
}

.modal-box h3 {
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.modal-box p {
  font-size: 0.9rem;
  color: rgba(44,44,44,0.6);
  margin-bottom: 24px;
}

.modal-box .btn {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(44,44,44,0.3);
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--charcoal);
}

/* ==============================
   FOOTER
============================== */

footer {
  background: #02004a;
  color: rgba(255,255,255,0.5);
  padding: 36px 20px;
  text-align: center;
}

footer .footer-logo-img {
  height: 40px;
  margin-bottom: 6px;
}

footer .rnt {
  font-size: 0.8rem;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.35);
}

footer .footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

footer .footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: var(--sun);
}

footer .copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ==============================
   NOSOTROS
============================== */

#nosotros {
  position: relative;
  overflow: hidden;
}

#nosotros::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/nosotros-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.80;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.nosotros-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.nosotros-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

.nosotros-card .nc-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nosotros-card .nc-body {
  padding: 28px 24px;
  text-align: center;
}

.nosotros-card h3 {
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.nosotros-card p {
  font-size: 0.95rem;
  color: rgba(44,44,44,0.7);
  line-height: 1.7;
  font-weight: 300;
}

.nosotros-cierre {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 28px;
  background: linear-gradient(135deg, var(--sky), #02004a);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(3,0,103,0.15);
}

.nosotros-cierre p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  font-weight: 300;
}

.nosotros-cierre strong {
  color: var(--sun);
  font-weight: 700;
}
