.page-home {
    background: var(--c-white);
}

.home-hero {
    position: relative;
    overflow: hidden;
    background: var(--c-navy);
    color: var(--c-white);
}

.hero-layers {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-wave {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

.hero-wave-orange {
    color: var(--c-orange);
    top: 42%;
    height: 250px;
    width: 140%;
    z-index: 2;
}

.hero-wave-white {
    color: var(--c-white);
    bottom: -1px;
    height: 380px;
    width: 120%;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    padding-top: clamp(1.8rem, 6vh, 3.8rem);
    padding-bottom: clamp(6rem, 15vh, 10rem);
}

.home-hero h1 {
    margin: 0;
    font-size: var(--fs-h1);
    line-height: 1.03;
    font-weight: 900;
}

.hero-sub {
    margin: var(--sp-4) auto 0;
    max-width: 660px;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: rgb(255 255 255 / 92%);
}

.hero-search {
    margin: var(--sp-6) auto 0;
    width: min(1060px, 100%);
    background: var(--c-white);
    border-radius: var(--radius-pill);
    border: 1px solid var(--c-gray);
    box-shadow: var(--shadow-soft);
    padding: var(--sp-2);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: var(--sp-2);
}

.hero-search .tb-search-segment {
    border-right: 1px solid var(--c-gray);
    padding: var(--sp-2) var(--sp-4);
    text-align: left;
}

.hero-search .tb-search-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgb(0 0 0 / 60%);
    letter-spacing: 0.04em;
}

.hero-search .tb-text-input,
.hero-search .tb-field-button {
    font-size: 1rem;
}

.hero-search button {
    min-width: 130px;
}

.hero-link {
    margin-top: var(--sp-5);
    display: inline-block;
    color: var(--c-orange);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.home-map-wrap {
    position: relative;
    margin-top: -2px;
    padding-top: var(--sp-4);
    padding-bottom: var(--sp-4);
    background: var(--c-white);
}

.world-map-box {
    padding: var(--sp-4);
}

.world-map-box img {
    width: 100%;
    height: clamp(220px, 34vw, 420px);
    object-fit: contain;
}

.kpis {
    margin-top: var(--sp-5);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-4);
}

.kpis article {
    border: 1px solid var(--c-gray);
    border-radius: var(--radius-card);
    background: var(--c-white);
    padding: var(--sp-4);
    text-align: center;
}

.kpis h3 {
    margin: 0;
    color: var(--c-navy);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.kpis p {
    margin: var(--sp-2) 0 0;
    color: rgb(0 0 0 / 70%);
    font-weight: 600;
}

@media (min-width: 1921px) {

    .hero-wave-orange {
        top: 37%;
        height: 530px;
        width: 130%;
    }

    .hero-wave-white {
        height: 380px;
        width: 120%;
    }
}

@media (max-width: 1920px) {
    .hero-wave-orange {
        top: 40%;
        height: 460px;
        width: 140%;
    }

    .hero-wave-white {
        height: 330px;
        width: 125%;
    }
}

@media (max-width: 1440px) {
    .home-hero {
        min-height: 620px;
    }

    .hero-wave-orange {
        top: 43%;
        height: 360px;
        width: 160%;
    }

    .hero-wave-white {
        height: 270px;
        width: 130%;
    }
}

@media (max-width: 1024px) {
    .home-hero {
        min-height: 590px;
    }

    .hero-content {
        padding-top: 2.75rem;
        padding-bottom: 7rem;
    }

    .hero-search {
        grid-template-columns: 1fr;
        border-radius: 26px;
        width: min(560px, 100%);
    }

    .hero-search .tb-search-segment {
        border-right: 0;
        border-bottom: 1px solid var(--c-gray);
    }

    .hero-search .tb-search-segment:last-of-type {
        border-bottom: 0;
    }

    .hero-wave-orange {
        top: 49%;
        height: 300px;
        width: 190%;
    }

    .hero-wave-white {
        height: 220px;
        width: 150%;
    }
}

@media (max-width: 768px) {
    .home-hero {
        min-height: 640px;
    }

    .hero-content {
        padding-top: 2.4rem;
        padding-bottom: 7.25rem;
    }

    .hero-sub {
        max-width: 90%;
    }

    .hero-wave-orange {
        top: 57%;
        height: 250px;
        width: 190%;
    }

    .hero-wave-white {
        height: 190px;
        width: 160%;
    }

    .kpis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 414px) {
    .home-hero {
        min-height: 660px;
    }

    .hero-wave-orange {
        top: 61%;
        height: 220px;
        width: 220%;
    }

    .hero-wave-white {
        height: 165px;
        width: 180%;
    }
}

@media (max-width: 375px) {
    .home-hero {
        min-height: 680px;
    }

    .hero-content {
        padding-top: 2.1rem;
    }

    .hero-wave-orange {
        top: 62%;
        height: 210px;
        width: 220%;
    }

    .hero-wave-white {
        height: 158px;
        width: 180%;
    }
}

@media (max-width: 320px) {
    .home-hero {
        min-height: 700px;
    }

    .hero-content {
        padding-top: 1.9rem;
        padding-bottom: 7.8rem;
    }

    .hero-wave-orange {
        top: 63%;
        height: 200px;
        width: 220%;
    }

    .hero-wave-white {
        height: 150px;
        width: 180%;
    }
}
