/* ─────────────────────────────────────────────────────────────────────
   Hero component — solid dark background with centred content. Used in
   front-page.php (.hero, .hero__content, .hero__title, .hero__sub).
   ───────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-text-inverse);
    max-width: 800px;
    padding: 0 var(--space-md);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-text-inverse);
}

/* display: block forces the closing phrase onto its own line in both
   languages, instead of relying on incidental wrapping. */
.hero__title-accent {
    display: block;
    color: var(--color-accent);
    font-style: italic;
}

/* Tagline sits above the H1, so its spacing is the tight gap below it;
   the larger gap now lives under the H1, before the CTA button. */
.hero__sub {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
}

/* This section now ends with just a heading (its button was removed as
   a duplicate of the footer's own CTA bar right below it) — the
   standard .section bottom padding plus the footer-cta's own top
   padding stacked into a huge accidental gap between the two, so this
   trims it back to a single reasonable gap. */
.home-final-cta {
    padding-bottom: var(--space-md);
}
