/* =============================================
   NEXALINK ISP - Stylesheet Principal (Corporativo)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Variables ─────────────────────────── */
:root {
  /* Paleta Base: Limpia y Corporativa (Estilo Claro/Empresarial) */
  --blue-900: #ffffff;             /* Fondo principal claro */
  --blue-800: #f8fafc;             /* Fondos secundarios */
  --blue-700: #f1f5f9;             /* Bordes y separadores */
  --blue-600: #e2e8f0;             /* Despliegues y hovers */
  
  /* Identidad de Marca (Acentos) */
  --accent:   #0066ff;             /* Azul corporativo principal */
  --accent-2: #0044cc;             /* Azul oscuro para gradientes de confianza */
  --accent-glow: rgba(0, 102, 255, 0.06);
  --green:    #10b981;             /* Verde de éxito / activo */
  --white:    #0f172a;             /* El texto ahora es oscuro para contrastar con el fondo blanco */
  
  /* Escala de Grises para Textos y Detalles */
  --gray-100: #334155;             /* Texto secundario de alta lectura */
  --gray-200: #64748b;             /* Texto descriptivo / subtítulos */
  --gray-300: #94a3b8;  
  --gray-light:#f3f4f6;           /* Placeholders y desactivados */
  
  /* Componentes Limpios */
  --card-bg:  #ffffff;
  --card-border: rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 10px 30px rgba(0, 0, 0, 0.04);
  
  /* Estructura */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Tipografías Limpias y Corporativas (Sin estilo robótico) */
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* Modo Invertido (Para mantener tu funcionalidad [data-theme]) */
[data-theme="light"] {
  --blue-900: #0f172a;
  --blue-800: #1e293b;
  --blue-700: #334155;
  --blue-600: #475569;
  --card-bg:  rgba(30, 41, 59, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --white: #f8fafc;
  --gray-100: #cbd5e1;
  --gray-200: #94a3b8;
  --gray-300: #64748b;
  --shadow-glow: 0 10px 35px rgba(0,0,0,0.3);
}

/* ─── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0.5; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: #F4F7FC;
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: var(--font-body); }

/* ─── Utility Classes ───────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 102, 255, 0.15);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.01em;

}
.section-title span { color: var(--accent); }
.section-sub {
  color: var(--gray-200);
  font-size: 1.05rem;
  max-width: 580px;
  margin-top: 12px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 12px auto 0; }

/* ─── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--blue-800); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── Noise Texture Overlay (Suavizado para fondo claro) ─────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* ─── Buttons ───────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.2);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--accent);
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
}

/* ─── Glow Divider ──────────────────────────── */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-600), transparent);
  margin: 0;
}

/* ─── Promo Banner ──────────────────────────── */
#promo-banner {
  background: var(--accent-2);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: #fff;
  position: relative;
  z-index: 1100;
}
#promo-banner span { opacity: 0.8; margin: 0 6px; }
#promo-banner .banner-close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #fff;
  font-size: 1.2rem;
  opacity: 0.75;
}
#promo-banner .banner-close:hover { opacity: 1; }

/* ─── Navbar ────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
  background: #fff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar.scrolled {
  background-color: rgba(10, 15, 29, 0.9); /* Se adapta al nuevo fondo base con transparencia */
  backdrop-filter: blur(12px);             /* Efecto de cristal esmerilado premium */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.nav-logo img {
  height: 90px;       /* Ajusta este valor (ej: 40px, 45px, 50px) para cambiar el tamaño */
  width: auto;        /* Hace que el ancho se adapte automáticamente para que no se estire */
  object-fit: contain; /* Garantiza que la imagen se encuadre perfectamente */
}
.logo-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--gray-100);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: var(--accent-glow);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #ffffff;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--blue-700);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 0;
  color: var(--gray-100);
  border-bottom: 1px solid var(--blue-700);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn-primary { margin-top: 16px; justify-content: center; }

/* ─── Hero Section ──────────────────────────── */
#hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}
.hero-bg, .hero-grid, .hero-orb { display: none; } /* Removidos los elementos excesivos/robóticos del fondo */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(0, 102, 255, 0.2);
  top: -100px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(0, 200, 255, 0.15);
  bottom: 0; left: 10%;
  animation: float 11s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--card-border);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--accent); }
.hero-title .accent-2 { color: var(--green); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-200);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--accent); }
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--gray-200);
  margin-top: 4px;
  letter-spacing: 0.03em;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.speed-ring {
  position: relative;
  width: 320px; height: 320px;
}
.ring-outer {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgb(111 111 111 / 0%), rgb(223 223 223));
  border: 0px solid rgba(0,200,255,0.15);
  display: flex; align-items: center; justify-content: center;
  animation: spin-slow 20s linear infinite;
}
.ring-inner {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 10% 10%, rgb(255 255 255), rgba(255, 255, 255, 0.3));
  border: 1px solid rgb(6 6 6 / 40%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  animation: spin-slow 20s linear infinite reverse;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.ring-inner-content {
  animation: spin-slow 20s linear infinite;
  text-align: center;
}
.ring-speed {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.ring-unit {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: black;
}
.ring-label {
  font-size: 0.78rem;
  color: black;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ring-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent);
  top: 12px; left: 50%;
  transform: translateX(-50%);
}
.floating-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.float-card {
  position: absolute;
  background: transparent;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: px solid var(--accent);
  padding: 12px 18px;
  color: var(--card-bg);
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
 
}
.float-card .fc-icon {
  font-size: 1rem;
  
}
.float-card-1 { top: 20px; right: -20px; animation: float 7s ease-in-out infinite;  color: var(--accent); }
.float-card-2 { bottom: 40px; left: -30px; animation: float 9s ease-in-out infinite 1s;  color: var(--accent);}
.float-card-3 { top: 50%; left: -50px; transform: translateY(-50%); animation: float 10s ease-in-out infinite 2s;  color: var(--accent);}

/* ─── Plans Section ─────────────────────────── */
#planes { padding: 90px 0; background: #F4F7FC; }
.plans-header { text-align: center; margin-bottom: 48px; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}
.plan-card {
  background: #ffffff;
  border: 1px solid rgba(30, 94, 255, 0.12);
  border-radius: 24px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;

  /* SOMBRA PRINCIPAL */
  box-shadow:
    0 10px 30px rgba(30, 94, 255, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);

  transition: all 0.35s ease;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: var(--transition);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.12); }
.plan-card:hover::before { opacity: 1; }

.plan-card.popular {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,102,255,0.05);
  text-align: center;
}
.plan-card.popular::before { opacity: 1; }
.popular-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.plan-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  text-align: center;
}
.plan-speed {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-align: center;
}

.plan-speed {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

/* NUMERO */
.speed-number {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;

  color: #1E5EFF;
}

/* MBPS */
.speed-unit {
  font-size: 28px;
  font-weight: 700;

  color: #081F5C;

  margin-bottom: 8px;
}

/* TEXTO ABAJO */
.speed-text {
  text-align: center;

  color: #64748B;

  font-size: 18px;

  margin-top: 4px;
}



.plan-icon {
  width: 85px;
  height: 85px;

  background: #EEF4FF;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 28px;
}


.plan-speed-label {
  font-size: 0.85rem;
  color: var(--gray-200);
  margin-bottom: 20px;
  text-align: center;
}
.plan-features {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-100);
}
.plan-features li .check {
  width: 22px;
  height: 22px;

  background: #1E5EFF;
  color: #ffffff;

  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  font-weight: bold;

  margin-right: 12px;

  flex-shrink: 0;
}
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 24px;
}
.plan-price-currency {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-100);
  line-height: 2;
}
.plan-price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.plan-price-period {
  font-size: 0.85rem;
  color: var(--gray-200);
  line-height: 2;
}
.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.plan-btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.plan-btn-outline:hover { background: var(--accent-glow); }
.plan-btn-filled {
  background: var(--accent);
  color: #fff;
}
.plan-btn-filled:hover { background: var(--accent-2); }

/* ─── Benefits Section ──────────────────────── */
/* ==========================================================================
   SECCIÓN BENEFICIOS REESTILIZADA (ESTILO PROFESIONAL GLASS/NEÓN)
   ========================================================================== */

#beneficios {
  padding: 100px 0;
  background: #F4F7FC; /* Fondo gris claro/azul sutil para que contrasten las tarjetas blancas */
}

/* Reajuste del Grid responsivo automático */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 54px;
}

/* Diseño de la Tarjeta Cristal Premium */
.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 102, 255, 0.15); /* Borde de cristal azulado sutil */
  border-radius: 20px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 10px 30px rgba(0, 51, 153, 0.03),
    inset 0 1px 2px rgba(255, 255, 255, 0.8); /* Reflejo superior */
}

/* Comportamiento al pasar el Mouse (Hover) */
.benefit-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: var(--accent); /* Resalte neón con tu color principal */
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.12);
}

/* Caja contenedora para el Icono Moderno */
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0; /* Evita que el contenedor se deforme */
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.08) rotate(2deg);
}

/* ─── PALETA CROMÁTICA DE ICONOS DIGITALES ─── */
.icon-blue {
  background: rgba(0, 102, 255, 0.08);
  color: #0066ff;
}
.icon-cyan {
  background: rgba(0, 212, 255, 0.08);
  color: #00b4d8;
}
.icon-navy {
  background: rgba(15, 23, 42, 0.06);
  color: #1e293b;
}
.icon-emerald {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

/* Bloque contenedor de textos alineados */
.benefit-info {
  display: flex;
  flex-direction: column;
}

/* Título Interno de la Tarjeta */
.benefit-title {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a; /* Texto oscuro e imponente */
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

/* Párrafo Descriptivo */
.benefit-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569; /* Gris pizarra legible y balanceado */
  margin: 0;
}

/* ─── MEDIA QUERIES PARA PANTALLAS MÓVILES Y TABLETS ─── */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Columnas en Tablets */
    gap: 20px;
  }
}

@media (max-width: 768px) {
  #beneficios {
    padding: 70px 0;
  }
  .benefits-grid {
    grid-template-columns: 1fr; /* 1 Sola columna vertical en Celulares */
    gap: 16px;
    margin-top: 36px;
  }
  .benefit-card {
    padding: 22px; /* Espaciado interno más óptimo para móviles */
  }
}
/* ─── Speed Indicator ───────────────────────── */
.speed-indicator {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid var(--blue-600);
  border-radius: var(--radius-md);
  padding: 32px;
}
.speed-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.speed-bar-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-100);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.speed-bar-track {
  height: 6px;
  background: var(--blue-700);
  border-radius: 100px;
  overflow: hidden;
}
.speed-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Coverage Section ──────────────────────── */
/* ==========================================================================
   SECCIÓN COBERTURA (MAPA INTERACTIVO Y REJILLA DE SECTORES)
   ========================================================================== */

#cobertura {
  padding: 100px 0;
  background: #f4f7fc;
}

.cobertura-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 50px;
}

/* ─── COLUMNA IZQUIERDA: DISEÑO DEL CONTENEDOR DEL MAPA ─── */
.map-container {
  position: relative;
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(0, 51, 153, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.08);
  background: #ffffff;
  padding: 10px;
}

.map-container iframe {
  display: block;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.map-overlay-glow {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.04) 0%, transparent 70%);
  z-index: -1;
}

/* ─── COLUMNA DERECHA: SECTORES ACTIVOS ─── */
.panel-header-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  background: rgba(0, 102, 255, 0.05);
  padding: 10px 18px;
  border-radius: 30px;
  width: fit-content;
}

/* Pequeño punto verde parpadeante de "Servicio Activo" */
.status-indicator {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  position: relative;
}

.animate-pulse {
  animation: pulseGlow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.2); }
}

.panel-header-status h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent, #0066ff);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Rejilla de Sectores Modernizada */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.sector-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-item i {
  color: #10b981; /* Cotejo verde */
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/* Efecto Hover dinámico en los sectores */
.sector-item:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.25);
  color: var(--accent, #0066ff);
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0, 51, 153, 0.04);
}

.sector-item:hover i {
  transform: scale(1.15);
}

/* ─── BANNER DE PRÓXIMA EXPANSIÓN (ESTILO CRISTAL SOFT) ─── */
.expansion-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(0, 102, 255, 0.06);
  border-radius: 20px;
  padding: 20px 24px;
}

.expansion-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--accent, #0066ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.expansion-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.expansion-text p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

/* ─── ADAPTABILIDAD RESPONSIVA ─── */
@media (max-width: 1024px) {
  .cobertura-wrapper {
    grid-template-columns: 1fr; /* Una sola columna en tablets */
    gap: 40px;
  }
  .map-container iframe {
    height: 380px;
  }
}

@media (max-width: 576px) {
  .sectors-grid {
    grid-template-columns: 1fr; /* Lista vertical simple en celulares */
    gap: 10px;
  }
  .expansion-banner {
    flex-direction: column;
    gap: 14px;
  }
}

/* ─── About Section ─────────────────────────── */
/* ==========================================================================
   SECCIÓN SOBRE NOSOTROS (ESTILO INTERFAZ ASIMÉTRICA PREMIUM)
   ========================================================================== */

#nosotros {
  padding: 100px 0;
  background: #F4F7FC;
  overflow: hidden;
}

/* Contenedor principal en dos columnas */
.about-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

/* ─── 1. DISEÑO DE LA COLUMNA DE IMAGEN ─── */
.about-media {
  position: relative;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 51, 153, 0.08);
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  border: 1px solid rgba(0, 102, 255, 0.1);
}

/* Resplandor ambiental trasero para dar profundidad */
.image-overlay-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  z-index: -1;
}

/* Tarjeta flotante de experiencia incrustada en la foto */
.experience-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--accent, #0066ff);
  color: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.25);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: floatSubtleArriba 6s ease-in-out infinite;
}

.experience-badge h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.experience-badge p {
  font-size: 0.85rem;
  font-weight: 500;
  margin: 4px 0 0 0;
  opacity: 0.9;
  white-space: nowrap;
}

/* ─── 2. TEXTOS Y ESTRUCTURA DE CONTENIDO ─── */
.about-content .section-badge {
  margin-left: 0;
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-content .section-sub {
  text-align: left;
  max-width: 100%;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* ─── 3. TARJETAS DE MISIÓN Y VISIÓN (ESTILO CRISTAL) ─── */
.mision-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.mv-card {
  background: #fff;
  border: 1px solid rgba(0, 102, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mv-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: var(--accent); /* Resalte neón con tu color principal */
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.12);
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mv-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.mv-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.mv-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

/* ─── 4. DISEÑO DE VALORES (TAGS TECNOLÓGICAS) ─── */
.valores-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.valores-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-value {
  background: rgba(0, 102, 255, 0.05);
  color: #0066ff;
  padding: 10px 18px;
  border-radius: 30px; /* Estilo píldora fluido */
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 102, 255, 0.05);
  transition: all 0.3s ease;
}

.tag-value i {
  font-size: 0.95rem;
}

.tag-value:hover {
  background: var(--accent, #0066ff);
  color: #ffffff;
  border-color: var(--accent);
  transform: scale(1.04);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.15);
  cursor: default;
}

/* ─── PANTALLAS ADAPTATIVAS (RESPONSIVE) ─── */
@media (max-width: 1024px) {
  .about-wrapper {
    grid-template-columns: 1fr; /* Pasa a una sola columna */
    gap: 48px;
  }
  .about-media {
    max-width: 600px;
    margin: 0 auto;
  }
  .about-img {
    height: 400px;
  }
  .experience-badge {
    right: 15px;
  }
}

@media (max-width: 576px) {
  .mision-vision-grid {
    grid-template-columns: 1fr; /* Misión y Visión se apilan en teléfonos */
    gap: 16px;
  }
  .experience-badge {
    position: static;
    margin-top: 16px;
    border-radius: 16px;
    transform: none !important;
    animation: none;
  }
  .about-img {
    height: 300px;
  }
}

/* ─── How to Contract ───────────────────────── */
#contratar { padding: 90px 0; background: #F4F7FC; }
.steps-layout { margin-top: 48px; }
.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps-track::before { display: none; } /* Línea futurista removida */

.step-item { padding: 0; text-align: left; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.step-count { display: none; }
.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.step-text {
  font-size: 0.88rem;
  color: var(--gray-100);
}
.wa-cta-box {
  margin-top: 48px;
  background: var(--blue-800);
  border: 1px solid var(--blue-600);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wa-cta-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.wa-cta-text { font-size: 0.95rem; color: var(--gray-100); }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-whatsapp:hover { background: #1ebd59; transform: translateY(-1px); }

/* ─── Testimonials ──────────────────────────── */
#testimonios { padding: 90px 0; background: var(--blue-800); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--blue-600);
  border-radius: var(--radius-md);
  padding: 24px;
}
.t-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 12px; }
.t-quote { font-size: 0.92rem; color: var(--gray-100); line-height: 1.6; font-style: italic; margin-bottom: 16px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.t-name { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--white); }
.t-role { font-size: 0.8rem; color: var(--gray-200); }

/* ─── Form Section ──────────────────────────── */
/* ==========================================================================
   SECCIÓN PROCESO DE SOLICITUD (TIMELINE & BANNER PREMIUM)
   ========================================================================== */

#proceso {
  padding: 100px 0;
  background: #F4F7FC;
}

/* Contenedor relativo de la línea de tiempo */
.process-steps-container {
  position: relative;
  margin-top: 60px;
  margin-bottom: 60px;
  width: 100%;
}

/* Línea conectora horizontal de fondo */
.process-line {
  position: absolute;
  top: 40px; /* Alineada exactamente en el centro de las esferas */
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(to right, rgba(0, 102, 255, 0.05), var(--accent, #0066ff) 50%, rgba(0, 102, 255, 0.05));
  z-index: 1;
}

/* Cuadrícula de 4 pasos */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

/* Tarjeta individual de Paso */
.step-card {
  background: #F4F7FC;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

/* Contenedor de esferas e indicadores de número */
.step-number-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px auto;
}

/* Número indicador flotante pequeño */
.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(0, 102, 255, 0.1);
  z-index: 3;
}

/* Círculo contenedor del Icono */
.step-icon {
  width: 100%;
  height: 100%;
  background: #fff;
  border: 2px solid rgba(0, 102, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #0066ff);
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 51, 153, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efectos hover en las esferas del paso */
.step-card:hover .step-icon {
  background: var(--accent, #0066ff);
  color: #ffffff;
  border-color: var(--accent, #0066ff);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.25);
  transform: translateY(-4px);
}

.step-card:hover .step-number {
  background: #00e1d9;
  color: #0f172a;
  border-color: #00e1d9;
}

/* Textos informativos de cada paso */
.step-content h3 {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.2px;
}

.step-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

/* ─── 3. BANNER MODERNO DE WHATSAPP (ESTILO BANNER PREMIUM) ─── */
.cta-whatsapp-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid rgba(0, 102, 255, 0.801);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 32px 40px;
  margin-top: 40px;
  box-shadow: 0 10px 35px rgba(0, 51, 153, 0.02);
}

.cta-whatsapp-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.cta-whatsapp-text p {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
}

/* Botón interactivo de WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: #1ebd57;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp i {
  font-size: 1.2rem;
}

/* ─── AJUSTES PARA COMPORTAMIENTO RESPONSIVO ─── */
@media (max-width: 1024px) {
  .process-line {
    display: none; /* Ocultamos la línea horizontal en pantallas medianas/celulares */
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 en tablets */
    gap: 36px 24px;
  }
  .cta-whatsapp-banner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr; /* Línea recta vertical en smartphones */
    gap: 32px;
  }
  .step-card {
    padding: 0;
  }
  .step-number-container {
    margin-bottom: 16px;
  }
}

/* ─── Social Links ──────────────────────────── */
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--blue-800);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-100);
}
.social-btn:hover { background: var(--accent); color: #fff; }

/* ─── FAQ Section ───────────────────────────── */
#faq { padding: 90px 0; background: var(--blue-800); }
.faq-list { max-width: 740px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #ffffff;
  border: 1px solid var(--blue-600);
  border-radius: var(--radius-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 4px;
  background: var(--blue-800);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 0.92rem; color: var(--gray-100); }

/* ─── Footer ────────────────────────────────── */
#footer {
  background: #0f172a; /* El pie de página permanece oscuro, un estándar muy elegante y corporativo */
  color: #f8fafc;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 0;
}
#footer .footer-logo, #footer .footer-col-title { color: #ffffff; }
#footer .footer-desc, #footer .footer-links a, #footer .footer-copy, #footer .footer-legal a { color: #94a3b8; }
#footer .footer-links a:hover, #footer .footer-legal a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.footer-col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 0.85rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.85rem; }

/* ─── WhatsApp Float ────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

/* ─── Scroll Reveal ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(15px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }

/* ─── Responsive (Mantenido intacto) ──────────────── */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .coverage-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .steps-track { grid-template-columns: 1fr 1fr; gap: 24px; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .speed-bars { grid-template-columns: 1fr 1fr; }
  .wa-cta-box { flex-direction: column; text-align: center; }
  .about-mvv { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 16px; }
  .hero-actions { flex-direction: column; }
  .steps-track { grid-template-columns: 1fr; }
  .coverage-sectors { grid-template-columns: 1fr; }
  .speed-bars { grid-template-columns: 1fr; }
}
/* ─── Estructura del Carrusel de Planes (Separación de Flechas) ─── */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0; 
}

/* Ventana contenedora: Le agregamos un margen lateral para separar las tarjetas de las flechas */
.carousel-window {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Oculta barra en Firefox */
  /* Añadimos 24px de margen a los lados para alejar las tarjetas de los bordes externos */
  margin: 0 24px; 
  padding: 25px 0 35px 0; /* Un poco más de padding arriba por la etiqueta de "Más Popular" */
}

.carousel-window::-webkit-scrollbar {
  display: none; /* Oculta barra en Chrome/Safari */
}

/* Grid flexible adaptada al nuevo ancho */
.plans-grid {
  display: flex !important;
  gap: 20px; 
  width: 100%; 
}

/* Tarjetas recalculadas para que sigan entrando las 4 completas en el nuevo espacio */
.plan-card {
  /* Recalculamos el ancho restando los gaps para que entren las 4 exactas dentro del margen */
  width: calc(25% - 15px); 
  flex-shrink: 0; 
  background: var(--card-bg);
  border: 1px solid var(--blue-600);
  border-radius: var(--radius-md);
  padding: 32px 20px; 
  transition: var(--transition);
  position: relative;
}

/* Botones de Navegación (Flechas completamente despegadas en las esquinas) */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--blue-600);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  z-index: 20; 
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.2);
  cursor: pointer;
}

/* Llevamos las flechas a los extremos absolutos de la sección, lejos de las tarjetas */
.carousel-btn.prev {
  left: -30px; 
}

.carousel-btn.next {
  right: -30px; 
}

/* Ajustes Responsivos */
@media (max-width: 1024px) {
  .carousel-window {
    margin: 0 15px; /* Reducimos el pasillo en pantallas medianas */
  }
  .plans-grid {
    width: max-content; 
  }
  .plan-card {
    width: 280px; 
  }
  .carousel-btn.prev { left: -5px; }
  .carousel-btn.next { right: -5px; }
}

@media (max-width: 768px) {
  .carousel-window {
    margin: 0; /* En celulares eliminamos el margen para aprovechar toda la pantalla */
  }
  .carousel-btn {
    display: none; 
  }
}

/* ==========================================================================
   CONTROL DE LOGO COMPLETAMENTE RESPONSIVO (TODAS LAS PANTALLAS)
   ========================================================================== */

/* 💻 1. Computadoras Grandes, Monitores iMac y Displays UltraWide (Por defecto) */
.logo-img {
  height: 50px; /* Altura elegante y visible para pantallas de escritorio */
  width: auto;
  object-fit: contain; /* Garantiza que nunca se distorsione ni se aplaste */
  transition: height 0.3s ease, transform 0.3s ease;
}

/* 💻 2. Laptops y Pantallas Medianas (Hasta 1200px) */
@media (max-width: 1200px) {
  .logo-img {
    height: 50px; /* Se reduce sutilmente para adaptarse a laptops de 13" y 14" */
  }
}

/* 📑 3. Tablets en modo Horizontal / iPads Grandes (Hasta 1024px) */
@media (max-width: 1024px) {
  .logo-img {
    height: 40px; /* Evita que empuje los enlaces del menú si el espacio horizontal se reduce */
  }
}

/* 📳 4. Tablets en modo Vertical y Phablets (Hasta 768px) */
@media (max-width: 768px) {
  .logo-img {
    height: 40px; /* Altura perfecta para convivir de manera fluida con el botón de menú hamburguesa */
  }
}

/* 📱 5. Smartphones y Celulares Pequeños (Hasta 480px) */
@media (max-width: 480px) {
  .logo-img {
    height: 30px; /* Tamaño compacto premium para que no asfixie ni desborde el navbar móvil */
  }
}



/* ==========================================================================
   INTERFAZ DE CONTACTO Y FORMULARIO REMODELADA (PREMIUM)
   ========================================================================== */

#contacto {
  padding: 100px 0;
  background: #f8fafc; /* Fondo gris sutil para resaltar el blanco de las tarjetas */
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

/* ─── COLUMNA IZQUIERDA: TARJETA DE INFORMACIÓN ─── */
.contact-info-panel h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 10px 0 16px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.info-desc {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 36px;
}

.info-links-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 102, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.01);
}

/* Formato extendido para el contenedor de horarios */
.info-item.card-horario {
  align-items: flex-start;
}

.item-icon {
  width: 42px;
  height: 42px;
  background: rgba(0, 102, 255, 0.06);
  color: var(--accent, #0066ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.item-text span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.item-text a, 
.item-text p {
  font-size: 0.98rem;
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
  margin: 0;
}

.item-text a:hover {
  color: var(--accent, #0066ff);
}

.horario-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.horario-grid p {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}

.emergencia-tag {
  color: #e11d48 !important; /* Resalte sofisticado para emergencias */
}

/* Iconos de Redes Sociales */
.social-networks {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: #ffffff;
  color: #475569;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
  background: var(--accent, #0066ff);
  color: #ffffff;
  border-color: var(--accent, #0066ff);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
}


/* ─── COLUMNA DERECHA: PANEL DEL FORMULARIO ELEGANTE ─── */
.contact-form-panel {
  background: #ffffff;
  border: 1px solid rgba(0, 102, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 51, 153, 0.03);
}

.contact-form-panel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px 0;
  letter-spacing: -0.3px;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

/* Envoltura del input para posicionar el icono interno */
.input-container {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.textarea-icon {
  top: 20px; /* Alineación superior para el cuadro de comentarios */
}

/* Inputs, Selects y Textarea reestilizados */
.modern-form input,
.modern-form select,
.modern-form textarea {
  width: 100%;
  padding: 13px 16px 13px 44px; /* Espacio extra a la izquierda para el icono */
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #0f172a;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efectos de Iluminación Interactiva */
.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent, #0066ff);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.08);
}

/* Al hacer foco, el icono cambia al color de la marca */
.input-container:focus-within .input-icon {
  color: var(--accent, #0066ff);
}

.modern-form textarea {
  resize: none;
}

/* Botón de Enviar (Match con la Barra de Navegación) */
.btn-submit-form {
  background: var(--accent, #0066ff);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.15);
  transition: all 0.3s ease;
  margin-top: 6px;
}

.btn-submit-form:hover {
  background: #0052cc;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.25);
}


/* ─── ADAPTABILIDAD MÓVIL (RESPONSIVE) ─── */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr; /* Columna única en tablets y teléfonos */
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .contact-form-panel {
    padding: 28px 20px; /* Reducción de padding para pantallas compactas */
  }
  .form-row {
    grid-template-columns: 1fr; /* Ciudad y Sector se apilan verticalmente */
    gap: 18px;
  }
}