/* ═══════════════════════════════════════════════════════════
   VACACIONANDO – Estilos principales
   Paleta: #1F3A5F | #2E6F95 | #F59E0B | #FFFFFF
═══════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1F3A5F;
  --blue:   #2E6F95;
  --gold:   #F59E0B;
  --white:  #FFFFFF;
  --dark:   #0f1f33;
  --gray:   #64748b;
  --light:  #f8fafc;
  --shadow: 0 20px 60px rgba(31,58,95,.15);
  --shadow-sm: 0 4px 20px rgba(31,58,95,.10);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: all .35s cubic-bezier(.4,0,.2,1);
  --font: 'Montserrat', sans-serif;
  --serif: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

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

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.hide-mobile { display: inline; }

/* ─── Scroll animations ─────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }
[data-aos][data-aos-delay="300"] { transition-delay: .3s; }
[data-aos][data-aos-delay="400"] { transition-delay: .4s; }
[data-aos="fade-right"] { transform: translateX(-36px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(36px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold), #e8900a);
  color: var(--white); font-weight: 700; font-size: .95rem;
  padding: 14px 32px; border-radius: 50px;
  box-shadow: 0 8px 30px rgba(245,158,11,.35);
  transition: var(--transition); border: none; cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(245,158,11,.45); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  color: var(--white); font-weight: 600; font-size: .95rem;
  padding: 14px 32px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,.5);
  transition: var(--transition); cursor: pointer;
  white-space: nowrap;
}
.btn-whatsapp:hover { background: #25D366; border-color: #25D366; transform: translateY(-3px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--blue); color: var(--blue);
  font-weight: 600; font-size: .95rem;
  padding: 13px 32px; border-radius: 50px;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

/* ─── Section headers ───────────────────────────────────── */
.section-tag {
  display: inline-block; background: rgba(46,111,149,.1);
  color: var(--blue); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px;
  margin-bottom: 14px;
}
.section-tag.white { background: rgba(255,255,255,.2); color: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-title em { font-style: italic; color: var(--gold); font-family: var(--serif); }
.section-desc { font-size: 1.05rem; color: var(--gray); max-width: 520px; margin: 0 auto; }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(15,31,51,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 40px rgba(0,0,0,.25);
  padding: 0;
}

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto; padding: 18px 24px;
  transition: padding .3s ease;
}
.navbar.scrolled .nav-container { padding: 12px 24px; }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 56px; height: 56px; flex-shrink: 0; filter: drop-shadow(0 2px 10px rgba(0,0,0,.28)); }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-size: .95rem; font-weight: 900; color: var(--white);
  letter-spacing: .08em; line-height: 1.1;
}
.logo-main em { font-style: normal; color: var(--gold); }
.logo-sub { font-size: .65rem; color: var(--gold); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

/* Nav menu */
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: var(--transition); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--gold); border-radius: 2px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { left: 14px; right: 14px; }

/* Nav WhatsApp */
.btn-whatsapp-nav {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: var(--white);
  font-size: .85rem; font-weight: 700;
  padding: 9px 20px; border-radius: 50px;
  transition: var(--transition);
}
.btn-whatsapp-nav:hover { background: #1ebe5c; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.4); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 12s ease infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,31,51,.8) 0%, rgba(31,58,95,.6) 50%, rgba(15,31,51,.75) 100%);
}

/* Particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(245,158,11,.25);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 120px 24px 60px; max-width: 820px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,.2); color: var(--gold);
  border: 1px solid rgba(245,158,11,.4);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 7px 18px; border-radius: 50px;
  margin-bottom: 24px; backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; color: var(--white);
  line-height: 1.05; margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.hero-title em { font-family: var(--serif); font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.85);
  margin-bottom: 40px; font-weight: 400; line-height: 1.7;
}
.hero-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-btn { font-size: 1rem; padding: 16px 36px; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  padding: 20px 40px; border-radius: 16px;
  flex-wrap: wrap; gap: 20px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.stat span { font-size: .78rem; color: rgba(255,255,255,.75); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.25); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; z-index: 2;
}
.scroll-wheel {
  width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.4);
  border-radius: 11px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-dot { width: 4px; height: 8px; background: var(--gold); border-radius: 2px; animation: scrollDot 1.8s ease infinite; }
@keyframes scrollDot { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: .3; } }

/* ══════════════════════════════════════════════════════════
   SEARCH SECTION
══════════════════════════════════════════════════════════ */
.search-section { padding: 0; position: relative; z-index: 10; margin-top: -56px; }

.search-card {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(31,58,95,.2);
  overflow: hidden;
}

.search-tabs {
  display: flex; border-bottom: 1px solid rgba(31,58,95,.08);
  padding: 0 8px;
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 20px; font-size: .88rem; font-weight: 600;
  color: var(--gray); background: none; border: none;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  cursor: pointer; transition: var(--transition);
}
.tab:hover { color: var(--blue); }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); }

.search-form { padding: 28px 20px 28px; }
.search-fields {
  display: grid; grid-template-columns: 1fr auto 1fr 1fr;
  gap: 0; align-items: end; margin-bottom: 20px;
}
.field-divider {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 8px; flex-shrink: 0; font-size: .85rem; margin-bottom: 2px;
}
.field-group { display: flex; flex-direction: column; gap: 7px; padding: 0 8px; }
.field-group label { font-size: .75rem; font-weight: 700; color: var(--navy); letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.field-group label i { color: var(--blue); }
.field-group input, .field-group select {
  border: 1.5px solid rgba(31,58,95,.12); border-radius: 10px;
  padding: 12px 14px; font-size: .92rem; color: var(--navy);
  background: var(--white); transition: var(--transition); outline: none;
  appearance: none; -webkit-appearance: none;
}
.field-group input:focus, .field-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,111,149,.1); }
.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232E6F95' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 36px; cursor: pointer;
}

.btn-search {
  width: 100%; background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white); font-weight: 700; font-size: 1rem;
  padding: 15px; border-radius: 12px; border: none; cursor: pointer;
  transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-search:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(31,58,95,.3); }

/* ══════════════════════════════════════════════════════════
   DESTINOS
══════════════════════════════════════════════════════════ */
.destinos-section { background: var(--light); }

.destinos-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.destino-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); cursor: pointer;
}
.destino-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.destino-card.featured { box-shadow: 0 0 0 3px var(--gold), var(--shadow); }

.card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.destino-card:hover .card-img-wrap img { transform: scale(1.08); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,31,51,.7) 0%, transparent 55%); }

.card-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 50px;
}
.card-badge.hot   { background: #ef4444; color: var(--white); }
.card-badge.best  { background: var(--gold); color: var(--white); }
.card-badge.new   { background: #10b981; color: var(--white); }
.card-badge.luxury { background: var(--navy); color: var(--gold); }

.card-tag {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  color: var(--white); font-size: .72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.3);
}

.card-body { padding: 20px; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.card-top h3 { font-size: 1.25rem; font-weight: 800; }
.card-rating { display: flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--gold); }
.card-rating i { font-size: .75rem; }
.card-body > p { font-size: .88rem; color: var(--gray); margin-bottom: 14px; line-height: 1.6; }

.card-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.card-features span {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(46,111,149,.08); color: var(--blue);
  font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 50px;
}

.card-footer { display: flex; align-items: center; justify-content: space-between; }
.price { display: flex; flex-direction: column; }
.price .from { font-size: .72rem; color: var(--gray); font-weight: 500; }
.price strong { font-size: 1.3rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.price .per { font-size: .7rem; color: var(--gray); }

.btn-card {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white); font-size: .82rem; font-weight: 700;
  padding: 10px 18px; border-radius: 50px;
  transition: var(--transition);
}
.btn-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31,58,95,.3); }

/* ── Plan cards (flyer-based) ─── */
.planes-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.plan-card {
  display: block; position: relative; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); text-decoration: none;
}
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan-card img {
  width: 100%; height: auto; display: block;
  transition: transform .5s ease;
}
.plan-card:hover img { transform: scale(1.03); }
.plan-card-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(15,31,51,.92) 0%, rgba(15,31,51,.6) 60%, transparent 100%);
  color: var(--white);
}
.plan-name { font-size: .85rem; font-weight: 700; }
.plan-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: #25D366; color: var(--white);
  font-size: .78rem; font-weight: 700;
  padding: 8px 16px; border-radius: 50px;
  transition: var(--transition); white-space: nowrap;
}
.plan-card:hover .plan-cta { background: #1fb855; transform: scale(1.05); }

.ver-mas-wrap { text-align: center; margin-top: 48px; }

.terrestres-section { background: var(--white); }
.excursiones-section { background: var(--light); }
.tours-section { background: var(--white); }
.internacionales-section { background: var(--light); }
.cyberweek-section { background: var(--navy); }
.cyberweek-section .section-tag { color: var(--gold); }
.cyberweek-section .section-title { color: var(--white); }
.cyberweek-section .section-title em { color: var(--gold); }
.cyberweek-section .section-desc { color: rgba(255,255,255,.7); }
.planes-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }

/* ══════════════════════════════════════════════════════════
   SERVICIOS
══════════════════════════════════════════════════════════ */
.servicios-section { background: var(--white); overflow: hidden; }
.servicios-bg {
  position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,111,149,.06) 0%, transparent 70%);
  pointer-events: none;
}

.servicios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.servicio-card {
  padding: 36px 28px; border-radius: var(--radius);
  border: 1.5px solid rgba(31,58,95,.08);
  transition: var(--transition); position: relative; overflow: hidden;
}
.servicio-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.servicio-card:hover::before { transform: scaleX(1); }
.servicio-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-6px); }
.servicio-card.highlight {
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border-color: transparent; color: var(--white);
}
.servicio-card.highlight::before { background: linear-gradient(90deg, var(--gold), #e8900a); transform: scaleX(1); }
.servicio-card.highlight .servicio-icon { background: rgba(255,255,255,.15); color: var(--gold); }
.servicio-card.highlight h3 { color: var(--white); }
.servicio-card.highlight p { color: rgba(255,255,255,.8); }
.servicio-card.highlight .servicio-list li { color: rgba(255,255,255,.9); }
.servicio-card.highlight .servicio-list li i { color: var(--gold); }
.servicio-card.highlight .servicio-link { color: var(--gold); }

.servicio-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(46,111,149,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--blue);
  margin-bottom: 24px; transition: var(--transition);
}
.servicio-card:hover .servicio-icon { background: var(--blue); color: var(--white); transform: scale(1.1) rotate(-5deg); }
.servicio-card.highlight:hover .servicio-icon { background: rgba(255,255,255,.25); color: var(--gold); }

.servicio-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; }
.servicio-card p { font-size: .875rem; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.servicio-list { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.servicio-list li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--gray); font-weight: 500; }
.servicio-list li i { color: var(--blue); font-size: .7rem; }

.servicio-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-size: .85rem; font-weight: 700;
  transition: var(--transition);
}
.servicio-link i { font-size: .75rem; transition: transform .3s; }
.servicio-link:hover i { transform: translateX(4px); }
.servicio-link:hover { color: var(--navy); }

/* ══════════════════════════════════════════════════════════
   PROMO BANNER
══════════════════════════════════════════════════════════ */
.promo-banner { position: relative; padding: 80px 0; overflow: hidden; }
.promo-bg { position: absolute; inset: 0; }
.promo-bg img { width: 100%; height: 100%; object-fit: cover; }
.promo-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(31,58,95,.92) 0%, rgba(46,111,149,.85) 100%); }

.promo-content {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.promo-tag {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
.promo-content h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.promo-content p { color: rgba(255,255,255,.8); font-size: .95rem; }
.promo-btn { padding: 16px 36px; font-size: 1rem; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════════════════════════ */
.testimonios-section { background: var(--light); }

.testimonios-slider {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; overflow: hidden;
}

.testimonio-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: var(--transition); position: relative;
}
.testimonio-card::before {
  content: '"'; position: absolute; top: 16px; right: 24px;
  font-family: var(--serif); font-size: 5rem; line-height: 1;
  color: rgba(46,111,149,.1); font-style: italic; pointer-events: none;
}
.testimonio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.test-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.test-header img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); flex-shrink: 0; }
.test-header div { flex: 1; min-width: 0; }
.test-header strong { display: block; font-weight: 700; font-size: .92rem; }
.test-header span { font-size: .78rem; color: var(--gray); }
.test-stars { color: var(--gold); font-size: .75rem; display: flex; gap: 2px; flex-shrink: 0; }

.testimonio-card > p { font-size: .88rem; color: var(--gray); line-height: 1.8; margin-bottom: 20px; font-style: italic; }

.test-footer {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; color: var(--blue);
  border-top: 1px solid rgba(31,58,95,.06); padding-top: 16px;
}
.test-footer i { color: var(--gold); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1.5px solid rgba(31,58,95,.15);
  color: var(--navy); font-size: .9rem; cursor: pointer;
  transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(31,58,95,.2);
  cursor: pointer; transition: var(--transition);
}
.dot.active { background: var(--blue); width: 24px; border-radius: 4px; }

/* ══════════════════════════════════════════════════════════
   COTIZAR / CTA
══════════════════════════════════════════════════════════ */
.cotizar-section { padding: 0; min-height: 640px; display: flex; align-items: center; }
.cotizar-bg { position: absolute; inset: 0; }
.cotizar-bg img { width: 100%; height: 100%; object-fit: cover; }
.cotizar-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,31,51,.95) 0%, rgba(31,58,95,.88) 100%); }

.cotizar-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 96px 24px;
}

.cotizar-text .section-title { color: var(--white); margin-bottom: 18px; }
.cotizar-text p { color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }

.cotizar-features { display: flex; flex-direction: column; gap: 14px; }
.cotizar-feat {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 500;
}
.cotizar-feat i { color: var(--gold); font-size: .9rem; }

/* Form */
.cotizar-form-wrap {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; box-shadow: 0 40px 80px rgba(0,0,0,.3);
}
.cotizar-form h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 28px; color: var(--navy); }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: .78rem; font-weight: 700; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid rgba(31,58,95,.12); border-radius: 10px;
  padding: 12px 14px; font-size: .92rem; color: var(--navy);
  transition: var(--transition); outline: none; background: var(--white);
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,111,149,.1);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232E6F95' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 36px; cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-whatsapp-form {
  width: 100%; background: #25D366;
  color: var(--white); font-weight: 700; font-size: 1.05rem;
  padding: 15px; border-radius: 12px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: var(--transition); margin-bottom: 12px;
}
.btn-whatsapp-form:hover { background: #1ebe5c; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,.35); }
.btn-whatsapp-form i { font-size: 1.3rem; }
.form-note { text-align: center; font-size: .75rem; color: var(--gray); display: flex; align-items: center; justify-content: center; gap: 6px; }
.form-note i { color: #10b981; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer { background: var(--dark); color: rgba(255,255,255,.75); }

.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }

.footer-brand p { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.6); margin: 20px 0 24px; max-width: 300px; }
.footer-logo .logo-main { color: var(--white); }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .88rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); transform: translateY(-2px); }

.footer-col h4 { color: var(--white); font-size: .92rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .86rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }

.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: rgba(255,255,255,.55); }
.contact-list li i { color: var(--gold); font-size: .85rem; margin-top: 2px; flex-shrink: 0; }
.contact-list li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ══════════════════════════════════════════════════════════
   CHAT WIDGET
══════════════════════════════════════════════════════════ */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }

/* Botón principal */
.chat-fab {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white); font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(31,58,95,.5);
  transition: var(--transition); position: relative;
}
.chat-fab:hover { transform: scale(1.1); }
.chat-fab-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--blue); animation: chatPulse 2.5s ease infinite;
}
@keyframes chatPulse {
  0% { opacity: .8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* Menú de opciones */
.chat-options {
  position: absolute; bottom: 72px; right: 0; width: 300px;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  display: none; flex-direction: column; overflow: hidden;
  animation: chatSlideUp .3s ease;
}
.chat-options.show { display: flex; }

@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-options-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; background: var(--navy); color: var(--white);
}
.chat-options-header img { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; }
.chat-options-header strong { font-size: .9rem; display: block; }
.chat-options-header span { font-size: .72rem; opacity: .7; }

.chat-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: none; background: none;
  cursor: pointer; text-decoration: none; color: var(--dark);
  transition: background .2s; text-align: left; width: 100%;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.chat-option:hover { background: rgba(0,0,0,.04); }
.chat-option i { font-size: 1.4rem; width: 36px; text-align: center; }
.chat-option strong { font-size: .85rem; display: block; color: var(--dark); }
.chat-option span { font-size: .72rem; color: var(--gray); }
.chat-option-wa i { color: #25D366; }
.chat-option-web i { color: var(--blue); }

/* Chat box */
.chat-box {
  position: absolute; bottom: 72px; right: 0; width: 360px; height: 500px;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  display: none; flex-direction: column; overflow: hidden;
  animation: chatSlideUp .3s ease;
}
.chat-box.show { display: flex; }

.chat-box-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: var(--navy); color: var(--white);
}
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; background: rgba(255,255,255,.1); }
.chat-box-header strong { font-size: .9rem; display: block; }
.chat-status { font-size: .7rem; opacity: .8; }
.chat-status i { font-size: .45rem; color: #25D366; margin-right: 4px; }
.chat-close {
  margin-left: auto; background: none; border: none;
  color: var(--white); font-size: 1.1rem; cursor: pointer;
  opacity: .7; transition: opacity .2s;
}
.chat-close:hover { opacity: 1; }

.chat-messages {
  flex: 1; padding: 16px; overflow-y: auto;
  background: #f0f2f5;
  display: flex; flex-direction: column; gap: 10px;
}

.chat-msg {
  max-width: 80%; padding: 10px 14px; border-radius: 12px;
  font-size: .85rem; line-height: 1.5; position: relative;
}
.chat-msg.bot {
  background: var(--white); align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.chat-msg.user {
  background: #d9fdd3; align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg p { margin: 0; }
.chat-time { font-size: .65rem; color: var(--gray); display: block; margin-top: 4px; text-align: right; }

.chat-typing { display: flex; gap: 4px; padding: 10px 14px; align-self: flex-start; }
.chat-typing span {
  width: 8px; height: 8px; background: var(--gray); border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input {
  display: flex; padding: 10px; gap: 8px;
  border-top: 1px solid rgba(0,0,0,.08); background: var(--white);
}
.chat-input input {
  flex: 1; border: 1px solid rgba(0,0,0,.12); border-radius: 20px;
  padding: 10px 16px; font-size: .85rem; outline: none;
  font-family: var(--sans);
}
.chat-input input:focus { border-color: var(--blue); }
.chat-input button {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--navy); color: var(--white); cursor: pointer;
  font-size: .85rem; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.chat-input button:hover { background: var(--blue); }

@media (max-width: 480px) {
  .chat-box { width: calc(100vw - 20px); right: -14px; height: 70vh; }
  .chat-options { width: calc(100vw - 48px); }
}

/* ══════════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════════ */
.back-top {
  position: fixed; bottom: 104px; right: 36px; z-index: 998;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: var(--white);
  border: none; cursor: pointer; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  opacity: 0; pointer-events: none; transform: translateY(10px);
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--blue); transform: translateY(-3px); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE – Tablet (≤ 1024px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .destinos-grid { grid-template-columns: repeat(2, 1fr); }
  .planes-grid { grid-template-columns: repeat(2, 1fr); }
  .planes-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-slider { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cotizar-inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 24px; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .field-divider { display: none; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE – Mobile (≤ 768px)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hide-mobile { display: none; }

  /* Navbar */
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--dark); flex-direction: column; justify-content: flex-start;
    padding: 100px 32px 40px; gap: 4px;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  .nav-menu.open { right: 0; }
  .nav-link { font-size: 1rem; padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-link::after { display: none; }
  .hamburger { display: flex; }
  .btn-whatsapp-nav { display: none; }

  /* Hero */
  .hero-content { padding: 100px 20px 40px; }
  .hero-stats { flex-direction: column; gap: 12px; padding: 16px 24px; }
  .stat-divider { width: 60px; height: 1px; }

  /* Search */
  .search-section { margin-top: -32px; }
  .search-fields { grid-template-columns: 1fr; }
  .field-divider { display: none; }
  .search-tabs { gap: 0; }
  .tab { font-size: .8rem; padding: 14px 12px; }

  /* Destinos / Planes */
  .destinos-grid { grid-template-columns: 1fr; }
  .planes-grid { grid-template-columns: repeat(2, 1fr); }
  .planes-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Servicios */
  .servicios-grid { grid-template-columns: 1fr; }

  /* Testimonios */
  .testimonios-slider { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* CTA */
  .cotizar-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Promo */
  .promo-content { flex-direction: column; text-align: center; }

  /* Misc */
  .section { padding: 64px 0; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .back-top { bottom: 88px; right: 24px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btn { justify-content: center; }
  .section-title { font-size: 1.9rem; }

  /* Planes grid: 1 columna en móvil pequeño */
  .planes-grid { grid-template-columns: 1fr !important; max-width: 400px; margin: 0 auto; }
  .planes-grid-3 { grid-template-columns: 1fr !important; }

  /* Hero ajustes */
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: .9rem; }
  .hero-tag { font-size: .75rem; }

  /* Navbar mobile */
  .nav-container { padding: 0 16px; }
  .logo-icon { width: 40px; height: 40px; }
  .logo-main { font-size: .8rem; }
  .logo-sub { font-size: .55rem; }

  /* Cards footer */
  .plan-card-footer { padding: 10px 12px; }
  .plan-name { font-size: .78rem; }
  .plan-cta { font-size: .7rem; padding: 6px 12px; }

  /* Section spacing */
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .container { padding: 0 16px; }

  /* Search */
  .search-card { padding: 20px 16px; margin: 0 16px; }

  /* Cotizar */
  .cotizar-inner { padding: 48px 16px; }

  /* Footer */
  .footer-brand p { font-size: .85rem; }
}

/* --- KX: badges dinámicos de planes --- */
.plan-card { position: relative; }
.plan-badge { position:absolute; top:10px; left:10px; z-index:3; background:rgba(11,20,48,.85); color:#fff; font-size:11px; font-weight:700; padding:4px 10px; border-radius:20px; letter-spacing:.3px; border:1px solid rgba(245,166,35,.6); backdrop-filter:blur(4px); }
.plan-precio { display:block; font-size:12.5px; font-weight:800; color:#f5a623; margin-top:3px; }
