/* ==========================================================================
   AVENTURISMO GLOBAL - DESIGN SYSTEM & STYLESHEET
   Brand Palette:
   - Primary Slate: #0a0f13
   - Primary Navy: #121066
   - Brand Gray: #999999
   - Brand Amber: #ffb800
   - Accent Emerald: #00c288
   - WhatsApp: #25D366
   ========================================================================== */

/* 1. Official Brand Font-Face (Opificio) */
@font-face {
  font-family: 'Opificio';
  src: url('../assets/fonts/Opificio_regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Opificio';
  src: url('../assets/fonts/Opificio_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Opificio';
  src: url('../assets/fonts/Opificio_rounded.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 2. CSS Custom Properties / Tokens */
:root {
  --color-slate: #0a0f13;
  --color-navy: #121066;
  --color-navy-dark: #090838;
  --color-navy-light: #1e1b8c;
  --color-gray: #999999;
  --color-gray-light: #f4f6fa;
  --color-gray-border: #e2e8f0;
  --color-gray-text: #64748b;
  --color-text-main: #1e293b;
  --color-amber: #ffb800;
  --color-amber-hover: #e5a500;
  --color-emerald: #00c288;
  --color-emerald-hover: #00a875;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1eb956;
  --color-white: #ffffff;

  --font-brand: 'Opificio', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 2px 8px rgba(10, 15, 19, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 15, 19, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 15, 19, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 15, 19, 0.18);
  --shadow-emerald: 0 8px 25px rgba(0, 194, 136, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section[id], footer[id] {
  scroll-margin-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: #fafbfc;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-brand);
  color: var(--color-slate);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 4. Navigation Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 18px 0;
  background: transparent;
}

.header.scrolled {
  background: rgba(10, 15, 19, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-normal);
}

.header.scrolled .logo-img {
  height: 42px;
}

.logo-link:hover .logo-img {
  transform: scale(1.03);
}

.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-amber);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-amber);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-btn {
  display: none;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.header-phone-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (min-width: 768px) {
  .header-phone-btn {
    display: inline-flex;
  }
}

.btn-header-quote {
  background: var(--color-emerald);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 194, 136, 0.3);
  transition: var(--transition-fast);
}

.btn-header-quote:hover {
  background: var(--color-emerald-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 194, 136, 0.45);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  color: #ffffff;
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle morph-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #ffffff;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 19, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #0a0f13;
  z-index: 999;
  padding: 90px 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  transition: right var(--transition-slow);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a:hover {
  color: var(--color-amber);
}

/* 5. Hero Section */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  background: #0a0f13;
  overflow: hidden;
}

.hero-background-image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(10, 15, 19, 0.65) 0%, rgba(18, 16, 102, 0.55) 50%, rgba(10, 15, 19, 0.95) 100%), url('../assets/images/hero-1.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: #ffd056;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-amber);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(255, 184, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 184, 0, 0); }
}

.hero-title {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

.hero-title .highlight-gold {
  color: var(--color-amber);
  background: linear-gradient(90deg, #ffb800 0%, #ffe082 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}

/* 6. Flight Search Widget (Aviatur-style Matching Screenshot) */
.flight-widget-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.flight-search-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
}

/* Radio buttons row */
.trip-types-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 20px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  color: #334155;
  user-select: none;
}

.radio-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: var(--transition-fast);
}

.radio-label input:checked ~ .custom-radio {
  border-color: var(--color-navy);
}

.radio-label input:checked ~ .custom-radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--color-navy);
  border-radius: 50%;
}

.radio-label input:checked ~ .label-text {
  color: var(--color-navy);
  font-weight: 700;
}

/* Main Inputs Grid */
.flight-inputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .flight-inputs-grid {
    grid-template-columns: 2.2fr 1.6fr 1.3fr auto;
  }
}

/* Origin - Dest Pair with Swap */
.flight-box-pair {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--color-gray-border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  position: relative;
  transition: border-color var(--transition-fast);
}

.flight-box-pair:focus-within {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(18, 16, 102, 0.1);
}

.input-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

.input-block label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
}

.input-block input {
  border: none;
  background: transparent;
  outline: none;
  font-size: clamp(0.92rem, 1.15vw, 1.12rem);
  font-weight: 700;
  color: #0f172a;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.input-block input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.swap-airports-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-navy);
  margin: 0 10px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.swap-airports-btn morph-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.swap-airports-btn:hover {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
}

/* Autocomplete Flotante Estilo Aviatur (Ciudades y Aeropuertos) */
.airports-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(10, 15, 19, 0.25), 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #cbd5e1;
  z-index: 1050;
  overflow: hidden;
  display: none;
  animation: dropdownSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.airports-autocomplete-dropdown.open {
  display: flex;
  flex-direction: column;
}

@keyframes dropdownSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cabecera del Autocomplete con botón de cierre explícito (✕) */
.ac-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0f172a;
  color: #ffffff;
  border-bottom: 1px solid #1e293b;
  user-select: none;
}

.ac-top-title-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

.ac-top-icon {
  font-size: 0.95rem;
}

.ac-close-btn {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ac-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.1);
}

/* Lista scrolleable con altura compacta para no tapar el cotizador */
.ac-scroll-list {
  max-height: 230px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.ac-scroll-list::-webkit-scrollbar {
  width: 6px;
}
.ac-scroll-list::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.ac-scroll-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.ac-scroll-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.ac-category-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 5px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid #edf2f7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.12s ease;
  border-bottom: 1px solid #f8fafc;
}

.ac-item:hover, .ac-item:focus {
  background: #f1f5f9;
}

.ac-item-visual {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ac-icon-symbol {
  font-size: 0.95rem;
}

.ac-country-code {
  font-size: 0.7rem;
  font-weight: 800;
  color: #475569;
  background: #e2e8f0;
  padding: 2px 5px;
  border-radius: 4px;
}

.ac-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.ac-main-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-main-title small {
  font-weight: 500;
  color: #64748b;
  font-size: 0.78rem;
}

.ac-sub-title {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-code-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-navy);
  background: #e2e8f0;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.ac-empty-msg {
  padding: 18px 16px;
  text-align: center;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.4;
}

/* Dates and Times block */
.dates-times-block {
  border: 1.5px solid var(--color-gray-border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color var(--transition-fast);
}

.dates-times-block:focus-within {
  border-color: var(--color-navy);
}

.dates-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 4px;
}

.date-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.date-field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
}

.date-field input {
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  background: transparent;
  width: 100%;
}

.date-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}

.time-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.time-field label {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.time-field select {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  width: 100%;
}

/* Passengers & Cabin Block */
.passenger-cabin-block {
  border: 1.5px solid var(--color-gray-border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color var(--transition-fast);
}

.passenger-cabin-block:hover {
  border-color: #cbd5e1;
}

.passenger-cabin-block label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
}

.passenger-display {
  display: flex;
  flex-direction: column;
}

.passenger-display .pass-count {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.passenger-display .cabin-name {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

/* Passenger Popover */
.passenger-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 290px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-gray-border);
  z-index: 100;
  display: none;
  cursor: default;
}

.passenger-popover.open {
  display: block;
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.popover-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.popover-info .type-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
}

.popover-info .type-age {
  font-size: 0.78rem;
  color: #64748b;
}

.counter-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-counter {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-counter:hover:not(:disabled) {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
}

.btn-counter:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.counter-val {
  font-weight: 700;
  font-size: 1rem;
  min-width: 18px;
  text-align: center;
}

.popover-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 12px 0;
}

.cabin-select-box label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}

.cabin-options {
  display: flex;
  gap: 6px;
}

.cabin-chip {
  flex: 1;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cabin-chip.active {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
}

.btn-popover-done {
  width: 100%;
  margin-top: 14px;
  background: var(--color-slate);
  color: #ffffff;
  border: none;
  padding: 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Submit Search Button */
.btn-search-flights {
  background: var(--color-emerald);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 36px;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-search-flights:hover {
  background: var(--color-emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 194, 136, 0.45);
}

/* Multidestino View */
.multicity-container {
  grid-column: 1 / -2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.multicity-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: center;
}

.multicity-controls {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-subtle {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.btn-subtle:hover:not(:disabled) {
  background: #e2e8f0;
  color: #0f172a;
}

/* Extras Bar (Equipaje, Escalas, Aerolínea) */
.flight-extras-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.extra-dropdown-wrap {
  position: relative;
}

.extra-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.extra-toggle-btn:hover {
  color: var(--color-navy);
  background: #f8fafc;
}

.extra-toggle-btn svg {
  color: #64748b;
}

.extra-toggle-btn .chevron {
  transition: transform var(--transition-fast);
}

.extra-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-border);
  min-width: 220px;
  z-index: 100;
  display: none;
}

.extra-popover.open {
  display: block;
}

.checkbox-item, .radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #334155;
  cursor: pointer;
  margin-bottom: 8px;
}

.checkbox-item:last-child, .radio-item:last-child {
  margin-bottom: 0;
}

.aerolinea-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
}

.aerolinea-search-box input {
  border: none;
  outline: none;
  font-size: 0.88rem;
  width: 200px;
}

/* Price Estimate Badge in Widget */
.price-estimate-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  animation: pulseSubtle 3s infinite;
}

@keyframes pulseSubtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}

/* 7. Catalog Section */
.catalog-section {
  padding: 90px 0;
  background: #fafbfc;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-slate);
}

.section-title span {
  color: var(--color-navy);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-gray-text);
}

/* Filter Tabs */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 45px;
}

.filtro-btn {
  background: #ffffff;
  border: 1px solid var(--color-gray-border);
  color: #475569;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filtro-btn:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.filtro-btn.active {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
  box-shadow: 0 4px 14px rgba(18, 16, 102, 0.3);
}

/* Grid of Cards */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

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

/* Destination Card */
.destination-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.card-media {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.destination-card:hover .card-media img {
  transform: scale(1.08);
}

.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 19, 0.2) 0%, rgba(10, 15, 19, 0.8) 100%);
}

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #ffffff;
  color: var(--color-slate);
}

.category-badge.nacional {
  background: rgba(18, 16, 102, 0.9);
  color: #ffffff;
}

.category-badge.internacional {
  background: rgba(255, 184, 0, 0.95);
  color: #0a0f13;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(10, 15, 19, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.card-price-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  color: #ffffff;
}

.card-price-tag .price-from {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  display: block;
}

.card-price-tag .price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-amber);
  font-family: var(--font-brand);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: #64748b;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.card-desc {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cities {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 12px;
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.card-inclusions {
  list-style: none;
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 20px;
}

.card-inclusions li {
  margin-bottom: 4px;
}

.card-inclusions .more-inc {
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.78rem;
  margin-top: 4px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.btn-card-quote {
  flex: 1;
  background: var(--color-navy);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-card-quote:hover {
  background: var(--color-navy-dark);
}

.btn-card-wa {
  background: #f0fdf4;
  color: var(--color-whatsapp);
  border: 1px solid #bbf7d0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.btn-card-wa:hover {
  background: var(--color-whatsapp);
  color: #ffffff;
  border-color: var(--color-whatsapp);
}

/* 8. Trust & Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: #0a0f13;
  color: #ffffff;
  position: relative;
}

.benefits-section .section-title {
  color: #ffffff;
}

.benefits-section .section-title span {
  color: var(--color-amber) !important;
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

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

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

.benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 184, 0, 0.3);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: rgba(18, 16, 102, 0.8);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  margin-bottom: 18px;
}

.benefit-card h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.benefit-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 9. FAQ Section */
.faq-section {
  padding: 80px 0;
  background: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.open {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  user-select: none;
}

.faq-question svg {
  transition: transform var(--transition-fast);
  color: var(--color-navy);
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* 10. Quote Modal & Confirmation with WhatsApp Action */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 19, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-normal);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  background: var(--color-slate);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--color-navy);
}

.modal-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

/* Trip summary in modal */
.trip-summary-box {
  background: #f8fafc;
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.summary-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sum-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--color-navy);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.sum-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-emerald);
}

.summary-route {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.summary-route .arrow {
  color: var(--color-gray);
  margin: 0 4px;
}

.summary-route .highlight-dest {
  color: var(--color-navy);
}

.summary-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 0.78rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  padding-top: 8px;
}

.summary-meta-grid span {
  font-weight: 700;
  color: #334155;
}

/* Form Fields */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(18, 16, 102, 0.08);
}

.btn-submit-quote {
  width: 100%;
  background: var(--color-navy);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-quote:hover:not(:disabled) {
  background: var(--color-navy-dark);
  transform: translateY(-1px);
}

.btn-submit-quote:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success View with Direct WhatsApp Button */
.success-view {
  text-align: center;
  padding: 16px 8px;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald);
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(0, 194, 136, 0.2);
}

.success-view h4 {
  font-size: 1.6rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.success-view p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.whatsapp-prompt-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.whatsapp-prompt-card h5 {
  font-size: 1.1rem;
  color: #14532d;
  margin-bottom: 6px;
}

.whatsapp-prompt-card p {
  font-size: 0.88rem;
  color: #166534;
  margin-bottom: 16px;
}

.btn-modal-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-whatsapp);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
  text-decoration: none;
  width: 100%;
}

.btn-modal-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-modal-continue {
  background: transparent;
  border: none;
  color: #64748b;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 6px 12px;
}

.btn-modal-continue:hover {
  color: #0f172a;
}

/* Spinner helper */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 11. Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-tooltip-bubble {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-border);
  white-space: nowrap;
  animation: floatBubble 3s infinite ease-in-out;
}

@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.btn-floating-wa {
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-fast);
}

.btn-floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* 12. Footer */
.footer {
  background: #0a0f13;
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

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

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--color-amber);
  color: var(--color-slate);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 0.82rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.btn-admin-config {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-admin-config:hover {
  border-color: var(--color-amber);
  color: var(--color-amber);
}

/* ==========================================================================
   13. COMPREHENSIVE RESPONSIVE DESIGN SYSTEM (MOBILE, TABLET, DESKTOP)
   ========================================================================== */

/* --- TABLETS & INTERMEDIATE VIEWPORTS (Max-width: 1023px) --- */
@media (max-width: 1023px) {
  .flight-inputs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .btn-search-flights {
    width: 100%;
    padding: 16px;
  }

  .flight-search-card {
    padding: 20px;
    border-radius: 20px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* --- MOBILE & SMALL TABLETS (Max-width: 768px) --- */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  /* Header móvil */
  .header {
    padding: 12px 0;
  }

  .logo-img {
    height: 38px;
  }

  .header.scrolled .logo-img {
    height: 34px;
  }

  .btn-header-quote {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  /* Hero móvil */
  .hero-section {
    padding: 95px 0 45px;
    min-height: auto;
  }

  .hero-text-center {
    margin-bottom: 22px;
  }

  .hero-badge-pill {
    font-size: 0.74rem;
    padding: 5px 12px;
    letter-spacing: 0.03em;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.5;
    padding: 0 6px;
  }

  /* Tarjeta de búsqueda móvil */
  .flight-search-card {
    padding: 16px 14px;
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  }

  .trip-types-row {
    gap: 10px 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }

  .radio-label {
    font-size: 0.86rem;
  }

  /* Mobile Sheet Autocomplete (Slide-up modal nativo con backdrop) */
  .ac-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 19, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .ac-mobile-backdrop.open {
    opacity: 1;
  }

  .ac-mobile-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 9999;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overscroll-behavior: contain;
  }
  .ac-mobile-sheet.open {
    transform: translateY(0);
  }

  .ac-sheet-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
    color: #ffffff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  .ac-sheet-title-box {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ac-sheet-title-box h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
  }

  .ac-sheet-close-btn {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
  }

  .ac-sheet-search-wrap {
    position: relative;
    padding: 12px 16px 8px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
  }

  .ac-sheet-search-wrap .search-icon {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .ac-sheet-input {
    width: 100%;
    height: 46px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 42px 0 42px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-navy);
    background: #f8fafc;
    outline: none;
  }

  .ac-sheet-input:focus {
    border-color: var(--color-navy);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(18, 16, 102, 0.1);
  }

  .ac-clear-btn {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    background: #e2e8f0;
    border: none;
    color: #64748b;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
  }

  .ac-quick-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
  }
  .ac-quick-chips::-webkit-scrollbar {
    display: none;
  }

  .quick-chip-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .quick-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
  }

  .quick-chip:active, .quick-chip:hover {
    background: #e2e8f0;
    color: var(--color-navy);
  }

  /* Ocultar botón flotante cuando autocomplete o modal está abierto para evitar colisiones */
  body.ac-open .floating-whatsapp,
  body.modal-open .floating-whatsapp {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.ac-open {
    overflow: hidden !important;
  }

  /* Popover de pasajeros en móvil */
  .passenger-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  }

  /* Popovers extras (Equipaje, Escalas, Aerolínea) */
  .extra-popover {
    max-width: calc(100vw - 32px);
    left: 0;
    right: auto;
  }

  .flight-extras-bar {
    gap: 8px 10px;
    padding-top: 12px;
    margin-top: 12px;
  }

  .extra-toggle-btn {
    font-size: 0.82rem;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
  }

  /* Secciones y cabeceras */
  .catalog-section,
  .benefits-section,
  .faq-section {
    padding: 50px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-eyebrow {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-desc {
    font-size: 0.92rem;
  }

  /* Filtros deslizables horizontalmente estilo App Nativa */
  .catalog-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .catalog-filters::-webkit-scrollbar {
    display: none;
  }

  .filtro-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 8px 16px;
  }

  /* Beneficios en columna móvil */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    padding: 22px 18px;
  }

  /* Preguntas frecuentes */
  .faq-list {
    gap: 12px;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  .faq-answer {
    font-size: 0.88rem;
    padding: 0 16px 14px;
  }

  /* Banner WhatsApp */
  .banner-cta {
    padding: 45px 0 !important;
  }

  .banner-cta h2 {
    font-size: 1.6rem !important;
  }

  .banner-cta p {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }

  .banner-cta a {
    width: 100% !important;
    max-width: 360px !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
  }

  /* Footer móvil */
  .footer {
    padding: 45px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 30px;
  }

  /* Botón flotante WhatsApp */
  .btn-floating-wa {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-tooltip-bubble {
    display: none;
  }

  /* Modales en móvil */
  .modal-dialog {
    margin: 12px;
    max-width: calc(100vw - 24px);
    border-radius: 16px;
  }

  .modal-header {
    padding: 14px 18px;
  }

  .modal-header h3 {
    font-size: 1.15rem;
  }

  .modal-body {
    padding: 16px;
  }

  .form-control {
    font-size: 16px; /* Evita zoom automático en Safari iOS */
  }

  .btn-submit-quote {
    font-size: 1rem;
    padding: 12px;
  }
}

/* --- SMARTPHONES ESTÁNDAR Y ESTRECHOS (Max-width: 640px) --- */
@media (max-width: 640px) {
  /* Apilamiento vertical intuitivo de Origen y Destino con botón Swap rotado */
  .flight-box-pair {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 14px;
    position: relative;
  }

  .flight-box-pair .swap-airports-btn {
    align-self: center;
    margin: 2px auto;
    transform: rotate(90deg);
    width: 34px;
    height: 34px;
  }

  .flight-box-pair .swap-airports-btn:hover {
    transform: rotate(270deg);
  }

  .input-block {
    width: 100%;
  }

  .input-block input {
    font-size: 1.05rem;
  }

  /* Catálogo en 1 sola columna en pantallas móviles */
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card-media {
    height: 200px;
  }

  /* Multidestino */
  .multicity-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* --- SMARTPHONES EXTRA COMPACTOS (Max-width: 380px) --- */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .btn-header-quote {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .dates-row {
    flex-direction: column;
    gap: 6px;
  }

  .date-divider {
    display: none;
  }
}

/* ========================================================
   13. SISTEMA DE ANIMACIONES PROGRESIVAS AL HACER SCROLL
   (Ensamblado orgánico y reversible con IntersectionObserver)
   ======================================================== */

html.reveal-loaded .reveal-hero-badge,
html.reveal-loaded .reveal-hero-title,
html.reveal-loaded .reveal-hero-subtitle,
html.reveal-loaded .reveal-hero-widget,
html.reveal-loaded .reveal-head,
html.reveal-loaded .reveal-filters .filtro-btn,
html.reveal-loaded .destination-card,
html.reveal-loaded .reveal-benefits .benefit-card,
html.reveal-loaded .reveal-faq .faq-item,
html.reveal-loaded .reveal-banner,
html.reveal-loaded .reveal-footer .footer-col {
  will-change: transform, opacity;
}

/* 1. HERO - Entrada orquestada y salida fluida */
html.reveal-loaded .reveal-hero-badge {
  opacity: 0;
  transform: translateY(-20px) scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
html.reveal-loaded .reveal-hero-badge.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.reveal-loaded .reveal-hero-title {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
html.reveal-loaded .reveal-hero-title.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

html.reveal-loaded .reveal-hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
html.reveal-loaded .reveal-hero-subtitle.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

html.reveal-loaded .reveal-hero-widget {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
html.reveal-loaded .reveal-hero-widget.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s, box-shadow 0.6s ease;
}

/* 2. ENCABEZADOS DE SECCIÓN (.reveal-head) */
html.reveal-loaded .reveal-head .section-eyebrow {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
html.reveal-loaded .reveal-head .section-title {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
html.reveal-loaded .reveal-head .section-desc {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

html.reveal-loaded .reveal-head.is-revealed .section-eyebrow {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
html.reveal-loaded .reveal-head.is-revealed .section-title {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}
html.reveal-loaded .reveal-head.is-revealed .section-desc {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
}

/* 3. FILTROS DE CATEGORÍA (.reveal-filters) - Entrada y salida en cascada */
html.reveal-loaded .reveal-filters .filtro-btn {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
html.reveal-loaded .reveal-filters.is-revealed .filtro-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  transition-delay: calc(var(--filter-idx, 0) * 50ms);
}

/* 4. TARJETAS DEL CATÁLOGO (.destination-card) - Ensamblado y repliegue 3D progresivo */
html.reveal-loaded .destination-card {
  opacity: 0;
  transform: perspective(1000px) rotateX(8deg) translateY(45px) scale(0.94);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

html.reveal-loaded .destination-card .card-media img {
  transform: scale(1.15);
  transition: transform 0.4s ease;
}
html.reveal-loaded .destination-card .card-badges {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
html.reveal-loaded .destination-card .card-price-tag {
  opacity: 0;
  transform: translateY(12px) scale(0.88);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
html.reveal-loaded .destination-card .card-body {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

html.reveal-loaded .destination-card.is-revealed {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  transition-delay: calc(var(--card-idx, 0) * 80ms);
}
html.reveal-loaded .destination-card.is-revealed .card-media img {
  transform: scale(1);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
html.reveal-loaded .destination-card.is-revealed .card-badges {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.5s ease 0.15s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
html.reveal-loaded .destination-card.is-revealed .card-price-tag {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.55s ease 0.2s, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}
html.reveal-loaded .destination-card.is-revealed .card-body {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.6s ease 0.15s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

/* Hover de tarjeta respetado */
html.reveal-loaded .destination-card.is-revealed:hover {
  transform: translateY(-6px) scale(1);
}
html.reveal-loaded .destination-card.is-revealed:hover .card-media img {
  transform: scale(1.08);
}

/* 5. SECCIÓN BENEFICIOS (.reveal-benefits) - Movimiento multidireccional + Pop elástico */
html.reveal-loaded .reveal-benefits .benefit-card {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, border-color 0.3s ease;
}
html.reveal-loaded .reveal-benefits .benefit-card:nth-child(1) {
  transform: translate3d(-28px, 32px, 0);
}
html.reveal-loaded .reveal-benefits .benefit-card:nth-child(2) {
  transform: translate3d(0, 42px, 0);
}
html.reveal-loaded .reveal-benefits .benefit-card:nth-child(3) {
  transform: translate3d(0, 42px, 0);
}
html.reveal-loaded .reveal-benefits .benefit-card:nth-child(4) {
  transform: translate3d(28px, 32px, 0);
}

html.reveal-loaded .reveal-benefits .benefit-card .benefit-icon {
  opacity: 0;
  transform: scale(0) rotate(-25deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
html.reveal-loaded .reveal-benefits .benefit-card h3 {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
html.reveal-loaded .reveal-benefits .benefit-card p {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

html.reveal-loaded .reveal-benefits.is-revealed .benefit-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
  transition-delay: calc(var(--benefit-idx, 0) * 110ms);
}
html.reveal-loaded .reveal-benefits.is-revealed .benefit-card .benefit-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--benefit-idx, 0) * 110ms + 160ms);
}
html.reveal-loaded .reveal-benefits.is-revealed .benefit-card h3 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--benefit-idx, 0) * 110ms + 200ms);
}
html.reveal-loaded .reveal-benefits.is-revealed .benefit-card p {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--benefit-idx, 0) * 110ms + 260ms);
}
html.reveal-loaded .reveal-benefits.is-revealed .benefit-card:hover {
  transform: translateY(-4px);
}

/* 6. FAQ (.reveal-faq) - Efecto dominó desplegable en 3D */
html.reveal-loaded .reveal-faq .faq-item {
  opacity: 0;
  transform-origin: top center;
  transform: perspective(900px) rotateX(-16deg) translateY(30px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
html.reveal-loaded .reveal-faq.is-revealed .faq-item {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  transition-delay: calc(var(--faq-idx, 0) * 100ms);
}

/* 7. BANNER CTA WHATSAPP (.reveal-banner) */
html.reveal-loaded .reveal-banner {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
html.reveal-loaded .reveal-banner .btn-modal-whatsapp {
  opacity: 0;
  transform: translateY(16px) scale(0.88);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
html.reveal-loaded .reveal-banner.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
html.reveal-loaded .reveal-banner.is-revealed .btn-modal-whatsapp {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.6s ease 0.25s, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
}

/* 8. FOOTER (.reveal-footer) - Cascada ascendente y repliegue de columnas */
html.reveal-loaded .reveal-footer .footer-col {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
html.reveal-loaded .reveal-footer.is-revealed .footer-col {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--col-idx, 0) * 100ms);
}

/* Accesibilidad: preferencia de reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  html.reveal-loaded .reveal-hero-badge,
  html.reveal-loaded .reveal-hero-title,
  html.reveal-loaded .reveal-hero-subtitle,
  html.reveal-loaded .reveal-hero-widget,
  html.reveal-loaded .reveal-head .section-eyebrow,
  html.reveal-loaded .reveal-head .section-title,
  html.reveal-loaded .reveal-head .section-desc,
  html.reveal-loaded .reveal-filters .filtro-btn,
  html.reveal-loaded .destination-card,
  html.reveal-loaded .destination-card .card-media img,
  html.reveal-loaded .destination-card .card-badges,
  html.reveal-loaded .destination-card .card-price-tag,
  html.reveal-loaded .destination-card .card-body,
  html.reveal-loaded .reveal-benefits .benefit-card,
  html.reveal-loaded .reveal-benefits .benefit-card .benefit-icon,
  html.reveal-loaded .reveal-benefits .benefit-card h3,
  html.reveal-loaded .reveal-benefits .benefit-card p,
  html.reveal-loaded .reveal-faq .faq-item,
  html.reveal-loaded .reveal-banner,
  html.reveal-loaded .reveal-banner .btn-modal-whatsapp,
  html.reveal-loaded .reveal-footer .footer-col {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

