/* Modern Empire SCBA homepage. Every rule is scoped to .es-home. */

.es-home {
    background: #ffffff;
    overflow: hidden;
}

.es-home-hero a:focus,
.es-home-direct-contact a:focus {
    outline-color: #ffffff !important;
    box-shadow: 0 0 0 2px #171717;
}

.es-home-hero {
    background-color: #111213;
    background-image:
        linear-gradient(90deg, rgba(9, 10, 11, 0.98) 0%, rgba(9, 10, 11, 0.94) 38%, rgba(9, 10, 11, 0.46) 67%, rgba(9, 10, 11, 0.12) 100%),
        url("/img/modern/empire-scba-hero.jpg");
    background-position: center, center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    min-height: 620px;
    position: relative;
}

.es-home-hero::after {
    background: linear-gradient(180deg, transparent 72%, rgba(0, 0, 0, 0.28));
    bottom: 0;
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

.es-home-hero-inner {
    align-items: center;
    display: flex;
    min-height: 620px;
    position: relative;
    z-index: 1;
}

.es-home-hero-content {
    max-width: 650px;
    padding: 70px 0 76px;
}

.es-home-eyebrow {
    align-items: center;
    color: #ffb2b2;
    display: flex;
    font-size: 12px;
    font-weight: 800;
    gap: 12px;
    letter-spacing: 0.14em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.es-home-eyebrow::before {
    background: #b52424;
    content: "";
    height: 3px;
    width: 42px;
}

.es-home-hero h1 {
    color: #ffffff;
    font-size: clamp(50px, 5.5vw, 86px);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin: 0;
    max-width: 650px;
}

.es-home-hero-copy {
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
    line-height: 1.65;
    margin: 28px 0 0;
    max-width: 610px;
}

.es-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.es-home .es-button--hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.58);
    color: #ffffff;
}

.es-home .es-button--hero-secondary:hover,
.es-home .es-button--hero-secondary:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: #171717;
}

.es-home-hero-phone {
    color: rgba(255, 255, 255, 0.62);
    display: inline-flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.3;
    margin-top: 28px;
    text-decoration: none;
}

.es-home-hero-phone strong {
    color: #ffffff;
    font-size: 17px;
}

.es-home-hero-phone:hover,
.es-home-hero-phone:hover strong {
    color: #ffb2b2;
    text-decoration: none;
}

.es-home-capabilities {
    background: #ffffff;
    border-bottom: 1px solid #e3e6e9;
}

.es-home-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.es-capability {
    align-items: center;
    display: flex;
    gap: 18px;
    min-height: 116px;
    padding: 24px 30px;
}

.es-capability + .es-capability {
    border-left: 1px solid #e3e6e9;
}

.es-capability-mark {
    color: #b52424;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.es-capability div {
    display: flex;
    flex-direction: column;
}

.es-capability strong {
    color: #171717;
    font-size: 16px;
    line-height: 1.3;
}

.es-capability div span {
    color: #68707a;
    font-size: 13px;
    margin-top: 3px;
}

.es-home-section {
    padding: 96px 0;
}

.es-home-section-heading {
    align-items: flex-end;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    margin-bottom: 44px;
}

.es-home-section-heading h2 {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 850;
    letter-spacing: -0.045em;
    margin: 0;
    max-width: 720px;
}

.es-home-section-heading > p {
    color: #68707a;
    line-height: 1.65;
    margin: 0 0 6px;
    max-width: 470px;
}

.es-home-section-heading--center {
    align-items: center;
    flex-direction: column;
    gap: 18px;
    text-align: center;
}

.es-home-section-heading--center > p {
    max-width: 650px;
}

.es-category-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.es-category-card {
    background: #ffffff;
    border: 1px solid #dfe3e7;
    border-radius: 12px;
    color: #34383d;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    text-decoration: none;
}

.es-category-card:hover,
.es-category-card:focus {
    border-color: #b8bec5;
    box-shadow: 0 18px 38px rgba(27, 31, 36, 0.1);
    color: #34383d;
    text-decoration: none;
    transform: translateY(-4px);
}

.es-category-image {
    align-items: center;
    background: #f5f6f7;
    display: flex;
    height: 210px;
    justify-content: center;
    overflow: hidden;
    padding: 22px;
}

.es-category-image img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.es-category-image--logo {
    background: #ffffff;
    padding: 35px;
}

.es-category-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.es-category-body > strong {
    color: #171717;
    font-size: 19px;
    line-height: 1.25;
}

.es-category-body > span:not(.es-category-link) {
    color: #68707a;
    font-size: 14px;
    line-height: 1.55;
    margin-top: 9px;
}

.es-category-link {
    color: #b52424;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.035em;
    margin-top: auto;
    padding-top: 24px;
    text-transform: uppercase;
}

.es-category-card--contact {
    background: #20252b;
    border-color: #20252b;
    color: rgba(255, 255, 255, 0.78);
    justify-content: flex-end;
    padding-top: 32px;
}

.es-category-card--contact:hover,
.es-category-card--contact:focus {
    background: #171a1e;
    border-color: #171a1e;
    color: rgba(255, 255, 255, 0.78);
}

.es-category-card--contact .es-category-body > strong {
    color: #ffffff;
    font-size: 23px;
}

.es-category-card--contact .es-category-body > span:not(.es-category-link) {
    color: rgba(255, 255, 255, 0.64);
}

.es-category-card--contact .es-category-link {
    color: #ffb2b2;
}

.es-category-contact-mark {
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    font-size: 22px;
    font-weight: 800;
    height: 58px;
    justify-content: center;
    margin: 0 24px;
    width: 58px;
}

.es-home-process {
    background: #f5f6f7;
}

.es-process-grid {
    counter-reset: process;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.es-process-grid li {
    background: #ffffff;
    border: 1px solid #dfe3e7;
    border-radius: 12px;
    min-height: 248px;
    padding: 34px;
    position: relative;
}

.es-process-number {
    color: #b52424;
    display: block;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.1em;
    margin-bottom: 38px;
}

.es-process-grid h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
}

.es-process-grid p {
    color: #68707a;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.es-home-testing {
    background: #ffffff;
}

.es-home-testing-grid {
    align-items: center;
    display: grid;
    gap: clamp(50px, 8vw, 110px);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.es-home-testing-image {
    background: #f5f6f7;
    border-radius: 16px;
    overflow: hidden;
    padding: 38px;
    position: relative;
}

.es-home-testing-image::before {
    background: #b52424;
    content: "";
    height: 100px;
    left: 0;
    position: absolute;
    top: 0;
    width: 8px;
}

.es-home-testing-image img {
    display: block;
    height: auto;
    mix-blend-mode: multiply;
    width: 100%;
}

.es-home-testing-content h2 {
    font-size: clamp(37px, 4vw, 59px);
    font-weight: 850;
    letter-spacing: -0.05em;
    margin: 0 0 22px;
}

.es-home-testing-content > p:not(.es-kicker) {
    color: #5e6670;
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
}

.es-home-check-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.es-home-check-list li {
    color: #34383d;
    font-weight: 650;
    padding: 10px 0 10px 32px;
    position: relative;
}

.es-home-check-list li::before {
    align-items: center;
    background: #e9f4ed;
    border-radius: 50%;
    color: #207a3f;
    content: "\2713";
    display: flex;
    font-size: 12px;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 12px;
    width: 20px;
}

.es-home-testing-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 34px;
}

.es-text-link {
    color: #171717;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.es-text-link:hover {
    color: #b52424;
    text-decoration: none;
}

.es-home-direct-contact {
    background: #20252b;
    color: #ffffff;
    padding: 72px 0;
}

.es-home-direct-contact-inner {
    align-items: center;
    display: flex;
    gap: 50px;
    justify-content: space-between;
}

.es-home-direct-contact .es-kicker {
    color: #ffb2b2;
}

.es-home-direct-contact h2 {
    color: #ffffff;
    font-size: clamp(32px, 4vw, 51px);
    font-weight: 850;
    letter-spacing: -0.045em;
    margin: 0 0 12px;
    max-width: 760px;
}

.es-home-direct-contact p:not(.es-kicker) {
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
}

.es-home-direct-contact-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 24px;
}

.es-home-direct-phone {
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
}

.es-home-direct-phone strong {
    color: #ffffff;
    font-size: 18px;
}

.es-home-direct-phone:hover,
.es-home-direct-phone:hover strong {
    color: #ffb2b2;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .es-home-hero,
    .es-home-hero-inner {
        min-height: 580px;
    }

    .es-home-hero {
        background-position: center, 58% center;
    }

    .es-home-hero-content {
        max-width: 600px;
    }

    .es-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .es-home-hero,
    .es-home-hero-inner {
        min-height: 540px;
    }

    .es-home-hero {
        background-image:
            linear-gradient(90deg, rgba(9, 10, 11, 0.98) 0%, rgba(9, 10, 11, 0.91) 52%, rgba(9, 10, 11, 0.4) 100%),
            url("/img/modern/empire-scba-hero.jpg");
        background-position: center, 62% center;
    }

    .es-home-hero-content {
        max-width: 560px;
    }

    .es-home-hero h1 {
        font-size: clamp(48px, 7vw, 72px);
    }

    .es-home-section {
        padding: 78px 0;
    }

    .es-home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .es-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .es-home-testing-grid {
        gap: 54px;
    }

    .es-home-direct-contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .es-home-hero,
    .es-home-hero-inner {
        min-height: 590px;
    }

    .es-home-hero {
        background-image:
            linear-gradient(90deg, rgba(9, 10, 11, 0.98) 0%, rgba(9, 10, 11, 0.92) 100%),
            url("/img/modern/empire-scba-hero.jpg");
        background-position: center, 70% center;
    }

    .es-home-hero-content {
        padding: 62px 0 68px;
    }

    .es-home-hero h1 {
        font-size: clamp(43px, 13vw, 64px);
        line-height: 1;
    }

    .es-home-hero-copy {
        font-size: 16px;
        line-height: 1.6;
    }

    .es-home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .es-home-hero-actions .es-button {
        width: 100%;
    }

    .es-home-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .es-capability {
        min-height: 88px;
        padding: 20px 12px;
    }

    .es-capability + .es-capability {
        border-left: 0;
        border-top: 1px solid #e3e6e9;
    }

    .es-home-section {
        padding: 64px 0;
    }

    .es-home-section-heading {
        margin-bottom: 34px;
    }

    .es-home-section-heading h2,
    .es-home-testing-content h2 {
        font-size: 38px;
    }

    .es-category-grid,
    .es-process-grid,
    .es-home-testing-grid {
        grid-template-columns: 1fr;
    }

    .es-category-image {
        height: 230px;
    }

    .es-process-grid li {
        min-height: 0;
    }

    .es-home-testing-image {
        padding: 28px;
    }

    .es-home-direct-contact {
        padding: 58px 0;
    }

    .es-home-direct-contact-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .es-home-eyebrow {
        align-items: flex-start;
        font-size: 11px;
    }

    .es-home-eyebrow::before {
        margin-top: 6px;
        width: 28px;
    }

    .es-home-hero h1 {
        font-size: 41px;
    }
}
