:root {
    --gold: #C39E5C;
    --gold-light: #DFC07F;
    --gold-dark: #9A7B3E;
    --black-bg: #09090b;
    --black-card: #121215;
    --white-bg: #FFFFFF;
    --light-bg: #F8FAFC;
    --card-border: #E2E8F0;
    --black-border: #27272a;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --shadow-subtle: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    --shadow-gold: 0 10px 25px -5px rgba(195, 158, 92, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--white-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

/* BARRA SUPERIOR NEGRA */
.top-bar {
    background-color: #000000;
    color: #a1a1aa;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid var(--black-border);
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.top-bar i { 
    color: var(--gold); 
    margin-right: 6px; 
}

/* HEADER NEGRO Y NAVEGACIÓN */
header {
    background-color: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--black-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.logo-link:hover { 
    transform: scale(1.02); 
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

/* BOTÓN HAMBURGUESA PARA CELULARES */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    font-size: 14px;
    font-weight: 600;
    color: #d4d4d8;
    transition: color 0.2s;
}

nav ul li a:hover, 
nav ul li a.active { 
    color: var(--gold-light); 
}

.btn-nav {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #000000 !important;
    font-weight: 800 !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s !important;
}

.btn-nav:hover {
    box-shadow: 0 0 15px rgba(195, 158, 92, 0.4);
    transform: translateY(-1px);
}

/* HERO / PORTADA SLIDER */
.hero {
    position: relative;
    color: #FFFFFF;
    padding: 100px 20px 110px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover; 
    background-position: center;
    opacity: 0;
    animation: slideAnimation 15s infinite;
}

.slide1 {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=1600');
    animation-delay: 0s;
}

.slide2 {
    background-image: url('https://images.unsplash.com/photo-1507238691740-187a5b1d37b8?q=80&w=1600');
    animation-delay: 5s;
}

.slide3 {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=1600');
    animation-delay: 10s;
}

@keyframes slideAnimation {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.94) 80%);
    z-index: 2;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-block;
    background: rgba(195, 158, 92, 0.2);
    color: var(--gold-light);
    border: 1px solid rgba(195, 158, 92, 0.5);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #FFFFFF;
}

.hero p {
    font-size: 18px;
    color: #e4e4e7;
    margin-bottom: 35px;
    font-weight: 400;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: #000000;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(195, 158, 92, 0.4);
}

/* SECCIONES DE CONTENIDO */
.intro-benefits-section {
    background-color: var(--white-bg);
    padding: 80px 20px;
}

.main-container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

.top-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    border: 2px solid var(--gold);
    padding: 6px;
    background: var(--black-bg);
    box-shadow: var(--shadow-subtle);
}

.image-wrapper img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.content-column h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.intro-text {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.icon-box {
    width: 48px; 
    height: 48px; 
    min-width: 48px;
    background: var(--black-bg);
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.benefit-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.benefit-content p {
    font-size: 13px;
    color: var(--text-muted);
}

/* TARJETAS DESTACADAS Y DE SERVICIOS */
.bottom-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding-top: 50px;
    border-top: 1px solid var(--card-border);
}

.feature-card {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--black-bg);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.feature-card:hover h3 { color: #FFFFFF; }
.feature-card:hover p { color: #a1a1aa; }

.card-icon {
    font-size: 28px;
    color: var(--gold-dark);
    margin-bottom: 15px;
}

.feature-card:hover .card-icon { color: var(--gold); }

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.3s;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s;
}

/* SECCIÓN DETALLES */
.details-section {
    background-color: var(--light-bg);
    padding: 80px 20px;
    border-top: 1px solid var(--card-border);
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.details-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.details-card {
    background: var(--white-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-subtle);
}

.details-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.details-card p { 
    font-size: 13px; 
    color: var(--text-muted); 
}

.details-image img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-subtle);
}

/* CABECERA Y ESTRUCTURA PÁGINAS INTERNAS (QUIÉNES SOMOS / CONTACTO) */
.page-header {
    background: radial-gradient(circle at 50% 50%, #1c1811 0%, var(--black-bg) 80%);
    color: #FFFFFF;
    padding: 70px 20px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.page-header-content { 
    max-width: 800px; 
    margin: 0 auto; 
}

.page-header h1 { 
    font-size: 42px; 
    font-weight: 800; 
    margin-bottom: 15px; 
}

.page-header p { 
    font-size: 18px; 
    color: var(--gold-light); 
    font-weight: 500; 
}

.about-section { 
    padding: 80px 20px; 
    background-color: var(--white-bg); 
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1.1fr 1fr; 
    gap: 60px; 
    align-items: center; 
    margin-bottom: 70px; 
}

.about-text h2 { 
    font-size: 32px; 
    font-weight: 800; 
    color: var(--text-dark); 
    margin-bottom: 20px; 
}

.about-text p { 
    font-size: 15px; 
    color: var(--text-muted); 
    margin-bottom: 18px; 
    line-height: 1.7; 
}

.highlight-box {
    background: var(--light-bg);
    border-left: 4px solid var(--gold);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.highlight-box p { 
    margin-bottom: 0; 
    font-weight: 600; 
    color: var(--text-dark); 
}

.about-image { 
    position: relative; 
    border-radius: 16px; 
    border: 2px solid var(--gold); 
    padding: 6px; 
    background: var(--black-bg); 
}

.about-image img { 
    width: 100%; 
    border-radius: 10px; 
    display: block; 
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 70px;
    text-align: center;
}

.stat-item h3 { 
    font-size: 42px; 
    font-weight: 900; 
    color: var(--gold-dark); 
    margin-bottom: 5px; 
}

.stat-item p { 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--text-dark); 
}

.pillars-section { 
    background-color: var(--light-bg); 
    padding: 80px 20px; 
    border-top: 1px solid var(--card-border); 
}

.pillars-header { 
    text-align: center; 
    max-width: 700px; 
    margin: 0 auto 50px; 
}

.pillars-header h2 { 
    font-size: 32px; 
    font-weight: 800; 
    color: var(--text-dark); 
    margin-bottom: 10px; 
}

.pillars-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

.pillar-card {
    background: var(--white-bg);
    padding: 35px 25px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: all 0.3s;
}

.pillar-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--gold); 
    box-shadow: var(--shadow-gold); 
}

.pillar-icon {
    width: 50px; 
    height: 50px;
    background: var(--black-bg);
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.pillar-card h3 { 
    font-size: 18px; 
    font-weight: 700; 
    color: var(--text-dark); 
    margin-bottom: 10px; 
}

.pillar-card p { 
    font-size: 13px; 
    color: var(--text-muted); 
    line-height: 1.6; 
}

/* FOOTER */
footer {
    background-color: var(--black-bg);
    color: #a1a1aa;
    padding: 30px 20px;
    font-size: 14px;
    border-top: 1px solid var(--black-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    width: 55px; 
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s;
    z-index: 1000;
}

.whatsapp-btn:hover { 
    transform: scale(1.1); 
}

/* RESPONSIVO / ADAPTACIÓN A PANTALLAS PEQUEÑAS (CELULARES Y TABLETS) */
@media (max-width: 992px) {
    .menu-toggle {
        display: block; /* Muestra el botón de 3 rayitas */
    }

    nav {
        width: 100%;
    }

    nav ul {
        display: none; /* Oculto por defecto en celular */
        flex-direction: column;
        width: 100%;
        background-color: var(--black-bg);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        border-bottom: 2px solid var(--gold);
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    /* Clase que despliega el menú al presionar el botón */
    nav ul.active {
        display: flex !important;
    }

    .btn-nav {
        text-align: center;
        display: block;
    }

    .top-row, .details-container, .about-grid { 
        grid-template-columns: 1fr; 
    }
    
    .bottom-cards-row { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .pillars-grid { 
        grid-template-columns: 1fr; 
    }
    
    .stats-row { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    
    .hero h1 { 
        font-size: 34px; 
    }
    
    .page-header h1 { 
        font-size: 32px; 
    }
}

@media (max-width: 600px) {
    .bottom-cards-row { 
        grid-template-columns: 1fr; 
    }
    
    .details-grid { 
        grid-template-columns: 1fr; 
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}