.apex-test-home {
    background: #f4f5f3;
}

.apex-home-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 0 0 34px 34px;
}

.apex-home-hero-bg {
    position: absolute;
    inset: 0;
}

.apex-home-hero-bg img,
.apex-home-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apex-home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 20, 39, 0.94), rgba(0, 20, 39, 0.72) 45%, rgba(0, 20, 39, 0.22));
}

.apex-home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 28px 70px;
    color: #fff;
}

.apex-home-kicker,
.apex-home-kicker-heading,
.apex-home-hero h1.apex-home-kicker,
.apex-home-hero h1.apex-home-kicker-heading {
    display: block !important;
    max-width: 760px;
    text-transform: uppercase;
    letter-spacing: .12em !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    margin: 0 0 18px !important;
    color: #c91517 !important;
}

.apex-home-intro-headline {
    max-width: 760px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .96;
    letter-spacing: -0.05em;
    margin: 0 0 24px;
    color: #fff;
    font-weight: 800;
}

.apex-home-intro {
    max-width: 700px;
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255,255,255,.86);
    margin-bottom: 32px;
}

.apex-home-kicker-dark {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #c91517;
}

.apex-home-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.apex-home-btn,
.apex-home-inline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.apex-home-btn-primary,
.apex-home-inline-btn {
    background: #c91517;
    color: #fff;
}

.apex-home-btn-secondary {
    background: #fff;
    color: #001427;
}

.apex-home-search {
    max-width: 1040px;
    background: rgba(255,255,255,.96);
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 24px 70px rgba(0,0,0,.26);
}

.apex-home-search-grid{
    display:grid;
    grid-template-columns:2fr 1fr auto;
    gap:12px;
    align-items:stretch;
}

.apex-home-search input,
.apex-home-search select {
    width: 100%;
    height: 54px;
    border: 1px solid #d7dce0;
    background: #fff;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 15px;
    box-sizing: border-box;
}

.apex-home-search-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.apex-home-search-btn,
.apex-home-search button,
.apex-home-search-actions a {
    width: 100%;
    height: 54px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    background: #c91517;
    color: #fff;
}

.apex-home-search-btn-secondary {
    background: #001427 !important;
    color: #fff !important;
}

.apex-home-search-btn:hover,
.apex-home-search button:hover {
    background: #a91113;
    color: #fff;
}

.apex-home-search-btn-secondary:hover {
    background: #202020 !important;
    color: #fff !important;
}

.apex-home-stats {
    max-width: 1180px;
    margin: -38px auto 70px;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 28px;
}

.apex-home-stats div {
    background: #fff;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.apex-home-stats strong {
    display: block;
    font-size: 28px;
    color: #001427;
    margin-bottom: 6px;
}

.apex-home-stats span {
    color: #5a6670;
}

.apex-home-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 28px 90px;
}

.apex-home-section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.apex-home-section-head p {
    color: #c91517;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    padding-bottom: 10px;
}

.apex-home-section-head h2,
.apex-home-split-content h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #001427;
    margin: 0;
}

.apex-home-section-head span {
    display: block;
    margin-top: 18px;
    color: #5a6670;
    font-size: 18px;
    line-height: 1.65;
}

.apex-home-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.apex-home-card {
    background: #fff;
    border-radius: 26px;
    padding: 34px;
    text-decoration: none;
    color: #001427;
    min-height: 260px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.apex-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
}

.apex-home-card span {
    color: #c91517;
    font-weight: 800;
}

.apex-home-card h3 {
    font-size: 28px;
    line-height: 1.1;
    margin: 45px 0 14px;
}

.apex-home-card p {
    color: #5a6670;
    line-height: 1.6;
}

.apex-home-split {
    max-width: 1180px;
    margin: 0 auto 90px;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: stretch;
}

.apex-home-split-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 30px;
}

.apex-home-split-content {
    background: #fff;
    border-radius: 30px;
    padding: 56px;
}

.apex-home-split-content p {
    color: #5a6670;
    font-size: 17px;
    line-height: 1.7;
}

.apex-home-split-content ul {
    margin: 26px 0 32px;
    padding-left: 20px;
}

.apex-home-split-content li {
    margin-bottom: 10px;
    color: #001427;
}

@media (max-width: 900px) {
    .apex-home-hero {
        min-height: auto;
    }

    .apex-home-hero-content {
        padding: 90px 20px 38px;
    }

    .apex-home-intro-headline {
        font-size: clamp(38px, 12vw, 58px);
    }

    .apex-home-search-grid,
    .apex-home-stats,
    .apex-home-card-grid,
    .apex-home-split {
        grid-template-columns: 1fr;
    }

    .apex-home-search-actions {
        grid-template-columns: 1fr;
    }

    .apex-home-stats {
        margin-top: 20px;
    }

    .apex-home-split-content {
        padding: 34px 24px;
    }

    .apex-home-split-image img {
        min-height: 320px;
    }
}
.apex-home-search-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

.apex-home-search-actions button,
.apex-home-search-actions a {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    border-radius: 14px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    line-height: 1 !important;
    font-size: 15px !important;
    font-weight: 700 !important;

    box-sizing: border-box !important;
}

.apex-home-search-actions button {
    appearance: none;
    -webkit-appearance: none;
}
.apex-home-card .apex-home-card-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 18px !important;
    background: rgba(201,21,23,.1) !important;
    color: #c91517 !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.apex-home-card .apex-home-card-icon svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
}