/* bio-style.css - Refined for Production & Theme Consistency */

/* Global Background Adjustments */
.bio-page {
    margin: 0;
    padding: 0;
    background-color: transparent;
    /* Permite ver el paper-bg */
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: color var(--transition-smooth);
}

/* Header Overrides for Bio Page */
.header-mini {
    /* Mantiene la misma estructura que el home */
    border-bottom: 1px solid var(--border);
}

/* Hero Section - Cinematic & Theme Compliant */
.bio-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 5% 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 8vw, 86px);
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--accent);
    margin: 20px 0 40px;
    font-weight: 600;
    letter-spacing: 1px;
}

.lead-text {
    max-width: 65ch;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text);
    background: var(--surface);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* Cards Section */
.bio-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5% 80px;
    position: relative;
    z-index: 5;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.bio-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 45px 35px;
    border-radius: 22px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.bio-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.bio-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 20px 0;
}

.bio-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Timeline */
.timeline-section {
    text-align: center;
    background: var(--surface-2);
    padding: 80px 40px;
    border-radius: 40px;
    border: 1px solid var(--border);
    margin-top: 40px;
    backdrop-filter: blur(8px);
}

.timeline-section h2 {
    font-family: var(--font-heading);
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 800;
}

.timeline {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.timeline li {
    position: relative;
    padding-top: 30px;
}

.timeline li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    z-index: 2;
}

.timeline .year {
    display: block;
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* CTA Section */
.bio-cta {
    padding: 80px 5%;
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface);
    padding: 80px 40px;
    border-radius: 40px;
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.cta-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    font-weight: 800;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-contrast);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--focus);
    filter: brightness(1.1);
}

.btn-secondary {
    border: 1.5px solid var(--border);
    color: var(--text);
    background: var(--surface-2);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--text);
    color: var(--bg);
    transform: translateY(-3px);
}

/* Footer */
.bio-footer {
    padding: 60px 5%;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.bio-footer p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .timeline {
        grid-template-columns: 1fr;
        max-width: 500px;
        padding-left: 20px;
    }

    .timeline li {
        text-align: left;
        padding-left: 40px;
        border-left: 2px solid var(--border);
    }

    .timeline li::before {
        left: -8px;
        top: 5px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }

    .lead-text {
        font-size: 1.1rem;
        padding: 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}