:root {
    --hero-bg-light: #f2f3ff;
    --hero-bg-accent: #2e1f63;
    --hero-bg-warning: #e54040;
    --hero-text-dark: #241a48;
    --hero-text-muted: #6f6d86;
}

.hero-section {
    padding: 2rem 1rem 3rem;
    background: #fff;
}

@media (min-width: 992px) {
    .hero-section {
        padding: 3rem 0 4rem;
    }
}

.hero-section__grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .hero-section__grid {
        grid-template-columns: 3fr 1.2fr;
        align-items: stretch;
    }
}

.hero-card {
    border-radius: 1.5rem;
    padding: 2rem;
    color: var(--hero-text-dark);
    background: var(--hero-bg-light);
    box-shadow: 0 20px 40px rgba(25, 12, 59, 0.08);
}

.hero-card--main {
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, #f4f5ff 0%, #fef9ff 100%);
    transition: background-image 0.3s ease;
}

.hero-card--main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(22, 8, 45, 0.05), rgba(22, 8, 45, 0.35));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-card--main[data-has-image="true"]::after {
    opacity: 1;
}

.hero-card--main[data-has-image="true"] {
    color: #fff;
    background-size: cover;
    background-position: center;
}

.hero-card__content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.hero-card__title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-card__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-card__muted {
    color: var(--hero-text-muted);
    margin: 0;
}

.hero-card--main .hero-card__muted,
.hero-card--main .hero-card__eyebrow {
    color: inherit;
    opacity: 0.85;
}

.hero-section__stack {
    display: grid;
    gap: 1.5rem;
}

.hero-card--accent {
    background: var(--hero-bg-accent);
    color: #fff;
}

.hero-card--warning {
    background: var(--hero-bg-warning);
    color: #fff;
}
