@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;
}

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__description {
    margin-bottom: 40px;
    font-size: 13px;
    line-height: 120%;
    letter-spacing: -.26px;
    color: var(--web-offer-block-desc-color);
    font-family: GothaPro,sans-serif;
    font-weight: 400;
    font-style: normal;
    display: block;
    max-width: 100%;
    white-space: pre-line;
    word-wrap: break-word;
    box-sizing: border-box;
}

.web-offer__congratulations-title-wrapper {
    display: flex;
    align-items: center;

}

.web-offer__congratulations-title {
    position: relative;
    margin-top: 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__congratulations-description {
    font-size: 13px;
    line-height: 200%;
    letter-spacing: -.26px;
    color: var(--web-offer-block-desc-color);
    font-family: GothaPro,sans-serif;
    font-weight: 400;
    font-style: normal;
    display: block;
    word-wrap: break-word;
    box-sizing: border-box;
}

.web-offer__congratulations-description--first-row {
    margin-top: 0;
}

.web-offer__congratulations-description--last-row {
    margin: 40px 0;
}

.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;
}

.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;
}

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

@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__container {
        max-width: 1200px;
        padding: 16px;
        position: relative;
    }

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

    .web-offer__congratulations-title {
        margin-top: 60px;
        font-size: 80px;
        line-height: 78px;
        letter-spacing: -1.6px;
    }

    .web-offer__congratulations-description {
        font-size: 18px;
        letter-spacing: -.48px;
    }

    .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__background {
        top: -100px;
        right: 14px;
        width: 600px;
        height: 600px;
    }

    .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;
    }
}
