:root {
    --bg-dark: #080808;
    --bg-card: rgba(20, 20, 20, 0.75);
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-glow: rgba(212, 175, 55, 0.25);
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --border-color: rgba(212, 175, 55, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   NAVEGACIÓN (GLASSMORPHISM)
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.logo span {
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: var(--text-gray);
    display: block;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 1.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 8px var(--gold-glow);
}

/* ==========================================
   HERO / INICIO CON PARALLAX
   ========================================== */
.hero {
    position: relative;
    padding: 8rem 1.5rem 6rem 1.5rem;
    text-align: center;
    /* Fondo con Parallax */
    background: linear-gradient(180deg, rgba(8,8,8,0.7) 0%, rgba(8,8,8,0.95) 100%),
                url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat fixed;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.tagline {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.gold-title {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 3.5rem;
    letter-spacing: 6px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    margin-bottom: 0.5rem;
}

.pills {
    color: var(--text-gray);
    font-size: 0.75rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.quote {
    font-style: italic;
    color: #e4e4e7;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    font-size: 1rem;
    font-weight: 300;
}

/* BOTONES */
.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    color: #000;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(0,0,0,0.3);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: #000;
    transform: translateY(-2px);
}

/* ==========================================
   MÉTRICAS
   ========================================== */
.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: #0d0d0d;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.metric-card {
    padding: 1rem;
}

.metric-num {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1.4rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
}

.metric-card p {
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* ==========================================
   SECCIONES Y TARJETAS
   ========================================== */
.section-container {
    padding: 6rem 2rem;
    max-width: 1150px;
    margin: 0 auto;
}

.bg-darker {
    background-color: #0b0b0b;
}

.gold-subtitle {
    color: var(--gold-primary);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    color: var(--text-white);
    text-align: center;
    font-size: 2.2rem;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
}

.bio-text {
    max-width: 750px;
    margin: -1rem auto 3.5rem auto;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* GRIDS CON EFECTO HOVER */
.historia-grid, .grid, .rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
}

.historia-card, .card, .rec-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.historia-card:hover, .card:hover, .rec-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--gold-glow);
}

.step-num {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.card h3, .historia-card h4, .rec-card h4 {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-family: 'Cinzel', serif;
}

.card p, .historia-card p, .rec-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==========================================
   CONTACTO Y FOOTER
   ========================================== */
.text-center { text-align: center; }

.contact-box {
    background: var(--bg-card);
    padding: 3.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.contact-text {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    color: var(--gold-light);
    font-size: 0.85rem;
}

.footer {
    text-align: center;
    padding: 2.5rem;
    background: #050505;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* ==========================================
   RESPONSIVE / MÓVILES
   ========================================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.7rem;
    }

    .gold-title {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.8rem;
    }
}