/* ================================================================
   REPARANDO ANDO - CORE STYLES (ra-style.css)
   Versión FINAL: Parallax Nativo + Fuentes Tech + Iconos Pro
   ================================================================ */

:root {
    --ra-red: #e62222;        
    --ra-red-dark: #b31b1b;
    --ra-dark: #0d0d0d;       
    --ra-dark-light: #161616; 
    --ra-white: #ffffff;
    --ra-text-gray: #a0a0a0;
    --ra-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* FUENTES NUEVAS */
    --font-main: 'Inter', sans-serif;
    --font-title: 'Space Grotesk', sans-serif;
}

/* 1. Reset & Typography */
body {
    font-family: var(--font-main);
    background-color: #fff;
    color: var(--ra-dark);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .ra-tagline, .footer-title, .nav-link {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* 2. Header & Navegación DINÁMICA */
.navbar {
    position: fixed;
    top: 0; width: 100%; z-index: 1050;
    background: transparent !important; 
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    padding: 25px 0;
    transition: all 0.4s ease-in-out; 
}

.navbar.nav-scrolled {
    background: rgba(0, 0, 0, 0.95) !important; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-link {
    color: var(--ra-white) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0 10px;
}

.nav-link:hover { color: var(--ra-red) !important; }

.dropdown-menu {
    background-color: var(--ra-dark-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown-item {
    color: var(--ra-white) !important;
    font-weight: 600;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: var(--ra-red);
    color: #fff !important;
}

.ra-btn-nav {
    background: var(--ra-red);
    color: white !important;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
    border: 2px solid var(--ra-red);
    display: inline-block;
}

/* 3. HERO SECTION (PARALLAX NATIVO) */
.ra-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
}

.ra-hero-parallax {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-attachment: fixed; 
    background-position: center top !important; 
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 1024px) {
    .ra-hero-parallax { background-attachment: scroll !important; }
}

.ra-hero-title {
    color: #fff;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.7);
    margin-bottom: 20px;
}

.ra-hero-text {
    color: #fff;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 4. BOTONES & ANIMACIONES */
@keyframes revealHero {
    0% { opacity: 0; transform: translateY(30px); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.ra-reveal { opacity: 0; animation: revealHero 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

.ra-btn-shiny {
    position: relative;
    display: inline-block;
    padding: 18px 50px;
    background: var(--ra-red);
    color: #fff !important;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(230, 34, 34, 0.3);
}

.ra-btn-shiny:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(230, 34, 34, 0.5); }

/* 5. SECCIÓN DE CONFIANZA - ICONOS MINIMALISTAS */
.ra-features { background-color: #ffffff; }

.ra-trust-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ra-trust-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border-color: var(--ra-red);
}

.trust-icon {
    font-size: 42px; /* Más técnico y grande */
    color: var(--ra-red);
    margin-bottom: 30px;
    display: inline-block;
    transition: all 0.4s ease;
}

.ra-trust-card:hover .trust-icon {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 10px rgba(230, 34, 34, 0.3));
}

.ra-trust-card h3 { font-size: 19px; margin-bottom: 15px; }
.ra-trust-card p { font-size: 14px; color: #666; }

/* 6. DISEÑO MÓVIL PROFESIONAL (SIDE MENU) */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0; left: -100%; 
        width: 85%; height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: block !important;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        padding: 120px 40px 40px;
        box-shadow: 20px 0 50px rgba(0,0,0,0.8);
        z-index: 1040;
    }

    .navbar-collapse.show { left: 0; }
    .nav-item { margin-bottom: 20px; opacity: 0; transform: translateX(-30px); transition: 0.5s; }
    .navbar-collapse.show .nav-item { opacity: 1; transform: translateX(0); }
    .nav-link { font-size: 1.8rem !important; font-weight: 800 !important; }
    
    .navbar-toggler { z-index: 1060; border: none !important; }
    .ra-menu-icon {
        width: 25px; height: 2px;
        background: #fff; display: block;
        position: relative; transition: 0.3s;
    }
    .ra-menu-icon::before, .ra-menu-icon::after {
        content: ''; width: 25px; height: 2px;
        background: #fff; position: absolute; left: 0; transition: 0.3s;
    }
    .ra-menu-icon::before { top: -8px; }
    .ra-menu-icon::after { top: 8px; }

    .navbar-toggler:not(.collapsed) .ra-menu-icon { background: transparent; }
    .navbar-toggler:not(.collapsed) .ra-menu-icon::before { transform: rotate(45deg); top: 0; }
    .navbar-toggler:not(.collapsed) .ra-menu-icon::after { transform: rotate(-45deg); top: 0; }
}

/* 7. FOOTER PREMIUM - ICONOS MINIMALISTAS */
.ra-footer {
    background-color: #080808;
    color: var(--ra-white);
    padding: 80px 0 0;
    border-top: 4px solid var(--ra-red);
}

.footer-title {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: ''; position: absolute; left: 0; bottom: -8px; width: 35px; height: 3px;
    background: var(--ra-red);
}

.footer-contact-item { display: flex; margin-bottom: 20px; align-items: flex-start; }
.footer-contact-item i {
    width: 24px; height: 24px;
    background: transparent !important;
    color: var(--ra-red);
    display: flex; align-items: center; justify-content: center;
    margin-right: 15px; font-size: 18px; margin-top: 3px;
}

.ra-social-links { display: flex; gap: 12px; margin-top: 25px; }
.ra-social-icon {
    width: 35px; height: 35px;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--ra-text-gray);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; font-size: 14px; text-decoration: none;
}
.ra-social-icon:hover { background: var(--ra-red); border-color: var(--ra-red); color: #fff; transform: translateY(-3px); }

.footer-bottom {
    background: #000; padding: 25px 0; margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
    .ra-hero, .ra-hero-parallax { height: 90dvh; }
    .ra-hero-parallax { background-attachment: scroll !important; }
    .ra-hero-title { font-size: 2.5rem; }
}