/* ==========================================
   VARIABLES GLOBALES Y RESET
   ========================================== */
:root {
  --c-primary: #0b2545;       /* Azul oscuro corporativo */
  --c-primary-light: #1a4a8a; /* Azul medio */
  --c-cyan: #21bdd8;          /* Celeste vibrante / CTA */
  --c-white: #ffffff;
  --c-bg-light: #deeef9;      /* Fondo secciones claras */
  --c-text-dark: #222222;
  --c-text-gray: #666666;
  
  --font-title: 'Nunito', sans-serif;
  --font-main: 'Nunito', sans-serif;
  
  --transition: all 0.3s ease;
}

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body { 
  font-family: var(--font-main); 
  overflow-x: hidden; 
  color: var(--c-text-dark);
  background-color: var(--c-white);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-cyan { color: var(--c-cyan) !important; }
.mt-3 { margin-top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ==========================================
   3. NAVBAR (Menú Cristal Sticky)
   ========================================== */
.navbar {
  position: fixed; /* Hace que el menú se quede fijo al hacer scroll */
  top: 0; 
  left: 0; 
  right: 0;
  z-index: 999;
  
  /* Efecto Cristal (Glassmorphism) */
  background: rgba(10, 27, 69, 0.6); /* Color azul marino con 60% de opacidad */
  backdrop-filter: blur(12px); /* El desenfoque que crea el efecto de vidrio */
  -webkit-backdrop-filter: blur(12px); /* Soporte para Safari/iOS */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Una línea blanca muy sutil debajo */
  
  height: 90px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-container {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
}

.nav-logo img { height: 45px; object-fit: contain; }

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; height: 100%; }

.nav-links a {
  color: var(--c-white); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: var(--transition);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  font-size: 1rem;
}

.nav-links a:hover { color: var(--c-cyan); }

/* Estilo para el enlace activo */
.nav-links a.active {
  color: var(--c-cyan);
  border-bottom: 2px solid var(--c-cyan);
}

.btn-nav {
    text-decoration: none;
}

.menu-toggle { display: none; background: transparent; border: none; color: var(--c-white); font-size: 1.5rem; cursor: pointer; }
/* ==========================================
   RESPONSIVE NAVBAR (Móvil y Tablet)
   ========================================== */
@media (max-width: 992px) {
  /* 1. Mostramos el icono de hamburguesa */
  .menu-toggle { 
    display: block; 
  }
  
  /* 2. Ocultamos el botón de cotizar para no amontonar la barra */
  .btn-nav { 
    display: none; 
  }

  /* 3. Convertimos la lista en una cortina desplegable */
/* LA CORTINA DEL MENÚ */
  .nav-links {
    display: flex !important; 
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    
    /* 🔥 ESTA ES LA SOLUCIÓN: Deja que el menú crezca hacia abajo 🔥 */
    height: auto !important; 
    
    background: rgba(6, 17, 46, 0.95); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    flex-direction: column;
    padding: 30px 20px 40px 20px;
    gap: 25px;
    border-bottom: 2px solid var(--c-cyan);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    
    /* Animación de cortina cerrada */
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
    pointer-events: none; 
  }

  /* 4. Clase que añade JavaScript al tocar la hamburguesa para abrirlo */
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  /* 5. Ajustes de los enlaces para móvil */
  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: none !important; /* Quitamos la rayita base */
  }

  /* Línea debajo del enlace activo solo en el texto, no en toda la caja */
  .nav-links a.active {
    display: inline-block;
    width: auto;
    border-bottom: 2px solid var(--c-cyan) !important;
  }
}

/* ==========================================
   2. HERO SECTION (Alineado a la Izquierda)
   ========================================== */
.hero {
  position: relative;
  min-height: 600px; 
  /* 🔥 Gradiente más oscuro a la izquierda para contraste perfecto 🔥 */
  background: linear-gradient(to right, rgba(4, 15, 35, 0.95) 0%, rgba(8, 22, 55, 0.7) 45%, rgba(8, 22, 55, 0.1) 100%), url('img/banner.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  /* 🔥 Ajustamos el padding para alinearlo a la izquierda del contenedor 🔥 */
  padding: 100px 8%; 
}

.hero-content { 
  max-width: 650px; 
  width: 100%;
  margin: 0; /* 🔥 Anulamos el auto para que no se centre 🔥 */
  text-align: left; 
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 2.5rem; /* Un poco más grande e imponente */
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 550px; /* Para que el párrafo no sea tan ancho como el título */
}

.hero-btns { 
  display: flex; 
  gap: 20px; 
}

/* --- BOTÓN PRINCIPAL (Cotizar) --- */
.btn-hero-primary {
  background: var(--c-cyan);
  color: var(--c-white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px; /* Borde de píldora */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(29, 184, 212, 0.3);
}

.btn-hero-primary:hover {
  background: #189db8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 184, 212, 0.4);
}

/* --- BOTÓN SECUNDARIO (Brochure) --- */
.btn-hero-secondary {
  background: transparent;
  color: var(--c-white);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 50px; /* Borde de píldora */
  border: 1.5px solid var(--c-cyan); /* Borde celeste */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: rgba(29, 184, 212, 0.1); 
  transform: translateY(-2px);
}

.btn-hero-primary i, .btn-hero-secondary i {
  font-size: 1.1rem; 
}

/* --- BOTÓN SECUNDARIO (Brochure) --- */
.btn-hero-secondary {
  background: transparent;
  color: var(--c-white);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 50px; /* 🔥 Borde de píldora 🔥 */
  border: 1.5px solid var(--c-cyan); /* 🔥 Borde celeste como en la imagen 🔥 */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: rgba(29, 184, 212, 0.1); /* Fondo celeste muy suave al hover */
  transform: translateY(-2px);
}

/* Ajuste fino para los iconos dentro de los botones */
.btn-hero-primary i, .btn-hero-secondary i {
    font-size: 1.1rem; /* Iconos un poco más grandes y legibles */
}

/* ===== ETIQUETA "PILL" GLOBAL (Se mantiene sin cambios) ===== */
.pill {
  display: inline-block;
  border: 1.5px solid var(--c-cyan);
  color: var(--c-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.pill-white {
  border-color: rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.8);
}

/* ==========================================
   3. SECCIÓN: PRODUCTO
   ========================================== */
.sec-producto {
  background: linear-gradient(180deg, #10325b 0%, #071e4d 100%); /* Ajustado el gradiente a un tono más cercano a la imagen */
  padding: 80px 0;
  text-align: center;
}

.sec-producto h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px; /* Un poco de espaciado para elegancia */
}

.sec-producto h2 span { color: var(--c-cyan); }

.sec-producto .subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8); /* Blanco ligeramente translúcido */
  margin-bottom: 50px;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.5;
}

.producto-inner {
  display: flex;
  align-items: stretch; /* Para que la imagen y las tarjetas ocupen un alto similar */
  justify-content: center;
  gap: 40px; /* Reducido un poco el gap general */
  text-align: left;
}

/* Imagen Real del Producto */
.producto-img-wrapper {
  flex-shrink: 0;
  width: 400px; /* Aumentado el ancho para que coincida con la proporción de la imagen */
  border-radius: 16px; /* Bordes un poco más redondeados */
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); /* Sombra más pronunciada */
}

.img-producto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lista de características */
.features-col { 
  display: flex; 
  flex-direction: column; 
  gap: 15px; /* Reducido el gap entre tarjetas */
  flex: 1;
  max-width: 500px; /* Aumentado el max-width para las tarjetas */
}

.feat-item { 
  display: flex; 
  flex-direction: column; /* Apila el icono sobre el texto */
  gap: 12px; 
  align-items: flex-start; 
  background-color: #0b2545; /* Fondo de la tarjeta individual */
  padding: 25px 30px; /* Padding interno de la tarjeta */
  border-radius: 12px; /* Bordes redondeados de la tarjeta */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feat-icon {
  width: 30px; /* Icono más pequeño */
  height: 30px;
  color: var(--c-cyan);
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Alineado a la izquierda */
  font-size: 1.2rem;
}

.feat-text {
    width: 100%;
}

.feat-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-cyan);
  margin-bottom: 8px;
  line-height: 1.4;
}

.feat-text h4 em { 
  font-style: normal; 
  color: var(--c-white); 
  font-weight: 400; /* Quita la negrita al texto que sigue al título cyan */
}

.feat-text p { 
  font-size: 0.9rem; 
  color: rgba(255, 255, 255, 0.8); 
  line-height: 1.5; 
  display: inline; /* Para que parezca continuación del em si quisieras, aunque en tu HTML está separado */
}

/* ==========================================
   4. SECCIÓN: CÓMO FUNCIONA
   ========================================== */
.sec-como {
  background: var(--c-white);
  padding: 80px 0;
}

/* Forzamos el estilo del Pill para que resalte en el fondo blanco */
.sec-como .pill.pill-white {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  background: transparent;
}

.sec-como h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-primary); /* Texto oscuro para el fondo blanco */
  margin-bottom: 50px;
  text-transform: uppercase;
}
.sec-como h2 span { color: var(--c-cyan); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* Un poco más de separación entre tarjetas */
}

.step-box {
  /* Degradado de azul oscuro a azul medio idéntico a la imagen */
  background: linear-gradient(180deg, #112d54 0%, #155ea8 100%);
  border: none;
  border-radius: 12px;
  padding: 50px 35px; /* Más espacio interno para que respire */
  text-align: left;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(21, 94, 168, 0.3);
}

.step-num {
  font-family: var(--font-title);
  font-size: 4.5rem; /* Números mucho más grandes */
  font-weight: 800;
  color: var(--c-white); /* Blancos sólidos */
  line-height: 1;
  margin-bottom: 25px;
}

/* Sobrescribimos la regla anterior que pintaba el 02 de amarillo */
.step-box:nth-child(2) .step-num { 
  color: var(--c-white); 
}

.step-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-cyan); /* Subtítulos en celeste */
  margin-bottom: 15px;
  line-height: 1.3;
}

.step-box p { 
  font-size: 0.95rem; 
  color: var(--c-white); /* Texto blanco sólido */
  line-height: 1.6; 
  margin: 0;
}

/* ==========================================
   5. SECCIÓN: BENEFICIOS
   ========================================== */
.sec-beneficios {
  background: linear-gradient(180deg, #0d3d80 0%, #071e4d 100%);
  padding: 80px 0;
}

.sec-beneficios h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 50px;
}
.sec-beneficios h2 span { color: var(--c-cyan); }

.ben-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.ben-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.ben-card-img {
  width: 100%;
  height: 180px;
  position: relative;
}

.ben-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay azulado a las imagenes de beneficios */
.ben-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 37, 69, 0.3);
}

.ben-card-img .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #e74c3c;
  color: var(--c-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
}

.ben-card-body { 
  padding: 30px 25px; 
  flex: 1;
}

.ben-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 15px;
}

.ben-card ul { 
  list-style: none; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.ben-card ul li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.ben-card ul li i { margin-top: 3px; }

/* ==========================================
   6. SECCIÓN: PLATAFORMA
   ========================================== */
.sec-plataforma {
  background: var(--c-bg-light);
  padding: 80px 0;
}

.plat-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}

.plat-left { flex: 1; }

.plat-left h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-primary);
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.plat-left p {
  font-size: 1.05rem;
  color: var(--c-text-gray);
  line-height: 1.6;
  margin-bottom: 30px;
}

.plat-tag {
  background: var(--c-white);
  border: 1.5px solid var(--c-cyan);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.plat-tag-icon { font-size: 1.5rem; }

.plat-tag-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 5px;
}

.plat-tag-text span { 
  font-size: 0.9rem; 
  color: var(--c-text-gray); 
  line-height: 1.5; 
}

.plat-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
}

.plat-card {
  background: var(--c-primary);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.plat-card:hover { transform: translateY(-5px); }

.plat-card-icon { 
  font-size: 2.2rem; 
  margin-bottom: 15px;
}

.plat-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

/* ==========================================
   7. SECCIÓN: PLANES
   ========================================== */
.sec-planes {
  background: linear-gradient(180deg, #0d3d80 0%, #071e4d 100%);
  padding: 80px 0;
}

.sec-planes h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 10px;
}

.sec-planes .sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 50px;
}

.planes-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 350px));
  gap: 30px;
  justify-content: center;
}

.plan-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: left;
  position: relative;
}

.plan-card.rec {
  background: rgba(29, 184, 212, 0.08); /* Fondo con toque cyan */
  border-color: var(--c-cyan);
}

.rec-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-cyan);
  color: var(--c-primary);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-from {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.plan-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 15px;
}

.plan-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-plan {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--c-white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-title);
  transition: var(--transition);
  display: block;
  text-align: center;
  text-decoration: none;
}

.btn-plan:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-white);
}

.plan-card.rec .btn-plan {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  color: var(--c-primary);
}

.plan-card.rec .btn-plan:hover {
  background: #189db8;
  border-color: #189db8;
}

/* ==========================================
   8. SECCIÓN: CASOS DE USO
   ========================================== */
.sec-cases {
  background: var(--c-white);
  padding: 80px 0;
}

.sec-cases h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 50px;
  text-transform: uppercase;
}

.cases-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Tarjeta con imagen de fondo */
.case-card {
  height: 220px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.case-card:hover { transform: translateY(-5px); }

.case-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Degradado oscuro para que el texto y el icono resalten */
.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,37,69,0.9) 0%, rgba(11,37,69,0.3) 100%);
  z-index: 1;
}

.case-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255,255,255,0.6); /* Icono semitransparente como marca de agua */
  z-index: 2;
  transition: var(--transition);
}

.case-card:hover .case-icon { color: var(--c-cyan); }

.case-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-white);
  position: relative;
  z-index: 3; /* Por encima del overlay */
  text-align: center;
  line-height: 1.3;
}

/* ==========================================
   9. SECCIÓN: FORMULARIO CTA
   ========================================== */
.sec-cta {
  background: #f0f8fc; /* Fondo celeste muy claro idéntico a la imagen */
  padding: 80px 0;
}

.cta-container {
  display: flex;
  gap: 50px;
  align-items: stretch; /* Para que ambos lados tengan el mismo alto */
  background: var(--c-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  padding: 0; 
}

.cta-left { 
  flex: 1; 
  padding: 50px 50px 50px 60px; /* Un poco más de aire a la izquierda */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-aviso {
  font-size: 0.9rem;
  color: var(--c-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-left h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 25px; /* Más separación con el formulario */
  line-height: 1.2;
}

.cta-form { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; /* Mayor separación entre los campos */
}

.input-group { 
  width: 100%; 
  display: flex;
  flex-direction: column;
  gap: 8px; /* Separación entre el label y el input */
}

/* --- ESTILOS DE LOS LABELS (Títulos sobre los inputs) --- */
.cta-label {
  font-size: 0.9rem;
  color: var(--c-cyan);
  font-weight: 600;
}

/* --- ESTILOS DE LOS INPUTS Y SELECT --- */
.cta-form select,
.cta-form input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--c-cyan); /* Borde celeste por defecto */
  border-radius: 6px; /* Borde un poco menos curvo */
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--c-text-dark);
  background: #f8fbff; /* Fondo sutilmente azulado */
  outline: none;
  transition: var(--transition);
}

/* Cambia el color del texto del placeholder en el select */
.cta-form select:invalid, 
.cta-form select option[value=""] {
  color: #a0b8c8;
}

.cta-form select:focus, .cta-form input:focus {
  border-color: var(--c-primary); /* Cambia oscuro al enfocar */
  background: var(--c-white);
  box-shadow: 0 0 5px rgba(29, 184, 212, 0.2);
}

.form-row-2 { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}

.cta-form small { 
  font-size: 0.85rem; 
  color: #666; 
  font-style: italic; /* Texto en cursiva como en la imagen */
  margin-top: 5px;
}

/* --- BOTÓN DE ENVIAR (Celeste Píldora) --- */
.btn-submit {
  background: var(--c-cyan); /* Botón celeste */
  color: var(--c-white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px; /* Forma de píldora */
  border: none;
  cursor: pointer;
  font-family: var(--font-title);
  transition: var(--transition);
  align-self: flex-start; /* Evita que el botón ocupe todo el ancho */
}

.btn-submit:hover { 
  background: #189db8; 
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(29, 184, 212, 0.3);
}

/* --- IMAGEN DE LA DERECHA --- */
.cta-right {
  flex: 1.1; /* Le damos un poco más de ancho a la imagen */
  height: auto;
  min-height: 450px;
  padding: 20px 20px 20px 0; /* Espacio para que la imagen no toque los bordes del contenedor */
}

.form-img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: 15px; /* Imagen con bordes redondeados por dentro */
  display: block;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .cta-right { padding: 0; }
  .form-img { border-radius: 0; }
}

/* ==========================================
   10. FOOTER
   ========================================== */
.footer { 
  background: linear-gradient(90deg, #071a3f 0%, #1e4b85 100%); 
  padding: 60px 0 30px 0; 
}

.footer-top { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 40px; 
}

.footer-logo img { max-width: 220px; }

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a { 
  color: var(--c-white); 
  font-size: 1.4rem; 
  transition: var(--transition); 
}

.footer-social a:hover { 
  color: var(--c-cyan); 
  transform: translateY(-2px);
}

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.footer-copyright p {
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.footer-copyright .line {
  flex: 1; 
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4); 
  max-width: 350px; 
}

.footer-links { 
  text-align: center;
}

.footer-links a { 
  color: var(--c-white); 
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline; 
  text-underline-offset: 4px; 
  transition: var(--transition); 
}

.footer-links a:hover { color: var(--c-cyan); }

.footer-links .separator {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

/* ==========================================
   11. RESPONSIVE DESIGN (Media Queries)
   ========================================== */

/* Tablet (hasta 992px) */
@media (max-width: 992px) {
  .navbar { padding: 0 20px; }
  
  .menu-toggle { display: block; }
  .btn-solicitar { display: none; }
  
  /* Menú desplegable móvil */
  .navbar-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--c-primary);
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    /* Animación de cortina */
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }
  
  .navbar-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .navbar-links a {
    display: block;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .producto-inner { flex-direction: column; gap: 40px; }
  .steps-row { grid-template-columns: 1fr; }
  .ben-row { grid-template-columns: 1fr; }
  .plat-inner { flex-direction: column; }
  .cases-row { grid-template-columns: repeat(2, 1fr); }
  .cta-container { flex-direction: column; }
  .cta-right { min-height: 300px; width: 100%; }
}

/* Teléfono (hasta 768px) */
@media (max-width: 768px) {
  .hero { padding: 60px 20px; text-align: center; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  
  .sec-producto, .sec-como, .sec-beneficios, .sec-plataforma, .sec-planes, .sec-cases, .sec-cta {
    padding: 60px 0;
  }
  
  .hero h1 { font-size: 2.2rem; }
  .sec-producto h2, .sec-como h2, .sec-beneficios h2, .sec-plataforma h2, .sec-planes h2, .sec-cases h2, .cta-left h2 {
    font-size: 1.8rem;
  }

  .planes-row { grid-template-columns: 1fr; }
  .cases-row { grid-template-columns: 1fr; }
  .plat-right { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  
  .cta-left { padding: 30px 20px; }
  
  .footer-top { flex-direction: column; text-align: center; gap: 20px; }
  .footer-copyright .line { max-width: 50px; }
  .footer-links { display: flex; flex-direction: column; gap: 15px; }
  .footer-links .separator { display: none; }
}

/* ==========================================
   PARCHE DE CORRECCIÓN MÓVIL (Celular Real)
   ========================================== */

/* 1. SEGURO ANTI-DESBORDAMIENTO (Mata la barra blanca lateral) */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 2. REGLAS ESTRICTAS PARA CELULARES (Hasta 768px) */
@media (max-width: 768px) {
  
  /* --- HERO SECTION --- */
  .hero {
    /* Reducimos el padding lateral para que no empuje el contenido fuera de la pantalla */
    padding: 100px 20px 60px 20px; 
    background-position: left center; /* Centramos mejor la imagen de fondo */
  }
  
  .hero-content {
    text-align: center; /* Centramos el texto para mejor lectura en móvil */
    margin: 0 auto; 
  }
  
  .hero h1 {
    font-size: 2rem; /* Letra más pequeña para que "INTELIGENTE" no rompa la pantalla */
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-btns {
    flex-direction: column; /* Apilamos los botones uno debajo de otro */
    align-items: stretch; /* Hacemos que los botones ocupen el ancho disponible */
  }

  .btn-hero-primary, .btn-hero-secondary {
    justify-content: center; /* Centramos el texto del botón */
  }

  /* --- CULPABLES DEL DESBORDAMIENTO (Anchos fijos) --- */
  .producto-img-wrapper {
    width: 100% !important; /* 🔥 Antes tenía 400px fijos. Esto lo obliga a no pasarse de la pantalla 🔥 */
    max-width: 350px;
    margin: 0 auto;
  }

  /* Quitamos paddings excesivos en la sección CTA que rompen el móvil */
  .cta-left {
    padding: 40px 20px !important; 
  }
  
  .cta-form {
    padding: 0;
  }
}