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

/* ==========================================================================
   SISTEMA DE DISEÑO & VARIABLES
   ========================================================================== */
:root {
    /* Colores */
    --bg-dark: #00187e;
    --bg-dark-card: #00115a;
    --bg-light: #ffffff;
    --bg-light-gray: #f4f6f9;
    --color-primary: #0031ff;
    --color-primary-hover: #0026c7;
    --color-secondary: #0031ff;
    --color-secondary-hover: #0026c7;
    --color-danger: #ff3b30;
    --color-warning: #ffcc00;
    
    /* Textos */
    --text-light: #ffffff;
    --text-dark: #0f172a;
    --text-muted-light: #8fa0b5;
    --text-muted-dark: #475569;
    
    /* Fuentes */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Bordes y Sombras */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.15);
    --shadow-cyan: 0 0 20px rgba(0, 49, 255, 0.25);
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --header-height: 80px;
}

/* ==========================================================================
   RESET & ESTILOS BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

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

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

/* ==========================================================================
   CLASES DE UTILIDAD
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-cyan { color: var(--color-secondary); }
.text-primary { color: var(--color-primary); }
.text-danger { color: var(--color-danger); }
.text-white { color: var(--text-light); }

.bg-dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: relative;
}

.section-padding {
    padding: 60px 0;
}
@media (min-width: 768px) {
    .section-padding { padding: 80px 0; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 86, 255, 0.3);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}
.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-outline-cyan {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    box-shadow: 0 0 10px rgba(0, 49, 255, 0.1);
}
.btn-outline-cyan:hover {
    background-color: var(--color-secondary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-cyan);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.badge-cyan {
    background-color: rgba(0, 49, 255, 0.1);
    color: var(--color-secondary);
    border: 1px solid rgba(0, 49, 255, 0.3);
}
.badge-danger {
    background-color: rgba(255, 59, 48, 0.1);
    color: var(--color-danger);
    border: 1px solid rgba(255, 59, 48, 0.3);
}

/* Glassmorphism */
.glass-card {
    background: rgba(9, 20, 38, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

/* ==========================================================================
   HEADER / NAVEGACIÓN
   ========================================================================== */
header {
    background-color: rgba(0, 24, 126, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    height: 40px;
    width: auto;
    display: block;
}
.logo-container svg {
    width: 40px;
    height: 40px;
}
.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--text-light);
}
.logo-text span {
    color: var(--color-secondary);
}

/* Mega Menú (Desktop) */
.nav-menu {
    display: none; /* Oculto en móvil por defecto */
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        align-items: center;
        list-style: none;
        height: 100%;
        gap: 10px;
    }
    
    .nav-item {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .nav-link {
        color: var(--text-light);
        padding: 0 15px;
        font-family: var(--font-heading);
        font-weight: 500;
        font-size: 0.95rem;
        height: 100%;
        display: flex;
        align-items: center;
        border-bottom: 2px solid transparent;
    }
    .nav-link:hover {
        color: var(--color-secondary);
    }
    .nav-link.active {
        color: var(--color-secondary);
        border-bottom-color: var(--color-secondary);
    }
    
    .has-mega-menu {
        position: static; /* Necesario para que el mega menú ocupe el ancho del header */
    }
    
    /* Mega Menú Dropdown */
    .mega-menu {
        position: absolute;
        top: var(--header-height);
        left: 50%;
        transform: translate(-50%, 15px);
        width: calc(100vw - 40px);
        max-width: 1200px;
        background-color: var(--bg-dark);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: var(--radius-lg);
        border-bottom: 3px solid var(--color-secondary);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        padding: 40px;
        z-index: 999;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        box-sizing: border-box;
    }
    
    .has-mega-menu:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
    
    .mega-col h3 {
        color: var(--color-secondary);
        font-size: 1.1rem;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mega-col ul {
        list-style: none;
    }
    
    .mega-col ul li {
        margin-bottom: 10px;
    }
    
    .mega-col ul li a {
        color: var(--text-light);
        font-size: 0.9rem;
        display: block;
        padding: 4px 0;
    }
    .mega-col ul li a:hover {
        color: var(--color-secondary);
        padding-left: 8px;
    }
    
    .mega-card {
        background: var(--bg-dark-card);
        border: 1px solid rgba(0, 49, 255, 0.1);
        padding: 20px;
        border-radius: var(--radius-md);
        text-align: center;
    }
    .mega-card h4 {
        color: var(--text-light);
        margin-bottom: 10px;
    }
    .mega-card p {
        color: var(--text-muted-light);
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
}

/* Botón Hamburguesa */
.menu-toggle {
    display: block;
    background: transparent;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.header-cta {
    display: none;
}
@media (min-width: 1024px) {
    .header-cta {
        display: block;
    }
}

/* Menú Móvil Vertical (Responsive Menu Drawer) */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1100;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.mobile-nav.open {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.close-menu {
    background: transparent;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    margin-bottom: 20px;
}
.mobile-nav-links li a {
    color: var(--text-light);
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 600;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    color: var(--color-secondary);
}

.mobile-nav-submenu {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mobile-nav-submenu li a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted-light);
    padding: 4px 0;
    border-bottom: none;
}

.mobile-nav-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   HERO / PORTADA (Fórmula PASTOR - Problema)
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(0, 86, 255, 0.15), transparent 60%),
                radial-gradient(circle at bottom left, rgba(0, 49, 255, 0.05), transparent 40%),
                var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-light);
}
@media (min-width: 768px) {
    .hero-content h1 { font-size: 3.5rem; }
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    margin-bottom: 30px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
@media (min-width: 480px) {
    .hero-cta-group {
        flex-direction: row;
    }
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* HUD Scanning Effect */
.hud-scanner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.hud-scanner img {
    width: 100%;
    height: auto;
}
.hud-scanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    animation: scanning 3s ease-in-out infinite;
    z-index: 3;
    box-shadow: 0 0 10px var(--color-secondary);
}

.hud-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid var(--color-secondary);
    z-index: 4;
    pointer-events: none;
}
.hud-corner-tl { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.hud-corner-tr { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.hud-corner-bl { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.hud-corner-br { bottom: 15px; right: 15px; border-left: none; border-top: none; }

.scanning-info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(3, 10, 22, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 49, 255, 0.3);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: blink 2s infinite;
    z-index: 4;
}

.scanning-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-secondary);
}

@keyframes scanning {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ==========================================================================
   AGITACIÓN (Fórmula PASTOR - Agitación de Ansiedad)
   ========================================================================== */
.agitation {
    background-color: var(--bg-dark);
    position: relative;
    border-top: 1px solid rgba(255, 59, 48, 0.1);
}
.agitation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(255, 59, 48, 0.05), transparent 45%);
    pointer-events: none;
}

.agitation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 1024px) {
    .agitation-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 60px;
        align-items: center;
    }
}

.agitation-card {
    background: rgba(255, 59, 48, 0.02);
    border: 1px solid rgba(255, 59, 48, 0.15);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.02);
}
.agitation-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.danger-list {
    list-style: none;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.danger-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 0.95rem;
}
.danger-icon {
    color: var(--color-danger);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==========================================================================
   SOLUCIÓN (Fórmula PASTOR - Solución)
   ========================================================================== */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 45px;
    align-items: center;
}
@media (min-width: 1024px) {
    .solution-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }
}

.tech-specs {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.spec-item {
    border-left: 3px solid var(--color-secondary);
    padding-left: 15px;
}
.spec-item h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 5px;
}
.spec-item p {
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

/* ==========================================================================
   BENEFICIOS
   ========================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 86, 255, 0.1);
    box-shadow: var(--shadow-sm);
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.benefit-card.glass-card {
    background: rgba(9, 20, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.benefit-card.glass-card h3 {
    color: var(--text-light);
}
.benefit-card.glass-card p {
    color: var(--text-muted-light);
}
.benefit-card.glass-card .benefit-svg {
    color: var(--color-secondary);
}
.benefit-card.glass-card:hover {
    border-color: var(--color-secondary);
    background: rgba(9, 20, 38, 0.9);
}

.benefit-svg {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
}

/* ==========================================================================
   SERVICIOS / NIVELES
   ========================================================================== */
.services-intro {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.levels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 1024px) {
    .levels-grid { grid-template-columns: repeat(3, 1fr); }
}

.level-card {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.level-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.level-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 30px;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--color-primary);
}
.level-card:nth-child(2) .level-header {
    border-bottom-color: var(--color-secondary);
}
.level-card:nth-child(2) .level-badge {
    background-color: var(--color-secondary);
    color: var(--bg-dark);
}

.level-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--color-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.level-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.level-header .level-caliber {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

.level-body {
    padding: 30px;
    flex-grow: 1;
}

.level-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}
.level-features li {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted-dark);
}
.level-features li i {
    color: var(--color-primary);
    margin-top: 3px;
}

.level-footer {
    padding: 0 30px 30px 30px;
}

/* ==========================================================================
   TESTIMONIALS / TESTIMONIOS (Fórmula PASTOR - Testimonios y Storytelling)
   ========================================================================== */
.testimonials {
    background-color: var(--bg-dark);
}

.testimonial-container {
    max-width: 850px;
    margin: 40px auto 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    min-height: 280px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    padding: 0 15px;
}
.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-card {
    background: rgba(9, 20, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2px;
}
.author-info p {
    color: var(--color-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.slider-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.slider-btn:hover {
    background: var(--color-secondary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-cyan);
}

/* ==========================================================================
   FORMULARIO DE CONTACTO / OFERTA (Fórmula PASTOR - Oferta y Respuesta)
   ========================================================================== */
.offer-section {
    background: linear-gradient(135deg, #040f22 0%, #020712 100%);
    color: var(--text-light);
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 1024px) {
    .offer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }
}

.offer-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.offer-benefits-list {
    list-style: none;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.offer-benefits-list li {
    display: flex;
    gap: 15px;
    align-items: center;
}
.offer-benefits-list li i {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

/* Estilos de Formulario */
.form-container {
    background: rgba(9, 20, 38, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
    .form-container { padding: 40px; }
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (min-width: 480px) {
    .form-group-grid { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-input:focus {
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 49, 255, 0.1);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   ACORDEÓN FAQ (SEO FAQ Page)
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-light-gray);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-header {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.faq-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: var(--bg-light);
}

.faq-content {
    padding: 0 30px 25px 30px;
    font-size: 0.95rem;
    color: var(--text-muted-dark);
}

.faq-item.active .faq-body {
    max-height: 1000px;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   VEHÍCULOS DISPONIBLES (SECCIÓN DE AUTOS SEMINUEVOS Y NUEVOS)
   ========================================================================== */
.vehicles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .vehicles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .vehicles-grid { grid-template-columns: repeat(3, 1fr); }
}

.vehicle-card {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.vehicle-image {
    position: relative;
    height: 220px;
    background-color: #eee;
    overflow: hidden;
}
.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-primary);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}
.vehicle-tag.delivery {
    background-color: #25d366;
}

.vehicle-info {
    padding: 25px;
}
.vehicle-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.vehicle-spec {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}
.vehicle-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: 15px;
    text-align: center;
}

.vehicle-btn-container {
    padding: 0 25px 25px 25px;
}

/* ==========================================================================
   CASOS DE ÉXITO (STORYTELLING DETALLADO)
   ========================================================================== */
.story-card {
    background: var(--bg-light-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.story-card:hover {
    box-shadow: var(--shadow-md);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .story-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .story-grid { grid-template-columns: 0.8fr 1.2fr; }
}

.story-image {
    min-height: 250px;
}
.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 768px) {
    .story-content { padding: 40px; }
}

.story-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.story-quote {
    font-style: italic;
    border-left: 3px solid var(--color-primary);
    padding-left: 15px;
    margin: 20px 0;
    color: var(--text-muted-dark);
}

/* ==========================================================================
   PÁGINAS INTERNAS - ESTRUCTURAS ESPECÍFICAS
   ========================================================================== */
/* Banners de Páginas Internas */
.page-hero {
    padding: 140px 0 60px 0;
    background: linear-gradient(135deg, #030d1e 0%, #01060e 100%);
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.page-hero p {
    color: var(--text-muted-light);
    font-size: 1.1rem;
}

/* Sección de Dos Columnas Estándar */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .two-col-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.contact-method-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    background: rgba(0, 86, 255, 0.05);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-method h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.contact-method p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

.map-container {
    width: 100%;
    height: 350px;
    background-color: #ddd;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   FOOTER / PIE DE PÁGINA
   ========================================================================== */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (min-width: 480px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: var(--text-muted-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links li a {
    color: var(--text-muted-light);
    font-size: 0.9rem;
}
.footer-links li a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
}
.footer-contact-info li {
    display: flex;
    gap: 10px;
    color: var(--text-muted-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.footer-contact-info li i {
    color: var(--color-secondary);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
}
.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}
.social-icon:hover {
    background-color: var(--color-secondary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-cyan);
}
.social-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}
.footer-legal-links a {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}
.footer-legal-links a:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   ÍCONOS CON SVG EMULADO (FontAwesome alternativa ultraligera)
   ========================================================================== */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP CON LLAMADA A LA ACCIÓN
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    text-decoration: none;
}

.whatsapp-float-icon {
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    transition: var(--transition);
    cursor: pointer;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float-icon svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float-badge {
    background-color: #ff3b30;
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(15px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .whatsapp-float-badge {
        opacity: 1;
        transform: translateX(0);
    }
}

.whatsapp-float:hover .whatsapp-float-icon {
    transform: scale(1.1);
    background-color: #128c7e;
}

.whatsapp-float:hover .whatsapp-float-badge {
    opacity: 1;
    transform: translateX(0);
    background-color: #d32f2f;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   ESTILOS DE ICONOS SVG DE CONTACTO Y VÍAS
   ========================================================================== */
.footer-contact-info li svg {
    width: 18px;
    height: 18px;
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 3px;
}
.contact-method svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ==========================================================================
   COTIZADOR DE BLINDAJE INTELIGENTE
   ========================================================================== */
.calculator-section {
    background-color: var(--bg-light-gray);
}
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}
@media (min-width: 992px) {
    .calculator-wrapper {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }
}
.calculator-left {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eaeaea;
}
.calc-step-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}
.calc-step-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.calc-step-header p {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
}
.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
@media (min-width: 576px) {
    .calc-options-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.calc-option-card {
    background: var(--bg-light);
    border: 2px solid #eaeaea;
    border-radius: var(--radius-md);
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.calc-option-card:hover {
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
}
.calc-option-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(0, 86, 255, 0.03);
    box-shadow: 0 5px 15px rgba(0, 86, 255, 0.08);
}
.calc-option-card svg {
    width: 36px;
    height: 36px;
    color: var(--text-muted-dark);
    transition: var(--transition);
}
.calc-option-card.selected svg {
    color: var(--color-primary);
}
.calc-option-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Paso 2: Amenazas */
.threat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
@media (min-width: 768px) {
    .threat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.threat-card {
    background: var(--bg-light);
    border: 2px solid #eaeaea;
    border-radius: var(--radius-md);
    padding: 25px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.threat-card:hover {
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
}
.threat-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(0, 86, 255, 0.03);
}
.threat-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.threat-card h4 svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted-dark);
}
.threat-card.selected h4 svg {
    color: var(--color-primary);
}
.threat-card p {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    line-height: 1.4;
}

/* Paso 3: Cobertura */
.coverage-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
@media (min-width: 576px) {
    .coverage-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}
.coverage-card {
    background: var(--bg-light);
    border: 2px solid #eaeaea;
    border-radius: var(--radius-md);
    padding: 25px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
}
.coverage-card:hover {
    border-color: var(--color-primary-hover);
}
.coverage-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(0, 86, 255, 0.03);
}
.coverage-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-dark);
    transition: var(--transition);
}
.coverage-card.selected .coverage-card-icon {
    background: var(--color-primary);
    color: var(--text-light);
}
.coverage-card-icon svg {
    width: 22px;
    height: 22px;
}
.coverage-card-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.coverage-card-text p {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
}

/* Panel de Resultados (Derecha) */
.calculator-right {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-lg), var(--shadow-cyan);
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.results-header-box {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 20px;
    text-align: center;
}
.results-header-box span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}
.results-header-box h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    margin: 0;
}
.results-specs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.results-spec-item {
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 0.9rem;
}
.results-spec-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-secondary);
    margin-top: 2px;
    flex-shrink: 0;
}
.results-spec-item-text strong {
    display: block;
    color: var(--text-light);
    margin-bottom: 2px;
    font-weight: 600;
}
.results-spec-item-text span {
    color: var(--text-muted-light);
    font-size: 0.85rem;
}
.results-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.04);
}
.results-metric-item {
    text-align: center;
}
.results-metric-item span {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    display: block;
    margin-bottom: 4px;
}
.results-metric-item strong {
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-weight: 700;
}
.results-price-box {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
}
.results-price-box span {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    display: block;
    margin-bottom: 5px;
}
.results-price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-light);
    font-family: var(--font-heading);
}
.results-price-value span {
    font-size: 0.9rem;
    color: var(--color-secondary);
    display: inline;
}

option {
    color: var(--text-dark);
    background-color: var(--bg-light);
}
