:root {
    --container-width: 1920px;
    --container-s-width: 1410px;
    --container-padding: 15px;
    --page-bg: #FBF6ED;
    --text: #2A2722;
    --primary: #5F1E2B;
    --border: #C5C0B7;
    --white: #ffffff;
}

@font-face {
    font-family: "HeadingNow";
    font-display: swap;
    src: url("../fonts/HeadingNow.woff2") format("woff2"),
        url("../fonts/HeadingNow.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--text)
}

html,
body {

    display: flex;
    flex-direction: column;
    height: unset !important;
    background: var(--page-bg);
    height: 100%;
    margin: 0;
}

main {
    flex: 1;
}

body {
    font-family: Arial, 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: 150px 0;
    overflow: hidden;
}

.title {
    margin-bottom: 15px;
    font-family: "HeadingNow", sans-serif;
    font-size: 56px;
    font-style: normal;
    font-weight: 200;
    line-height: 1;
}

.subtitle {
    margin-bottom: 5px;
    font-family: "HeadingNow", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 200;
    line-height: 1;
}

.title-s {
    margin-bottom: 15px;
    font-family: "HeadingNow", sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 200;
    line-height: 1;
}

.logo {
    display: block;
    max-width: 210px;
    width: 100%;
    height: 57px;
}

.btn {
    padding: 20px 30px;
    height: 80px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.33;
    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%;
    height: 40px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.33;
    color: var(--text);
    appearance: textfield;
    background-color: var(--page-bg);
    border-bottom: 1px solid var(--border);
    outline: none;
    position: relative;
    text-overflow: ellipsis;
    z-index: 2;
}

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

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

.select2-container--default .select2-selection--single {
    background-color: var(--page-bg);
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0px;
}

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

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--page-bg);
    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.select2-container.select2-container--open .select2-selection__arrow {
    transform: rotate(180deg);
}

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

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(--border);
    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);
}
/* Первый блок */
.preview {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.preview-default {
    border-bottom: none;
}

.preview__wrap {
    display: grid;
    grid-template-columns: 920fr 1000fr;
}

.preview__content {
    padding: 0 40px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.preview .logo {
    margin-right: 76px;
    margin-top: 55px;
    margin-bottom: 74px;
}

.preview .title {
    margin-bottom: 25px;
    text-align: center;
}

.preview__subtitle {
    max-width: 620px;
    text-align: center;
}

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

.preview__bg-img {
    aspect-ratio: 936 / 481;
    max-width: calc(100% + 20px);
    height: 493px;
    position: absolute;
    bottom: 10px;
    right: 4px;
    z-index: 0;
    object-fit: cover;
}

.preview .btn-primary {
    margin-bottom: 40px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.preview__img {
    max-width: 1000px;
    height: 985px;
    aspect-ratio: 1000 / 980;
    position: relative;
    z-index: 1;
    object-fit: cover;
}

.location {
    border-bottom: 1px solid var(--border);
}

.location .title {
    margin-bottom: 40px;
}

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

.location__img {
    margin-bottom: 10px;
    height: 480px;
    object-fit: cover;
}

.location__item:nth-of-type(2) .location__img {
    height: 360px;
}

.location__title {
    margin-bottom: 10px;
    font-family: "HeadingNow", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.25;
}

.location__date-wrap {
    margin-bottom: 15px;
    font-family: "HeadingNow", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.67;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location__address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    line-height: 1.2;
}

.location__address svg {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
}

.assist {
    padding-bottom: 0;
}

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

.assist__text-wrap {
    margin-top: 30px;
    color: var(--white);
}

.assist__text-wrap .title {
    margin-bottom: 20px;
}

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

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

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

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

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

.assist__form-inner {
    display: flex;
    align-items: center;
    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(--border);
    border-bottom: 1px solid var(--border);
    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;
}