:root {
    --header-bg-color: #3a5a53;
    --header-bg-color-alt: #6366f1;
    --text-white: #ffffff;
    --text-gray: #f8fafc;
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modern-header {
    background-color: #4B6562;
    padding: 0.8rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

/* Clases para el efecto de scroll */
.modern-header.header-hidden {
    transform: translateY(-100%);
}

.modern-header.header-visible {
    transform: translateY(0);
}

/* Compensar el header fijo */
body {
    padding-top: 100px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: height 0.3s ease;
    margin-top: 5px;
    margin-bottom: 5px;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
    letter-spacing: -0.5px;
}

.nav-modern {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-modern ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.2rem;
}

.nav-modern a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-modern a:hover,
.nav-modern a.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
    padding-right: 0;
}

.social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-login {
    background: #ffffff;
    color: #4B6562;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    white-space: nowrap;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #4B6562;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-modern ul {
        gap: 1rem;
    }

    .nav-modern a {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 991px) {
    .modern-header {
        padding: 0.6rem 0;
    }

    .nav-modern ul {
        display: none;
    }

    .social-icons {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-actions {
        gap: 0.8rem;
    }

    body {
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    .modern-header {
        padding: 0.5rem 0;
    }

    .logo-img {
        height: 50px;
    }

    .header-actions {
        gap: 0.6rem;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .btn-login {
        padding: 7px 15px;
        font-size: 12px;
    }

    body {
        padding-top: 70px;
    }
}

@media (max-width: 576px) {
    .modern-header {
        padding: 0.4rem 0;
    }

    .logo-img {
        height: 45px;
    }

    .logo-text {
        font-size: 24px;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .btn-login {
        padding: 6px 12px;
        font-size: 11px;
    }

    .mobile-toggle {
        font-size: 20px;
    }

    body {
        padding-top: 65px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 20px;
    }

    .btn-login {
        padding: 5px 10px;
        font-size: 10px;
    }

    body {
        padding-top: 60px;
    }
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 auto;
    max-width: 320px;
}

.card-info {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f8fafc;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(60, 60, 60, 0.10);
    padding: 22px 28px;
    transition: transform 0.18s, box-shadow 0.18s;
    cursor: pointer;
}

.card-info:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 28px rgba(60, 60, 60, 0.16);
}

.card-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f2f1;
    border-radius: 50%;
    font-size: 2rem;
}

.card-info .card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-info .card-title {
    font-size: 1.1rem;
    color: #4B6562;
    font-weight: 600;
}

.card-info .card-value {
    font-size: 2.1rem;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1;
}