/* --- VARIABLES Y PERSONALIZACIÓN --- */
        :root {
            --primary-color: #0056b3;
            --secondary-color: #003d80;
            --accent-color: #00a8e8;
            --text-dark: #333;
            --text-light: #666;
            --bg-light: #f4f7f6;
            --white: #ffffff;
        }

        body {
            font-family: "Inter", sans-serif;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* --- NAVBAR PERSONALIZADO --- */
        .navbar {
            background: white;
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
            padding: 5px 0;
        }
        
        .navbar-brand img {
            max-height: 40px; /* Ajusta según tu logo real */
        }

        .nav-link {
            color: var(--text-dark) !important;
            font-weight: 500;
            margin-left: 20px;
            position: relative;
            transition: color 0.3s;
        }

        .nav-link:hover {
            color: var(--primary-color) !important;
        }
        
        /* Efecto subrayado */
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--primary-color);
            transition: width 0.3s;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }

        .btn-nav {
            background-color: var(--primary-color);
            color: white !important;
            padding: 8px 25px !important;
            border-radius: 50px;
            box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
            transition: transform 0.3s, box-shadow 0.3s !important;
        }

        .btn-nav:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 86, 179, 0.4);
        }
        .btn-nav::after { display: none !important; }

        /* --- HERO SECTION --- */
        .hero {
            position: relative;
            height: 100vh;
            min-height: 600px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }

        .video-fondo {
            position: absolute;
            top: 8%;
            height: 120vh;
            z-index: -2;
            object-fit: cover;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: -1;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 3rem); /* Texto responsivo fluido */
            font-weight: 800;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
            margin-top: 3rem;
        }

        .hero p {
            font-size: clamp(1.2rem, 3vw, 1.5rem);
            font-weight: 300;
            opacity: 0.9;
            margin-bottom: 2rem;
        }

        .btn-cta {
            background-color: var(--white);
            color: var(--primary-color);
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s;
        }

        .btn-cta:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            color: var(--primary-color);
        }

        /* --- SECCIONES GENERALES --- */
        section {
            padding: 80px 0;
        }
        
        .section-title {
            color: var(--secondary-color);
            font-weight: 700;
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .section-intro {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 60px auto;
            color: var(--text-light);
            font-size: 1.1rem;
        }

        /* --- INTRO BOX --- */
        .intro-box {
            background-color: var(--white);
            padding: 40px;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 80px;
            border-left: 6px solid var(--primary-color);
            box-shadow: 0 10px 30px rgba(0,0,0,.2);
        }

        /* --- CARDS FEATURES --- */
        .feature-card {
            background: white;
            padding: 40px 30px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,.2);
            transition: all 0.4s;
            border-top: 4px solid var(--accent-color);
            height: 100%; /* Igualar alturas en Grid */
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0,0,0,.2);
        }

        .feature-card h3 {
            color: var(--secondary-color);
            font-size: 1.3rem;
            margin-bottom: 15px;
        }
        .feature-card p {
            text-align: justify;
        }

        /* --- BENEFICIOS LISTA --- */
        .benefit-item {
            background: var(--bg-light);
            padding: 20px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            transition: all 0.3s;
            border-left: 4px solid transparent;
        }

        .benefit-item:hover {
            background: #fff;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            border-left: 4px solid var(--primary-color);
            transform: translateX(5px);
        }

        .check-icon {
            background: var(--primary-color);
            color: white;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-right: 15px;
            flex-shrink: 0;
            font-weight: bold;
        }

        /* --- MARKET CARDS (APLICACIONES) --- */
        .market-card {
            background: linear-gradient(145deg, var(--secondary-color), #002a5c);
            color: white;
            padding: 40px 25px;
            border-radius: 15px;
            text-align: center;
            transition: all 0.4s;
            height: 100%;
        }

        .market-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 61, 128, 0.3);
        }

        .market-card h4 {
            font-size: 1.4rem;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            padding-bottom: 15px;
            margin-bottom: 15px;
        }

        .segment {
            color: var(--accent-color);
            text-transform: uppercase;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 15px;
            display: block;
        }

        /* --- CONTACTO --- */
        .contact-section {
            background-color: var(--bg-light);
        }

        .form-container {
            background: white;
            padding: 10px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        }

        /* Bootstrap form overrides */
        .form-control, .form-select {
            padding: 12px;
            border: 2px solid #eee;
            border-radius: 8px;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: none;
        }

        .btn-submit {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 15px;
            font-weight: bold;
            border-radius: 8px;
            width: 100%;
            transition: background 0.3s;
        }

        .btn-submit:hover {
            background-color: var(--secondary-color);
        }

        /* --- FOOTER --- */
        footer {
            background-color: #1a1a1a;
            color: white;
            padding: 20px 0;
            text-align: center;
        }
        footer img{
            max-height: 40px;
        }

        /* --- ANIMACIONES SCROLL REVEAL --- */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Ajuste para móvil en el video */
        @media (max-width: 768px) {
            .video-fondo{
                height: 100%;
            }
            .hero { 
                height: auto;
                 padding: 150px 0 100px 0;
            }
            .form-container { 
                padding: 30px 20px; 
            }
        }