@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProBla.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProBlaIta.otf") format("opentype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProBol.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProBolIta.otf") format("opentype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProLig.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProLigIta.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProMed.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProMedIta.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProReg.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProIta.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

* {
    --font-weight-sm: 0.875rem;
    --desktop-bp: 768px;
    --web-offer-block-background: #f2f2f2;
    --web-offer-block-title-color: #1E1E1E;
    --web-offer-block-desc-color: #555;

    --web-offer-button-bg-default-hover: #e8e8e8;
    --web-offer-button-bg-red: #FF5A2E;
    --web-offer-button-bg-green: #80D122;
    --web-offer-button-bg-yellow: #FFCB2D;
    --web-offer-button-bg-purple: #8D76FF;

    --web-offer-button-hover-red: #e3441d;
    --web-offer-button-hover-green: #64b309;
    --web-offer-button-hover-yellow: #d6a515;
    --web-offer-button-hover-purple: #7a66df;
    --web-offer-button-hover-default: #a5a5a5;
}

body {
    margin: 0;
    font-family: GothaPro,sans-serif;
    font-weight: 400;
    font-style: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.web-offer {
    height: 100%;
    position: relative;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    box-sizing: border-box;
}

.web-offer__header {
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 16px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 100;
}

.web-offer__logo-wrapper {
    position: relative;
}

.web-offer__logo {
    width: 200px;
    max-height: 28px;
    margin: 0;
    box-sizing: border-box;
}

.web-offer__container {
    position: relative;
    width: 100%;
    min-width: 360px;
    padding: 0 16px;
    margin: 0 auto;
    box-sizing: border-box;
}

.web-offer__heading {
    margin: 400px 0 40px;
    font-size: 40px;
    line-height: 36px;
    letter-spacing: -.5px;
    color: var(--web-offer-block-title-color);
    font-family: GothaPro,sans-serif;
    font-weight: 700;
    font-style: normal;
    box-sizing: border-box;
}

.web-offer__full-name {
    margin-bottom: 20px;
    line-height: 120%;
    font-size: 24px;
    font-family: GothaPro, sans-serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: -.48px;
    color: var(--web-offer-block-title-color);
}

.web-offer__description {
    margin-bottom: 60px;
    max-width: 600px;
    font-size: 18px;
    letter-spacing: -.48px;
}

.web-offer__sub-heading {
    margin-bottom: 40px;
}

.web-offer__heading-text-line {
    display: inline;
}

.income-and-work-schedule__main-info,
.vacation-and-sick-leave__main-info {
    display: grid;
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
}

.web-offer__card {
    display: flex;
    gap: 8px;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--web-offer-block-background);
    border-radius: 20px;
}

.income-and-work-schedule__card {
    padding: 180px 20px 31px;
}

.income-and-work-schedule__text {
    min-height: 18px;
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.36px;
    color: var(--web-offer-block-title-color);
    font-family: "GothaPro", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.vacation-and-sick-leave__card {
    position: relative;
    padding: 24px 24px 12px;
    min-height: 104px;
}

.vacation-and-sick-leave__background-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(/assets/offer/plus.png);
    width: 100%;
    height: 120px;
    z-index: 1;
    border-bottom-right-radius: 20px;
}

.vacation-and-sick-leave__text {
    margin-block-start: 18px;
    margin-bottom: 0;
    color: #1e1e1e;
    font-size: 56px;
    line-height: 80%;
    letter-spacing: -3.36px;
    font-family: "GothaPro", sans-serif;
    font-weight: 700;
    font-style: normal;
    align-self: flex-end;
}

.vacation-and-sick-leave__description {
    flex: 1;
}

.vacation-and-sick-leave__text--purple {
    color: var(--web-offer-button-bg-purple);
}

.vacation-and-sick-leave__text--red {
    color: var(--web-offer-button-bg-red);
}

.web-offer__block-title {
    margin-top: 60px;
    font-size: 26px;
    font-weight: 500;
    font-style: normal;
    line-height: 120%;
    letter-spacing: -0.52px;
    box-sizing: border-box;
}

.web-offer__block-description {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    margin: 0;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: -0.26px;
    color: var(--web-offer-block-desc-color);
    font-family: "GothaPro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.income-and-work-schedule__income {
    background-image: url("/assets/offer/income.png");
}

.income-and-work-schedule__clock {
    background-image: url("/assets/offer/probation-period.png");
}

.income-and-work-schedule__schedule {
    background-image: url("/assets/offer/work-hours.png");
}

.income-and-work-schedule__clock,
.income-and-work-schedule__schedule,
.income-and-work-schedule__income {
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 351px;
    /*background-color: transparent;*/
}

.web-offer__next {
    margin-block-start: 60px;
}

.whats-next-card {
    padding: 24px;
    background-image: url("/assets/offer/next-step.png");
    background-position: right bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.whats-next__title {
    margin-block-start: 0;
    font-size: 26px;
    line-height: 120%;
    letter-spacing: -0.52px;
    color: var(--web-offer-block-title-color);
    font-family: "GothaPro", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.web-offer__background {
    width: 400px;
    display: flex;
    position: absolute;
    top: -10px;
    right: calc(50% - 200px);
    z-index: -1;
    overflow-x: hidden;
    box-sizing: border-box;
}

.web-offer__main-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    position: relative;
    z-index: -2;
    box-sizing: border-box;
}

.main-info__card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    background: var(--web-offer-block-background);
    border-radius: 20px;
    box-sizing: border-box;
}

.main-info__title {
    margin: 0;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.36px;
    color: var(--web-offer-block-title-color);
    font-family: GothaPro, sans-serif;
    font-weight: 500;
    font-style: normal;
    box-sizing: border-box;
}

.main-info__description {
    margin: 0;
    font-size: 13px;
    line-height: 120%;
    letter-spacing: -0.26px;
    color: var(--web-offer-block-desc-color);
    font-family: GothaPro, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.benefits__benefit-description {
    min-height: initial;
}

.benefits__description-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: stretch;
}

.benefits__benefit {
    width: 100%;
    /*height: 80px;*/
    display: flex;
    gap: 14px;
    flex-direction: row;
    padding: 20px;
}

.benefits__benefit-list {
    display: none;
    gap: 12px;
    flex-wrap: wrap;
}

.benefits__benefit-list--active {
    display: flex;
}

/* Benefit tab select button */
.benefits__tab-social.benefits__tab--active {
    background-color: var(--web-offer-button-bg-red);
}

.benefits__tab-health.benefits__tab--active {
    background-color: var(--web-offer-button-bg-green);
}

.benefits__tab-corporate.benefits__tab--active {
    background-color: var(--web-offer-button-bg-purple);
}

.benefits__tab-relocation.benefits__tab--active {
    background-color: var(--web-offer-button-bg-yellow);
}

/* Benefit icon color */
.benefits__benefit-list--social .benefits__benefit-icon {
    color: var(--web-offer-button-bg-red);
}

.benefits__benefit-list--health .benefits__benefit-icon {
    color: var(--web-offer-button-bg-green);
}


.benefits__benefit-list--corporate .benefits__benefit-icon {
    color: var(--web-offer-button-bg-purple);
}

.benefits__benefit-list--relocation .benefits__benefit-icon {
    color: var(--web-offer-button-bg-yellow);
}

.benefits__benefit-icon {
    width: 35px;
    min-width: 35px;
    align-self: flex-start;
}

.benefits__benefit-sub-description {
    font-size: 12px;
}

.web-offer-radio-button {
    display: flex;
    padding: 20px 40px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border: none;
    border-radius: 16px;
    height: 60px;
    cursor: pointer;
    font-size: 13px;
    line-height: 120%;
    letter-spacing: -0.26px;
    font-family: "GothaPro", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1e1e1e;
}

.web-offer-radio-button:hover {
    cursor: pointer;
    background: var(--web-offer-button-hover-default);
}

.web-offer-radio-button:hover.benefits__tab-social.benefits__tab--active {
    background-color: var(--web-offer-button-hover-red);
}

.web-offer-radio-button:hover.benefits__tab-health.benefits__tab--active {
    background-color: var(--web-offer-button-hover-green);
}

.web-offer-radio-button:hover.benefits__tab-corporate.benefits__tab--active {
    background-color: var(--web-offer-button-hover-purple);
}

.web-offer-radio-button:hover.benefits__tab-relocation.benefits__tab--active {
    background-color: var(--web-offer-button-hover-yellow);
}

.web-offer__button {
    position: relative;
    width: 268px;
    height: 60px;
    margin: 50px auto 0 auto;
    display: flex;
    padding: 20px 30px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    cursor: pointer;
    line-height: 120%;
    letter-spacing: -.26px;
    font-size: 13px;
    font-family: GothaPro,sans-serif;
    font-weight: 500;
    font-style: normal;
    border: none;
    border-radius: 16px;
    color: #1e1e1e;
    background-color: #ff9c00;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.web-offer__button:hover {
    cursor: pointer;
    background-color: #e79008;
    transform: scale(1.05);
}

.web-offer__button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.web-offer__button[disabled] {
    background-color: #f1ae49;;
    cursor: initial;
    pointer-events: none;
}

.web-offer__christmas-tree {
    height: 70px;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    z-index: 10;
    transition: opacity 1.5s;
}

.web-offer__christmas-tree--left {
    top: 0;
    left: 0;
    transform: scaleX(-1);
}

.web-offer__santa-img {
    position: absolute;
    opacity: 0;
    height: 150px;
    bottom: -50px;
    right: 0;
}

.web-offer__gift {
    height: 100px;
    top: -50px;
    right: 0;
    opacity: 0;
}

.benefits__tab {
    white-space: nowrap;
}

.benefits__tab-social--active {
    background-color: var(--web-offer-button-bg-red);
}

.benefits__tab-health--active {
    background-color: var(--web-offer-button-bg-green);
}

.benefits__tab-corporate--active:not([disabled]):hover {
    background-color: var(--web-offer-button-hover-purple);
}

.benefits__tab-relocation--active {
    background-color: var(--web-offer-button-bg-yellow);
}

.benefits__tab-list {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
}

.web-offer__christmas-tree,
.web-offer__gift,
.web-offer__santa-img {
    transition: opacity 1.5s;
}

.web-offer__link {
    position: absolute;
    bottom: -34px;
    left: 16px;
    font-size: 12px;
    color: var(--web-offer-block-title-color);
}

@media (min-width: 648px) {
    .web-offer__christmas-tree {
        height: 95px;
    }
}

@media (min-width: 768px) {
    .web-offer {
        display: block;
        overflow-x: visible;
    }

    .web-offer__header {
        height: 60px;
        gap: 76px;
    }

    .web-offer__heading-text-line {
        display: block;
    }

    .web-offer__heading-text-line:nth-child(2) {
        padding-left: 16%;
    }

    .web-offer__container {
        max-width: 1200px;
        padding: 16px;
        position: relative;
    }

    .web-offer__heading {
        margin: 158px 0 176px;
        font-size: 80px;
        line-height: 78px;
        letter-spacing: -1.6px;
    }

    .web-offer__full-name {
        margin-bottom: 20px;
        font-size: 24px;
        letter-spacing: -0.48px;
    }

    .web-offer__sub-heading {
        margin-bottom: 80px;
    }

    .web-offer__block-title {
        font-size: 38px;
    }

    .web-offer__block-description {
        font-size: 18px;
        letter-spacing: -0.48px;
    }

    .income-and-work-schedule__card {
        padding-top: 300px;
    }

    .income-and-work-schedule__main-info,
    .vacation-and-sick-leave__main-info {
        grid-template-columns: repeat(3, 1fr);
    }

    .income-and-work-schedule__text {
        min-height: 29px;
        font-size: 24px;
        letter-spacing: -0.48px;
    }

    .income-and-work-schedule__clock,
    .income-and-work-schedule__schedule,
    .income-and-work-schedule__income {
        background-size: 392px;
    }

    .vacation-and-sick-leave__card {
        min-height: 180px;
    }

    .vacation-and-sick-leave__text {
        font-size: 80px;
    }

    .vacation-and-sick-leave__background-icon {
        height: 172px;
    }

    .whats-next__title {
        font-size: 40px;
    }

    .benefits__benefit {
        padding: 24px;
        width: 320px;
        min-height: 110px;
        justify-content: flex-start;
    }

    .benefits__benefit-description {
        min-height: 70px;
    }

    .benefits__benefit-sub-description {
        font-size: 14px;
    }

    .benefits__benefit-icon {
        width: 40px;
        min-width: 40px;
    }

    .web-offer__background {
        top: -100px;
        right: 14px;
        width: 600px;
        height: 600px;
    }

    .web-offer-radio-button {
        font-size: 18px;
        letter-spacing: -0.48px;
    }

    .web-offer__button {
        width: 364px;
    }

    .web-offer__footer {
        margin-top: 120px;
    }

    .web-offer__main-info {
        position: relative;
        z-index: -2;
    }

    .main-info__card {
        padding: 24px;
        gap: 16px;
    }

    .web-offer__gift {
        height: 160px;
    }

    .web-offer__santa-img {
        height: 230px;
    }
}

@media (min-width: 1440px) {
    .web-offer__background {
        top: -80px;
        right: -120px;
        width: 700px;
        height: 700px;
    }

    .web-offer__christmas-tree {
        height: 140px;
    }
}
