/* ==========================================================================
   COLOMBIA PREMIUM LANDING PAGE - DESIGN SYSTEM
   Vanilla CSS Refinado - Estética Editorial / Aspirational
   ========================================================================== */

/* Importación de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* variables del sistema de diseño (Design Tokens) */
:root {
  /* Paleta de Colores (Azul Profundo + Mango) */
  --bg-color: #FFF8F0;          /* Crema cálido */
  --text-primary: #20242E;      /* Azul tinta casi negro */
  --text-secondary: #5C6470;    /* Gris azulado medio */
  --accent-emerald: #1E4D6B;    /* Azul marca */
  --accent-terracotta: #F2A23A; /* Mango cálido de acento */
  --border-color: #EEE6DA;      /* Beige suave */
  --white: #FFFFFF;
  
  /* Sistema de Corner Radius */
  --radius-soft: 16px;
  --radius-button: 9999px;      /* Pill buttons */
  
  /* Tipografía */
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transiciones */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-tactile: all 0.15s ease;
}

/* Modo Oscuro Automático (Respetando preferencia de sistema) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #14171F;        /* Fondo oscuro azul tinta */
    --text-primary: #FFF8F0;    /* Texto claro crema */
    --text-secondary: #9AA4B2;  /* Texto secundario gris azulado */
    --accent-emerald: #5C9CC9;  /* Azul más brillante para contraste */
    --accent-terracotta: #FFB55E;/* Mango más brillante */
    --border-color: #232735;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

/* ==========================================================================
   CLASES UTILITARIAS Y DE DISEÑO DE ESPACIOS (Art Gallery Vibe)
   ========================================================================== */

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* breathing gaps entre secciones */
.section-gap {
  padding-top: 180px;
  padding-bottom: 180px;
}

@media (max-width: 768px) {
  .section-gap {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* Títulos Editoriales */
.h1-serif {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h2-serif {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.body-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  max-width: 65ch;
}

/* Eyebrows Restringidos */
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-terracotta);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

/* ==========================================================================
   NAVEGACIÓN (Desktop Single Line)
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background-color: rgba(255, 248, 240, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border-color);
  height: 72px;
}

@media (prefers-color-scheme: dark) {
  .navbar.scrolled {
    background-color: rgba(20, 23, 31, 0.9);
  }
}

.navbar-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--accent-terracotta);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: var(--text-primary);
  opacity: 0.85;
  transition: var(--transition-tactile);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--accent-emerald);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-button);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background-color: var(--accent-emerald);
  color: var(--white);
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION (Asymmetric Split)
   ========================================================================== */

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
  gap: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Italic descender clearance rule */
.hero-title {
  margin-bottom: 24px;
  padding-bottom: 4px;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-emerald);
}

.hero-subtitle {
  margin-bottom: 40px;
}

.cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Botones Premium con física táctil */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: var(--radius-button);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition-tactile);
}

.btn-primary {
  background-color: var(--accent-emerald);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(30, 77, 107, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 77, 107, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
  .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.03);
  }
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Hero Asset Panel */
.hero-asset {
  position: relative;
  width: 100%;
}

.hero-frame {
  border-radius: var(--radius-soft);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: var(--transition-smooth);
}

.hero-frame:hover {
  transform: translateY(-8px);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-frame:hover img {
  transform: scale(1.04);
}

/* Mobile responsive hero collapse */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 60px;
  }
  
  .hero-frame {
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================================
   LOGO WALL (Monochromatic SVG customers, lives under hero)
   ========================================================================== */

.logowall {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 48px 0;
  background-color: rgba(32, 36, 46, 0.02);
}

@media (prefers-color-scheme: dark) {
  .logowall {
    background-color: rgba(255, 255, 255, 0.005);
  }
}

.logowall-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logowall-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-align: center;
  font-weight: 600;
}

.logowall-track {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.logowall-item {
  height: 24px;
  opacity: 0.45;
  transition: var(--transition-tactile);
}

.logowall-item:hover {
  opacity: 0.85;
}

.logowall-item svg {
  height: 100%;
  width: auto;
  fill: var(--text-primary);
}

/* ==========================================================================
   ¿POR QUÉ VISITAR COLOMBIA? (Asymmetric Column Grid)
   ========================================================================== */

.split-header-stacked {
  margin-bottom: 80px;
  text-align: left;
}

.split-header-stacked .h2-serif {
  margin-bottom: 24px;
}

.why-colombia-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
}

.why-card {
  padding: 40px;
  border-radius: var(--radius-soft);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-emerald);
  box-shadow: 0 20px 40px rgba(30, 77, 107, 0.06);
}

/* Variación asimétrica de anchos y altos */
.why-card.large {
  grid-column: span 1;
  background-color: var(--accent-emerald);
  color: var(--white);
  border: none;
}

.why-card.large .why-card-text {
  color: rgba(255, 255, 255, 0.75);
}

.why-card.large:hover {
  box-shadow: 0 20px 40px rgba(30, 77, 107, 0.2);
}

.why-card-icon {
  margin-bottom: 40px;
  color: var(--accent-terracotta);
}

.why-card.large .why-card-icon {
  color: var(--white);
}

.why-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.why-card-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .why-colombia-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .why-colombia-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-card {
    padding: 32px;
  }
}

/* ==========================================================================
   DESTINOS IMPRESCINDIBLES (Bento Grid with Rhythm)
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 24px;
}

/* Elementos Bento individualizados */
.bento-cell {
  position: relative;
  border-radius: var(--radius-soft);
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
  transition: var(--transition-smooth);
}

.bento-cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

/* Variaciones Bento específicas */
.bento-cell.double-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-cell.vertical {
  grid-row: span 2;
}

.bento-cell.horizontal {
  grid-column: span 2;
}

/* Bento backgrounds y gradientes */
.bento-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-cell:hover .bento-img {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32, 36, 46, 0.85) 0%, rgba(32, 36, 46, 0.4) 60%, rgba(32, 36, 46, 0.1) 100%);
  z-index: 1;
}

.bento-cell.editorial-cell {
  background-color: var(--accent-emerald);
  color: var(--white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
}

.bento-cell.editorial-cell .h3-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.bento-cell.editorial-cell .h3-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-terracotta);
}

.bento-cell.editorial-cell p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

/* Bento Contents */
.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  z-index: 2;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.bento-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.bento-cell.double-large .bento-title {
  font-size: 2.4rem;
}

.bento-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  max-width: 45ch;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-cell:hover .bento-desc {
  opacity: 1;
  transform: translateY(0);
}

.bento-meta {
  display: flex;
  gap: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.bento-meta span b {
  color: var(--accent-terracotta);
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
  
  .bento-cell.double-large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 16px;
  }
  
  .bento-cell.double-large,
  .bento-cell.vertical,
  .bento-cell.horizontal {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .bento-cell.editorial-cell {
    padding: 32px;
  }
  
  .bento-cell.editorial-cell .h3-title {
    font-size: 1.6rem;
  }
  
  .bento-desc {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   GASTRONOMÍA (Editorial Column Split, Max 2 Alternations)
   ========================================================================== */

.gastronomy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.gastronomy-image {
  border-radius: var(--radius-soft);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.gastronomy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gastronomy-image:hover img {
  transform: scale(1.03);
}

.gastronomy-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gastronomy-info .h2-serif {
  margin-bottom: 24px;
}

.dish-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  width: 100%;
}

.dish-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.dish-name {
  font-weight: 600;
  font-size: 16px;
}

.dish-origin {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .gastronomy-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   CONECTIVIDAD (Styled Interactive SVG Map)
   ========================================================================== */

.connectivity-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.connectivity-map {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-soft);
  aspect-ratio: 1 / 1;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.map-svg {
  width: 100%;
  height: 100%;
}

.map-node {
  fill: var(--accent-terracotta);
  stroke: var(--white);
  stroke-width: 2.5px;
  r: 6;
  cursor: pointer;
  transition: var(--transition-tactile);
}

.map-node:hover {
  r: 9;
  fill: var(--accent-emerald);
}

.map-link {
  stroke: var(--accent-emerald);
  stroke-dasharray: 4 4;
  stroke-width: 1.5px;
  opacity: 0.4;
  animation: pulsePath 3s linear infinite;
}

@keyframes pulsePath {
  to {
    stroke-dashoffset: -20;
  }
}

.map-label {
  font-size: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  fill: var(--text-primary);
  opacity: 0.8;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .connectivity-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   EXPERIENCIAS POR VIAJERO (Tabbed Slider)
   ========================================================================== */

.tab-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.tab-button {
  padding: 14px 28px;
  border-radius: var(--radius-button);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--text-primary);
  transition: var(--transition-tactile);
}

.tab-button.active {
  background-color: var(--accent-emerald);
  color: var(--white);
  border-color: var(--accent-emerald);
  box-shadow: 0 4px 15px rgba(30, 77, 107, 0.1);
}

.tab-content-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.tab-content-panel.active {
  display: grid;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.experience-details h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.experience-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.feature-tag svg {
  color: var(--accent-terracotta);
}

.experience-asset {
  border-radius: var(--radius-soft);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.experience-asset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .tab-content-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .experience-features {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ITINERARIOS (Timeline Nodes)
   ========================================================================== */

.itinerary-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 48px;
}

.itinerary-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-node {
  position: relative;
  margin-bottom: 60px;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent-terracotta);
  border: 4px solid var(--bg-color);
  z-index: 10;
}

.timeline-node:hover .timeline-dot {
  background-color: var(--accent-emerald);
  transform: scale(1.2);
  transition: var(--transition-tactile);
}

.timeline-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 12px;
  display: inline-block;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.timeline-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   DATOS ÚTILES (Tiles without borders)
   ========================================================================== */

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

.tile {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.tile-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tile-content {
  font-size: 14.5px;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .tiles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .tiles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tile {
    padding: 24px 0;
  }
}

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

.footer {
  background-color: var(--text-primary);
  color: var(--bg-color);
  padding: 100px 0 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-brand .brand-logo {
  color: var(--bg-color);
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.65;
  max-width: 35ch;
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 16px;
}

.footer-link {
  font-size: 14px;
  opacity: 0.65;
  transition: var(--transition-tactile);
}

.footer-link:hover {
  opacity: 1;
  padding-left: 4px;
}

/* Newsletter con feedback táctil */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input-group {
  display: flex;
  border-bottom: 1.5px solid rgba(255, 248, 240, 0.25);
  padding: 8px 0;
  transition: var(--transition-tactile);
}

.newsletter-input-group:focus-within {
  border-color: var(--accent-terracotta);
}

.newsletter-input {
  background: none;
  border: none;
  color: var(--bg-color);
  font: inherit;
  font-size: 14px;
  width: 100%;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 248, 240, 0.45);
}

.newsletter-submit {
  color: var(--bg-color);
  padding: 0 8px;
  transition: var(--transition-tactile);
}

.newsletter-submit:hover {
  color: var(--accent-terracotta);
  transform: translateX(4px);
}

.newsletter-submit:active {
  transform: translateX(0);
}

.newsletter-note {
  font-size: 11px;
  opacity: 0.45;
  line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 248, 240, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12.5px;
  opacity: 0.55;
}

.social-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.social-link {
  transition: var(--transition-tactile);
}

.social-link:hover {
  opacity: 1;
  color: var(--accent-terracotta);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer {
    padding: 60px 0 40px;
  }
}

/* ==========================================================================
   ENTRADA AL ENTRAR EN VIEWPORT (Scroll-Reveal Animations)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion Override (Accesibilidad obligatoria) */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .bento-cell:hover .bento-img,
  .hero-frame:hover img,
  .gastronomy-image:hover img {
    transform: none !important;
  }
  
  .map-link {
    animation: none !important;
    opacity: 0.2 !important;
  }
}

/* ==========================================================================
   MODAL LEGAL (Google Ads Transparency Overlay)
   ========================================================================== */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(32, 36, 46, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.legal-modal-content {
  position: relative;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 640px;
  max-height: 80vh;
  border-radius: var(--radius-soft);
  padding: 40px;
  z-index: 2010;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.legal-modal.active .legal-modal-content {
  transform: translateY(0);
}

.legal-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-tactile);
}

.legal-modal-close:hover {
  background-color: var(--accent-terracotta);
  color: var(--white);
  border-color: var(--accent-terracotta);
  transform: rotate(90deg);
}

.legal-modal-body {
  overflow-y: auto;
  margin-top: 16px;
  padding-right: 8px;
}

/* Scrollbar styling for modal body */
.legal-modal-body::-webkit-scrollbar {
  width: 4px;
}
.legal-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.legal-modal-body::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 2px;
}

/* ==========================================================================
   BUSCADOR DE VUELOS PREMIUM
   ========================================================================== */
.search-card {
  background: var(--accent-emerald);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-soft);
  box-shadow: 0 30px 60px rgba(30, 77, 107, 0.18);
  border: 1px solid rgba(255, 248, 240, 0.08);
  width: 100%;
  position: relative;
  z-index: 100;
  transition: var(--transition-smooth);
}

@media (prefers-color-scheme: dark) {
  .search-card {
    background: #14171F;
    border-color: rgba(255, 248, 240, 0.06);
  }
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-btn {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-button);
  color: rgba(255, 248, 240, 0.6);
  transition: var(--transition-tactile);
  border: 1px solid transparent;
}

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

.tab-btn.active {
  background-color: var(--accent-terracotta);
  color: var(--white);
  font-weight: 700;
}

.search-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1.1fr 0.9fr;
  gap: 16px;
  align-items: flex-end;
}

.search-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.search-field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 248, 240, 0.65);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.search-field .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid rgba(255, 248, 240, 0.12);
  border-radius: 10px;
  width: 100%;
  transition: var(--transition-tactile);
}

.search-field .input-wrap:focus-within {
  border-color: var(--accent-terracotta);
  background: rgba(255, 248, 240, 0.1);
}

.search-field input[type="text"],
.search-field input[type="date"] {
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  height: 48px;
  width: 100%;
  padding-left: 44px;
  padding-right: 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

/* Custom calendar icon color adjust */
.search-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.6;
  cursor: pointer;
}

.search-field .input-icon {
  position: absolute;
  left: 16px;
  font-size: 20px;
  color: rgba(255, 248, 240, 0.5);
  pointer-events: none;
}

/* Autocomplete suggestions dropdown */
.autocomplete-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #14171F;
  border: 1px solid rgba(255, 248, 240, 0.12);
  border-radius: 12px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 13.5px;
  color: rgba(255, 248, 240, 0.85);
  transition: var(--transition-tactile);
  border-bottom: 1px solid rgba(255, 248, 240, 0.04);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: var(--accent-terracotta);
  color: var(--white);
}

/* Passengers Button Selector */
.pax-btn {
  width: 100%;
  height: 48px;
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid rgba(255, 248, 240, 0.12);
  border-radius: 10px;
  padding: 0 16px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-tactile);
}

.pax-btn:hover {
  background: rgba(255, 248, 240, 0.1);
  border-color: rgba(255, 248, 240, 0.2);
}

/* Passengers Popover styling */
.pax-popover {
  position: absolute;
  top: 100%;
  right: 0;
  background: #14171F;
  border: 1px solid rgba(255, 248, 240, 0.12);
  border-radius: 12px;
  padding: 24px;
  width: 290px;
  z-index: 1000;
  margin-top: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.pax-popover h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 248, 240, 0.5);
}

.pax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 248, 240, 0.06);
}

.pax-row:last-of-type {
  border-bottom: none;
}

.pax-label {
  font-size: 14px;
  font-weight: 600;
}

.pax-sublabel {
  font-size: 11px;
  color: rgba(255, 248, 240, 0.45);
}

.pax-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pax-counter-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition-tactile);
}

.pax-counter-btn:hover {
  background-color: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
}

.pax-count-val {
  font-size: 14px;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

.pax-confirm {
  width: 100%;
  padding: 10px;
  background-color: var(--accent-terracotta);
  color: var(--white);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-top: 8px;
  transition: var(--transition-tactile);
}

.pax-confirm:hover {
  background-color: #d98c20;
}

/* Search Button */
.search-btn {
  width: 100%;
  height: 48px;
  background-color: var(--accent-terracotta);
  color: var(--white);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(242, 162, 58, 0.25);
  transition: var(--transition-tactile);
  border: none;
  cursor: pointer;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 162, 58, 0.35);
}

.search-btn:active {
  transform: translateY(0);
}

/* Responsive grid colapse rules */
@media (max-width: 1200px) {
  .search-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .search-card {
    padding: 24px;
  }
  .search-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ── Cookie Consent Overlay ── */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 12, 18, 0.96);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-box {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 52px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cookie-brand {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 28px;
  opacity: 0.7;
}
.cookie-brand span { color: var(--accent-terracotta); }

.cookie-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(30, 77, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.cookie-icon-wrap i {
  font-size: 36px;
  color: var(--accent-emerald);
}

.cookie-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cookie-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 42ch;
}

.cookie-link {
  color: var(--accent-emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-link:hover { color: var(--accent-terracotta); }

.cookie-accept-btn {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--accent-terracotta);
  color: #20242E;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: background-color 0.22s, transform 0.18s;
  box-shadow: 0 8px 28px rgba(242, 162, 58, 0.3);
}
.cookie-accept-btn i { font-size: 20px; }
.cookie-accept-btn:hover {
  background: #d98c20;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(242, 162, 58, 0.4);
}
.cookie-accept-btn:active { transform: translateY(0); }

.cookie-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.6;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .cookie-box { padding: 36px 28px; }
}