/* ═══════════════════════════════════════════════════════════
   TRAVEL BOX — components.css
   Componentes: paquetes, destinos, servicios, testimonios,
   membresías, contacto, footer, bancos, WhatsApp float
   ═══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════ */
.stats-bar {
  background: var(--color-navy-deep);
  padding: 28px 0;
  border-bottom: 3px solid var(--color-gold);
}
.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stats-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  text-align: center;
}
.stats-bar-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}
.stats-bar-plus {
  font-size: 24px;
}
.stats-bar-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stats-bar-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 640px) {
  .stats-bar-inner { gap: 16px; }
  .stats-bar-item { padding: 8px 20px; }
  .stats-bar-sep { display: none; }
  .stats-bar-num { font-size: 28px; }
}


/* ══════════════════════════════════════════
   NOSOTROS
══════════════════════════════════════════ */
.nosotros {
  padding: 100px 0;
  background: #FFFFFF;
}
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* ── Columnas laterales de cards ── */
.nos-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nos-col .nos-card {
  flex: 1;          /* cada card ocupa mitad del alto de la columna */
  min-height: 200px;
}
.nosotros-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: 1.1;
  margin-bottom: 20px;
}
.nosotros-desc {
  font-size: 16px;
  color: #5A6478;
  line-height: 1.7;
  margin-bottom: 16px;
}
.nosotros-features {
  list-style: none;
  margin: 24px 0 36px;
}
.nosotros-features li {
  font-size: 15px;
  color: #3D4A5E;
  padding: 8px 0;
  border-bottom: 1px solid #F0F2F8;
  display: flex;
  align-items: center;
  gap: 12px;
}
.feat-check {
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.nosotros-visual {
  position: relative;
}
.nosotros-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.nos-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: default;
  min-height: 160px;
  /* sin padding — el label se posiciona absolute */
  transition: box-shadow 0.35s ease;
}
.nos-card:hover {
  box-shadow: 0 24px 56px rgba(0,0,0,0.28);
}

/* ── Imagen: zoom hacia adentro en hover ── */
.nos-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.65s ease;
  z-index: 0;
  filter: brightness(0.95) saturate(1.05);
}
.nos-card:hover::before {
  transform: scale(1.14);   /* zoom hacia adentro */
  filter: brightness(1.05) saturate(1.15);
}

/* ── Sin overlay negro ── */
.nos-card::after { display: none; }

/* Fotos por destino — background directo + ::before para zoom en desktop */
.nos-cancun {
  background-image: url('../images/nos-cancun.jpg');
  background-size: cover;
  background-position: center;
}
.nos-europa {
  background-image: url('../images/nos-europa.jpg');
  background-size: cover;
  background-position: center;
}
.nos-dubai {
  background-image: url('../images/nos-dubai.jpg');
  background-size: cover;
  background-position: center;
}
.nos-ny {
  background-image: url('../images/nos-ny.jpg');
  background-size: cover;
  background-position: center;
}
/* ::before duplica la imagen para el efecto zoom sin mover el label */
.nos-cancun::before { background-image: url('../images/nos-cancun.jpg'); }
.nos-europa::before { background-image: url('../images/nos-europa.jpg'); }
.nos-dubai::before  { background-image: url('../images/nos-dubai.jpg'); }
.nos-ny::before     { background-image: url('../images/nos-ny.jpg'); }

/* ── Etiqueta morada en la base ── */
.nos-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg,
    rgba(76, 29, 149, 0.93) 0%,
    rgba(109, 40, 217, 0.88) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 16px 14px;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.35s ease;
}
.nos-card:hover .nos-label {
  transform: translateY(-6px);   /* sube con rebote */
  background: linear-gradient(135deg,
    rgba(91, 33, 182, 0.97) 0%,
    rgba(124, 58, 237, 0.95) 100%);
}

.nos-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
  line-height: 1.1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nos-country {
  font-size: 11px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
}
/* Badge inline dentro del texto */
.nos-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--color-gold);
  border-radius: 100px;
  padding: 10px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  white-space: nowrap;
  margin-bottom: 24px;
}
.nos-badge-icon { font-size: 20px; }
.nos-badge-inline strong { display: block; font-size: 14px; color: var(--color-navy-deep); }
.nos-badge-inline span   { font-size: 11px; color: #8A94AA; }

/* Tablet: 2 columnas — cards arriba, texto abajo */
@media (max-width: 1024px) {
  .nosotros-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .nos-col          { order: 0; }
  .nos-col:last-child { order: 1; }
  .nosotros-text    { order: 2; grid-column: 1 / -1; }
  .nos-col .nos-card { height: 200px; flex: unset; }
}

/* Mobile: 1 columna — texto primero, luego cards en pares */
@media (max-width: 640px) {
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  /* Texto primero */
  .nosotros-text    { order: -1; }
  /* Cards en fila de 2 */
  .nos-col {
    flex-direction: row;
    gap: 10px;
  }
  .nos-col .nos-card {
    flex: 1;
    height: 150px;  /* altura fija garantiza que se vea la imagen */
    min-height: unset;
  }
}


/* ══════════════════════════════════════════
   BANCOS STRIP
══════════════════════════════════════════ */
.bancos-strip {
  background: #F7F9FC;
  border-top: 1px solid #E8EDF5;
  border-bottom: 1px solid #E8EDF5;
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.bancos-strip::before,
.bancos-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.bancos-strip::before { left: 0;  background: linear-gradient(to right, #F7F9FC, transparent); }
.bancos-strip::after  { right: 0; background: linear-gradient(to left,  #F7F9FC, transparent); }
.bancos-label {
  text-align: center;
  font-family: var(--font-tag);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8A94AA;
  margin-bottom: 10px;
}
.bancos-marquee-wrap { overflow: hidden; }
.bancos-marquee {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: bancosScroll 30s linear infinite;
  will-change: transform;
  flex-shrink: 0;
}
.bancos-marquee:hover { animation-play-state: paused; }
@keyframes bancosScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.banco-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E8EDF5;
  white-space: nowrap;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}
.banco-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.banco-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.banco-name { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--color-navy-deep); }


/* ══════════════════════════════════════════
   PAQUETES — GRID
══════════════════════════════════════════ */
.paquetes-section {
  padding: 90px 0 80px;
  background: #F7F9FC;
}
.section-title-dark {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-bottom: 12px;
}
.section-desc-dark {
  font-size: 17px;
  color: #5A6478;
  max-width: 540px;
  margin: 0 auto;
}
.pkg-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.pkg-ftab {
  padding: 9px 20px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #5A6478;
  background: #FFFFFF;
  border: 1.5px solid #E8EDF5;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pkg-ftab:hover { border-color: var(--color-navy); color: var(--color-navy); }
.pkg-ftab.active {
  background: var(--color-navy-deep);
  color: #FFFFFF;
  border-color: var(--color-navy-deep);
}
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* ─── TARJETA DE PAQUETE ─── */
.pkg-card-new {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E8EDF5;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}
.pkg-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.18), 0 0 0 1.5px rgba(203,169,108,0.5);
  border-color: rgba(203,169,108,0.4);
}

/* ── Imagen: ::before = foto, ::after = overlay ── */
.pkg-card-img {
  height: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  overflow: hidden;
}

/* Capa de foto — zoom + brillo en hover */
.pkg-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease, filter 0.6s ease;
  z-index: 0;
  filter: brightness(0.95) saturate(1.05);
}
.pkg-card-new:hover .pkg-card-img::before {
  transform: scale(1.12);
  filter: brightness(1.08) saturate(1.2);
}

/* Capa de gradiente — fuerte abajo para legibilidad del texto */
.pkg-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 35%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.80) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}
.pkg-card-new:hover .pkg-card-img::after {
  opacity: 0.85;
}

/* Cada destino asigna su foto al ::before */
.img-cancun::before       { background-image: url('../images/pkg-cancun.jpg'); }
.img-cabos::before        { background-image: url('../images/pkg-cabos.jpg'); }
.img-vallarta::before     { background-image: url('../images/pkg-vallarta.jpg'); }
.img-riviera::before      { background-image: url('../images/pkg-riviera.jpg'); }
.img-europa::before       { background-image: url('../images/pkg-europa.jpg'); }
.img-miami::before        { background-image: url('../images/pkg-miami.jpg'); }
.img-ny::before           { background-image: url('../images/pkg-nueva-york.jpg'); }
.img-dubai::before        { background-image: url('../images/pkg-dubai.jpg'); }
.img-tokyo::before        { background-image: url('../images/pkg-tokio.jpg'); }
.img-crucero-caribe::before { background-image: url('../images/pkg-crucero-caribe.jpg'); }
.img-crucero-med::before  { background-image: url('../images/pkg-crucero-med.jpg'); }
.img-bali::before         { background-image: url('../images/pkg-bali.jpg'); }

.pkg-badge-cat {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  align-self: flex-start;
  backdrop-filter: blur(8px);
}
.badge-nacional { background: rgba(255,255,255,0.25); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.badge-inter    { background: rgba(255,255,255,0.25); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.badge-crucero  { background: rgba(255,255,255,0.25); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.badge-luna     { background: rgba(255,255,255,0.25); color: #fff; border: 1px solid rgba(255,255,255,0.4); }

.pkg-card-code {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  font-family: var(--font-tag);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.35);
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ─── TOP ROW: badge + código ─── */
.pkg-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

/* Override align-self dentro de la fila horizontal */
.pkg-card-top .pkg-badge-cat {
  align-self: center;
}

/* ─── INFO OVERLAY: duración + nombre + destino ─── */
.pkg-img-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pkg-img-info .pkg-card-dur {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.3px;
}
.pkg-img-info .pkg-card-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}
.pkg-img-info .pkg-card-dest {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── BARRA DE PRECIO ─── */
.pkg-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--color-navy-deep);
  padding: 10px 14px;
  flex-shrink: 0;
}
.pkg-price-bar .pkg-price-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pkg-price-bar .pkg-from-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pkg-price-bar .pkg-price-mxn {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}
.pkg-price-bar .pkg-price-mxn sup {
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}
.pkg-price-bar .pkg-price-imp {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}

/* Cuerpo de la tarjeta — compacto */
.pkg-card-body-new {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}
.pkg-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: 1.1;
  margin: 0;
}
.pkg-card-dest {
  font-size: 12px;
  color: #8A94AA;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pkg-card-dur {
  font-size: 12px;
  color: #5A6478;
  font-weight: 500;
}
.pkg-price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #F0F2F8;
}
.pkg-price-col { display: flex; flex-direction: column; gap: 1px; }
.pkg-from-label {
  font-size: 10px;
  color: #8A94AA;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pkg-price-mxn {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: 1;
}
.pkg-price-mxn sup { font-size: 11px; font-family: var(--font-body); font-weight: 500; }
.pkg-price-imp {
  font-size: 10px;
  color: #8A94AA;
}
.btn-cotizar {
  padding: 9px 18px;
  background: var(--color-navy-deep);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-cotizar:hover {
  background: var(--color-gold);
  color: var(--color-navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(203,169,108,0.4);
}
/* Botón dentro de la barra oscura: usar dorado */
.pkg-price-bar .btn-cotizar {
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-weight: 700;
  flex-shrink: 0;
}
.pkg-price-bar .btn-cotizar:hover {
  background: var(--color-gold-light, #E8D5A3);
  color: var(--color-navy-deep);
  box-shadow: 0 4px 16px rgba(203,169,108,0.5);
}

.pkg-grid-cta {
  text-align: center;
  padding-top: 8px;
}
.pkg-grid-cta p { color: #8A94AA; font-size: 15px; margin-bottom: 16px; }
.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  border: 2px solid var(--color-navy-deep);
  color: var(--color-navy-deep);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-outline-navy:hover { background: var(--color-navy-deep); color: #FFFFFF; }

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


/* ══════════════════════════════════════════
   DESTINOS
══════════════════════════════════════════ */
.destinos-section {
  padding: 90px 0;
  background: #EAEEF5;
  background-image: url('../images/bg-destinos.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.destinos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dest-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.dest-card:hover { transform: scale(1.02); }
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}
.dest-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  z-index: 2;
}
.dest-card-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  margin: 0 0 2px;
}
.dest-card-info p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* Gradientes de destinos */
.dest-cancun-card  { background-image: url('../images/dest-cancun.jpg');  background-size: cover; background-position: center; }
.dest-europa-card  { background-image: url('../images/dest-europa.jpg');  background-size: cover; background-position: center top; }
.dest-miami-card   { background-image: url('../images/dest-miami.jpg');   background-size: cover; background-position: center; }
.dest-dubai-card   { background-image: url('../images/dest-dubai.jpg');   background-size: cover; background-position: center; }
.dest-crucero-card { background-image: url('../images/dest-crucero.jpg'); background-size: cover; background-position: center; }
.dest-bali-card    { background-image: url('../images/dest-bali.jpg');    background-size: cover; background-position: center; }

@media (max-width: 900px) {
  .destinos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .destinos-grid { grid-template-columns: 1fr; }
  .dest-card { height: 160px; }
}


/* ══════════════════════════════════════════
   SERVICIOS / BENEFICIOS
══════════════════════════════════════════ */
.servicios-section {
  padding: 90px 0 100px;
  background: #F8FAFB;
  overflow: hidden; /* evita scroll horizontal del carrusel */
}

/* ══ CARRUSEL WRAPPER ══ */
.benefits-carousel-wrap {
  position: relative;
  margin-top: 44px;
  /* Fade en los bordes para efecto de profundidad */
}
.benefits-carousel-wrap::before,
.benefits-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}
.benefits-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, #F8FAFB 0%, transparent 100%);
}
.benefits-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, #F8FAFB 0%, transparent 100%);
}

/* ══ TRACK ══ */
.benefits-track {
  display: flex;
  /* 6 cards × (285px + 20px margen) = 1830px por set */
  animation: benefitsScroll 28s linear infinite;
  will-change: transform;
}
.benefits-track:hover {
  animation-play-state: paused;
}

/* Pausa si el usuario prefiere movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .benefits-track { animation: none; }
}

@keyframes benefitsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-1830px); } /* 6 × (285 + 20) */
}

/* ══ BENEFIT CARD ══ */
.benefit-card {
  flex: 0 0 285px;          /* ancho fijo — 4 cards = 1200px visible */
  margin-right: 20px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 340px;
  cursor: default;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 60px rgba(0,0,0,0.22);
}
.benefit-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s ease;
  z-index: 0;
}
.benefit-card:hover .benefit-img {
  transform: scale(1.08);
}
.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.08) 30%,
    rgba(0,0,0,0.65) 68%,
    rgba(0,0,0,0.82) 100%);
  z-index: 1;
  transition: opacity 0.35s ease;
}
.benefit-card:hover::after { opacity: 0.9; }
.benefit-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 20px;
  z-index: 2;
}
.benefit-icon-wrap {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.benefit-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.benefit-info p {
  font-size: 12px;
  color: rgba(255,255,255,0.76);
  line-height: 1.55;
  margin: 0;
}

/* Mobile: carrusel más lento, tarjetas más angostas */
@media (max-width: 768px) {
  .benefit-card { flex: 0 0 240px; height: 300px; }
  /* 6 × (240+20) = 1560px por set */
  @keyframes benefitsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-1560px); }
  }
  .benefits-track { animation-duration: 22s; }
  .benefits-carousel-wrap::before,
  .benefits-carousel-wrap::after { width: 50px; }
}


/* ══════════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════════ */
.testimonios-section {
  padding: 90px 0;
  background: #0D1B3E;
  background-image: url('../images/bg-membresias.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
/* Overlay oscuro para legibilidad */
.testimonios-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 50, 0.78);
  z-index: 0;
}
.testimonios-section .container { position: relative; z-index: 1; }
/* Textos blancos sobre fondo oscuro */
.testimonios-section .section-label     { color: var(--color-gold); }
.testimonios-section .section-title-dark { color: #FFFFFF; }
.testimonios-section .section-desc-dark  { color: rgba(255,255,255,0.65); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
/* Fila 1: 3 cards, cada una ocupa 2 columnas */
.testi-grid .testi-card-new { grid-column: span 2; }
/* Fila 2: 2 cards centradas — col 2-4 y col 4-6 */
.testi-grid .testi-card-new:nth-child(4) { grid-column: 2 / 4; }
.testi-grid .testi-card-new:nth-child(5) { grid-column: 4 / 6; }
.testi-card-new {
  background: #F7F9FC;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #E8EDF5;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testi-card-new:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.07); }
.testi-stars-new { color: var(--color-gold); font-size: 18px; letter-spacing: 2px; }
.testi-quote-new {
  font-size: 15px;
  color: #3D4A5E;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testi-author-new {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #E8EDF5;
}
.testi-avatar-new {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-navy-deep);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-author-new strong { display: block; font-size: 14px; color: var(--color-navy-deep); }
.testi-author-new span   { font-size: 12px; color: #8A94AA; }
@media (max-width: 1024px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid .testi-card-new        { grid-column: span 1; }
  .testi-grid .testi-card-new:nth-child(4) { grid-column: span 1; }
  .testi-grid .testi-card-new:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .testi-grid .testi-card-new,
  .testi-grid .testi-card-new:nth-child(4),
  .testi-grid .testi-card-new:nth-child(5) { grid-column: 1; }
}


/* ══════════════════════════════════════════
   MEMBRESÍAS — Banner imagen Canva
══════════════════════════════════════════ */
.membresias-section {
  padding: 0;
  background: #0D1B3E;
  line-height: 0; /* evita espacio bajo la imagen */
}
.membresias-banner-wrap {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: block;
}
.membresias-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.membresias-banner-wrap:hover .membresias-banner-img {
  transform: scale(1.015);
}
@media (max-width: 768px) {
  .membresias-banner-wrap { max-height: none; }
}


/* ══════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════ */
.contacto-section {
  padding: 100px 0;
  background: var(--color-navy-deep);
}
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-label-light {
  font-family: var(--font-tag);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
  display: block;
}
.contacto-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 20px;
}
.contacto-text h2 span { color: var(--color-gold); }
.contacto-text p { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 28px; }
.contacto-datos { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.contacto-dato  { display: flex; align-items: flex-start; gap: 14px; }
.dato-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contacto-dato strong { display: block; font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; margin-bottom: 2px; }
.contacto-dato span, .contacto-dato a { font-size: 15px; color: rgba(255,255,255,0.85); }
.contacto-dato a:hover { color: var(--color-gold); }
.contacto-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-contacto-primary {
  padding: 14px 28px;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-contacto-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(203,169,108,0.4); }
.btn-contacto-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s ease;
}
.btn-contacto-wa:hover { transform: translateY(-2px); }
.contacto-mapa { border-radius: 16px; overflow: hidden; height: 360px; }
.contacto-form-ghl { border-radius: 16px; overflow: hidden; }
.contacto-mapa-embed { border-radius: 16px; overflow: hidden; margin: 24px 0; }
.contacto-mapa-embed iframe { display: block; border-radius: 16px; }
.mapa-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
}
.mapa-icon { font-size: 40px; }
.mapa-placeholder p { font-size: 15px; margin: 0; }
.mapa-placeholder span { font-size: 13px; }
@media (max-width: 900px) {
  .contacto-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ── FORMULARIO CUSTOM ── */
.contacto-form-custom { display: flex; flex-direction: column; }
.cform-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 24px;
  padding: 40px 40px 36px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.cform-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C8A96E, #e8c98f, #C8A96E);
}
.cform-header { margin-bottom: 28px; }
.cform-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #C8A96E;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.cform-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.cform-title span { color: #C8A96E; }
.cform-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.6;
}
.cform { display: flex; flex-direction: column; gap: 18px; }
.cform-row { display: flex; flex-direction: column; gap: 18px; }
.cform-row--2 { flex-direction: row; gap: 16px; }
.cform-row--2 .cform-field { flex: 1; min-width: 0; }
.cform-field { display: flex; flex-direction: column; gap: 7px; }
.cform-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
.cform-field input,
.cform-field select,
.cform-field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.cform-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8A96E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.cform-field select option { background: #0D1C3A; color: #fff; }
.cform-field textarea { resize: vertical; min-height: 80px; }
.cform-field input::placeholder,
.cform-field textarea::placeholder { color: rgba(255,255,255,0.28); }
.cform-field input:focus,
.cform-field select:focus,
.cform-field textarea:focus {
  border-color: #C8A96E;
  background: rgba(200,169,110,0.07);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.12);
}
.cform-submit {
  margin-top: 6px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #C8A96E, #b8934a);
  color: #0D1C3A;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 6px 24px rgba(200,169,110,0.3);
}
.cform-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(200,169,110,0.4); }
.cform-submit:active { transform: translateY(0); }
.cform-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.cform-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin: 4px 0 0;
}
/* Estado de éxito */
.cform-success {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cform-success-icon { font-size: 56px; animation: float 3s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.cform-success h3 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 28px;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}
.cform-success p { color: rgba(255,255,255,0.7); font-size: 15px; margin: 0; line-height: 1.6; }
.cform-calendar-link {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  border: 1px solid #C8A96E;
  border-radius: 8px;
  color: #C8A96E;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.cform-calendar-link:hover { background: rgba(200,169,110,0.12); }
/* Responsive */
@media (max-width: 600px) {
  .cform-card { padding: 28px 20px 24px; }
  .cform-row--2 { flex-direction: column; }
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: #0A1225;
  padding: 64px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 2px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 16px;
}
.footer-logo-box { color: var(--color-gold); }
.footer-brand p { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { background: var(--color-gold); color: var(--color-navy-deep); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--color-gold-light); }
.footer-contacto-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.footer-contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-contacto-item span:first-child { font-size: 15px; flex-shrink: 0; }
.footer-contacto-item a { color: rgba(255,255,255,0.55); }
.footer-contacto-item a:hover { color: var(--color-gold-light); }
.footer-horario {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}
.footer-horario strong { display: block; color: rgba(255,255,255,0.6); margin-bottom: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--color-gold-light); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }


/* ══════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.wa-float-tooltip {
  background: var(--color-navy-deep);
  color: #fff;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s ease;
  pointer-events: none;
}
.wa-float:hover .wa-float-tooltip { opacity: 1; transform: translateX(0); }
.wa-float-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float-btn:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.wa-float-btn svg { width: 30px; height: 30px; }


/* ══════════════════════════════════════════
   LEAD CAPTURE POPUP
══════════════════════════════════════════ */
.lead-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 40, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lead-popup-overlay.visible {
  opacity: 1;
}
.lead-popup-overlay[hidden] {
  display: none !important;
}

/* Caja principal */
.lead-popup-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
  transform: scale(0.88) translateY(24px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: none;
}
.lead-popup-overlay.visible .lead-popup-box {
  transform: scale(1) translateY(0);
}

/* Botón cerrar */
.lead-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lead-popup-close:hover {
  background: rgba(255,255,255,0.28);
  transform: rotate(90deg);
}
.lead-popup-close svg { width: 18px; height: 18px; }

/* ── Columna izquierda: imagen ── */
.lead-popup-img {
  background-image: url('../images/popup-viaje.jpg');
  background-size: cover;
  background-position: center top;
  position: relative;
  min-height: 460px;
}
/* Fallback gradient si la foto no carga */
.lead-popup-img:not([style]) {
  background-image:
    linear-gradient(160deg, rgba(26,46,92,0.45) 0%, rgba(203,169,108,0.55) 100%),
    url('../images/popup-viaje.jpg');
}
.lead-popup-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(26,46,92,0.25) 0%,
    rgba(10,18,40,0.55) 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.lead-popup-img-badge {
  background: rgba(203,169,108,0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(203,169,108,0.4);
}
.lead-popup-img-pct {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: 1;
}
.lead-popup-img-txt {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* ── Columna derecha: formulario ── */
.lead-popup-form-side {
  background: var(--color-navy-deep);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.lead-popup-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.lead-popup-logo-img {
  height: 32px;
  width: auto;
}
.lead-popup-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.5px;
}

.lead-popup-title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
}

.lead-popup-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0;
}

/* Campos del formulario */
.lead-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.lead-popup-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lead-popup-label {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lead-popup-field input {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 12px 16px;
  color: #FFFFFF;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lead-popup-field input::placeholder { color: rgba(255,255,255,0.3); }
.lead-popup-field input:focus {
  border-color: var(--color-gold);
  background: rgba(255,255,255,0.12);
}
.lead-popup-field input.error {
  border-color: #F56565;
}

.lead-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(203,169,108,0.35);
}
.lead-popup-btn:hover {
  background: #E8C86A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(203,169,108,0.5);
}
.lead-popup-btn:active { transform: translateY(0); }
.lead-popup-btn.loading { opacity: 0.75; pointer-events: none; }

.lead-popup-privacy {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* Estado de gracias */
.lead-popup-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 20px 0;
  flex: 1;
}
.lead-popup-thanks[hidden] { display: none !important; }
.lead-popup-thanks-icon { font-size: 48px; animation: thanksFloat 2s ease-in-out infinite; }
@keyframes thanksFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.lead-popup-thanks p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 280px;
}
.lead-popup-thanks strong { color: var(--color-gold); }

/* ── Responsive ── */
@media (max-width: 680px) {
  .lead-popup-box {
    grid-template-columns: 1fr;
    max-height: 92vh;
    border-radius: 20px;
  }
  .lead-popup-img {
    min-height: 160px;
    max-height: 160px;
  }
  .lead-popup-form-side {
    padding: 24px 22px 22px;
    gap: 12px;
  }
  .lead-popup-title { font-size: 18px; }
  .lead-popup-close {
    background: rgba(255,255,255,0.25);
    color: #fff;
  }
}


/* ══════════════════════════════════════════
   COTIZADOR / BARRA BUSCADORA
══════════════════════════════════════════ */
.cotizador-section {
  position: relative;
  z-index: 10;
  padding: 32px 0 36px;
  background: var(--color-navy-deep);
  border-bottom: 3px solid var(--color-gold);
}
.cotizador-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 56px rgba(0,0,0,0.35);
  padding: 24px 32px 22px;
  border-top: 3px solid var(--color-gold);
}
.cotizador-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.cotizador-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-navy-deep);
  line-height: 1;
  white-space: nowrap;
}
.cotizador-sub {
  font-size: 12px;
  color: var(--color-gray-mid);
  line-height: 1.4;
}

/* Tipo de viaje tabs */
.cotizador-tipos {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tipo-btn {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  border: 1.5px solid #DDD9D3;
  color: var(--color-gray-mid);
  background: transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}
.tipo-btn:hover  { border-color: var(--color-gold); color: var(--color-navy); }
.tipo-btn.active { background: var(--color-navy-deep); border-color: var(--color-navy-deep); color: var(--color-gold); }

/* Fields grid */
.cot-fields {
  display: grid;
  grid-template-columns: 2fr 1.6fr 0.9fr 1.1fr 0.9fr 1.2fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}
.cot-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--color-navy);
  margin-bottom: 5px;
}
.cot-input {
  width: 100%;
  padding: 8px 11px;
  border: 1.5px solid #DDD9D3;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-navy-deep);
  background: #FAFAF8;
  transition: border-color var(--transition-fast);
  outline: none;
  font-family: var(--font-body);
}
.cot-input:focus { border-color: var(--color-gold); background: #fff; }

/* Fechas */
.cot-fechas-row {
  display: flex;
  gap: 5px;
  align-items: center;
}
.cot-fechas-sep { color: var(--color-gray-mid); font-size: 11px; flex-shrink: 0; }
.cot-fechas-row .cot-input { flex: 1; min-width: 0; padding: 10px 6px; }

/* Stepper personas */
.cot-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid #DDD9D3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FAFAF8;
}
.cot-step-btn {
  width: 30px;
  height: 36px;
  font-size: 15px;
  color: var(--color-navy);
  background: transparent;
  flex-shrink: 0;
  transition: background var(--transition-fast);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.cot-step-btn:hover { background: #EDEAE4; }
.cot-input-num {
  flex: 1;
  text-align: center;
  border: none;
  border-left: 1px solid #DDD9D3;
  border-right: 1px solid #DDD9D3;
  border-radius: 0;
  background: transparent;
  padding: 10px 2px;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}

/* Hotel estrellas */
.cot-stars { display: flex; gap: 5px; }
.cot-star-btn {
  flex: 1;
  padding: 7px 3px;
  border: 1.5px solid #DDD9D3;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gray-mid);
  background: #FAFAF8;
  transition: all var(--transition-fast);
  text-align: center;
  cursor: pointer;
  font-family: var(--font-body);
}
.cot-star-btn:hover  { border-color: var(--color-gold); color: var(--color-navy); }
.cot-star-btn.active { background: var(--color-navy-deep); border-color: var(--color-navy-deep); color: var(--color-gold); }

/* Vuelo toggle */
.cot-toggle-wrap {
  display: flex;
  border: 1.5px solid #DDD9D3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FAFAF8;
}
.cot-toggle {
  flex: 1;
  padding: 7px 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray-mid);
  background: transparent;
  transition: all var(--transition-fast);
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.cot-toggle.active { background: var(--color-navy-deep); color: var(--color-gold); }

/* Presupuesto */
.cot-presupuesto-wrap { position: relative; }
.cot-currency {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-mid);
  pointer-events: none;
}
.cot-input-money { padding-left: 24px; }

/* Submit */
.cot-submit {
  width: 100%;
  padding: 12px 32px;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-navy-deep);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  border: none;
}
.cot-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(203,169,108,0.45);
}
.cot-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.cot-submit-icon { font-size: 17px; }

/* Error */
.cot-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 12px;
  text-align: center;
}
.cot-error.visible { display: block; }

/* Loading overlay */
.cot-loading {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,46,0.94);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.cot-loading.visible { display: flex; }
.cot-loading-plane { font-size: 52px; animation: cotPlaneFly 1.8s ease-in-out infinite; }
@keyframes cotPlaneFly {
  0%,100% { transform: translateX(-24px) rotate(-6deg); }
  50%      { transform: translateX(24px) rotate(6deg); }
}
.cot-loading-title { color: var(--color-gold); font-family: var(--font-display); font-size: 24px; letter-spacing: 1px; }
.cot-loading-sub   { color: rgba(255,255,255,0.55); font-size: 13px; }

/* Responsive */
@media (max-width: 1100px) {
  .cot-fields { grid-template-columns: 2fr 1.4fr 1fr 1.2fr 1fr; }
  .cot-field-presupuesto { grid-column: 1 / -1; }
  .cot-field-presupuesto .cot-presupuesto-wrap { max-width: 240px; }
}
@media (max-width: 820px) {
  .cot-fields { grid-template-columns: 1fr 1fr 1fr; }
  .cot-field-destino { grid-column: 1 / -1; }
  .cot-field-fechas  { grid-column: 1 / -1; }
  .cot-field-presupuesto { grid-column: auto; }
  .cot-field-presupuesto .cot-presupuesto-wrap { max-width: 100%; }
}
@media (max-width: 540px) {
  .cotizador-section { padding: 22px 0 28px; }
  .cotizador-card    { padding: 18px 12px 16px; border-radius: var(--radius-sm); }
  .cotizador-header  { flex-direction: column; gap: 4px; }
  .cotizador-title   { font-size: 18px; }
  .cot-fields        { grid-template-columns: 1fr 1fr; }
  .tipo-btn          { padding: 5px 10px; font-size: 11px; }
}
