.excel-company-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(112deg, rgba(4, 22, 18, .96), rgba(13, 83, 63, .84), rgba(0, 96, 151, .48)), url("/images/header.jpg") center/cover no-repeat;
    color: #fff;
    padding: 64px 0 72px;
}

.excel-company-hero .container {
    max-width: 1160px;
}

.excel-company-hero__copy {
    max-width: 820px;
    text-align: left;
}

.excel-company-kicker {
    margin: 0 0 10px;
    color: #b5f2d5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

.excel-company-hero h1 {
    margin: 0 0 18px;
    color: #fff !important;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
}

.excel-company-hero p:last-child {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 19px;
    line-height: 1.65;
}

.excel-company-shell {
    background: #f3f7f4;
    padding: 56px 0 74px;
}

.excel-company-card {
    max-width: 1160px;
    border: 1px solid #d7e4dc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 52, 38, .08);
    color: #31433b;
    padding: 38px 42px;
    text-align: left;
}

.excel-company-card h1,
.excel-company-card h2,
.excel-company-card h3 {
    color: #10221b;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.excel-company-card h1 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.18;
}

.excel-company-card h2 {
    margin: 28px 0 14px;
    font-size: 26px;
    line-height: 1.25;
}

.excel-company-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.excel-company-card p,
.excel-company-card li {
    color: #31433b;
    font-size: 17px;
    line-height: 1.72;
}

.excel-company-lead {
    border-left: 4px solid #1f8a5b;
    background: #f3faf6;
    margin: 0 0 24px;
    padding: 14px 16px;
}

.excel-company-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.excel-company-location,
.excel-related-card,
.excel-thankyou-panel {
    border: 1px solid #d7e4dc;
    border-radius: 8px;
    background: #fbfefd;
    box-shadow: 0 10px 24px rgba(15, 52, 38, .06);
    padding: 22px;
}

.excel-company-location a,
.excel-related-card a,
.excel-company-card a {
    color: #14764d;
    font-weight: 800;
    text-decoration: none;
}

.excel-company-location a:hover,
.excel-related-card a:hover,
.excel-company-card a:hover {
    color: #0d5d3b;
    text-decoration: underline;
}

.excel-company-location p,
.excel-related-card p,
.excel-thankyou-panel p {
    margin-bottom: 0;
}

.excel-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.excel-related-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
}

.excel-related-tag {
    display: inline-block;
    width: fit-content;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #eaf5ee;
    color: #14764d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    padding: 6px 10px;
    text-transform: uppercase;
}

.excel-related-card a {
    margin-top: auto;
}

.excel-company-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.excel-company-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b5f2d5;
    border-radius: 6px;
    background: #1f8a5b;
    color: #fff !important;
    font-weight: 800;
    min-height: 46px;
    padding: 0 18px;
    text-align: center;
    text-decoration: none !important;
}

.excel-company-button--secondary {
    border-color: #1f8a5b;
    background: #fff;
    color: #14764d !important;
}

.excel-thankyou-panel {
    margin-top: 24px;
}

@media (max-width: 900px) {
    .excel-company-hero h1 {
        font-size: 36px;
    }

    .excel-company-card {
        padding: 30px 24px;
    }

    .excel-company-grid,
    .excel-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .excel-company-hero {
        min-height: 290px;
        padding: 56px 0;
    }

    .excel-company-hero h1 {
        font-size: 32px;
    }

    .excel-company-hero p:last-child {
        font-size: 17px;
    }
}
