/* =============================================
   HERO
   ============================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: var(--color-white);
}

/* Background image */
.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg-img {
    position: absolute;
    right: 8%;
    top: 70px;
    height: 100%;
    width: auto;
    transform: scale(0.9);
}

/* Two-layer overlay: deep navy base + directional gradient */
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            108deg,
            rgba(4, 8, 15, 0.70) 0%,
            rgba(4, 8, 15, 0.45) 45%,
            rgba(4, 8, 15, 0.10) 100%
        ),
        linear-gradient(
            to top,
            rgba(4, 8, 15, 0.60) 0%,
            transparent 50%
        );
}

/* Content area */
.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: var(--space-32);
    padding-bottom: var(--space-24);
}

.hero__text {
    text-align: left;
}

/* Eyebrow */
.hero__label {
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-6);
}

/* Headline — very large, tight tracking */
.hero__headline {
    font-size: clamp(2.75rem, 6.5vw, 5rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.04em;
    color: var(--color-white);
    margin-bottom: var(--space-6);
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.hero__headline em {
    font-style: normal;
    color: #ddd;
}

/* Subline */
.hero__sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: var(--space-10);
    max-width: 46ch;
}

/* CTA row */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-16);
}

/* ── Credential strip at bottom of hero ───── */

.hero__creds {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.10);
    background: rgba(4, 8, 15, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero__creds-inner {
    display: flex;
    align-items: stretch;
}

.hero__cred {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-6) var(--space-6);
    border-right: 1px solid rgba(255,255,255,0.08);
}

.hero__cred:last-child {
    border-right: none;
}

.hero__cred-num {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--color-white);
    line-height: 1;
    white-space: nowrap;
}

.hero__cred-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.hero__cred-badge {
    max-height: 78px;
    width: auto;
}

/* ── Responsive ───────────────────────────── */

@media (max-width: 1900px) {
    .hero__bg-img {
        right: 5%;
    }
}
@media (max-width: 1700px) {
    .hero__bg-img {
        right: 3%;
    }
}
@media (max-width: 1600px) {
    .hero__bg-img {
        right: 2%;
    }
}
@media (max-width: 1500px) {
    .hero__bg-img {
        right: 0;
    }
}
@media (max-width: 1400px) {
    .hero__bg-img {
        right: -4%;
    }
}
@media (max-width: 1024px) {
    .hero__bg-img {
        right: -8%;
        object-fit: contain;
        object-position: right center;
    }
  }

@media (max-width: 768px) {
    .hero__creds-inner {
        flex-wrap: wrap;
    }

    .hero__cred {
        flex: 1 1 calc(50% - 1px);
    }

    .hero__cred:nth-child(2) {
        border-right: none;
    }

    .hero__cred:nth-child(3) {
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .hero__cred:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,0.08);
        border-right: none;
    }
}

@media (max-width: 500px) {
    .hero__bg-img {
        object-position: 65% 20%;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__cred {
        flex: 1 1 100%;
        border-right: none;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .hero__cred:first-child {
        border-top: none;
    }
}
