/* First-screen-only styles. The theme already loads Noah; no new font files are installed. */
.iambtl-home-hero,
.iambtl-home-hero * {
    box-sizing: border-box;
}

.iambtl-home-hero {
    overflow: hidden;
    width: 100%;
    margin: 0 0 78px;
    background: linear-gradient(180deg, #fff 79%, #f8fcfe 100%);
    color: #212529;
    font-family: Noah, Arial, sans-serif;
}

.iambtl-home-hero__inner {
    position: relative;
    width: 100%;
    max-width: 1840px;
    min-height: 855px;
    margin: 0 auto;
    padding: 77px 52px 50px;
}

.iambtl-home-hero__copy {
    position: relative;
    z-index: 2;
    width: 50%;
    max-width: 900px;
}

.iambtl-home-hero__eyebrow {
    margin: 0 0 16px;
    color: #212529;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.iambtl-home-hero__title {
    margin: 0 0 27px;
    color: #000;
    font-family: Noah, Arial, sans-serif;
    font-size: clamp(52px, 5.22vw, 96px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.iambtl-home-hero__title > span {
    display: block;
}

.iambtl-home-hero__title-blue {
    color: #179bd6;
}

.iambtl-home-hero__title-city {
    margin-top: 7px;
    font-size: .573em;
    line-height: 1.08;
    letter-spacing: -.018em;
}

.iambtl-home-hero__description {
    max-width: 750px;
}

.iambtl-home-hero__description p {
    margin: 0;
    color: #212529;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.iambtl-home-hero__description p + p {
    margin-top: 17px;
}

.iambtl-home-hero__benefits {
    display: grid;
    grid-template-columns: 242px 275px 285px;
    gap: 28px;
    width: 900px;
    max-width: calc(100vw - 104px);
    margin-top: 29px;
}

.iambtl-home-hero__benefit {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    min-width: 0;
}

.iambtl-home-hero__benefit-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 12px;
    background: #e9f5fb;
}

.iambtl-home-hero__benefit-icon img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.iambtl-home-hero__benefit strong,
.iambtl-home-hero__benefit small {
    display: block;
    font-family: Noah, Arial, sans-serif;
}

.iambtl-home-hero__benefit strong {
    margin: 4px 0 7px;
    color: #00102c;
    font-size: 17px;
    font-weight: 700;
    line-height: 21px;
}

.iambtl-home-hero__benefit small {
    color: #212529;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
}

.iambtl-home-hero__action {
    margin-top: 35px;
}

/* Keep the theme's .quiz-btn and Bootstrap modal attributes untouched. */
.iambtl-home-hero__action a {
    display: inline-block;
    cursor: pointer;
}

.iambtl-home-hero__visual {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: min(56.52%, 1040px);
    aspect-ratio: 3 / 2;
}

.iambtl-home-hero__photo {
    width: 100%;
    height: 100%;
    background-image: url("./iambtl-hero-assets/iambtl-hero-two-women-clean.png");
    background-image: image-set(
        url("./iambtl-hero-assets/iambtl-hero-two-women-clean.webp") type("image/webp"),
        url("./iambtl-hero-assets/iambtl-hero-two-women-clean.png") type("image/png")
    );
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
}

.iambtl-home-hero__callout {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 20px;
    border-radius: 27px;
    background: #fff;
    box-shadow: 0 4px 18px rgb(0 24 50 / 4%);
}

.iambtl-home-hero__callout img {
    flex: none;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.iambtl-home-hero__callout strong,
.iambtl-home-hero__callout small,
.iambtl-home-hero__russia strong,
.iambtl-home-hero__russia small {
    display: block;
    font-family: Noah, Arial, sans-serif;
}

.iambtl-home-hero__callout strong {
    color: #001c41;
    font-size: 19px;
    font-weight: 700;
    line-height: 23px;
    text-transform: uppercase;
}

.iambtl-home-hero__callout small {
    margin-top: 8px;
    color: #212529;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
}

.iambtl-home-hero__callout--promo {
    top: 35.6%;
    left: 12%;
    width: 308px;
    min-height: 108px;
}

.iambtl-home-hero__callout--merch {
    top: 19.5%;
    right: 4.1%;
    width: 280px;
    min-height: 127px;
}

.iambtl-home-hero__russia {
    position: absolute;
    z-index: 2;
    top: 41%;
    right: 12%;
    display: flex;
    gap: 9px;
    color: #fff;
    text-shadow: 0 1px 3px rgb(0 0 0 / 15%);
}

.iambtl-home-hero__russia img {
    width: 29px;
    height: 29px;
}

.iambtl-home-hero__russia strong {
    font-size: 17px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.iambtl-home-hero__russia small {
    margin-top: 5px;
    font-size: 14px;
    line-height: 18px;
}

.iambtl-home-hero__stats {
    position: absolute;
    z-index: 3;
    right: 40px;
    bottom: 32px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    width: min(859px, 47%);
    min-height: 158px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 9px 32px rgb(0 30 60 / 8%);
}

.iambtl-home-hero__stat {
    display: flex;
    min-width: 0;
    height: 100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.iambtl-home-hero__stat + .iambtl-home-hero__stat {
    border-left: 1px solid #dedede;
}

.iambtl-home-hero__stat img {
    width: 32px;
    height: 32px;
    margin-bottom: 7px;
    object-fit: contain;
}

.iambtl-home-hero__stat strong,
.iambtl-home-hero__stat span {
    display: block;
    font-family: Noah, Arial, sans-serif;
}

.iambtl-home-hero__stat strong {
    color: #001837;
    font-size: 24px;
    font-weight: 700;
    line-height: 27px;
    white-space: nowrap;
}

.iambtl-home-hero__stat span {
    font-size: 17px;
    line-height: 20px;
}

@media (max-width: 1799px) and (min-width: 1181px) {
    .iambtl-home-hero__inner {
        min-height: 760px;
        padding: 58px 3.5% 44px;
    }

    .iambtl-home-hero__copy {
        width: 53%;
    }

    .iambtl-home-hero__eyebrow {
        font-size: 12px;
        letter-spacing: .22em;
    }

    .iambtl-home-hero__title {
        font-size: clamp(54px, 5vw, 84px);
    }

    .iambtl-home-hero__description p {
        font-size: 17px;
        line-height: 1.45;
    }

    .iambtl-home-hero__benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        width: 57vw;
        margin-top: 24px;
    }

    .iambtl-home-hero__benefit {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 9px;
    }

    .iambtl-home-hero__benefit-icon {
        width: 50px;
        height: 50px;
    }

    .iambtl-home-hero__benefit-icon img {
        width: 31px;
        height: 31px;
    }

    .iambtl-home-hero__benefit strong {
        font-size: 14px;
        line-height: 17px;
    }

    .iambtl-home-hero__benefit small {
        font-size: 13px;
        line-height: 17px;
    }

    .iambtl-home-hero__visual {
        width: 55%;
    }

    .iambtl-home-hero__callout {
        gap: 8px;
        padding: 10px 12px;
        border-radius: 17px;
    }

    .iambtl-home-hero__callout img {
        width: 34px;
        height: 34px;
    }

    .iambtl-home-hero__callout strong {
        font-size: 14px;
        line-height: 17px;
    }

    .iambtl-home-hero__callout small {
        margin-top: 5px;
        font-size: 12px;
        line-height: 16px;
    }

    .iambtl-home-hero__callout--promo {
        top: 38%;
        width: 230px;
        min-height: 0;
    }

    .iambtl-home-hero__callout--merch {
        width: 215px;
        min-height: 0;
    }

    .iambtl-home-hero__stats {
        right: 3.5%;
        width: 52%;
        min-height: 128px;
    }

    .iambtl-home-hero__stat {
        height: 85px;
    }

    .iambtl-home-hero__stat strong {
        font-size: 18px;
        line-height: 22px;
    }

    .iambtl-home-hero__stat span {
        font-size: 13px;
        line-height: 16px;
    }
}

@media (max-width: 1180px) and (min-width: 769px) {
    .iambtl-home-hero__inner {
        min-height: 0;
        padding: 45px 4% 42px;
    }

    .iambtl-home-hero__copy {
        width: 100%;
        max-width: 900px;
    }

    .iambtl-home-hero__title {
        font-size: clamp(48px, 6.5vw, 76px);
    }

    .iambtl-home-hero__description p {
        font-size: 18px;
    }

    .iambtl-home-hero__benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        width: 100%;
        max-width: 900px;
    }

    .iambtl-home-hero__benefit {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
    }

    .iambtl-home-hero__benefit-icon {
        width: 52px;
        height: 52px;
    }

    .iambtl-home-hero__benefit-icon img {
        width: 31px;
        height: 31px;
    }

    .iambtl-home-hero__benefit strong {
        font-size: 14px;
        line-height: 18px;
    }

    .iambtl-home-hero__benefit small {
        font-size: 13px;
        line-height: 17px;
    }

    .iambtl-home-hero__visual {
        position: relative;
        width: min(100%, 950px);
        margin: 24px 0 0 auto;
    }

    .iambtl-home-hero__stats {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 859px);
        margin: -14px 0 0 auto;
    }
}

@media (max-width: 768px) {
    .iambtl-home-hero {
        margin-bottom: 0;
        background: linear-gradient(180deg, #fff 84%, #f8fcfe 100%);
    }

    .iambtl-home-hero__inner {
        min-height: 0;
        padding: 30px 15px 28px;
    }

    .iambtl-home-hero__copy {
        width: 100%;
        max-width: none;
    }

    .iambtl-home-hero__eyebrow {
        margin-bottom: 18px;
        font-size: 11px;
        line-height: 1.35;
        letter-spacing: .13em;
    }

    .iambtl-home-hero__title {
        margin-bottom: 20px;
        font-size: clamp(27px, 8vw, 38px);
        line-height: 1.07;
        letter-spacing: -.035em;
    }

    .iambtl-home-hero__title-city {
        margin-top: 9px;
        font-size: .733em;
        line-height: 1.16;
        letter-spacing: -.02em;
    }

    .iambtl-home-hero__description p {
        font-size: 14px;
        line-height: 1.43;
    }

    .iambtl-home-hero__description p + p {
        margin-top: 12px;
    }

    .iambtl-home-hero__benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
        max-width: none;
        margin-top: 20px;
    }

    .iambtl-home-hero__benefit {
        grid-template-columns: 43px minmax(0, 1fr);
        gap: 11px;
    }

    .iambtl-home-hero__benefit-icon {
        width: 43px;
        height: 43px;
        border-radius: 9px;
    }

    .iambtl-home-hero__benefit-icon img {
        width: 27px;
        height: 27px;
    }

    .iambtl-home-hero__benefit strong {
        margin: 0;
        font-size: 14px;
        line-height: 1.23;
    }

    .iambtl-home-hero__benefit small {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.3;
    }

    .iambtl-home-hero__action {
        margin-top: 23px;
    }

    .iambtl-home-hero__action a,
    .iambtl-home-hero__action .quiz-btn {
        display: block;
        width: 100%;
    }

    .iambtl-home-hero__action .quiz-btn {
        min-height: 44px;
        margin: 0;
        padding: 10px 20px;
    }

    .iambtl-home-hero__visual,
    .iambtl-home-hero__stats {
        display: none;
    }
}

@media (max-width: 359px) {
    .iambtl-home-hero__title {
        font-size: 26px;
    }

    .iambtl-home-hero__title-city {
        font-size: .75em;
    }
}
