/* ==========================================================================
   AMORAVIAS - ESTILOS PRINCIPALES Y SISTEMA DE DISEÑO
   Agencia de Viajes - Sitio Web Oficial Temporal / Próximo Lanzamiento
   ========================================================================== */

/* --- Importación de Fuentes Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Variables de Diseño & Design Tokens --- */
:root {
  /* Paleta de Colores Primaria */
  --bg-dark: #070d18;
  --bg-surface: #0e1726;
  --bg-surface-elevated: #152238;
  --bg-card: rgba(19, 31, 52, 0.75);
  --bg-card-hover: rgba(28, 45, 74, 0.85);
  --bg-glass: rgba(14, 23, 38, 0.65);

  /* Acentos y Gradientes */
  --primary: #00d2df;
  --primary-glow: rgba(0, 210, 223, 0.35);
  --primary-hover: #00b4d8;
  --secondary: #ff8c38;
  --secondary-glow: rgba(255, 140, 56, 0.35);
  --accent-gold: #ffb703;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  /* Gradientes */
  --gradient-brand: linear-gradient(135deg, #00d2df 0%, #0077b6 100%);
  --gradient-sunset: linear-gradient(135deg, #ff8c38 0%, #ffb703 100%);
  --gradient-hero: radial-gradient(circle at 50% 20%, rgba(0, 210, 223, 0.15), transparent 70%),
                   radial-gradient(circle at 80% 80%, rgba(255, 140, 56, 0.08), transparent 50%);
  --gradient-border: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(0, 210, 223, 0.4), rgba(255, 255, 255, 0.05));

  /* Tipografía */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Colores de Texto */
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-highlight: #38bdf8;

  /* Bordes & Sombras */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 210, 223, 0.5);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(0, 210, 223, 0.25);

  /* Espaciado y Medidas */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fondo con efecto de malla luminosa */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 15%, rgba(0, 210, 223, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(255, 140, 56, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(0, 119, 182, 0.09) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Elementos de Texto */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Utilidades Visuales --- */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #00d2df 70%, #ffb703 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-warm {
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(0, 210, 223, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 210, 223, 0.3);
  backdrop-filter: blur(8px);
}

.badge-pulse {
  position: relative;
}

.badge-pulse::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ==========================================================================
   HEADER & NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-normal);
  padding: 1.25rem 0;
}

.site-header.scrolled {
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.brand-logo svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.brand-logo span.highlight {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1.6rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
}

/* Botones Principales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #070d18;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 223, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #22bf5b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero-background-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.orb-1 {
  top: 10%;
  left: 20%;
  width: 320px;
  height: 320px;
  background: var(--primary);
}

.orb-2 {
  bottom: 20%;
  right: 15%;
  width: 380px;
  height: 380px;
  background: var(--secondary);
  animation-delay: -5s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 40px) scale(1.15); }
}

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

.hero-badge-wrapper {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Cuenta Regresiva de Apertura */
.countdown-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  max-width: 650px;
  margin: 0 auto 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-highlight);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  background: rgba(7, 13, 24, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.35rem;
  letter-spacing: 0.05em;
}

/* Acciones Hero & Lead Rápido */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Barra de Búsqueda Rápida de Exploración */
.quick-finder-bar {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 210, 223, 0.08);
}

.finder-form {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
}

.finder-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  padding: 0.5rem 0.75rem;
  background: rgba(7, 13, 24, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.finder-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.finder-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.finder-field select,
.finder-field input {
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
}

.finder-field select option {
  background: var(--bg-surface);
  color: var(--text-main);
}

/* Indicadores de Confianza */
.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECCIÓN DE DESTINOS EN PREVENTA
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

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

/* Filtros de Categorías */
.category-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #070d18;
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Grilla de Destinos */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.destination-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
}

.destination-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 210, 223, 0.35);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 210, 223, 0.15);
}

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

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

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

.card-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.1) 0%, rgba(7, 13, 24, 0.8) 100%);
}

.card-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 13, 24, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-duration-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(7, 13, 24, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================================
   COTIZADOR & ASISTENTE EXPRESS DE VIAJES
   ========================================================================== */
.planner-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 50%, var(--bg-dark) 100%);
  position: relative;
}

.planner-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 223, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 210, 223, 0.1);
  position: relative;
}

.planner-steps-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
}

.planner-steps-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
  transform: translateY(-50%);
}

.step-indicator-bar {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background: var(--primary);
  z-index: 2;
  transform: translateY(-50%);
  transition: width var(--transition-normal);
  width: 33%;
}

.step-item {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: var(--transition-fast);
}

.step-item.active .step-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: #070d18;
  box-shadow: 0 0 15px var(--primary-glow);
}

.step-item.completed .step-circle {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald);
  color: #070d18;
}

.step-title-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-item.active .step-title-text {
  color: var(--text-main);
}

/* Contenido de Pasos */
.planner-step-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.planner-step-content.active {
  display: block;
}

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

.planner-question {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.75rem;
}

/* Opciones de selección en cuadrícula */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.choice-card {
  background: rgba(7, 13, 24, 0.6);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.choice-card:hover {
  border-color: rgba(0, 210, 223, 0.5);
  background: rgba(0, 210, 223, 0.05);
}

.choice-card.selected {
  border-color: var(--primary);
  background: rgba(0, 210, 223, 0.12);
  box-shadow: 0 0 20px var(--primary-glow);
}

.choice-icon {
  font-size: 2.2rem;
}

.choice-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.choice-subtext {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Formularios de Input del Planificador */
.planner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  background: rgba(7, 13, 24, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.planner-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   BENEFICIOS / POR QUÉ AMORAVIAS
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 223, 0.4);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 223, 0.1);
  border: 1px solid rgba(0, 210, 223, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.feature-box:nth-child(2) .feature-icon-wrapper {
  background: rgba(255, 140, 56, 0.1);
  border-color: rgba(255, 140, 56, 0.25);
  color: var(--secondary);
}

.feature-box:nth-child(3) .feature-icon-wrapper {
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.25);
  color: var(--accent-gold);
}

.feature-box:nth-child(4) .feature-icon-wrapper {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FORMULARIO VIP / LISTA DE ESPERA
   ========================================================================== */
.vip-section {
  position: relative;
}

.vip-card-wrapper {
  background: linear-gradient(135deg, rgba(14, 23, 38, 0.9) 0%, rgba(21, 34, 56, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 210, 223, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vip-card-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 210, 223, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.vip-content {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.vip-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.vip-input-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.vip-input {
  background: rgba(7, 13, 24, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.5rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.vip-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.vip-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.vip-perks span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vip-perks svg {
  color: var(--accent-emerald);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #04080f;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin: 1.25rem 0;
  max-width: 320px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--primary);
  color: #070d18;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
}

.contact-info-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ==========================================================================
   WIDGET FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
}

.whatsapp-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  border: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition-normal);
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-popup-card {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  animation: popupSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-popup-card.show {
  display: block;
}

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

.popup-header {
  background: #075e54;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.popup-agent {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agent-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.agent-info h5 {
  font-size: 0.95rem;
}

.agent-info span {
  font-size: 0.75rem;
  color: #86efac;
}

.popup-body {
  padding: 1.25rem;
  background: #0b141a;
}

.agent-message-bubble {
  background: #202c33;
  padding: 0.85rem;
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  font-size: 0.85rem;
  color: #e9edef;
  margin-bottom: 1rem;
}

.quick-chat-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-chat-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #e9edef;
  font-size: 0.8rem;
  text-align: left;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quick-chat-btn:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  color: #25d366;
}

/* ==========================================================================
   TOAST & MODAL FEEDBACK
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--primary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Modal Legal / Políticas */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.show {
  display: flex;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

/* ==========================================================================
   RESPONSIVIDAD & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .finder-form {
    grid-template-columns: 1fr 1fr;
  }
  
  .finder-btn-submit {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-surface-elevated);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 99;
  }

  .nav-links.open {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 100;
  }

  .nav-actions .btn-whatsapp-header {
    display: none;
  }

  .countdown-grid {
    gap: 0.5rem;
  }

  .countdown-item {
    padding: 0.5rem;
  }

  .planner-container {
    padding: 1.5rem;
  }

  .planner-form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .vip-input-row {
    grid-template-columns: 1fr;
  }

  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .finder-form {
    grid-template-columns: 1fr;
  }

  .finder-btn-submit {
    grid-column: span 1;
  }
}
