:root {
    --container-width: 1920px;
    --container-s-width: 1310px;
    --container-padding: 15px;
    --page-bg: #F5E7D6;
    --text: #000;
    --primary: #EC7C25;
    --secondary: var(--secondary);
    --grey: #D9D9D9;
    --white: #ffffff;
}

@font-face {
    font-family: "Montserrat";
    font-display: swap;
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    font-display: swap;
    src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    font-display: swap;
    src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--text)
}

html,
body {
    display: flex;
    flex-direction: column;
    height: unset !important;
    height: 100%;
    margin: 0;
}

main {
    flex: 1;
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.noscroll {
    overflow: hidden;
}

.container {
    margin: 0 auto;
    max-width: var(--container-width);
    width: 100%
}

.container-s {
    margin: 0 auto;
    padding: 0 var(--container-padding);
    max-width: var(--container-s-width);
    width: 100%
}

img {
    display: block;
    object-fit: contain;
}

a {
    cursor: pointer;
}

.section {
    padding: 100px 0;
    overflow: hidden;
}

.title {
    margin-bottom: 15px;
    font-size: 64px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
}

.logo {
    display: block;
    max-width: 171px;
    width: 100%;
    height: 46px;
}

.btn {
    padding: 10px 20px;
    height: 44px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 400;
    line-height: 0.95;
    text-wrap: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    transition: all .32s linear;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    border: 1px solid var(--primary);
    background-color: var(--white);
    color: var(--primary);
}

.input {
    padding-bottom: 0;
    display: block;
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.33;
    color: var(--text);
    appearance: textfield;
    border-radius: 10px;
    background-color: var(--grey);
    border: 1px solid var(--grey);
    outline: none;
    position: relative;
    text-overflow: ellipsis;
    z-index: 2;
}

.input::placeholder {
    color: rgba(42, 39, 34, 0.50);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.33;
}

.input:focus,
.input:active {
    border: 1px solid var(--primary);
}

.select2-container--default .select2-selection--single {
    background-color: var(--grey);
    border: 1px solid var(--grey);
    border-radius: 10px;
}

.select2-container {
    width: 100% !important;
}

.select2-container--open .select2-dropdown {
    top: 32px;
}

.select2-results__option {
    font-size: 15px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 15px;
    padding-left: 5px;
}

.select2-container .select2-selection--single {
    height: 40px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--grey);
    color: var(--text);
}

.select2-selection__arrow b {
    display: none;
}

.select2-selection__arrow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.90918 7.27271L12.0001 16.3636L21.091 7.27271' stroke='%232A2722'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    transition: all 0.32s linear;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 6px;
}

.select2.select2-container.select2-container--open .select2-selection__arrow {
    transform: rotate(180deg);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
}

/* Стили чекбоксов */

input[type='checkbox'] {
    width: 25px;
    height: 25px;
}

.custom-checkbox {
    display: flex;
    justify-content: start;
    align-items: start;
}

/* для элемента input c type="checkbox" */
.custom-checkbox input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

/* для элемента label, связанного с .custom-checkbox */
.custom-checkbox label {
    display: inline-flex;
    align-items: start;
    user-select: none;
    font-weight: 400;
    font-size: 16px;
}

/* создание в label псевдоэлемента before со следующими стилями */
.custom-checkbox label span::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid var(--text);
    border-radius: 5px;
    margin-right: 9px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    display: flex;
    justify-content: start;
    align-items: start;
}

.custom-checkbox>label span {
    margin-right: 6px;
}

/* стили при наведении курсора на checkbox */
.custom-checkbox input[type="checkbox"]:not(:disabled):not(:checked)+span::before {
    border-color: var(--primary);
}

/* стили для чекбокса, находящегося в состоянии checked */
.custom-checkbox input[type="checkbox"]:checked+span::before {
    background: var(--primary) url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIGZpbGw9Im5vbmUiLz4gICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuMDQyOTM4OTYsMTAuMDQyODE4MyBDMy43OTc2NzQzOCw5LjQwOTg2NTU4IDQuNjU2MjkwNjcsOC44NTU2NjM3NCA1LjI2OTY0MjM4LDguODU1NjYzNzQgQzUuODgyOTk0MDksOC44NTU2NjM3NCA3LjcyMzA0OTA3LDExLjUyNjc2MTQgNy43MjMwNDkwNywxMS41MjY3NjE0IEM3LjcyMzA0OTA3LDExLjUyNjc2MTQgMTIuMzIzMTg2OSw0LjQwMzgzNDI5IDEyLjYyOTg2MjksNC4xMDcwNDU2NiBDMTIuOTM2NTM4OSwzLjgxMDI1NzAzIDE0LjQ2OTkxODIsNC4xMDcwNDU2NiAxMy44NTY1NjYzLDUuMjk0MjAwMTggQzEzLjMxMzMyMTYsNi4zNDU2NjA4NCA4LjMzNjQwMDkyLDEzLjYwNDI4MTggOC4zMzY0MDA5MiwxMy42MDQyODE4IEM4LjMzNjQwMDkyLDEzLjYwNDI4MTggNy43MjMwNDkyMSwxNC40OTQ2NDc3IDcuMTA5Njk3NTEsMTMuNjA0MjgxOCBDNi40OTYzNDU4LDEyLjcxMzkxNTkgNC4yODgyMDM1NSwxMC42NzU3NzA5IDQuMDQyOTM4OTYsMTAuMDQyODE4MyBaIi8+ICA8L2c+PC9zdmc+) no-repeat center;

    background-size: 18px 18px;
    border-color: var(--primary);
}

/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox input[type="checkbox"]:disabled+span::before {
    background-color: #e9ecef;
    border-color: #e9ecef;
}

.custom-checkbox .wpcf7-list-item-label {
    display: flex;
    flex-wrap: wrap;
}

.checkbox-text {
    font-size: 12px;
}

.wpcf7-list-item-label a {
    margin-left: 3px;
    text-decoration: underline;
    transition: all 0.32s linear;
}

.wpcf7-list-item-label a:hover {
    color: var(--primary);
}

.header {
    height: 105px;
    display: flex;
    align-items: center;
}

.header__btn {
    display: none;
}

.header__wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .logo {
    margin-right: 135px;
}

.header__nav ul {
    display: flex;
    align-items: center;
    gap: 75px;
}

.header__nav li {
    list-style: none;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.header__nav li button {
    transition: all 0.32s linear;
}

.header__nav li button:hover {
    color: var(--primary);
}

/* Первый блок */
.preview {
    position: relative;
    overflow: hidden;
    height: 810px;
    display: flex;
    align-items: center;
}


.preview .title {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 120px;
    font-weight: 700;
    line-height: 1.125;
    text-transform: uppercase;
}

.preview__date {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.125;
}

.preview__bg {
    max-width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    object-fit: cover;
}

.program {
    padding: 65px 0;
}

.program .title {
    margin: 0 auto 25px;
    max-width: 543px;
    text-align: center;
    line-height: 1.04;
}

.program__subtitle {
    margin: 0 auto 67px;
    max-width: 755px;
    color: var(--secondary);
    text-align: center;
    font-size: 20px;
    line-height: 1.3;
}

.program__list {
    display: flex;
    flex-direction: column;
}

.program__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 25px;
}

.program__item-even .program__info {
    margin-left: 115px;
}

.program__img {
    height: 532px;
    object-fit: cover;
}

.program__info {
    margin-left: 10px;
}

.program__time {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5625;
}

.program__title {
    color: var(--primary);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5625;
    text-transform: uppercase;
}

.photo {
    padding: 65px 0;
}

.photo .title {
    margin-bottom: 60px;
    text-align: center;
}

.photo__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.photo__item {}

.photo__img {
    height: 397px;
}

.photo__name {
    color: var(--primary);
    font-size: 32px;
    font-weight: 700;
    line-height: 2.09;
}

.photo__description {
    color: var(--secondary);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
}

.assist {
    background-color: var(--page-bg);
}

.assist__wrap {
    padding: 30px 30px 30px 60px;
    border-radius: 37px;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.assist__text-wrap {
    margin-top: 30px;
}

.assist__text-wrap .title {
    margin-bottom: 20px;
    color: var(--primary);
}

.assist__text {
    max-width: 563px;
    font-size: 20px;
    line-height: 1.1;
}

.assist__text p {
    margin-bottom: 15px;
}

.assist__form {
    padding: 40px;
    max-width: 650px;
    width: 100%;
    background-color: #FBF6ED;
    border-radius: 27px;
}

.assist__form form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.assist__label {
    margin-bottom: 10px;
    color: rgba(42, 39, 34, 0.50);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.66;
}

.assist__form-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 20px;
}

.assist__form .custom-checkbox {
    margin-bottom: auto;
}

.assist__form .wpcf7-list-item {
    display: flex;
    margin: 0;
}

.assist__form .wpcf7-list-item-label {
    font-size: 12px;
}

.assist__checkbox-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
}

.custom-checkbox.assist__has-spoiler {
    flex-wrap: wrap;
}

.assist__spoiler-trigger {
    margin: 0;
    padding: 0 3px;
    height: 17px;
    line-height: 1;
    text-decoration: underline;
    transition: all 0.32s linear;
    cursor: pointer;
}

.assist__spoiler-trigger:hover {
    color: var(--primary);
}

.assist__spoiler-content {
    display: none;
    margin-top: 10px;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
    font-size: 12px;
}

.assist__spoiler-content.is-open {
    display: block;
}

.assist__bottom-text {
    font-size: 12px;
    text-align: center;
}

.assist__bottom-text a {
    text-decoration: underline;
    transition: all 0.32s linear;
}

.assist__bottom-text a:hover {
    color: var(--primary);
}

.footer__wrap {
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.footer__privacy-policy,
.footer__copyright {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.67;
    text-decoration-line: underline;
}

.footer__privacy-policy {
    margin-left: auto;
}

input[name="tel-688"].phone-placeholder-active {
    color: #a9a9a9;
}

input[name="tel-688"] {
    color: #212121;
    transition: color 0.2s ease;
}

.text p {
    margin-bottom: 15px;
}

.hp-wrapper {
    display: none !important;
}

/* Основной контейнер баннера */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 850px;
    background-color: var(--page-bg);
    color: var(--text);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    font-family: "Montserrat", sans-serif;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
}

/* Контейнер для выравнивания текста и кнопки */
.cookie-banner__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Текст уведомления */
.cookie-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Кнопка согласия */
.cookie-banner__btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.32s linear;
}

.cookie-banner__btn:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Класс для скрытия баннера */
.cookie-banner.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 30px);
    pointer-events: none;
}

.quiz__wrap {
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
}

.quiz__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.quiz__links img {
    width: 46px;
    height: 46px;
}

.quiz__links a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.forminator-button-next,
.forminator-button-submit {
    background-color: #ea692c;
    color: #FFFFFF;
}

.forminator-button-back {
    background-color: #f6f6f6;
    color: #1b1d22;
}

.forminator-rating-item [class*=forminator-icon-]:before {
    color: #aaa;
}

.forminator-rating-item.forminator-rating-hover [class*=forminator-icon-]:before {
    color: #ea692c;
}

.forminator-rating-item.forminator-rating-selected [class*=forminator-icon-]:before {
    color: #ea692c;
}

.forminator-radio .forminator-radio-bullet {
    border-color: #777771;
    background-color: #EDEDED;
}

.forminator-radio input:checked+.forminator-radio-bullet {
    border-color: #ea692c;
    background-color: #EDEDED;
}

.forminator-radio .forminator-radio-bullet:before {
    background-color: #ea692c;
}


/* Основной контейнер баннера */
.info-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 400px;
    width: 100%;
    background-color: var(--page-bg);
    color: var(--text);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    font-family: "Montserrat", sans-serif;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Контейнер для выравнивания текста и кнопки */
.info-banner__content {
        padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
}

.info-banner__close {
    padding: 10px;
    position: absolute;
    top: 5px;
    right: 5px;
}

.info-banner__close svg {
    width: 20px;
    height: 20px;
}

.info-banner__text {
    text-align: center;
}

/* Класс для скрытия баннера */
.info-banner.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 30px);
    pointer-events: none;
}