/* ITCORE homepage — isolated from inner-page styles */

.it-home {
    --it-ink: #142238;
    --it-muted: #617084;
    --it-line: #dde4ec;
    color: var(--it-ink);
}

.it-home .it-label {
    margin: 0 0 22px;
    color: #b82434;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 2px;
}

.it-home h2 {
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 600;
    letter-spacing: -1.2px;
    line-height: 1.2;
}

.it-home .button {
    border-radius: 3px;
    font-size: 13px;
    padding: 15px 21px;
}

.it-home .it-hero {
    overflow: hidden;
    background: #101f33;
    color: #fff;
}

.it-home .it-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    padding-block: 70px 50px;
}

.it-home .it-hero .it-label {
    color: #f28b95;
}

.it-home .it-hero h1 {
    margin: 0;
    font-size: clamp(34px, 3.2vw, 47px);
    font-weight: 550;
    letter-spacing: -1.7px;
    line-height: 1.22;
}

.it-home .it-hero h1 span {
    display: block;
}

.it-home .it-hero h1 span:last-child {
    color: #c4d3e3;
}

.it-home .it-hero-description {
    max-width: 500px;
    margin: 26px 0 30px;
    color: #b9c7d7;
    font-size: 15px;
    line-height: 1.85;
}

.it-home .it-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
}

.it-home .it-light-link,
.it-home .it-dark-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    font-weight: 650;
}

.it-home .it-light-link {
    color: #fff;
}

.it-home .it-light-link:hover {
    color: #f28b95;
}

.it-home .it-dark-link:hover {
    color: #b82434;
}

.it-home .it-equipment {
    min-width: 0;
    padding-top: 18px;
    background: radial-gradient(ellipse at center, #29445f60, transparent 70%);
}

.it-home .it-equipment-caption,
.it-home .it-equipment-note {
    display: block;
    color: #9eb2c7;
    text-align: center;
    font-size: 9px;
    letter-spacing: 1.8px;
}

.it-home .it-equipment svg {
    display: block;
    width: 100%;
    height: auto;
    margin-block: 10px;
}

.it-home .it-equipment-note {
    letter-spacing: .5px;
    font-size: 10px;
}

.it-home .it-capabilities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 25px;
    border-top: 1px solid #ffffff20;
}

.it-home .it-capabilities > div {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-inline: 28px;
    border-right: 1px solid #ffffff20;
}

.it-home .it-capabilities > div:first-child {
    padding-left: 0;
}

.it-home .it-capabilities > div:last-child {
    border: 0;
}

.it-home .it-capabilities > div > span {
    color: #f28b95;
    font-size: 11px;
}

.it-home .it-capabilities p {
    margin: 0;
    color: #b9c7d7;
    font-size: 11px;
}

.it-home .it-capabilities strong {
    display: block;
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.it-home .it-section {
    padding-block: 76px;
}

.it-home .it-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.it-home .it-intro-copy p {
    color: var(--it-muted);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 18px;
}

.it-home .it-intro-copy .it-dark-link {
    margin-top: 6px;
}

.it-home .it-services {
    background: #f3f6f9;
    border-block: 1px solid var(--it-line);
}

.it-home .it-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.it-home .it-section-heading .it-dark-link {
    flex-shrink: 0;
}

.it-home .it-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.it-home .it-service {
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--it-line);
    border-radius: 4px;
    transition: border-color .2s, box-shadow .2s;
}

.it-home .it-service:hover {
    border-color: #b82434;
    box-shadow: 0 8px 24px #14223808;
}

.it-home .it-service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    color: #b82434;
    font-size: 12px;
    font-weight: 700;
}

.it-home .it-service-top span:last-child {
    font-size: 19px;
}

.it-home .it-service-category {
    margin: 0 0 10px;
    color: var(--it-muted);
    font-size: 10px;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.it-home .it-service h3 {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -.45px;
    overflow-wrap: break-word;
}

.it-home .it-service-description {
    margin: 0 0 25px;
    font-size: 13px;
    color: var(--it-muted);
    line-height: 1.8;
}

.it-home .it-service-bottom {
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid var(--it-line);
    font-size: 11px;
    font-weight: 650;
}

.it-home .it-section-note {
    max-width: 330px;
    margin: 0;
    color: var(--it-muted);
    font-size: 13px;
}

.it-home .it-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.it-home .it-process article {
    padding-top: 20px;
    border-top: 2px solid var(--it-line);
}

.it-home .it-process article > span {
    color: #b82434;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.it-home .it-process h3 {
    margin: 18px 0 10px;
    font-size: 16px;
    font-weight: 650;
}

.it-home .it-process p {
    margin: 0;
    color: var(--it-muted);
    font-size: 13px;
}

.it-home .it-closing {
    padding-block: 52px;
    background: #eaf0f6;
    border-top: 1px solid var(--it-line);
}

.it-home .it-closing-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.it-home .it-closing h2 {
    font-size: clamp(25px, 2.6vw, 34px);
}

.it-home .it-closing .button {
    flex-shrink: 0;
}

@media (max-width: 1000px) {
    .it-home .it-hero-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 20px;
    }

    .it-home .it-hero h1 {
        font-size: 36px;
        letter-spacing: -1.2px;
    }

    .it-home .it-intro-grid {
        gap: 40px;
    }
}

@media (max-width: 800px) {
    .it-home .it-hero-grid {
        grid-template-columns: 1fr;
        padding-block: 48px 30px;
        gap: 30px;
    }

    .it-home .it-hero h1 {
        font-size: clamp(32px, 5.5vw, 44px);
    }

    .it-home .it-equipment {
        width: 100%;
        max-width: 410px;
        margin-inline: auto;
    }

    .it-home .it-intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .it-home .it-service-grid,
    .it-home .it-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .it-home .it-section-heading,
    .it-home .it-closing-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .it-home .it-hero h1 {
        font-size: clamp(27px, 7.5vw, 39px);
        letter-spacing: -1px;
    }

    .it-home .it-hero-description {
        font-size: 14px;
    }

    .it-home .it-actions {
        gap: 20px;
    }

    .it-home .it-capabilities {
        grid-template-columns: 1fr;
        padding-block: 8px;
    }

    .it-home .it-capabilities > div,
    .it-home .it-capabilities > div:first-child {
        padding: 15px 0;
        border-right: 0;
        border-bottom: 1px solid #ffffff20;
    }

    .it-home .it-section {
        padding-block: 48px;
    }

    .it-home .it-service-grid,
    .it-home .it-process {
        grid-template-columns: 1fr;
    }

    .it-home .it-service {
        padding: 24px;
    }

    .it-home .it-service-top {
        margin-bottom: 20px;
    }
}


/* Nationwide coverage */
.it-home .it-coverage {
    background: #fff;
    border-top: 1px solid var(--it-line);
}

.it-home .coverage-map {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--it-line);
    border-radius: 10px;
    background: #f2f6fa;
}

.it-home .coverage-map img {
    display: block;
    width: 100%;
    height: auto;
}

.it-home .coverage-map figcaption {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--it-line);
    background: #fff;
    color: var(--it-muted);
    font-size: 12px;
}

.it-home .coverage-legend {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 24px;
    list-style: none;
    padding: 28px 0;
    margin: 0;
}

.it-home .coverage-legend li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}

.it-home .coverage-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: #243f5d;
}

.it-home .coverage-territories .coverage-dot {
    background: #df303f;
}

.it-home .coverage-territories {
    grid-column: span 2;
}

.it-home .coverage-territories small {
    display: block;
    margin-top: 4px;
    color: var(--it-muted);
    font-size: 11px;
    font-weight: 400;
}

.it-home .coverage-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--it-line);
}

.it-home .coverage-bottom p {
    max-width: 620px;
    margin: 0;
    color: var(--it-muted);
    font-size: 13px;
}

.it-home .coverage-bottom a {
    flex-shrink: 0;
}

.it-home .coverage-source {
    margin: 20px 0 0;
    font-size: 10px;
    color: var(--it-muted);
}

.it-home .coverage-source a {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .it-home .coverage-legend {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .it-home .coverage-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .it-home .coverage-map figcaption {
        padding: 14px 16px;
        font-size: 11px;
    }
}

/* Coverage map label refinement */
.it-home .coverage-map-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.it-home .coverage-map-scroll img {
    display: block;
    width: 100%;
    min-width: 950px;
    height: auto;
}

.it-home .coverage-map-scroll:focus-visible {
    outline: 2px solid #df303f;
    outline-offset: -3px;
}

/* Homepage statement and photography */
.it-home .it-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    padding-block: 60px 45px;
}

.it-home .it-hero h1 {
    font-size: clamp(34px, 3.5vw, 50px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    font-weight: 650;
}

.it-home .it-hero h1 span:last-child {
    color: #ffffff;
}

.it-home .it-hero-promise {
    max-width: 520px;
    margin: 25px 0 0;
    color: #e3eaf2;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
}

.it-home .it-hero-description {
    margin: 17px 0 28px;
    max-width: 510px;
    font-size: 14px;
    line-height: 1.85;
}

.it-home .it-photo-hero {
    position: relative;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ffffff25;
    background: #1b3047;
}

.it-home .it-photo-hero img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
}

.it-home .it-photo-hero figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 45px 22px 20px;
    background: linear-gradient(transparent, #091521ed);
    color: #fff;
    font-size: 12px;
    letter-spacing: .4px;
}

.it-home .it-about-photo {
    margin: 28px 0 0;
    overflow: hidden;
    border-radius: 6px;
    background: #edf1f5;
}

.it-home .it-about-photo img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.it-home .it-intro-copy {
    align-self: center;
}

@media (max-width: 800px) {
    .it-home .it-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .it-home .it-photo-hero img {
        height: 340px;
    }
}

@media (max-width: 560px) {
    .it-home .it-hero-grid {
        padding-block: 38px 28px;
    }

    .it-home .it-hero h1 {
        font-size: clamp(29px, 8vw, 39px);
        letter-spacing: -1px;
    }

    .it-home .it-hero-promise {
        font-size: 15px;
    }

    .it-home .it-photo-hero img {
        height: 280px;
    }

    .it-home .it-about-photo img {
        height: 220px;
    }
}


/* ENGINEER HERO PHOTO START */
.it-home .it-photo-hero img {
    object-position: center;
}

@media (max-width: 800px) {
    .it-home .it-photo-hero {
        grid-row: 1;
    }

    .it-home .it-photo-hero img {
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }
}
/* ENGINEER HERO PHOTO END */

/* ITCORE BLENDED HERO START */
.it-home .it-hero {
    background: #101f33;
    overflow: hidden;
}

.it-home .it-hero-grid {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 590px;
    padding-block: 76px;
    gap: 0;
}

.it-home .it-hero-copy {
    position: relative;
    z-index: 2;
    width: 46%;
    max-width: 550px;
}

.it-home .it-hero h1 {
    font-size: clamp(36px, 3.6vw, 54px);
    line-height: 1.12;
    letter-spacing: -1.6px;
}

.it-home .it-photo-hero {
    position: absolute;
    inset: 0 auto 0 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #101f33;
    overflow: hidden;
    z-index: 0;
}

.it-home .it-photo-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 1;
}

.it-home .it-photo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to top, #101f33 0%, transparent 22%),
        linear-gradient(to right,
            #101f33 0%,
            rgba(16,31,51,.97) 22%,
            rgba(16,31,51,.85) 37%,
            rgba(16,31,51,.28) 55%,
            transparent 72%);
}

.it-home .it-capabilities {
    position: relative;
    z-index: 2;
}

@media (min-width: 1500px) {
    .it-home .it-hero-grid {
        min-height: 660px;
    }
}

@media (max-width: 800px) {
    .it-home .it-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding-block: 0 36px;
    }

    .it-home .it-photo-hero {
        position: relative;
        inset: auto;
        left: 50%;
        transform: translateX(-50%);
        order: -1;
        width: 100vw;
        height: clamp(280px, 58vw, 430px);
        flex: none;
        margin: 0 0 -20px;
    }

    .it-home .it-photo-hero img {
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: right center;
    }

    .it-home .it-photo-hero::after {
        background: linear-gradient(
            to top,
            #101f33 0%,
            rgba(16,31,51,.65) 12%,
            transparent 42%
        );
    }

    .it-home .it-hero-copy {
        width: 100%;
        max-width: 600px;
    }

    .it-home .it-hero h1 {
        font-size: clamp(32px, 6.5vw, 46px);
        letter-spacing: -1px;
    }

    .it-home .it-hero-promise,
    .it-home .it-hero-description {
        max-width: 540px;
    }
}

@media (max-width: 480px) {
    .it-home .it-actions {
        flex-wrap: wrap;
        gap: 20px;
    }
}
/* ITCORE BLENDED HERO END */
