/* ==========================================================================
   ÍNDICE DE ESTILOS - GEOSATELITAL (MDVR - VER B)
   ========================================================================== */

/* ==========================================
   1. VARIABLES Y RESET
   ========================================== */
:root {
  --c-primary: #0A1B45;       
  --c-primary-light: #122B6B; 
  --c-blue: #0A3587;          
  --c-cyan: #00A6FF;          
  --c-white: #ffffff;
  --c-bg-light: #F4F8FB;      
  --c-text-gray: #555555;
  --c-text-light: #b0c4de;
  
  --font-main: 'Nunito', sans-serif;
  --transition: 0.3s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--c-text-gray);
  background-color: var(--c-white);
  overflow-x: hidden;
}

/* ==========================================
   2. UTILIDADES GENERALES
   ========================================== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-cyan { color: var(--c-cyan) !important; }
.text-white { color: var(--c-white) !important; }
.text-primary { color: var(--c-primary) !important; }
.text-gray { color: var(--c-text-gray) !important; }
.text-light { color: var(--c-text-light) !important; }

.font-bold { font-weight: 800; }
.text-2xl { font-size: 2.2rem; line-height: 1.2; }
.position-relative { position: relative; z-index: 2; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.img-fluid { max-width: 100%; height: auto; display: block; }
.rounded-lg { border-radius: 12px; }
.shadow-lg { box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

/* --- BOTONES --- */
.btn-primary {
  background: var(--c-cyan);
  color: var(--c-white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 166, 255, 0.3);
}
.btn-primary:hover { background: #008be6; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid var(--c-cyan);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(0, 166, 255, 0.1); transform: translateY(-2px); }

/* ==========================================
   3. NAVBAR (Menú Cristal Sticky)
   ========================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(10, 27, 69, 0.85); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 80px; 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: 40px; object-fit: contain; }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { color: var(--c-white); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--c-cyan); }
.menu-toggle { display: none; background: transparent; border: none; color: var(--c-white); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 992px) {
  .menu-toggle { display: block; }
  .btn-nav { display: none; }
  .nav-links {
    display: flex !important; position: absolute; top: 100%; left: 0; width: 100%; height: auto !important;
    background: rgba(6, 17, 46, 0.95); backdrop-filter: blur(15px); flex-direction: column;
    padding: 30px 20px; gap: 20px; border-bottom: 2px solid var(--c-cyan);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out; pointer-events: none; 
  }
  .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); pointer-events: all; }
  .nav-links a { display: block; width: 100%; text-align: center; font-size: 1.1rem; }
}

/* ==========================================
   4. HERO VER B
   ========================================== */
.hero-ver-b {
  background-color: #071a3f; 
  background-image: linear-gradient(to right, rgba(7, 26, 63, 0.95) 0%, rgba(7, 26, 63, 0.5) 50%, rgba(7, 26, 63, 0) 100%), url('img/Banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-b-content {
  max-width: 600px;
  color: var(--c-white);
  text-align: left;
}

.hero-b-title {
  font-size: 2rem;
  font-weight: 600; /* Texto superior delgado */
  line-height: 1.1;
  margin-bottom: 15px;
}

.hero-b-title span {
  font-weight: 800; /* Texto inferior ultra negrita */
  font-size: 3.5rem;
}

.hero-b-pill {
  display: inline-block;
  background: var(--c-cyan);
  color: var(--c-white);
  padding: 10px 25px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-b-checks {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.hero-b-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #e0e6ed;
}

.hero-b-checks li i {
  color: var(--c-cyan);
}

.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================
   5. LAYOUT: FLEX GRID (Mitad / Mitad)
   ========================================== */
.mdvr-flex-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.mdvr-img-box { flex: 1; }
.mdvr-img-box img { width: 90%; object-fit: cover; }

.mdvr-text-box { flex: 1; }
.mdvr-text-box h2 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 15px; }

@media (max-width: 992px) {
  .mdvr-flex-grid { flex-direction: column; text-align: center; }
  .hero-b-content { text-align: center; margin: 0 auto; }
  .hero-b-checks {
    /* Centra la caja contenedora de la lista en móviles */
    margin-left: auto;
    margin-right: auto;
  }
  .hero-b-checks li { justify-content: center; }
  .hero-b-pill {
    /* Centra la etiqueta azul en móviles */
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns { justify-content: center; }
}

/* ==========================================
   6. SECCIÓN: GRABACIÓN INTELIGENTE
   ========================================== */
.sec-intro-mdvr { background-color: var(--c-white); padding: 100px 0; }

/* ==========================================
   7. SECCIÓN: TECNOLOGÍA + FORMULARIO
   ========================================== */
.sec-tech-form {
  background: linear-gradient(90deg, #071a3f 0%, #1e4b85 100%);
  padding: 100px 0;
}

.tech-form-grid {
  display: flex;
  /* 🔥 CORRECCIÓN 1: Evita que el formulario se estire creando el espacio blanco 🔥 */
  align-items: flex-start; 
  gap: 60px;
}

/* Lado Izquierdo: Grilla Tech */
.tf-left { flex: 1.2; }

.tech-cards-2x3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tc-card {
  background: #0d2866; /* Azul profundo */
  border: 1px solid rgba(0, 166, 255, 0.2); /* Borde cyan muy sutil */
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tc-card:hover {
  background: #123380;
  border-color: var(--c-cyan);
  transform: translateY(-5px);
}

.tc-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--c-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-cyan);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.tc-card p {
  color: var(--c-white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

/* Lado Derecho: Tarjeta Formulario */
.tf-right { 
  flex: 1; 
  display: flex; 
  
  /* 🔥 CORRECCIÓN 2: Hace que el formulario se quede fijo al hacer scroll 🔥 */
  position: sticky;
  top: 110px; /* Respeta el alto de tu navbar (80px) + 30px de aire */
}

.form-card-white {
  background: var(--c-white);
  border-radius: 20px;
  padding: 40px 35px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ... (El resto del CSS de los inputs y el botón se mantiene igual) ... */
.form-title { font-size: 1.6rem; font-weight: 800; line-height: 1.3; }

.contact-form { display: flex; flex-direction: column; gap: 15px; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { color: var(--c-cyan); font-size: 0.85rem; font-weight: 700; }

.contact-form input, .contact-form select {
  width: 100%; padding: 12px 15px; border: 1px solid #bce0fd; border-radius: 8px;
  font-family: var(--font-main); font-size: 0.95rem; color: var(--c-primary);
  background: #f8fbff; transition: var(--transition); outline: none;
}
.contact-form input:focus, .contact-form select:focus { border-color: var(--c-primary); box-shadow: 0 0 5px rgba(0,166,255,0.2); background: var(--c-white); }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.privacy-note { font-size: 0.8rem; color: #888; font-style: italic; margin-top: 5px; text-align: center;}

.btn-submit {
  background: var(--c-cyan); color: var(--c-white); border: none; width: 100%;
  padding: 16px; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: var(--transition); margin-top: 10px; box-shadow: 0 5px 15px rgba(0, 166, 255, 0.25);
}
.btn-submit:hover { background: #008be6; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 166, 255, 0.35); }
@media (max-width: 992px) {
  .tech-form-grid { flex-direction: column; gap: 50px; }
  .tech-cards-2x3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) { 
  .tech-cards-2x3 { grid-template-columns: 1fr; }
  .input-row { grid-template-columns: 1fr; } 
  .form-card-white { padding: 30px 20px; }
}

/* ==========================================
   8. SECCIÓN: OPERACIONES
   ========================================== */
.sec-operaciones { background-color: var(--c-white); padding: 100px 0; }

.mdvr-ops-grid {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.ops-card {
  background: var(--c-white); border: 1px solid #e1e8f0; border-radius: 12px;
  padding: 25px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.04); transition: var(--transition);
}
.ops-card:hover { transform: translateY(-5px); border-color: var(--c-cyan); box-shadow: 0 10px 25px rgba(0, 166, 255, 0.1); }

.ops-icon {
  width: 50px; height: 50px; background: rgba(0, 166, 255, 0.1); color: var(--c-cyan);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin: 0 auto 15px auto;
}

.ops-card p { font-size: 0.9rem; font-weight: 600; color: var(--c-primary); line-height: 1.4; }

@media (max-width: 576px) { .mdvr-ops-grid { grid-template-columns: 1fr; } }

/* ==========================================
   9. SECCIÓN: ALERTA GIF (Oscura con Patrón)
   ========================================== */
.sec-alert-gif {
  position: relative;
  padding: 100px 0;
}

.alert-overlay {
  position: absolute; inset: 0; background: linear-gradient(90deg, #071a3f 0%, #1e4b85 100%); z-index: 1;
}

.alert-grid-b {
  display: flex; align-items: center; gap: 50px;
}

.alert-text-b { flex: 1; }
.alert-icon-b { font-size: 3rem; color: var(--c-cyan); margin-bottom: 20px; }
.alert-text-b h3 { font-size: 2.2rem; line-height: 1.2; }
.alert-text-b p { font-size: 1.1rem; line-height: 1.6; }

.alert-gif-b { flex: 1.2; }
.alert-gif-b img { width: 90%; display: block; }

@media (max-width: 992px) {
  .alert-grid-b { flex-direction: column; text-align: center; }
}

/* ==========================================
   10. SECCIÓN: CENTRALIZA
   ========================================== */
.sec-centralize { background: var(--c-white); padding: 100px 0; }

/* ==========================================
   11. SECCIÓN: EXPERIENCIA EN CAJA
   ========================================== */
.sec-experience-box {
  background: var(--c-bg-light);
  padding: 100px 0;
}

.exp-wrapper-card {
  background: #E8F4FC; /* Celeste pastel muy suave */
  border-radius: 24px;
  padding: 60px 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.exp-text-b { flex: 1; }
.exp-text-b h2 { font-size: 2rem; line-height: 1.2; }

.exp-list-b {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.exp-item-b {
  display: flex; align-items: center; gap: 20px;
  background: #D4EDFC; /* Un poco más oscuro que el fondo para contraste */
  padding: 20px 25px; border-radius: 12px;
}

.exp-icon-b {
  width: 45px; height: 45px; background: var(--c-cyan); color: var(--c-white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}

.exp-item-b p { font-size: 1rem; font-weight: 700; color: var(--c-primary); margin: 0; }

@media (max-width: 992px) {
  .exp-wrapper-card { flex-direction: column; text-align: center; padding: 40px 30px; }
  .exp-item-b { text-align: left; }
}

/* ==========================================
   12. FOOTER
   ========================================== */
.footer { 
  background: linear-gradient(90deg, #071a3f 0%, #1e4b85 100%); 
  padding: 60px 0 40px 0; 
}
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.footer-logo img { max-width: 200px; }
.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; color: var(--c-white); font-size: 0.9rem; font-weight: 500; }
.footer-links a { color: var(--c-white); 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; }

@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 30px; text-align: center; }
  .footer-copyright .line { max-width: 80px; }
  .footer-links { display: flex; flex-direction: column; gap: 15px; }
  .footer-links .separator { display: none; }
}

/* PARCHE MÓVIL */
html, body { max-width: 100vw; overflow-x: hidden; }