*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #1b1b1d;
    --bg-dark: #2a2a2c;
    --bg-card: #2f2f31;
    --text-main: #ffffff;
    --text-muted: #bebebe;
    --accent: #ff3da7;
    --radius-card: 22px;
    --transition: 0.25s ease;

    --modal-header-bg-pink: linear-gradient(135deg,
            rgba(255, 140, 180, 0.32),
            rgba(255, 90, 160, 0.16));
    --modal-header-bg-blue: linear-gradient(135deg,
            rgba(130, 200, 255, 0.32),
            rgba(80, 160, 255, 0.16));
    --modal-header-bg-orange: linear-gradient(135deg,
            rgba(255, 190, 120, 0.32),
            rgba(255, 150, 80, 0.16));
    --modal-header-bg-red: linear-gradient(135deg,
            rgba(255, 120, 120, 0.32),
            rgba(255, 80, 80, 0.16));
}

html,
body {
    height: 100%;
    overflow: hidden;
}

.page__main {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
}

/* =========================
    BACKGROUND
   ========================= */
.page__background--smooth {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url(/img/background.webp);
    background-size: cover;
    background-position: center;
    animation: bgMove 24s ease-in-out infinite alternate;
    will-change: transform;
    filter: brightness(1.15) saturate(1.2);
}

@keyframes bgMove {
    0% {
        transform: translate3d(0, 0, 0) scale(1.05);
    }

    50% {
        transform: translate3d(-20px, -20px, 0) scale(1.08);
    }

    100% {
        transform: translate3d(10px, 15px, 0) scale(1.05);
    }
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgb(0 0 0 / 0.06);
    z-index: 1000;
}

.header__logo img {
    height: 40px;
    scale: 2;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav__link {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-main);
    transition: color 0.2s;
}

.nav__link.active,
.nav__link:hover {
    color: var(--accent);
}

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 150px 50px 100px;
}

.hero__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero__column--text {
    max-width: 580px;
}

.hero__title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
}

.hero__accent {
    color: var(--accent);
    font-style: italic;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.hero__subtext {
    margin: 25px 0 35px;
    font-size: 17px;
    line-height: 1.55;
    color: #cfcfcf;
}

.hero__apply {
    font-size: 15px;
    color: var(--text-main);
}

.hero__apply b {
    color: var(--accent);
}

.hero__column--form {
    display: flex;
    justify-content: center;
}

/* HERO FORM */
.hero-form {
    position: relative;
    width: 450px;
    padding: 32px 30px;
    background: rgb(255 255 255 / 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 22px;
    box-shadow: 0 0 40px rgb(0 0 0 / 0.35);
    border: 1px solid rgb(255 255 255 / 0.25);
}

.true-glass-border {
    position: relative;
    border-radius: 46px;
    padding: 40px;
    background: rgb(255 255 255 / 0.1);
    overflow: hidden;
}

.true-glass-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg,
            rgb(255 255 255 / 0.45) 0%,
            rgb(255 255 255 / 0.22) 55%,
            rgb(255 255 255 / 0.12) 100%);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
}

.true-glass-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 0 0 25px rgb(255 230 200 / 0.2),
        inset 0 0 60px rgb(255 255 255 / 0.12);
}

.hero-form__title {
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* HOME WORK */
.home-work {
    padding: 50px 0;
}

.home-work__title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 60px;
}

.home-work__grid {
    display: grid;
    grid-template-columns: repeat(2, 400px);
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.home-work__card {
    position: relative;
    height: 150px;
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.25);
    border-radius: 22px;
    padding: 26px 30px;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    /* blur убран */
    transition: 0.32s ease;
}

.home-work__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.home-work__text {
    max-width: 70%;
}

.home-work__card-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.home-work__card-desc {
    font-size: 15px;
    line-height: 1.45;
    opacity: 0.9;
    max-width: 260px;
}

.home-work__img {
    position: absolute;
    width: 120px;
    object-fit: contain;
    pointer-events: none;
}

.home-work__card:nth-child(1) .home-work__img {
    right: -10px;
    top: 17px;
    scale: 1.2;
}

.home-work__card:nth-child(2) .home-work__img {
    right: -5px;
    top: -80px;
    scale: 1.2;
}

.home-work__card:nth-child(3) .home-work__img {
    right: -15px;
    top: 15px;
    scale: 1.3;
}

.home-work__card:nth-child(4) .home-work__img {
    right: -10px;
    top: -15px;
    scale: 1.1;
}

/* WHY */
.why {
    padding: 50px 0;
}

.why__title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 60px;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 280px);
    justify-content: center;
    justify-items: center;
    gap: 30px;
}

.why-card {
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.25);
    border-radius: 28px;
    padding: 15px;
    position: relative;
    overflow: visible;
    width: 280px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.why-card__top {
    position: relative;
    height: 80px;
    margin-bottom: 10px;
    overflow: visible;
}

.why-card__bg {
    position: absolute;
    inset: 0;
    border-radius: 13px;
    background: var(--dream-bg, linear-gradient(180deg, #c7845e, #e26e8b));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1;
}

.why-card__icon {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 3;
}

.why-card__image {
    position: absolute;
    right: -10px;
    top: -35px;
    height: 115px;
    object-fit: contain;
    z-index: 4;
}

.why-card__text {
    margin-top: -2px;
}

.why-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}

.why-card__desc {
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.85;
    max-width: 250px;
}

.why-card--money .why-card__image {
    top: -29px;
    right: -55px;
    scale: 0.9;
}

.why-card--education .why-card__image {
    top: -34px;
}

.why-card--schedule .why-card__image {
    right: 8px;
    scale: 1.05;
    top: -38px;
}

.why-card--mask .why-card__image {
    scale: 0.9;
    top: -29px;
    right: -30px;
}

.why-card--prize .why-card__image {
    scale: 1.1;
    top: -41px;
    right: -10px;
}

.why-card--statue .why-card__image {
    scale: 1.3;
    top: -52px;
    right: 20px;
}

.why-card--referral .why-card__image {
    scale: 0.9;
    top: -29px;
    right: -25px;
}

.why-card--support .why-card__image {
    scale: 0.9;
    top: -29px;
    right: -10px;
}

.why-card--alert .why-card__image {
    scale: 0.9;
    top: -29px;
    right: -25px;
}

/* VACANCIES */
.vacancies {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 60px;
}

.vacancies__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.vacancy-card {
    background: rgb(255 255 255 / 0.06);
    padding: 40px 32px 35px;
    text-align: center;
    color: #fff;
    border: 1px solid rgb(255 255 255 / 0.25);
    border-radius: 28px;
    max-width: 430px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vacancy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.vacancy-card__img {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vacancy-card__img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.vacancy-card__title {
    font-size: 17px;
    margin-bottom: 12px;
    font-weight: 700;
}

.vacancy-card__desc {
    font-size: 14px;
    color: #bebebe;
    margin-bottom: 30px;
    line-height: 1.45;
}

/* DREAMS + CALC */
.dreams-calc {
    padding: 50px 0;
    color: #fff;
}

.dreams-calc__title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

.dreams-calc__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.dreams-calc__dreams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 420px;
}

.dream-card {
    position: relative;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.25);
    border-radius: 18px;
    padding: 18px 16px 22px;
    color: #fff;
    width: 100%;
    max-width: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dream-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.dream-card__img-wrapper {
    position: relative;
    height: 120px;
    margin-bottom: 45px;
}

.dream-card__tag {
    display: inline;
    position: absolute;
    top: -15px;
    right: -10px;
    background: #ff3da7;
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 9999;
}

.dream-card__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.dream-card__price {
    font-size: 13px;
    opacity: 0.85;
}

.dream-card::before {
    content: '';
    position: absolute;
    left: 15px;
    right: 15px;
    top: 15px;
    height: 150px;
    border-radius: 16px;
    background: var(--dream-bg, linear-gradient(180deg, #c7845e, #e26e8b));
    z-index: 0;
}

.dream-card__img {
    width: 115%;
    max-width: none;
    height: auto;
    object-fit: contain;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    top: -43px;
}

.dreams-calc__calc {
    max-width: 420px;
    width: 100%;
}

.calc {
    border-radius: 28px;
    padding: 32px 36px;
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.15);
    box-shadow: 0 10px 25px rgb(0 0 0 / 0.25);
}

.calc__title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
}

.calc__field {
    margin-bottom: 24px;
}

.calc__label {
    font-size: 16px;
    margin-bottom: 12px;
}

.calc__btns {
    display: flex;
    gap: 12px;
}

.calc__btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgb(255 255 255 / 0.25);
    background: rgb(255 255 255 / 0.05);
    color: #fff;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0.85;
    transition: 0.25s ease;
}

.calc__btn:hover {
    opacity: 1;
    border-color: #ff3da7;
}

.calc__btn--active {
    background: #ff3da7;
    color: #fff;
    opacity: 1;
    border: 1px solid rgb(255 255 255);
}

.calc__total {
    width: 100%;
    padding: 18px 0;
    font-size: 26px;
    font-weight: 800;
    border-radius: 40px;
    background: var(--accent);
    border: 1px solid rgb(255 255 255);
    color: #fff;
    cursor: default;
    margin-top: 15px;
    transition: 0.25s ease;
}

/* FAQ */
.faq {
    padding: 50px 0;
}

.faq__title {
    margin-bottom: 40px;
}

.faq__list {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.25);
    border-radius: 14px;
    padding: 0 20px;
    transition:
        background 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.faq__item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.faq__item.open {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.faq__question {
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    transition: color 0.25s ease;
    text-align: left;
    align-items: center;
}

.faq__question-sign {
    font-size: 28px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.faq__item.open .faq__question-sign {
    transform: rotate(45deg);
}

.faq__item.open .faq__question-text {
    font-weight: 700;
}

.faq__answer {
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 14px;
    color: #fff;
    line-height: 1.55;
    transition:
        max-height 0.4s ease,
        opacity 0.35s ease,
        padding 0.35s ease;
}

.faq__answer-inner {
    padding-bottom: 18px;
}

.faq__item.open .faq__answer {
    max-height: 600px;
    padding: 0 0 18px;
    opacity: 1;
}

.faq__cta {
    text-align: center;
}

.faq__tg-btn {
    display: inline-block;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 12px 34px;
    background: #08c;
    border: 1px solid rgb(255 255 255);
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.faq__tg-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

/* FORM FIELDS */
.field {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
}

.field__input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgb(255 255 255 / 0.05);
    border: 1px solid rgb(255 255 255 / 0.12);
    color: #fff;
    font-size: 14px;
    outline: none;
}

.field__label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #b4b4b4;
    pointer-events: none;
    transition: 0.25s ease;
}

.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
    top: -8px;
    font-size: 11px;
}

.field__input:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgb(255 61 167 / 0.15);
    transition: 0.5s;
}

.field__input::placeholder {
    color: #fff0;
}

.hero-form__note {
    font-size: 12px;
    color: #b4b4b4;
    margin: -10px 0 10px;
    padding-left: 4px;
}

.field__input.error {
    border-color: #ff4f7d;
}

.field__input.success {
    border-color: #4fff7b;
}

.error-text {
    font-size: 12px;
    color: #ff4f7d;
    margin-top: 4px;
    padding-left: 4px;
}

.hero-form__checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
    margin-top: 10px;
}

.checkbox__input {
    display: none;
}

.checkbox__box {
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-radius: 6px;
    transition: all 0.25s ease;
    background-repeat: no-repeat;
    background-position: center;
}

.checkbox__input:checked + .checkbox__box {
    background-image: url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="4 12 10 18 20 6"/></svg>');
}

.checkbox__text {
    margin-left: 10px;
    color: #fff;
    font-size: 14px;
    user-select: none;
}

.checkbox.error .checkbox__text {
    color: #ff4f7d;
}

.checkbox.success .checkbox__text {
    color: #4fff7b;
}

.checkbox__error-text {
    font-size: 12px;
    color: #ff4f7d;
    margin: 4px 0 10px 4px;
    padding-left: 2px;
}

/* BUTTONS */
button {
    font-family: 'Manrope', sans-serif;
}

.btn {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 12px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border: 1px solid rgb(255 255 255);
}

.btn--outline {
    background: #08c;
    border: 1px solid rgb(255 255 255);
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.hero-form__tg-btn {
    display: inline-block;
    margin: 0 auto 10px;
    padding: 12px 34px;
    border-radius: 50px;
    font-size: 14px;
    text-align: center;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-form__tg-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.hero-form__policy {
    text-align: center;
    font-size: 11px;
    opacity: 0.7;
    line-height: 1.45;
}

.hero-form__policy-link {
    text-decoration: none;
    color: var(--accent);
    font-weight: bolder;
}

/* SELECT */
.select {
    position: relative;
}

.select__control {
    position: relative;
    width: 100%;
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.select__control:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgb(255 61 167 / 0.15);
}

.select__control.open {
    border-color: var(--accent);
    box-shadow: 0 0 22px rgb(255 61 167 / 0.3);
}

.select__selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.select__options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 12px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: var(--transition);
    box-shadow: 0 10px 25px rgb(0 0 0 / 0.35);
    z-index: 20;
}

.select__control.open .select__options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select__option {
    padding: 12px 16px;
    color: #e4e4e4;
    font-size: 14px;
    transition: 0.2s ease;
}

.select__option:hover {
    background: rgb(255 255 255 / 0.07);
    color: var(--accent);
}

.select__option.active {
    background: rgb(255 61 167 / 0.15);
    color: var(--accent);
}

.select__arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: 0.25s ease;
    opacity: 0.9;
}

.select__control.open .select__arrow {
    transform: rotate(-135deg);
}

/* FOOTER */
.footer {
    background: var(--bg-main);
    padding: 70px 0 35px;
    border-top: 1px solid rgb(255 255 255 / 0.08);
    position: relative;
    overflow: hidden;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer__logo {
    width: 120px;
    margin-bottom: 18px;
}

.footer__desc {
    font-size: 14px;
    color: #bebebe;
    line-height: 1.55;
    max-width: 260px;
}

.footer__title {
    font-size: 16px;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 700;
}

.footer__list {
    list-style: none;
}

.footer__item {
    margin-bottom: 10px;
}

.footer__link {
    font-size: 14px;
    color: #bebebe;
    text-decoration: none;
    transition: 0.25s;
}

.footer__link:hover {
    color: var(--accent);
}

.footer__socials {
    display: flex;
    gap: 12px;
}

.footer__social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer__social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgb(255 61 167 / 0.25);
}

.footer__bottom {
    text-align: center;
    margin-top: 35px;
    border-top: 1px solid rgb(255 255 255 / 0.05);
    position: relative;
    padding-top: 80px;
}

.footer__bottom-text {
    font-size: 13px;
    color: #6c6c6c;
}

.footer-snow {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    z-index: 1;
    animation: snowWiggle 6s ease-in-out infinite;
    transform-origin: bottom center;
}

.footer-snow img {
    width: 100%;
    display: block;
}

@keyframes snowWiggle {
    0% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-2px) translateX(-1px);
    }

    50% {
        transform: translateY(0) translateX(1px);
    }

    75% {
        transform: translateY(-1px) translateX(-1px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

.footer__inner,
.footer__bottom {
    position: relative;
    z-index: 2;
}

/* MODALS */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    z-index: 2000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
}

.modal.show {
    display: flex;
    pointer-events: auto;
    animation: modalFadeIn 0.35s ease forwards;
}

.modal.hiding {
    animation: modalFadeOut 0.35s ease forwards;
    pointer-events: none;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.45s ease, backdrop-filter 0.45s ease;
}

.modal.show .modal__backdrop {
    opacity: 1;
}

.modal.hiding .modal__backdrop {
    opacity: 0;
}

.modal__window {
    position: relative;
    max-width: 1200px;
    width: 100%;
    max-height: calc(100vh - 120px);
    border-radius: 34px;
    background: linear-gradient(145deg, #e7b0ff25, #ff9ca425);
    box-shadow: 0 8px 38px rgb(0 0 0 / 0.25);
    border: 1px solid rgb(255 255 255 / 0.25);
    overflow: hidden;
    opacity: 0;
    transform: translateY(26px) scale(0.94);
    transition:
        opacity 0.45s ease,
        transform 0.55s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 6000;
}

.modal.show .modal__window {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal.hiding .modal__window {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.modal__header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 60px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 34px 34px 0 0;
}

.modal[data-theme='pink'] .modal__header {
    background: var(--modal-header-bg-pink);
}

.modal[data-theme='blue'] .modal__header {
    background: var(--modal-header-bg-blue);
}

.modal[data-theme='orange'] .modal__header {
    background: var(--modal-header-bg-orange);
}

.modal[data-theme='red'] .modal__header {
    background: var(--modal-header-bg-red);
}

.modal__header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
}

.modal__window::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px;
    pointer-events: none;
    z-index: 5;
    background: var(--modal-fade-current);
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            rgb(0 0 0 / 0.6) 60%,
            rgb(0 0 0) 100%);
}

.modal[data-theme='pink'] {
    --modal-fade-current: linear-gradient(to bottom,
            rgba(255, 120, 170, 0.05),
            rgba(255, 120, 170, 0.22));
}

.modal[data-theme='blue'] {
    --modal-fade-current: linear-gradient(to bottom,
            rgba(110, 180, 255, 0.05),
            rgba(110, 180, 255, 0.22));
}

.modal[data-theme='orange'] {
    --modal-fade-current: linear-gradient(to bottom,
            rgba(255, 170, 90, 0.05),
            rgba(255, 170, 90, 0.22));
}

.modal[data-theme='red'] {
    --modal-fade-current: linear-gradient(to bottom,
            rgba(255, 90, 90, 0.05),
            rgba(255, 90, 90, 0.22));
}

.modal__content {
    max-height: calc(100vh - 120px - 110px);
    padding: 20px 40px 20px 40px;
    overflow-y: auto;
}

.modal__main-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin: 0;
}

.modal__columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.modal__title,
.modal__subtitle {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.modal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.modal__item {
    background: rgb(255 255 255 / 0.12);
    border-radius: 26px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgb(255 255 255 / 0.25);
    transition: 0.32s ease;
}

.modal__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.modal__item img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    margin-bottom: 10px;
}

.modal__steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.step {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px 26px;
    background: rgb(255 255 255 / 0.12);
    border-radius: 26px;
    border: 1px solid rgb(255 255 255 / 0.25);
    transition: 0.32s ease;
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgb(255 61 167 / 0.35);
}

.step__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
}

.modal__close {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.18);
    border: 1px solid rgb(255 255 255 / 0.25);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__close:hover {
    background: rgb(255 255 255 / 0.28);
}

.modal__policy {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
}

.modal__policy p {
    margin-bottom: 10px;
}

.modal__policy ul {
    margin: 8px 0 14px 18px;
    padding-left: 0;
}

.modal__policy li {
    margin-bottom: 4px;
}

/* ALERT MODAL */
.alert-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgb(0 0 0 / 0.35);
    z-index: 5000;
}

.alert-modal.show {
    display: flex;
    animation: alertFade 0.35s ease;
}

@keyframes alertFade {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.alert-modal__window {
    background: rgb(255 255 255 / 0.12);
    border-radius: 26px;
    border: 1px solid rgb(255 255 255 / 0.25);
    padding: 28px 32px;
    text-align: center;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 10px 35px rgb(0 0 0 / 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.alert-modal__text {
    color: #fff;
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 22px;
}

.alert-modal__btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 14px;
    background: #ff3da7;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border: 1px solid rgb(255 255 255);
    cursor: pointer;
    transition: 0.25s ease;
}

.alert-modal__btn:hover {
    background: #ff5abc;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: rgb(63 63 63 / 0.5);
    border-left: 1px solid rgb(255 255 255 / 0.08);
    padding: 0 25px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: right 0.35s ease;
    box-shadow: -10px 0 25px rgb(0 0 0 / 0.45);
    z-index: 1100;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
    margin-left: auto;
    opacity: 0.8;
    transition: 0.3s;
}

.mobile-menu__close:hover {
    opacity: 1;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-menu__link {
    text-decoration: none;
    font-size: 18px;
    color: #e4e4e4;
    transition: 0.25s;
}

.mobile-menu__link:hover {
    color: var(--accent);
}

.mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 0.35);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
    z-index: 1050;
}

.mobile-menu__overlay.show {
    opacity: 1;
    visibility: visible;
}

/* BURGER */
.burger {
    width: 32px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.burger__line {
    width: 100%;
    margin-bottom: 6px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.35s ease;
}

.hero-form,
.home-work__card,
.why-card,
.vacancy-card,
.calc,
.dream-card,
.faq__item,
.modal__window {
    transform: translateZ(0);
}

/* FADE-UP ANIMATION */
.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* PRELOADER */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 0.65);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader__blur {
    position: absolute;
    inset: 0;
}

.preloader__inner {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}

.preloader__logo {
    width: 120px;
    opacity: 0.9;
    animation: fadeLogo 2s ease-in-out infinite alternate;
}

@keyframes fadeLogo {
    from {
        opacity: 0.5;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preloader__percent {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

/* FLOATING CTA */
.floating-cta {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 150px;
    height: 150px;
    z-index: 3000;
    cursor: pointer;
    pointer-events: none;
}

.floating-cta svg {
    width: 150px;
    height: 150px;
    transform-origin: center;
    animation: rotateText 9s linear infinite;
    pointer-events: none;
}

@keyframes rotateText {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.floating-cta__main-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: none;
    background: #ff3da7;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
    padding: 0 10px;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 0 18px rgb(255 61 167 / 0.35);
    transition: 0.25s ease;
    padding: 0;
    pointer-events: auto;
}

.floating-cta__text {
    text-wrap: wrap;
    transition: opacity 0.25s ease;
    color: #fff;
}

.floating-cta__main-btn:hover {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 0 26px rgb(255 61 167 / 0.55);
}

.floating-cta__rotating-text text {
    fill: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    pointer-events: none;
}

/* RESPONSIVE */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
    .why__grid {
        grid-template-columns: repeat(2, 280px);
    }

    .why__grid > *:nth-child(9) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .why-card--schedule .why-card__bg,
    .why-card--referral .why-card__bg {
        background: linear-gradient(180deg,
                rgb(213 116 163 / 0.4),
                rgb(181 90 139 / 0.4));
    }

    .why-card--mask .why-card__bg,
    .why-card--support .why-card__bg {
        background: linear-gradient(180deg,
                rgb(232 160 110 / 0.4),
                rgb(213 123 84 / 0.4));
    }

    .why-card--alert .why-card__bg {
        background: linear-gradient(90deg,
                rgb(232 160 110 / 0.4),
                rgb(213 116 163 / 0.4));
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 100px 0 70px;
    }

    .hero__column--text {
        max-width: 100%;
    }

    .hero__title {
        font-size: 40px;
        line-height: 1.15;
    }

    .vacancies__grid {
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        gap: 30px;
    }

    .vacancies__grid > *:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 950px) {
    .dreams-calc__wrapper {
        flex-direction: column;
        gap: 35px;
    }
}

@media (max-width: 920px) {
    .modal__columns {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .modal__subtitle,
    .modal__title {
        text-align: center;
    }
}

@media (max-width: 915px) {
    .hero__inner {
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .home-work__grid {
        grid-template-columns: repeat(2, 300px);
    }

    .home-work__text {
        width: 60%;
    }

    .home-work__card-desc {
        font-size: 14px;
    }

    .home-work__card-title {
        font-size: 18px;
    }

    .home-work__card {
        padding: 10px 15px;
    }
}

@media (max-width: 850px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .header {
        justify-content: space-between;
    }
}

@media (max-width: 700px) {
    .vacancies__grid {
        grid-template-columns: 1fr;
    }

    .vacancy-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .faq__list {
        padding: 0 10px;
    }
}

@media (max-width: 670px) {
    .home-work__card {
        width: 100%;
        height: 120px;
    }

    .home-work__grid {
        grid-template-columns: repeat(1, 360px);
    }

    .home-work__card:nth-child(1) .home-work__img {
        right: -5px;
        top: -2px;
        scale: 1.05;
    }

    .home-work__card:nth-child(2) .home-work__img {
        right: -20px;
        top: -69px;
        scale: 0.8;
    }

    .home-work__card:nth-child(3) .home-work__img {
        right: -2px;
        top: -5px;
        scale: 1.1;
    }

    .home-work__card:nth-child(4) .home-work__img {
        right: -15px;
        top: -29px;
        scale: 0.9;
    }
}

@media (max-width: 600px) {
    .page__background--smooth {
        background-image: url(/img/background-mobile.webp);
        animation-duration: 26s;
    }

    .why__grid {
        grid-template-columns: repeat(1, 280px);
    }

    .why-card {
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }

    .why-card--schedule .why-card__bg,
    .why-card--referral .why-card__bg,
    .why-card--mask .why-card__bg,
    .why-card--support .why-card__bg,
    .why-card--alert .why-card__bg {
        background: var(--dream-bg);
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtext {
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-form {
        width: 100%;
        max-width: 360px;
    }

    .faq {
        padding: 60px 0;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 45px 0 30px;
    }

    .modal__item {
        max-width: 250px;
    }

    .modal__close {
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .modal__main-title {
        padding-right: 60px;
        font-size: 30px;
    }

    .modal__title,
    .modal__subtitle {
        text-align: center;
        font-size: 22px;
    }

    .modal__header {
        height: 100px;
    }

    .floating-cta {
        width: 120px;
        height: 120px;
        right: 20px;
        bottom: 20px;
    }

    .floating-cta svg {
        width: 120px;
        height: 120px;
    }

    .floating-cta__main-btn {
        width: 85px;
        height: 85px;
        font-size: 13px;
    }

    .field__input,
    .select__control,
    .field__label {
        font-size: 16px !important;
    }
}

@media (max-width: 541px) {
    .modal__window {
        width: 100%;
        max-height: calc(100vh - 20px);
    }

    .modal__main-title {
        padding-right: 10px;
        font-size: 26px;
    }

    .modal__title,
    .modal__subtitle {
        text-align: center;
        font-size: 18px;
        text-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .modal__header {
        height: 80px;
    }

    .modal__item {
        padding: 14px 6px 12px;
        border-radius: 18px;
    }

    .modal__item img {
        width: 100%;
        height: 90px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-bottom: 6px;
    }

    .modal__item p {
        font-size: 13px;
        line-height: 1.2;
    }

    .modal__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
        justify-items: center;
    }

    .modal__main-title {
        font-size: 22px;
    }

    .step p {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .section-title {
        font-size: 26px;
    }

    .btn,
    .faq__tg-btn {
        width: 90%;
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 460px) {
    .dreams-calc__dreams {
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
    }

    .dream-card {
        max-width: 185px;
    }

    .dream-card__img {
        top: -26px;
    }
}

@media (max-width: 429px) {
    .dreams-calc__dreams {
        grid-template-columns: repeat(2, 160px);
        justify-content: center;
    }

    .dream-card__img {
        top: -28px;
    }

    .dream-card::before {
        height: 120px;
    }

    .dream-card__title {
        font-size: 11px;
    }

    .dream-card__img-wrapper {
        margin-bottom: 25px;
    }
}

@media (max-width: 400px) {
    .hero__title {
        font-size: 28px;
    }

    .hero-form {
        padding: 24px 20px;
        max-width: 280px;
        width: 100%;
    }
}

@media (max-width: 379px) {
    .home-work__grid {
        grid-template-columns: repeat(1, 300px);
    }

    .home-work__card {
        width: 100%;
        height: 150px;
    }

    .home-work__card:nth-child(1) .home-work__img {
        right: -5px;
        top: 17px;
        scale: 1.2;
    }

    .home-work__card:nth-child(2) .home-work__img {
        right: -20px;
        top: -60px;
        scale: 1;
    }

    .home-work__card:nth-child(3) .home-work__img {
        right: -10px;
        top: 19px;
        scale: 1.2;
    }

    .home-work__card:nth-child(4) .home-work__img {
        right: -15px;
        top: -15px;
        scale: 1.1;
    }
}