/* css/index.css */

:root { 
    --gold: #d4af37; 
    --dark: #0a0a0a; 
    --footer-bg: #330505;
    --card: #1a1a1a; 
    --gray: #888;
    --success: #25d366;
    --danger: #ff4444;
}

body { 
    font-family: 'Poppins', sans-serif; 
    background: var(--dark); 
    color: white; 
    margin: 0; 
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVEGACIÓN --- */
.nav-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(150, 19, 19, 0.95);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-link img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.menu-links { 
    display: flex; 
    gap: 30px; 
    align-items: center; 
}

.menu-links a { 
    color: white; 
    text-decoration: none; 
    font-size: 0.9rem; 
    transition: 0.3s; 
}

.menu-links a:hover { 
    color: var(--gold); 
}

.menu-toggle {
    display: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
}

.btn-admin {
    border: 1px solid var(--gold);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--gold) !important;
    font-weight: 600;
}

/* --- SLIDER HERO --- */
.swiper { 
    width: 100%; 
    height: 85vh; 
    min-height: 550px; 
    border-bottom: 3px solid var(--gold); 
}

.swiper-slide { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    opacity: 0 !important; 
    transition: opacity 0.6s ease-in-out; 
}

.swiper-slide-active { 
    opacity: 1 !important; 
}

.slide-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    z-index: 1; 
}

.overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.75); 
    z-index: 2; 
}

.hero-content { 
    position: relative; 
    z-index: 3; 
    padding: 0 20px; 
    max-width: 900px; 
}

.hero-content h1 { 
    margin: 0; 
    color: #fff; 
    font-size: 3.2rem; 
    line-height: 1.1; 
    text-transform: uppercase; 
    font-weight: 700; 
}

.hero-content h1 span { 
    color: var(--gold); 
    display: block; 
    font-size: 1.8rem; 
}

.hero-content p { 
    margin: 20px auto; 
    font-size: 1.2rem; 
    opacity: 0.9; 
}

.btn-hero { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold); 
    color: black; 
    padding: 18px 35px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    margin: 15px auto; 
    transition: 0.3s; 
    gap: 10px; 
}

.btn-hero:hover {
    background: white;
    transform: scale(1.02);
}

/* --- COMPONENTES Y SECCIONES --- */
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.section-padding { 
    padding: 80px 0; 
}

.section-title { 
    color: var(--gold); 
    font-size: 2.2rem; 
    text-align: center; 
    margin-bottom: 40px; 
    text-transform: uppercase; 
    font-weight: 700; 
}

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 40px; 
}

.step-card, .benefit-card { 
    background: var(--card); 
    padding: 30px; 
    border-radius: 20px; 
    border: 1px solid #333; 
}

.step-num { 
    font-size: 3rem; 
    color: var(--gold); 
    font-weight: 800; 
    opacity: 0.3; 
    line-height: 1; 
}

.text-center { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

/* --- FOOTER --- */
footer { 
    background: var(--footer-bg); 
    padding: 60px 5% 40px; 
    border-top: 2px solid #222; 
    margin-top: 80px; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

.footer-brand img { 
    height: 70px; 
    width: auto; 
    display: block; 
    margin-bottom: 15px; 
}

.footer-bottom { 
    text-align: center; 
    margin-top: 50px; 
    padding-top: 20px; 
    border-top: 1px solid #222; 
    font-size: 0.8rem; 
    color: #fff; 
    opacity: 0.6; 
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .nav-desktop { height: 70px; }
    .logo-link img { height: 50px; }
    .menu-toggle { display: block; position: absolute; right: 20px; }
    
    .menu-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(150, 19, 19, 0.98);
        padding: 30px 0;
        gap: 20px;
        border-bottom: 3px solid var(--gold);
        text-align: center;
    }
    
    .menu-links.active { display: flex; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand img { margin: 0 auto 15px; }
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
}