.hero-home {
    --hero-image: url('images/C1.jpg');
    min-height: 72vh;
}

.hero-secondary {
    --hero-image: url('images/C2.jpg');
    min-height: 48vh;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.55fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.profile-card {
    position: relative;
    padding: 18px;
    animation: slideUp 0.9s ease 0.26s both;
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(215, 181, 107, 0.78), rgba(255, 255, 255, 0.12), transparent 62%);
    opacity: 0.55;
}

.profile-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
}

.profile-card .caption {
    padding: 18px 8px 4px;
}

.profile-card h2 {
    margin: 0 0 6px;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.profile-card p {
    margin: 0;
}

.stats-grid,
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.stat-card,
.quick-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.065);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.quick-card {
    text-decoration: none;
}

.stat-card:hover,
.quick-card:hover {
    transform: translateY(-6px);
    border-color: rgba(215, 181, 107, 0.42);
    background: rgba(181, 138, 59, 0.13);
}

.stat-card strong,
.quick-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.4rem;
    color: var(--white);
}

.stat-card span,
.quick-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        max-width: 430px;
    }

    .stats-grid,
    .quick-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hero-home {
        min-height: auto;
    }

    .hero-secondary {
        min-height: 34vh;
    }

    .profile-card {
        padding: 14px;
        border-radius: 20px;
    }

    .profile-card h2 {
        font-size: 1.18rem;
        line-height: 1.25;
    }

    .profile-card p,
    .stat-card span,
    .quick-card span {
        font-size: 0.86rem;
    }

    .stat-card,
    .quick-card {
        padding: 14px;
    }

    .stat-card strong,
    .quick-card strong {
        font-size: 1.08rem;
    }
}
