:root {
    --primary: #1a4f8b;
    --primary-dark: #0f3460;
    --accent: #e8a317;
    --accent-hover: #d4920f;
    --light-bg: #f4f7fb;
}


body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
    padding-top: 72px;
}

#mainNav {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transition: box-shadow 0.3s ease;
}

#mainNav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

#mainNav .nav-link:hover {
    color: var(--accent) !important;
}

/* Banner promocional (imagen) */
.top-banner {
    line-height: 0;
}

.top-banner-img {
    display: block;
    width: 100%;
    height: clamp(190px, 32vw, 430px);
    object-fit: cover;
    object-position: center top;
}

/* Banner principal */
.hero-banner {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.92), rgba(26, 79, 139, 0.85)),
                url('https://images.unsplash.com/photo-1529107386315-e1a2ed48a620?w=1920') center/cover no-repeat;
    color: #fff;
}

.hero-banner .hero-content {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-banner .lead {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    opacity: 0.95;
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a1a;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 163, 23, 0.4);
}

.btn-outline-light-custom {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.hero-photo-card {
    max-width: 320px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-photo {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    aspect-ratio: 3/4;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-photo-caption {
    margin-top: 1rem;
    color: #fff;
}

.hero-photo-caption strong {
    display: block;
    font-size: 1.15rem;
}

.hero-photo-caption span {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Biografía */
.bio-badge {
    display: inline-block;
    background: rgba(26, 79, 139, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.bio-profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.bio-photo-wrapper {
    width: 220px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 79, 139, 0.2);
    border: 4px solid #fff;
}

.bio-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.bio-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.bio-role {
    font-size: 0.95rem;
}

.bio-quote {
    background: var(--light-bg);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.25rem;
    text-align: left;
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
}

.bio-quote i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
}

.bio-facts li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #555;
}

.bio-facts li:last-child {
    border-bottom: none;
}

.bio-facts i {
    margin-right: 0.6rem;
}

.bio-content {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.bio-block {
    margin-bottom: 2.5rem;
}

.bio-block-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
}

.bio-icon {
    width: 40px;
    height: 40px;
    background: rgba(26, 79, 139, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bio-block p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.bio-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.bio-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #dee2e6;
}

.bio-timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.bio-timeline-item:last-child {
    padding-bottom: 0;
}

.bio-timeline-dot {
    position: absolute;
    left: -1.5rem;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.bio-timeline-content h6 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.bio-value-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(26, 79, 139, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bio-value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 79, 139, 0.1);
}

.bio-value-card > i {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(26, 79, 139, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.bio-value-card h6 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

.bio-value-card p {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.bio-inline-photo {
    max-height: 420px;
    object-fit: cover;
    object-position: top center;
    width: 100%;
}

/* Secciones */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

/* Tarjetas de información */
.info-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.info-card .icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.icon-box-primary {
    background: rgba(26, 79, 139, 0.1);
    color: var(--primary);
}

.icon-box-accent {
    background: rgba(232, 163, 23, 0.15);
    color: var(--accent-hover);
}

.icon-box-success {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}


/* Footer */
.footer {
    background: linear-gradient(135deg, #0a2540, var(--primary-dark));
    color: #fff;
}

.footer-top {
    padding: 4rem 0;
}

.footer-brand h4 {
    font-size: 1.5rem;
}

.footer-brand p {
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--accent);
    color: #1a1a1a;
    transform: translateY(-3px);
    border-color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent);
}

.btn-footer-cta {
    background: var(--accent);
    color: #1a1a1a;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-footer-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 163, 23, 0.4);
    color: #1a1a1a;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 70vh;
        text-align: center;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .verification-card {
        padding: 1.5rem;
    }

    .bio-profile-card {
        position: static;
    }

    .bio-content {
        padding: 1.5rem;
    }

    .bio-photo-wrapper {
        width: 180px;
        height: 230px;
    }
}
