/* Media-buyer one-pager */

.s_hero.new {
    position: relative;
    z-index: 1;
    background-image: url(../img/hero_c_m.png);
    background-position: center bottom;
    background-size: cover;
    padding-top: 116px;
    padding-bottom: 20px;
    min-height: 500px;
}

.s_hero.new > .section_container,
.s_hero.new .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 38vw) minmax(0, 1fr);
    align-items: center;
    gap: 24px 28px;
    min-height: 340px;
    padding-bottom: 8px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 38vw);
    max-width: 560px;
}

.h1.mobile_title {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
    flex: none;
}

.h1.mobile_title .svg {
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    display: block;
}

.hero-line {
    margin: 0 clamp(88px, 14vw, 200px) 0 0;
    max-width: none;
    color: #000;
    font-family: var(--title-font);
    font-size: 22px;
    font-style: italic;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
    justify-self: end;
    align-self: end;
    z-index: 2;
}

.header .header_container {
    padding-right: clamp(20px, 4.5vw, 64px);
}

.header .hamburger {
    display: none !important;
}

.header .header__nav {
    display: flex !important;
    position: static;
    opacity: 1;
    min-height: 0;
    width: auto;
    background: none;
    padding: 0;
    box-shadow: none;
    flex-direction: row;
    right: auto;
}

main .s_content {
    position: relative;
    z-index: 2;
    margin-top: 0 !important;
}

.header .nav__item {
    color: #000;
    text-shadow: none;
}

.header .nav__item:hover {
    color: #000;
    opacity: 0.72;
    text-shadow: none;
}

.header .nav__item-apply {
    background-color: #000;
    color: var(--accent-color);
    padding: 10px 18px;
    border-radius: 5px;
}

.header .nav__item-apply:hover {
    color: var(--accent-color);
    opacity: 0.9;
    text-shadow: none;
}

.pack-kicker {
    margin: 0 0 10px;
    font-family: var(--main-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #000;
}

.pack-kicker--light {
    color: var(--accent-color);
}

.pack-intro {
    order: 1;
    background-color: #f9f9f5;
}

.pack-intro .col__content {
    max-width: 560px;
    justify-content: center;
}

.pack-intro .col__title {
    margin: 0 0 22px;
    font-size: 28px;
    line-height: 1.05;
}

.pack-intro .col__txt {
    color: #2d2929;
    font-size: 17px;
    line-height: 1.55;
}

.pack-photo {
    order: 2;
    padding: 0;
    background: #0a0a0a;
}

.pack-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 0.25rem;
}

.pack-offer {
    order: 3;
    background: #0a0a0a url(../img/square_black.svg) center / cover no-repeat;
    color: #fff;
    padding-top: 28px;
    padding-bottom: 28px;
}

.offer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
    grid-template-areas:
        "kicker list"
        "split list";
    gap: 8px 64px;
    align-items: start;
    padding: 28px 0;
}

.offer-grid > .pack-kicker {
    grid-area: kicker;
    margin: 0;
}

.offer-split {
    grid-area: split;
    container-type: inline-size;
    container-name: offer-split;
}

.offer-list {
    grid-area: list;
}

.offer-stat-prefix {
    margin: 0;
    font-family: var(--title-font);
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.offer-stat {
    margin: 4px 0 12px;
    font-family: var(--title-font);
    font-size: clamp(88px, 10vw, 148px);
    font-weight: 900;
    font-style: italic;
    line-height: 0.8;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.offer-stat-label {
    margin: 0;
    max-width: none;
    font-size: 16px;
    line-height: 1.45;
    color: #fff;
}

@container offer-split (min-width: 490px) {
    .offer-stat-label {
        white-space: nowrap;
    }
}

.offer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.offer-list li {
    position: relative;
    padding: 16px 0 16px 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 17px;
    line-height: 1.4;
}

.offer-list li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.offer-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 1px;
}

.pack-elites {
    order: 5;
    background-color: var(--accent-color);
    padding-top: 20px;
    padding-bottom: 20px;
}

.elites-block {
    padding: 24px 0 12px;
}

.pack-elites .col__title {
    margin: 0 0 14px;
    font-size: 28px;
}

.pack-elites .col__txt {
    max-width: 640px;
    margin: 0 0 28px;
    color: #000;
    font-size: 17px;
    line-height: 1.5;
}

.elites-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.elites-list li {
    background: #000;
    color: #fff;
    border-radius: 5px;
    padding: 22px 20px 20px;
    font-size: 15px;
    line-height: 1.45;
}

.elites-list strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--title-font);
    font-size: 16px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.pack-scope {
    order: 4;
    background-color: #f9f9f5;
    padding-top: 28px;
    padding-bottom: 28px;
}

.scope-block {
    padding: 28px 0 16px;
}

.pack-scope .col__title {
    margin: 0 0 14px;
    font-size: 28px;
}

.pack-scope .col__txt {
    max-width: 640px;
    margin: 0 0 28px;
    color: #2d2929;
    font-size: 17px;
    line-height: 1.5;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px;
}

.chip-row span {
    display: inline-flex;
    align-items: center;
    background: var(--accent-color);
    color: #000;
    border-radius: 999px;
    padding: 9px 16px;
    font-family: var(--main-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.chip-row--muted span {
    background: #fff;
    box-shadow: inset 0 0 0 1px #e4e0d6;
}

.pack-who {
    order: 6;
    background-color: #fff;
    padding-top: 12px;
    padding-bottom: 20px;
}

.who-block {
    padding: 20px 0 8px;
}

.pack-who .col__title {
    margin: 0 0 28px;
    font-size: 28px;
}

.who-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    counter-reset: who;
}

.who-list li {
    counter-increment: who;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid #eceae3;
    font-size: 17px;
    line-height: 1.4;
    color: #2d2929;
}

.who-list li::before {
    content: counter(who, decimal-leading-zero);
    font-family: var(--title-font);
    font-size: 18px;
    font-weight: 900;
    font-style: italic;
    line-height: 1.2;
    color: var(--accent-color);
}

.pack-cta {
    order: 7;
}

.pack-cta .join-team__content {
    grid-template-columns: 1fr;
    grid-template-areas: "joinTeamTitle";
    align-items: center;
    padding: 36px 0;
}

.pack-cta .join-team__title {
    max-width: none;
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

.apply-section {
    scroll-margin-top: 24px;
    padding: 24px 0 40px !important;
}

.apply-section .leadform__title {
    max-width: none;
    margin: 0 auto 16px;
    font-size: 22px;
    line-height: 1.25;
}

.apply-section .leadform__form {
    padding: 28px 48px 24px;
}

.apply-section .leadform__wrapper {
    min-height: 120px;
}

.leadform-step-2 .leadform__item,
.leadform__item:has(.leadform__checkbox-group),
.leadform__item:has(textarea) {
    grid-column: 1 / -1;
}

.custom-checkbox,
.custom-radio {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #222;
    margin-bottom: 15px;
    user-select: none;
    line-height: 1.4;
}

.custom-checkbox input[type="checkbox"],
.custom-radio input[type="radio"] {
    display: none;
}

.custom-checkbox__box,
.custom-radio__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 2px solid var(--accent-color);
    background: #fff;
    margin-right: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.custom-checkbox__box {
    border-radius: 8px;
}

.custom-radio__box {
    border-radius: 50%;
}

.custom-checkbox input[type="checkbox"]:checked + .custom-checkbox__box {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.custom-checkbox__box svg {
    opacity: 0;
    transform: scale(0.7);
}

.custom-checkbox input[type="checkbox"]:checked + .custom-checkbox__box svg {
    opacity: 1;
    transform: scale(1);
}

.custom-radio__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0;
    transform: scale(0);
}

.custom-radio input[type="radio"]:checked + .custom-radio__box .custom-radio__dot {
    opacity: 1;
    transform: scale(1);
}

.leadform__radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leadform__checkbox-group.invalid {
    position: relative;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 15px;
    background: rgba(231, 76, 60, 0.05);
    margin-bottom: 30px;
}

.leadform__checkbox-group.invalid::after {
    content: "Please select at least one option";
    position: absolute;
    bottom: -25px;
    left: 0;
    color: #e74c3c;
    font-size: 14px;
    font-weight: 500;
}

.modal-error {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    inset: 0;
    background-color: rgba(249, 248, 244, 0.92);
    z-index: 116;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.modal-error.active {
    opacity: 1;
    visibility: visible;
}

.modal-error__item {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 3px 75px 0px rgba(0, 0, 0, 0.09);
    max-width: 600px;
    padding: 30px;
    position: relative;
}

.modal-error__close,
.modal-leadfrom__close {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 32px;
    text-decoration: none;
    color: #000;
    transform: rotate(45deg);
}

.modal-error__button {
    margin-top: 16px;
    border: 0;
    border-radius: 5px;
    background: var(--accent-color);
    font-weight: 700;
    padding: 12px 28px;
    cursor: pointer;
}

#offer,
#elites,
#apply {
    scroll-margin-top: 24px;
}

@media screen and (min-width: 2060px) {
    .s_hero.new {
        padding-top: 128px;
        min-height: 560px;
    }

    .hero-copy {
        max-width: 680px;
        width: min(100%, 36vw);
    }
}

@media screen and (max-width: 1440px) {
    .s_hero.new {
        padding-top: 108px;
        min-height: 470px;
    }

    .s_hero.new > .section_container,
    .s_hero.new .hero-inner {
        min-height: 310px;
    }

    .hero-copy {
        width: min(100%, 34vw);
    }
}

@media screen and (max-width: 1024px) {
    .header .header_container {
        padding-right: 8px;
    }

    .s_hero.new {
        background-image: url(../img/hero_c_m.png);
        background-position: center;
        background-size: cover;
        padding-top: 112px;
        padding-bottom: 32px;
        min-height: 0;
    }

    .s_hero.new > .section_container,
    .s_hero.new .hero-inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 8px 16px 16px;
        gap: 8px;
    }

    .hero-copy {
        max-width: 480px;
        width: min(100%, 72vw);
    }

    .h1.mobile_title {
        display: block;
        margin: 0;
        width: 100%;
        text-align: left;
    }

    .h1.mobile_title .svg {
        display: block;
        width: min(100%, 420px);
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .hero-line {
        --hero-line-inset: 36px;
        --hero-tear: 36.5vw;
        order: 3;
        align-self: flex-start;
        margin: 16px 0 0;
        max-width: 280px;
        font-size: 16px;
        text-align: left;
        white-space: normal;
        color: var(--accent-color);
        background-image: linear-gradient(
            to right,
            var(--accent-color) calc(var(--hero-tear) - var(--hero-line-inset)),
            #000 calc(var(--hero-tear) - var(--hero-line-inset))
        );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .pack-intro .col__title,
    .pack-scope .col__title,
    .pack-who .col__title {
        font-size: 24px;
    }

    .pack-photo img {
        min-height: 280px;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "kicker"
            "split"
            "list";
        gap: 12px;
        padding: 12px 0 8px;
    }

    .offer-stat {
        font-size: 96px;
    }

    .who-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .elites-list {
        grid-template-columns: 1fr 1fr;
    }

    .pack-cta .join-team__content {
        grid-template-columns: 1fr;
        grid-template-areas: "joinTeamTitle";
        padding: 24px 0;
    }

    .pack-cta .join-team__title {
        font-size: 24px;
    }

    #offer,
    #elites,
    #apply {
        scroll-margin-top: 80px;
    }

    .header .nav__item {
        color: #fff;
    }

    .header .nav__item:hover {
        color: #fff;
        opacity: 1;
    }

    .header .nav__item-apply {
        background-color: var(--accent-color);
        color: #000;
    }

    .header .nav__item-apply:hover {
        color: #000;
    }

    .apply-section .leadform__title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .apply-section .leadform__form {
        padding: 22px 24px 18px;
    }
}

@media screen and (max-width: 700px) {
    .hero-line {
        --hero-tear: 32vw;
    }
}

@media screen and (max-width: 525px) {
    .hero-line {
        --hero-tear: 24vw;
    }

    .chip-row span {
        font-size: 13px;
        padding: 8px 14px;
    }

    .offer-stat {
        font-size: 80px;
    }

    .elites-list {
        grid-template-columns: 1fr;
    }
}

.footer_left_start_social + .footer_left_start_social {
    margin-left: 12px;
}
