.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg__photo,
.hero-bg .vdv-photo-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
    border: none;
}
.hero-bg__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,28,51,0.55) 0%, rgba(6,28,51,0.35) 45%, rgba(6,28,51,0.9) 100%);
}

.hero-content-wrap {
    position: relative;
    z-index: 1;
    padding: calc(var(--header-height) + 40px) 24px 110px;
    width: 100%;
}
.hero-content { max-width: 720px; }
.hero-content h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 22px;
    color: var(--color-white);
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
}
.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 560px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.15s forwards;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.3s forwards;
}
.hero-actions .button-secondary { --btn-secondary-color: var(--color-white); }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    /* Centering the content instead of pinning it to the bottom of a
       100vh section is what fixes both the "too much empty space" and
       "text sits too low" complaints — that combination previously left
       a tall dead gap (the old top padding) sitting above the text. */
    .hero-section { min-height: 100svh; align-items: center; }
    .hero-content-wrap {
        padding: 90px 24px 60px;
        text-align: center;
    }
    .hero-content { margin: 0 auto; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content h1, .hero-content p, .hero-actions {
        animation: none;
        opacity: 1;
    }
}
