/* ==========================================================================
   Hero Sections
   ========================================================================== */

/* Base hero */
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 140px 40px 100px;
    background-color: var(--color-dark);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: var(--color-white);
}

/* Homepage hero — left aligned, taller */
.hero--home {
    text-align: left;
    padding: 200px 40px 80px;
}

.hero--home::before {
    z-index: 1;
}

.hero--home .hero-inner {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.hero--home .hero__text {
    width: 70%;
}

.hero--home .hero__title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero--home .hero__subtitle {
    margin-bottom: 40px;
}

.hero--home .hero__actions {
    display: flex;
    gap: 20px;
    width: 70%;
    margin-top: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: rgba(34, 34, 34, 0.65);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Hero typography — uses body font, not accent */
.hero h1 {
    font-family: var(--font-body);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    line-height: 1.65;
}

.hero h2 {
    color: var(--color-white);
}

.hero--center {
    text-align: center;
}

/* Hero content */
.hero__label {
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
    display: block;
    animation: heroFadeUp 0.6s var(--ease-out) 0.1s both;
}

.hero__title {
    font-family: var(--font-body);
    font-size: 40px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.2em;
    max-width: 800px;
    margin: 0 0 15px;
    animation: heroFadeUp 0.6s var(--ease-out) 0.18s both;
}

.hero__subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 0 24px;
    animation: heroFadeUp 0.6s var(--ease-out) 0.24s both;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    animation: heroFadeUp 0.6s var(--ease-out) 0.32s both;
}

.hero__phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-white);
    font-size: 18px;
    font-weight: 700;
}

/* Hero with form (services, industries, locations) */
.hero--split {
    text-align: left;
    padding: 140px 40px 80px;
}

.hero--split::before {
    background-color: rgba(14, 28, 60, 0.78);
}

.hero--split .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-2xl);
    align-items: start;
}

.hero--split .hero__title,
.hero--split .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
}

.hero__body {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 0 20px;
}

.hero--split .hero__actions {
    justify-content: flex-start;
}

/* Hero simple (navy background, no image) */
.hero--navy {
    background-color: var(--color-navy);
    padding: 140px 40px 80px;
}

.hero--navy::before {
    display: none;
}

/* Hero photo — left-aligned with gradient overlay (industries, locations archive) */
.hero--photo {
    text-align: left;
    padding: 160px 40px 80px;
    background-position: center 40%;
}

.hero--photo::before {
    background: linear-gradient(to bottom, rgba(14,28,60,0.92) 0%, rgba(14,28,60,0.78) 22%, rgba(14,28,60,0.50) 42%, rgba(14,28,60,0.45) 58%, rgba(14,28,60,0.72) 78%, rgba(14,28,60,0.90) 100%);
    background-color: transparent;
}

.hero--photo .hero__ctas {
    justify-content: flex-start;
}

.hero--photo .hero__badges {
    justify-content: flex-start;
}

/* Trust badge pills in hero */
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.hero__badge {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Outline white button */
.btn--outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
}

.btn--outline-white:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

/* Trust bar below hero */
.trust-bar {
    background-color: var(--color-navy);
    padding: 20px 0;
    text-align: center;
    border-top: 4px solid var(--color-red);
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-bar__item {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
}

/* Legacy trust items (for subpages) */
.hero__trust {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    animation: heroFadeUp 0.6s var(--ease-out) 0.4s both;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero--split .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 400px;
        padding: 80px 0 60px;
    }

    .hero--split {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero--center .hero__actions {
        align-items: center;
    }

    .hero__trust {
        flex-wrap: wrap;
    }
}
