/* Home: Hero Block */

.home-hero {
    background-color: #fff;
    padding: 3rem 0 2.5rem;
}

.home-hero__container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.home-hero__content {
    display: flex;
    flex-direction: column;
}

.home-hero__heading {
    font-family: "Suisse Intl", Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.5px;
    leading-trim: both;
    text-edge: cap;
    color: #053D42;
    margin: 0 0 1.25rem;
    max-width: 560px;
}

.home-hero__heading em {
    color: #F15B22;
    font-style: normal;
}

.home-hero__subtext {
    font-family: "Suisse Intl", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    leading-trim: both;
    text-edge: cap;
    color: #596A6B;
    max-width: 500px;
    margin-bottom: 1.75rem;
}

.home-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.home-hero__buttons .btn {
    display: inline-flex;
    padding: 14px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: #F15B22;
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-family: "Source Code Pro", monospace;
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    text-transform: uppercase;
}

.home-hero__buttons .btn:hover,
.home-hero__buttons .btn:focus,
.home-hero__buttons .btn:active {
    background: #D94E1B;
}

.home-hero__buttons .btn.secondary {
    background: #F7F7F7;
    color: #596A6B;
}

.home-hero__buttons .btn.secondary:hover,
.home-hero__buttons .btn.secondary:focus,
.home-hero__buttons .btn.secondary:active {
    background: #ECECEC;
}

.home-hero__trustpilot {
    max-width: 320px;
    margin-left: -35px;
}

.home-hero__media {
    width: 100%;
}

.home-hero__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* md: 768px */
@media (min-width: 768px) {
    .home-hero {
        padding: 4.5rem 0 4rem;
    }

    .home-hero__heading {
        font-size: 52px;
        line-height: 1.1;
        letter-spacing: -1.2px;
    }

    .home-hero__subtext {
        font-size: 19px;
        line-height: 1.4;
    }
}

/* lg: 1024px — side-by-side layout, exact Figma type spec */
@media (min-width: 1024px) {
    .home-hero__container {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .home-hero__content {
        flex: 0 0 52%;
        max-width: 52%;
    }

    .home-hero__media {
        flex: 1;
    }

    .home-hero__heading {
        font-size: 70px;
        line-height: 72px;
        letter-spacing: -2.1px;
        max-width: none;
    }

    .home-hero__subtext {
        font-size: 22px;
        line-height: 27px;
    }
}
