/* --- VARIABLES --- */
:root {
    --naranja: #ff7312;
    --negro: #000000;
    --tech-gray: #f5f5f7;
}

/* --- RESET Y RESPONSIVIDAD --- */
html, body { 
    max-width: 100%; 
    overflow-x: hidden; 
    scroll-behavior: smooth;
}
body { font-family: 'Montserrat', sans-serif; }

/* --- LOGO --- */
.logo-brand { height: 45px !important; width: auto; }
.logo-footer { 
    height: 50px !important; 
    width: auto; 
    transition: 0.3s;
}

/* --- NAVBAR DINÁMICO --- */
.nav-wrapper { padding: 15px 40px; z-index: 2000; }
.navbar { border-radius: 15px !important; padding: 10px 25px !important; }
.fast-transition { transition: background-color 0.2s ease, backdrop-filter 0.2s ease; }

.nav-initial { background-color: rgba(255, 255, 255, 0.45) !important; backdrop-filter: blur(10px); }
.nav-initial .nav-link { color: var(--negro) !important; }

.nav-scrolled { background-color: rgba(0, 0, 0, 0.8) !important; backdrop-filter: blur(12px); }
.nav-scrolled .nav-link { color: #fff !important; }
.nav-scrolled .navbar-toggler-icon { filter: invert(1); }

/* LÍNEA NARANJA */
.nav-link { position: relative; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px;
    background-color: var(--naranja); transition: width 0.3s ease;
}
.nav-link.active::after { width: 100%; }

/* --- HERO SECTION --- */
.hero-section {
    min-height: 85vh;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%), url('../img/Fondo.png');
    background-size: cover; 
    background-position: center;
}

.text-justify-custom {
    text-align: justify;
    text-justify: inter-word;
    max-width: 750px;
}

/* --- FOOTER MODERNO --- */
.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-nav a:hover {
    color: var(--naranja);
    padding-left: 5px;
}

/* Botón de términos con estilo tecnológico */
.terms-btn-modern {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid rgba(255, 115, 18, 0.3);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    background: rgba(255, 115, 18, 0.05);
    transition: 0.3s;
}

.terms-btn-modern:hover {
    background: var(--naranja);
    color: black;
    border-color: var(--naranja);
}

/* --- ARREGLO PARA CELULAR --- */
@media (max-width: 991px) {
    h1, h2, h3, h4, p, .lead { text-align: center !important; }

    .hero-section {
        padding: 140px 20px 80px 20px !important;
        text-align: center !important;
    }

    .main-title {
        font-size: 2.2rem !important; 
        line-height: 1.1;
        margin-bottom: 2rem !important;
    }

    .hero-text {
        font-size: 0.85rem !important; 
        line-height: 1.6 !important;
        text-align: center !important;
        max-width: 100% !important;
        margin-bottom: 2.5rem !important;
    }

    .logo-brand { height: 32px !important; }
    
    .btn-naranja {
        width: 100%;
        max-width: 280px;
        font-size: 0.9rem !important;
    }

    .linea-naranja { margin-left: auto; margin-right: auto; }
    .nav-wrapper { padding: 10px; }
    .navbar { border-radius: 12px !important; }
    
    /* Footer Responsivo */
    .logo-footer {
        height: 40px !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-nav a:hover {
        padding-left: 0;
    }

    .terms-btn-modern {
        margin-top: 10px;
    }

    .terms-link-mobile {
        display: inline-block; padding: 10px 20px; border: 1px solid var(--naranja);
        border-radius: 50px; background-color: rgba(255, 115, 18, 0.1); margin-top: 15px;
    }
}

/* --- SECCIONES Y CARDS --- */
.bg-tech-gray { background-color: var(--tech-gray); }
.slider-card-white {
    background: #fff; border: 3px solid var(--naranja); border-radius: 30px;
    padding: 3.5rem; min-height: 280px; display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.custom-dots [data-bs-target] {
    width: 12px; height: 12px; border-radius: 50%; background-color: var(--negro); border: none; margin: 0 5px; opacity: 0.3;
}
.custom-dots .active { background-color: var(--naranja) !important; opacity: 1; }

.value-card-white {
    background: #fff; border-radius: 25px; border: 3px solid var(--naranja);
    padding: 2.5rem; transition: 0.4s ease; text-align: center;
}
.value-card-white:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(255, 115, 18, 0.2); }

.text-naranja { color: var(--naranja); }
.btn-naranja { background-color: var(--naranja); color: #fff; border-radius: 50px; font-weight: 800; border: none; }
.shadow-orange { box-shadow: 0 10px 30px rgba(255, 115, 18, 0.4); }
.linea-naranja { width: 70px; height: 6px; background: var(--naranja); border-radius: 10px; }
.fw-900 { font-weight: 900; }
.hover-naranja:hover { color: var(--naranja) !important; transition: 0.3s; }