* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    list-style: none;
    font-family: var(--main-font-family);
    font-weight: 400;
    text-decoration: none;
    color: var(--text-color);
}

:root {
    --text-color: #111;
    --main-color: #c6a47e;
    --main-color-pale: #F2EDE3;
    --main-color-dark: #ba956b;
    --second-color: #7497b8;
    --second-color-dark: #6b8eae;
    --second-color-pale: #eef1f8;
    --grey-color: #A0A0A0;
    --grey-background-color: rgb(245, 245, 245);
    --grey-background-color-dark: rgb(235, 235, 235);
    --border-color: #C8D6E2;
    
    --main-font-family: 'Onest', sans-serif;
    --second-font-family: 'Vertino', sans-serif;

    --section-margin: 100px;
    --container: 1320px;
    --border-radius: 5px;
    --modal-width: 560px;

    --size-xs: 30px;
    --size-xs-s: 35px;
    --size-s: 40px;
    --size-m: 50px;
    --size-l: 60px;
    --size-xl: 70px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 10px;
}

*::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 10px;
    margin: 10px;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

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

a {
    cursor: pointer;
}

button {
    border: none;
    background-color: unset;
    cursor: pointer;
}

.text hr {
    width: 100%;
    height: 1px;
    border: none;
    background-color: rgb(208, 208, 208);
    margin: 15px 0;
}

.text p {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.text h2 {
    font-family: var(--second-font-family);
    font-size: 50px;
    font-weight: 400;
    margin: 20px 0 40px 0;
    display: inline-block;
    position: relative;
}

.text h2:after {
    content: "";
    bottom: -6px;
    height: 2px;
    position: absolute;
    left: 0;
    right: 0;
    background-color: var(--text-color);
}

.text h3 {
    font-family: var(--second-font-family);
    font-size: 40px;
    font-weight: 400;
    margin: 40px 0 20px 0;
}

.text h4 {
    font-family: var(--second-font-family);
    font-size: 32px;
    font-weight: 400;
    margin: 20px 0;
}

.text h5 {
    font-family: var(--second-font-family);
    font-size: 20px;
    font-weight: 400;
    margin: 20px 0;
}

.text b {
    color: var(--second-color);
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

.text strong {
    font-weight: 600;
}

.text small {
    font-weight: 300;
    font-size: inherit;
}

.text img {
    border-radius: var(--border-radius);
    max-width: 100%;
    height: auto;
}

.text i {
    font-style: italic;
}

.text u {
    text-decoration: underline;
}

.text a:not(.btn) {
    text-decoration: underline;
    font-weight: inherit;
    font-size: inherit;
    color: var(--main-color);
}

.text a:not(.btn):hover {
    text-decoration: none;
}

.text ul {
    margin: 0 0 15px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.text ul li {
    padding: 0 0 0 18px;
    position: relative;
    font-size: 16px;
    font-weight: 400;
}

.text ul li:before {
    content: "+";
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    position: absolute;
    border-radius: 50%;
    color: var(--main-color);
    left: 0;
    top: 0;
}

.text ol {
    margin: 0 0 15px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 0 0 18px;
}

.text ol li {
    position: relative;
    font-size: 16px;
    font-weight: 400;
    list-style-type: decimal;
}

.text *:first-child {
    margin-top: 0;
}

.text *:last-child {
    margin-bottom: 0;
}

.table {
    overflow-x: auto;
    box-shadow: 0 4px 47px 0 rgba(0, 0, 0, 0.06);
    background: #fff;
    border-radius: 10px;
}

.table table {
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    border: 1px solid white;
}

.table caption {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
    padding: 10px;
    background-color: var(--second-color);
    text-align: left;
}

.table th {
    letter-spacing: -0.02em;
    padding: 10px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    font-weight: 600;
    color: white;
    background-color: var(--main-color-dark);
}

.table td {
    border: 1px solid rgba(17, 17, 17, 0.1);
    letter-spacing: -0.02em;
    color: var(--grey-color);
    padding: 10px;
}

.table td b {
    color: var(--text-color);
    font-weight: inherit;
}

.table td mark {
    color: var(--green);
    font-weight: 600;
    background: transparent;
}

.text .table {
    margin: 0 0 20px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 5px 10px;
    transition-duration: .2s;
    font-weight: 400;
    font-size: 16px;
    border-radius: 0;
    min-height: var(--size);
}

.btn[disabled] {
    pointer-events: none;
    opacity: .3;
}

.btn:active {
    transform: scale(.95);
}

.btn.btn_xs {
    --size: var(--size-xs);
}

.btn.btn_s {
    --size: var(--size-s);
}

.btn.btn_m {
    --size: var(--size-m);
}

.btn.btn_l {
    --size: var(--size-l);
}

.btn.btn_xl {
    --size: var(--size-xl);
}

.btn.btn_xs img,
.btn.btn_xs svg {
    width: 15px;
}

.btn.btn_s img,
.btn.btn_s svg {
    width: 17px;
}

.btn.btn_m img,
.btn.btn_m svg {
    width: 20px;
}

.btn.btn_l img,
.btn.btn_l svg {
    width: 22px;
}

.btn.btn_xl img,
.btn.btn_xl svg {
    width: 25px;
}

.btn span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: inherit;
}

.btn:not(:has(span)) {
    min-width: var(--size);
    padding: 0;
}

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

.btn.btn_fill-main:hover {
    background-color: var(--main-color-dark);
}

.btn.btn_stroke-main {
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

.btn.btn_stroke-main:hover {
    color: white;
    background-color: var(--main-color);
}

.btn.btn_stroke-second {
    color: var(--second-color);
    border: 1px solid var(--second-color);
}

.btn.btn_stroke-second:hover {
    color: white;
    background-color: var(--second-color);
}

.btn.btn_white {
    background-color: white;
}

.btn.btn_white:hover {
    background-color: var(--grey-background-color);
}

.social {
    display: flex;
    gap: 10px;
}

.social__item {
    width: 30px;
    height: 30px;
    background-color: var(--main-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
    border-radius: 50%;
    transition-duration: .2s;
}

.social__item:hover {
    background-color: var(--main-color-dark);
}

.social__item.social__item_inst {
    background-image: url('../image/inst.svg');
}

.social__item.social__item_vk {
    background-image: url('../image/vk.svg');
}

.social__item.social__item_wa {
    background-image: url('../image/wa.svg');
}

.social__item.social__item_tg {
    background-image: url('../image/tg.svg');
}

.section {
    margin-bottom: var(--section-margin);
}

.section__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin: 0 0 50px 0;
}

.section__title {
    display: inline-block;
    font-weight: 400;
    font-size: 50px;
    font-family: var(--second-font-family);
    position: relative;
}

.section__title.section__title_underline:after {
    content: "";
    position: absolute;
    bottom: -6px;
    height: 2px;
    right: 0;
    left: 0;
    background-color: var(--main-color);
}

.section__title b {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    color: var(--second-color);
}

.section__text {
    --text-color: var(--grey-color);
}

.section__footer {
    margin: 60px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.section__footer .btn {
    min-width: 270px;
}

.dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dots.disabled {
    display: none;
}

.dots button {
    background-color: white;
    border: 1px solid var(--main-color);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition-duration: .2s;
}

.dots button:hover {
    border: 1px solid var(--main-color);
}

.dots button.active {
    pointer-events: none;
    background-color: var(--main-color-dark);
    border: 1px solid var(--main-color-dark);
}

.nav.disabled {
    display: none;
}

.nav span {
    display: none;
}

.nav button {
    background-color: var(--second-color);
    width: var(--size-s);
    height: var(--size-s);
    background-image: url('../image/arrow-long-up-white.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
    transition-duration: .2s;
}

.nav button:hover {
    background-color: var(--second-color-dark);
}

.nav button.disabled {
    pointer-events: none;
    opacity: .5;
}

.nav button.owl-prev {
    transform: rotate(-90deg);
}

.nav button.owl-next {
    transform: rotate(90deg);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form__field-item {
    width: 100%;
    position: relative;
}

.form__field-textarea {
    background: white;
    border: 1px solid color-mix(in srgb, var(--main-color), transparent 50%);
    width: 100%;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    transition-duration: .2s;
    min-height: 170px;
    max-width: 100%;
    max-height: 300px;
    border-radius: 0px;
}

.form__field-textarea.form__field-textarea_comment {
    padding: 10px 60px 10px 20px;
    background-image: url('../image/comment.svg');
    background-position: calc(100% - 20px) 15px;
    background-repeat: no-repeat;
    background-size: 14px;
}

.form__field-textarea:hover,
.form__field-textarea:focus,
.form__field-textarea:active {
    border: 1px solid var(--main-color);
}

.form__field-item.form__field-item_error .form__field-textarea {
    border: 1px solid red;
}

.form__field-textarea::placeholder {
    font-weight: 300;
    color: var(--grey-color);
}

.form__field-input-file__input {
    display: none;
}

.form__field-input-file {
    background-color: white;
    border: 1px dashed color-mix(in srgb, var(--main-color), transparent 50%);
    width: 100%;
    height: var(--size-m);
    padding: 10px 60px 10px 20px;
    background-image: url('../image/file.png');
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-size: 14px;
    transition-duration: .2s;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.form__field-input-file__label {
    font-weight: 400;
    font-size: 16px;
    color: var(--grey-color);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.form__field-input-file:hover {
    border: 1px dashed var(--main-color);
}

.form__field-input {
    background: white;
    border: 1px solid color-mix(in srgb, var(--main-color), transparent 50%);
    width: 100%;
    height: var(--size-m);
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    transition-duration: .2s;
    border-radius: 0px;
}

.form__field-input.form__field-input_man {
    padding: 10px 60px 10px 20px;
    background-image: url('../image/man.png');
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.form__field-input.form__field-input_phone {
    padding: 10px 60px 10px 20px;
    background-image: url('../image/phone.png');
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.form__field-input.form__field-input_email {
    padding: 10px 60px 10px 20px;
    background-image: url('../image/email.svg');
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.form__field-input.form__field-input_address {
    padding: 10px 60px 10px 20px;
    background-image: url('../image/address.svg');
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.form__field-input:hover,
.form__field-input:focus,
.form__field-input:active {
    border: 1px solid var(--main-color);
}

.form__field-item.form__field-item_error .form__field-input {
    border: 1px solid red;
}

.form__field-input::placeholder {
    font-weight: 300;
    color: var(--grey-color);
}

.form__field-error {
    display: none;
    color: red;
    font-size: 12px;
    transition-duration: .2s;
}

.form__field-item.form__field-item_error .form__field-error {
    display: block;
}

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

.form__button-item {
    width: 100%;
}

.form__policy {
    font-size: 14px;
    font-weight: 400;
    color: var(--grey-color);
}

.form__policy a {
    color: inherit;
    text-decoration: underline;
}

.form__policy a:hover {
    color: var(--main-color);
}

.overlay {
    position: fixed;
    z-index: 30;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition-duration: .4s;
}

.overlay.overlay_active {
    opacity: 1;
    visibility: visible;
}

.close {
    width: 30px;
    height: 30px;
    background-image: url('../image/close.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    transition-duration: .2s;
}

.close.close_white {
    background-image: url('../image/close-white.svg');
}

.close:hover {
    transform: scale(1.05);
}

.close:active {
    transform: scale(.95);
}

.go-up {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    background-color: var(--main-color);
    transition-duration: .2s;
    background-image: url('../image/arrow-long-up-white.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px;   
    opacity: .7;
}

.go-up:hover {
    background-color: var(--main-color-dark);
    opacity: 1;
}

.title {
    margin: 0 0 60px 0;
}

.title h1 {
    font-family: var(--second-font-family);
    font-weight: 400;
    font-size: 50px;
    display: inline-flex;
    position: relative;
}

.title h1:after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--main-color);
}

.breadcrumb {
    margin: 40px 0;
}

.breadcrumb__wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    position: relative;
}

.breadcrumb__item {
    font-weight: 400;
    font-size: 14px;
    transition-duration: .2s;
    color: var(--grey-color);
}

span.breadcrumb__item {
    color: var(--second-color);
}

a.breadcrumb__item:hover {
    color: var(--second-color);
}

.fancybox-button svg path {
    fill: white;
}

.fancybox-container * {
    color: white;
}

.text-block {
    background-image: url('../image/content.png');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.text-block .text {
    max-width: 980px;
}

.text-block.text-block_v2 {
    position: relative;
    overflow: hidden;
    background-color: var(--second-color);
    background-image: url('../image/content-2.png');
}

.text-block.text-block_v2 .container {
    padding: 40px 0 40px 40px;
    --text-color: white;
}

.text-block.text-block_v2:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(100% - ((100% - var(--container)) / 2));
    width: 1000px;
    background-color: white;
}

.text-block.text-block.text-block_v2 ul li:before {
    color: white;
}