/* Main hero refresh — certification graphic remains in HTML but hidden for easy reactivation. */
.hero-image--temporarily-hidden {
    display: none !important;
}

.hero-content.hero-content--modern {
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
    gap: clamp(2.5rem, 5vw, 5.5rem);
    max-width: 1280px;
    width: 100%;
    padding: 0 32px;
}

.hero-text.hero-text--modern {
    max-width: 690px;
}

.hero-brand-lockup {
    width: min(330px, 72%);
    margin-bottom: 1.15rem;
}

.hero-brand-lockup .hero-brand-logo {
    width: 100%;
    height: auto;
    display: block;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.85rem;
    color: var(--primary-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-eyebrow::before {
    content: '';
    width: 38px;
    height: 3px;
    flex: 0 0 auto;
    border-radius: 99px;
    background: var(--primary-red);
}

.hero-headline {
    max-width: 680px;
    margin: 0 0 1.1rem;
    color: #111316;
    font-size: clamp(2.8rem, 4.2vw, 4.65rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero-subtitle.hero-subtitle--modern {
    max-width: 650px;
    margin-bottom: 1.55rem;
    color: #3a3d42;
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.65;
}

.hero-capabilities {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.hero-capabilities a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.85rem;
    color: #26292d;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(40, 43, 47, 0.16);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-capabilities a:hover,
.hero-capabilities a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(239, 48, 56, 0.7);
    background: rgba(255, 255, 255, 0.76);
    outline: none;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-primary-cta {
    min-width: 218px;
    text-align: center;
}

.hero-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 52px;
    padding: 0.75rem 0.35rem;
    color: #17191c;
    border-bottom: 2px solid rgba(239, 48, 56, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease, border-color 0.2s ease;
}

.hero-secondary-cta span {
    color: var(--primary-red);
    font-size: 1.15rem;
    line-height: 1;
}

.hero-secondary-cta:hover,
.hero-secondary-cta:focus-visible {
    color: var(--primary-red);
    gap: 0.9rem;
    border-color: var(--primary-red);
    outline: none;
}

.hero-visual {
    position: relative;
    align-self: stretch;
    min-height: 500px;
    overflow: hidden;
    border-radius: 28px 6px 28px 6px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: #aeb2b7;
    box-shadow: 0 28px 60px rgba(27, 30, 34, 0.25);
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(221, 224, 227, 0.45) 0%, rgba(221, 224, 227, 0.06) 22%, transparent 48%),
        linear-gradient(180deg, transparent 52%, rgba(12, 14, 17, 0.75) 100%);
}

.hero-visual::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 7px;
    height: 38%;
    z-index: 3;
    background: var(--primary-red);
}

.hero-visual-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
    filter: saturate(0.82) contrast(1.04);
}

.hero-visual-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(11, 13, 15, 0.12);
    pointer-events: none;
}

.hero-visual-caption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 25px;
    z-index: 4;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: #fff;
}

.hero-visual-accent {
    width: 4px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 99px;
    background: var(--primary-red);
}

.hero-visual-caption strong,
.hero-visual-caption span {
    display: block;
}

.hero-visual-caption strong {
    margin-bottom: 0.28rem;
    font-size: 0.95rem;
    line-height: 1.25;
}

.hero-visual-caption div > span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.75rem;
    line-height: 1.35;
}

@media (min-width: 769px) {
    .hero {
        min-height: 760px;
        padding: 118px 0 58px;
    }
}

@media (max-width: 980px) {
    .hero-content.hero-content--modern {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
        gap: 2rem;
        padding: 0 24px;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 5vw, 3.55rem);
    }

    .hero-visual,
    .hero-visual-image {
        min-height: 440px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 96px 0 34px;
    }

    .hero-content.hero-content--modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.1rem 18px 1.6rem;
        text-align: left;
    }

    .hero-text.hero-text--modern {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
        padding: 0;
        background: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        overflow: visible;
    }

    .hero-text.hero-text--modern::before {
        display: none;
    }

    .hero-brand-lockup {
        width: min(270px, 72%);
        margin: 0 0 1rem;
    }

    .hero-eyebrow {
        justify-content: flex-start;
        font-size: 0.69rem;
        letter-spacing: 0.16em;
    }

    .hero-headline {
        max-width: 560px;
        font-size: clamp(2.4rem, 10vw, 3.55rem);
        line-height: 1.01;
    }

    .hero-subtitle.hero-subtitle--modern {
        max-width: 590px;
        margin-left: 0;
        margin-right: 0;
        font-size: 1rem;
    }

    .hero-capabilities {
        justify-content: flex-start;
        margin-bottom: 1.65rem;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-primary-cta {
        min-width: 200px;
        padding: 1rem 1.6rem;
        font-size: 0.96rem;
    }

    .hero-secondary-cta {
        min-height: 48px;
    }

    .hero-visual {
        width: 100%;
        min-height: 260px;
        max-height: 330px;
        margin: 0 auto;
        border-radius: 20px 5px 20px 5px;
        box-shadow: 0 18px 40px rgba(27, 30, 34, 0.2);
    }

    .hero-visual-image {
        min-height: 260px;
        height: 100%;
    }

    .hero-visual-caption {
        left: 20px;
        right: 20px;
        bottom: 18px;
    }
}

@media (max-width: 480px) {
    .hero-content.hero-content--modern {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-brand-lockup {
        width: min(240px, 74%);
    }

    .hero-headline {
        font-size: clamp(2.15rem, 11vw, 2.8rem);
    }

    .hero-capabilities {
        gap: 0.45rem;
    }

    .hero-capabilities a {
        padding: 0.42rem 0.72rem;
        font-size: 0.72rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .hero-primary-cta {
        width: 100%;
        min-width: 0;
    }

    .hero-secondary-cta {
        padding-left: 0.15rem;
    }

    .hero-visual {
        min-height: 230px;
        max-height: 280px;
    }

    .hero-visual-image {
        min-height: 230px;
    }

    .hero-visual-caption div > span {
        display: none;
    }
}
