html {
    color: #3b3a39;
    font-size: 1rem;
    line-height: 1.5;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: 120px;
}

html:focus-within {
    scroll-behavior: smooth;
}
/*	Если делать фикс шапку через pos: sticky, то нужно задавать min-height 100vh.
	Высота нужна, если нам нужно на ПК прибить книзу footer с помощью flex для коротких стр. */
html, body {
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

main {
    flex: 1;
    overflow-x: hidden;
}

::-moz-selection {
    color: #fff;
    background: #999;
    text-shadow: none;
}

::selection {
    color: #fff;
    background: #999;
    text-shadow: none;
}

hr {
    border: 0;
    border-top: 1px solid #e0d3ce;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: auto;
    display: none;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body, input, textarea {
    background-color: #fff;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body {
    background-color: #f0ebe5;
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
    overscroll-behavior-y: contain;
}

button, input, textarea {
    color: inherit;
    border: 0;
    border-radius: 0;
    background-color: transparent;
}

button:not(:disabled),
label,
[role="button"],
[role="link"],
[class*="btn"] {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea,
button,
button:focus {
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (max-width:576px) {
    select,
    textarea,
    input {
        font-size: 16px !important;
    }
}

:invalid {
    box-shadow: none;
}

select {outline: none;}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm,
[class*="mx-"] {
    --bs-gutter-x: 2.5rem;
}

h1, .h1, h2, .h2, h3, .h3 {
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    line-height: 1.2;
}

h1,
.h1 {
    font-size: 2.25rem;
}

h1 div,
.h1 div {
    font-size: 1.5rem;
}

h2,
.h2 {
    font-size: 1.875rem;
}

h2 div,
.h2 div {
    font-size: 1.5rem;
}

h3,
.h3 {
    font-size: 1.25rem;
}

@media (min-width: 576px) {
    h1,
    .h1	{
        font-size: 2.375rem;
    }
    h2,
    .h2 {
        font-size: 2rem;
    }
    h3,
    .h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) {
    h1,
    .h1 {
        font-size: 3.75rem;
    }

    h2,
    .h2 {
        font-size: 3rem;
    }

    h1 div,
    .h1 div,
    h2 div,
    .h2 div {
        font-size: 2rem;
    }
}

.small, small {
    font-size: 80%;
}

a, img, button, input, textarea, svg, [class*="btn"], [role="link"], .p-link, .o-hover, .dropdown-menu, .dropdown-ico, .dropdown-item {
    -webkit-transition: all .15s ease;
    -moz-transition: all .15s ease;
    transition: all .15s ease;
}

a {
    color: var(--link-color, #7a89b9);
    text-decoration: underline;
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
}

.scroller {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    user-select: none;
}

@media (min-width: 576px) {
    .scroller-sm {
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        user-select: none;
    }
}

@media (min-width: 768px) {
    .scroller-md {
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        user-select: none;
    }
}

.scroller::-webkit-scrollbar,
.scroller-sm::-webkit-scrollbar,
.scroller-md::-webkit-scrollbar {
    display: none;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.p-link {
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: .14em;
    text-decoration-thickness: 1px;
}

.more-link {
    font-size: 1.125rem;
    font-family: "Literata", serif;
    font-weight: 500;
}

@media (min-width: 992px) {
    .more-link {
        font-size: 1.25rem;
    }
}

.u-line {
    text-decoration: underline;
    text-underline-offset: .14em;
    text-decoration-thickness: 1px;
}

.no-u-line {
    text-decoration: none;
}

.s-line {
    text-decoration: line-through;
}

.stretched-link::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
}

.hr-dashed {
    border-top: 1px dashed #b5b5b5;
}

.hr-dotted {
    border-top: 1px dotted #b5b5b5;
}

[class*="border"] {
    --border-color: #ddd;
}

.border,
.border-y,
.border-top {
    border-top: 1px solid var(--border-color);
}

.border,
.border-y,
.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

.border,
.border-x,
.border-left {
    border-left: 1px solid var(--border-color);
}

.border,
.border-x,
.border-right {
    border-right: 1px solid var(--border-color);
}

.radius-1 {
    border-radius: 8px;
}

.radius-2 {
    border-radius: 16px;
}

.object-fit {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.gap-1 {
    gap: .25rem;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 3rem;
}

.c-black {
    color: #3b3a39;
}

.c-white {
    color: #fff;
}

.c-brown {
    color: #86736f;
}

.c-brown-light {
    color: #e0d3ce;
}

.c-gray {
    color: #747474;
}

.c-blue-dark {
    color: #3e4c5b;
}

.c-blue-light {
    color: #89b8ff;
}

.bg-white {
    background-color: #fff;
}

.text-crop-1 {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-crop-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-crop-3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-crop-4 {
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.font-1 {
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
}

.font-2 {
    font-family: "Literata", serif;
    font-style: normal;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fs-22 {
    font-size: 22px;
}

.fs-24 {
    font-size: 24px;
}

.fs-26 {
    font-size: 26px;
}

.fs-28 {
    font-size: 28px;
}

.fs-30 {
    font-size: 30px;
}

.fw-200 {
    font-weight: 200;
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

b,
strong,
.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.lh-1 {
    line-height: 1;
}

.lh-1_2 {
    line-height: 1.2;
}

.lh-1_5 {
    line-height: 1.5;
}

.o-10 {
    opacity: .1;
}

.o-15 {
    opacity: .15;
}

.o-25 {
    opacity: .25;
}

.o-5 {
    opacity: .5;
}

.o-75 {
    opacity: .75;
}

.o-8 {
    opacity: .8;
}

@media (max-width: 575px) {
    .mx-n20 {
        margin-left: calc(-.5 * var(--bs-gutter-x));
        margin-right: calc(-.5 * var(--bs-gutter-x));
    }
    .tac-sm {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .mx-md-n20 {
        margin-left: calc(-.5 * var(--bs-gutter-x));
        margin-right: calc(-.5 * var(--bs-gutter-x));
    }
    .tac-md {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .tac-lg {
        text-align: center;
    }
}

.mh-360 {
    min-height: 360px;
}

.mw-360 {
    max-width: 360px;
}

.mw-400 {
    max-width: 400px;
}

.mw-440 {
    max-width: 440px;
}

.mw-540 {
    max-width: 540px;
}

.mw-600 {
    max-width: 600px;
}

.mw-800 {
    max-width: 800px;
}

/* кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--btn-color, #000);
    background-color: var(--btn-bg, transparent);
    line-height: normal;
    vertical-align: middle;
    white-space: nowrap;
    z-index: 1;
    transition: color .15s ease-in-out,
    background-color .15s ease-in-out,
    border-color .15s ease-in-out,
    box-shadow .15s ease-in-out,
    opacity .15s ease-in-out;

    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

.btn-disabled,
.btn:disabled {
    cursor: default;
    opacity: .5;
    pointer-events: none;
}

.btn-primary {
    --btn-color: #fff;
    --btn-bg: #89b8ff;
    --btn-hover-bg: #6398e8;
    font-size: 1.375rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 16px 34px 16px;
}

.btn-100,
.btn-m100 {
    width: 100%;
}

@media (min-width: 576px) {
    .btn-m100 {
        width: auto;
    }
}

/* hovers */
@media (any-hover: hover) {
    a:not(.btn):hover {
        color: var(--link-color-hover);
    }

    a.c-black:hover {
        --link-color-hover: #7a89b9;
    }

    .o-hover:hover {
        opacity: .6;
    }

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

/* элементы формы */
::placeholder {
    color: #86736f;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-inline {
    display: inline-flex;
    align-items: center;
    padding-left: 0;
    margin-right: .75rem;
}

.form-check-input {
    padding: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    z-index: 100;
    width: 16px;
    height: 16px;
    border: none;
    left: 0;
    top: 7px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.form-check-label .radio {
    display: inline-block;
    border: 1px solid #222;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border-radius: 50%;
    -webkit-transform: translateY(15%);
    transform: translateY(15%);
}

.form-check-label [type='radio']:checked + span {
    -webkit-box-shadow: inset 0 0 0 4px #fff,inset 0 0 0 10px #222;
    box-shadow: inset 0 0 0 4px #fff,inset 0 0 0 10px #222;
}

.form-check-label .checkbox {
    display: inline-block;
    border: 1px solid #222;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    -webkit-transform: translateY(15%);
    transform: translateY(15%);
}

.form-check-label [type='checkbox']:checked + span::after {
    content: "";
    position: absolute;
    display: block;
    width: 5px;
    height: 10px;
    border-bottom: 2px solid #222;
    border-right: 2px solid #222;
    top: 0;
    left: 4px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.form-control {
    color: #86736f;
    background-color: #fff;
    background-clip: padding-box;
    display: block;
    width: 100%;
    padding: .625rem 1rem;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    height: 50px;
    border-radius: .5rem;
    transition: background-color .15s ease-in-out,
    border-color .15s ease-in-out,
    box-shadow .15s ease-in-out;
}

@media (min-width: 992px) {
    .form-control {
        font-size: 1.125rem;
    }
}

.form-control:focus,
.form-group:focus-within .form-control,
.form-control.input-filled {
    background-color: #fff;
}

textarea.form-control {
    height: auto;
}

.form-control:focus + .placeholder,
    /* .form-control:valid + .placeholder, */
.form-control.input-filled + .placeholder {
    top: -12px;
    font-size: 12px;
    opacity: .75;
}

.placeholder {
    position: absolute;
    left: 0;
    top: 7px;
    color: #888;
    pointer-events: none;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.input-error,
.input-error:focus,
.form-error .form-control:invalid{
    background-color: #f1d6d6;
}

.error-msg {
    color: #dd6565;
    font-size: 13px;
    font-weight: 400;
    margin-top: 6px;
    animation: hintShow .15s ease-in forwards;
}

@keyframes hintShow {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ul-columns {
    margin: -5px 0;
}

.ul-columns li {
    padding: 5px 0;
}

@media (min-width: 576px) {
    .ul-columns {
        columns: 2
    }
}

@media (min-width: 768px) {
    .ul-columns {
        columns: 3
    }
}

@media (min-width: 992px) {
    .ul-columns {
        columns: 4
    }
}
/* ------------------------------------------------ */

/* -- Шапка -- */
.header {
    background-color: #3e4c5b;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header .logo svg {
    width: 42px;
}

.header .header-inner {
    background-color: #3e4c5b;
    margin-left: calc(var(--bs-gutter-x)* -.5);
    margin-right: calc(var(--bs-gutter-x)* -.5);
    padding: 10px calc(var(--bs-gutter-x)* .5);
    position: relative;
    transition: padding .35s ease;
}

.header .header-menu {
    gap: 20px;
}

.header a {
    --link-color: #fff;
    --link-color-hover: #e0d3ce;
}

.header .header-menu .active,
.footer .footer-menu .menu-list .active {
    --link-color: #e0d3ce;
}

.phone .ico {
    color: #d5a49f;
}

/* кнопка меню */
.header-hamburger {
    display: block;
    background-color: transparent;
    width: 24px;
    height: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 666;
}

.header-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #e0d3ce;
    border-radius: 10px;
    position: absolute;
    left: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.header-hamburger span:first-child {
    top: 2px;
}

.header-hamburger span:nth-child(2) {
    top: 9px;
}

.header-hamburger span:last-child {
    top: 16px;
    width: 70%;
}

.header-hamburger.open span:first-child {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 10px;
}

.header-hamburger.open span:last-child {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    top: 10px;
    width: 100%;
}

.header-hamburger.open span:nth-child(2) {
    opacity: 0;
}

@media (any-hover: hover) {
    .header a:hover,
    .footer .footer-menu .menu-list a:hover {
        --link-color: #e0d3ce;
    }

    .header .header-menu .more:hover > a::after {
        transform: rotate(180deg);
    }

    .header .header-menu .more:hover ul.dn {
        display: block;
    }

    /* .header .header-menu .more > a + ul.dn a:hover { */
    /* background-color: #fbfaf6; */
    /* } */

    .header .header-menu .more > a + ul.dn a:hover::after,
    .footer .footer-menu .menu-list a:hover::after {
        color: #ff9e45;
    }
}

@media (min-width: 576px) {
    .header .logo svg {
        width: 222px;
    }
}

@media (min-width: 992px) {
    .header .header-inner {
        padding-top: 17px;
        padding-bottom: 17px;
    }

    .header.js-sticky .header-inner {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header .header-menu > li > .menu-item {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .header .header-menu .more > .menu-item::after {
        content: "\f107";
        display: inline-block;
        font-family: "Font Awesome 6 Free";
        font-size: 75%;
        font-weight: 900;
        margin-left: 6px;
        transition: all .15s ease-in-out;
    }

    .header .header-menu .more > .menu-item + ul.dn {
        background-color: rgba(62,76,91, .9);
        position: absolute;
        top: 100%;
        right: -6px;
        min-width: 200px;
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: right;
        overflow: hidden;
        animation: fadeInSub ease .25s;
    }

    .header .header-menu .more > .menu-item + ul.dn a {
        display: block;
        font-size: .875rem;
        padding: 5px 25px;
    }

    @keyframes fadeInSub {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

@media (min-width: 1200px) {
    .header .header-menu {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .header .header-bottom {
        position: absolute;
        background-color: #3e4c5b;
        box-shadow: 0 -80px 0 #3e4c5b;
        width: 90%;
        height: 100vh;
        text-align: right;
        top: 100%;
        right: 0;
        padding: 20px 10px 160px;
        z-index: 555;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        pointer-events: none;

        -webkit-overflow-scrolling: touch;
        transition: all .2s ease-in-out;
    }

    .open-menu {
        overflow: hidden;
        /* position: fixed; */
        max-width: 100%;
        width: 100%;
    }

    .open-menu .header .header-bottom {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    /* меню */
    .header .header-menu li.more > .menu-item span {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 44px;
        z-index: 100;
    }

    .header .header-menu li.more > .menu-item span::after {
        content: "\f107";
        display: inline-block;
        font-family: "Font Awesome 6 Free";
        font-size: 85%;
        font-weight: 900;
        transition: all .15s ease-in-out;
    }

    .header .header-menu li.more > .active span::after {
        transform: rotate(180deg);
    }

    .header .header-bottom ul > li .menu-item {
        display: block;
        padding-left: 10px;
        padding-right: 10px;
    }

    .header .header-menu > li > .menu-item {
        font-size: 1.25rem;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .header .header-menu li.more {
        margin-bottom: 12px;
    }

    .header .header-menu li.more > .menu-item {
        position: relative;
        padding-right: 40px;
    }

    .header .header-menu li.more > ul {
        display: block;
        max-height: 0;
        visibility: hidden;
        opacity: 0;
        transition: all .3s ease;
    }

    .header .header-menu li.more::before,
    .header .header-menu li.more::after {
        content: "";
        border-top: 1px solid #86736f;
        position: absolute;
        width: 70%;
        right: 15px;
    }

    .header .header-menu li.more > a::before {
        top: 0;
    }

    .header .header-menu li.more > a::after {
        bottom: 0;
    }

    /* .header .header-menu li.more > ul.dn > li:first-child { */
    /* margin-top: -7px; */
    /* } */

    .header .header-menu li.more > ul.dn > li:last-child {
        padding-bottom: 7px;
    }

    .header .header-menu li.more > ul.dn > li a {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .header .header-menu li.more > ul.dn ul {
        padding-left: 10px;
    }

    .header .header-menu .phone {
        font-weight: 600;
    }

    .header .header-menu .logo img {
        width: 160px;
        margin-top: 40px;
    }

    /* menu show */
    .header .header-menu li.more .active + ul {
        display: block;
        max-height: 100rem;
        visibility: visible;
        opacity: 1;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0, .35);
        z-index: 550;
        visibility: hidden;
        opacity: 0;
    }

    .menu-overlay.show {
        visibility: visible;
        opacity: 1;

        -webkit-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
    }
}

section {
    color: var(--section-color);
    background: var(--section-bg);
}

.section-py-1 {
    padding-top: 45px;
    padding-bottom: 60px;
}

.section-py-2 {
    padding-top: 60px;
    padding-bottom: 75px;
}

.section-title {
    line-height: 1;
    margin-bottom: 30px;
}

.section-title div:not([class]),
.section-title span:not([class]) {
    color: #86736f;
}

@media (min-width: 768px) {
    .section-py-1 {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .section-py-2 {
        padding-top: 80px;
        padding-bottom: 100px;
    }
}

@media (min-width: 992px) {
    .section-title {
        margin-bottom: 40px;
    }
}

/* -- Главная -- */
/* Первый экран */
.main-hero {
    padding-top: 90px;
}

.main-hero .description {
    font-size: .875rem;
}

@media (min-width: 768px) {
    .main-hero .description {
        font-size: 1.125rem;
    }
}

@media (min-width: 992px) {
    .main-hero {
        background: url("../img/bg-rfmap.png") no-repeat center bottom -150px;
        background-size: auto;
        padding-top: 60px;
    }
}

/* Меняйтесь к лучшему */
.benefits {
    --section-bg: #fff;
}

.benefits .benefits-item .title {
    font-size: 1.5rem;
}

.benefits .benefits-item .description {
    font-size: .875rem;
}

/* [слайдер] */
.benefits .benefits-slider .f-carousel__slide {
    --f-carousel-slide-width: 95%;
    --f-carousel-spacing: 20px;
    border: 2px solid #f0ebe5;
}

.benefits .benefits-slider .f-carousel__slide:nth-child(even) {
    background-color: #f0ebe5;
}

@media (min-width: 576px) {
    .benefits .benefits-slider .f-carousel__slide {
        --f-carousel-slide-width: 60%;
    }
}

@media (min-width: 768px) {
    .benefits .benefits-slider .f-carousel__slide {
        --f-carousel-spacing: 20px;
        --f-carousel-slides-per-page: 1.5;
        --f-carousel-slide-width: calc((100% - ((var(--f-carousel-slides-per-page) - 1) * var(--f-carousel-spacing))) / var(--f-carousel-slides-per-page));
    }

    .benefits .benefits-item .title {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .benefits .benefits-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 3.1;
    }
}

@media (min-width: 1400px) {
    .benefits .benefits-slider .f-carousel__slide {
        --f-carousel-spacing: 40px;
        --f-carousel-slides-per-page: 2.6;
    }
}

/* Наши принципы */
.our-principles {
    --section-color: #fff;
    --section-bg: #3e4c5b;
}

.our-principles p + p {
    margin-top: 15px;
}

@media (min-width: 992px) {
    .our-principles .image {
        border-radius: 16px;
    }

    .our-principles p {
        font-size: 1.25rem;
    }

    .our-principles p + p {
        margin-top: 20px;
    }
}

/* Эстетические проблемы */
/* [слайдер] */
.esthetic-problems .f-carousel__viewport {
    overflow: visible;
}

.esthetic-problems .esthetic-slider .f-carousel__slide {
    --f-carousel-slide-width: 95%;
    --f-carousel-spacing: 20px;
}

.esthetic-problems .esthetic-item .title {
    font-size: 1.5rem;
}

.esthetic-problems .esthetic-item .description {
    font-size: 1.125rem;
}

@media (min-width: 576px) {
    .esthetic-problems .esthetic-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 2;
        --f-carousel-slide-width: calc((100% - ((var(--f-carousel-slides-per-page) - 1) * var(--f-carousel-spacing))) / var(--f-carousel-slides-per-page));
    }
}

@media (min-width: 768px) {
    .esthetic-problems .esthetic-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 2.1;
    }
}

@media (min-width: 992px) {
    .esthetic-problems .section-description {
        font-size: 1.125rem;
    }

    .esthetic-problems .esthetic-item .title {
        font-size: 2rem;
    }

    .esthetic-problems .esthetic-item .description {
        font-size: 1.25rem;
    }
}

/* времянка (перебивка фанси классов, класс нужно вырезать из dom при смене ширины экрана) */
@media (min-width: 992px) {
    .esthetic-problems .esthetic-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 0;
        --f-carousel-spacing: 0;
        --f-carousel-slide-width: 50%;
        --f-carousel-slide-padding: 0 calc(var(--bs-gutter-x) * .5);
        margin-top: var(--bs-gutter-y);
    }
}

/* процедура Morpheus 8 */
.procedure-morpheus {
    --section-bg: linear-gradient(96.05deg, #c4ceff 0%, #ccfff3 100%), linear-gradient(0deg, #f4e3dd, #f4e3dd);
}

.procedure-morpheus .badge-sale {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(../img/badge.svg) no-repeat 0 0 / contain;
    width: 175px;
    height: 125px;
}

.procedure-morpheus .badge-sale .price-sale + div {
    margin: 0 10px;
}

.procedure-morpheus .badge-sale .price-sale {
    font-size: 1.5rem;
}

.procedure-morpheus .badge-sale .price-sale span {
    font-size: 75%;
}

.procedure-morpheus .price {
    font-size: 1.875rem;
}

.procedure-morpheus .price span {
    font-size: 80%;
}

@media (min-width: 768px) {
    .procedure-morpheus .badge-sale .price-sale {
        font-size: 2rem;
    }

    .procedure-morpheus .price {
        font-size: 3rem;
    }

    .procedure-morpheus .price span {
        font-size: 70%;
    }
}

/* Вопросы и ответы */
.specialists .content .font-2 {
    font-size: 1.125rem;
}

@media (min-width: 992px) {
    .specialists .content .font-2 {
        font-size: 1.25rem;
    }

    .specialists .content .font-2 + div {
        font-size: 1.125rem;
    }
}

/* Вопросы и ответы */
.faq-accordion .btn-collapse {
    line-height: 1.25;
}

.faq-accordion .btn-collapse::before {
    content: "\f107";
    color: #86736f;
    display: inline-block;
    position: relative;
    font-family: "Font Awesome 6 Free";
    font-size: 85%;
    font-weight: 900;
    margin-left: 10px;
    margin-right: 10px;
    transition: all .15s ease-in-out;
}

.faq-accordion .btn-collapse.active::before {
    transform: rotate(-90deg);
}

.faq-accordion .btn-collapse.active {
    font-weight: 600;
}

.faq-accordion .collapse-content {
    font-size: .875rem;
}

@media (min-width: 992px) {
    .faq-accordion .btn-collapse {
        font-size: 1.375rem;
    }

    .faq-accordion .collapse-content {
        font-size: 1rem;
    }
}

/* Блог */
.blog {
    --section-bg: #f7f5f1;
}

/* .blog .blog-item { */
/* min-height: 300px; */
/* max-height: 400px; */
/* } */

.blog .blog-item .title {
    font-size: 1.125rem;
}

/* [слайдер] */
.blog .blog-slider .f-carousel__slide {
    --f-carousel-slide-width: 90%;
    --f-carousel-spacing: 20px;
}

@media (min-width: 768px) {
    .blog .blog-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 2;
        --f-carousel-spacing: 24px;
        --f-carousel-slide-width: calc((100% - ((var(--f-carousel-slides-per-page) - 1) * var(--f-carousel-spacing))) / var(--f-carousel-slides-per-page));
    }
}

@media (min-width: 992px) {
    .blog .blog-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 0;
        --f-carousel-spacing: 0;
        --f-carousel-slide-width: 33.33333333%;
        --f-carousel-slide-padding: 0 calc(var(--bs-gutter-x) * .5);
        margin-top: var(--bs-gutter-y);
    }

    .blog .blog-item .title {
        font-size: 1.25rem;
    }
}


/* Отзывы о колл-центре */
.reviews .reviews-item .item-wrap {
    margin-top: -100px;
}

.reviews .reviews-item .ava {
    max-width: 155px;
}

.reviews .reviews-item .ava .photo {
    border-radius: 50%;
    box-shadow: 0 0 0 8px #f8f7fc;
}

.reviews .reviews-item .ava::before {
    content: url("data:image/svg+xml,%3Csvg width='31' height='31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30.017 20.943c.636-1.694.983-3.528.983-5.443C31 6.94 24.06 0 15.5 0 6.94 0 0 6.94 0 15.5 0 24.06 6.94 31 15.5 31c1.938 0 3.794-.356 5.504-1.006L21 30c1.667-.5 5.7-1.1 8.5.5 1.597.913 1.424.367.954-1.113-.56-1.763-1.541-4.854-.454-8.387l.017-.057Z' fill='url(%23a)'/%3E%3Cpath d='m13.612 9.88-.968 5.368h1.76v5.94h-5.94V15.16l1.584-5.28h3.564Zm8.272 0-.968 5.368h1.76v5.94h-5.94V15.16l1.584-5.28h3.564Z' fill='%23fff'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='15.5' y1='0' x2='15.5' y2='31' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%234970F8'/%3E%3Cstop offset='1' stop-color='%237D42FB'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    top: 5%;
    left: 0;
}

.reviews .reviews-item .text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    min-height: 125px;
    max-height: 125px;
    overflow: hidden;
    transition: all .5s ease-out;
}

.reviews .reviews-item .text.opened {
    -webkit-line-clamp: 100;
    max-height: 100vh;
}

/* [слайдер] */
.reviews .reviews-slider .f-carousel__slide {
    --f-carousel-slide-width: 100%;
    --f-carousel-spacing: 20px;
    margin-top: 76px;
}

@media (min-width: 576px) {
    .reviews .reviews-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 2;
        --f-carousel-spacing: 24px;
        --f-carousel-slide-width: calc((100% - ((var(--f-carousel-slides-per-page) - 1) * var(--f-carousel-spacing))) / var(--f-carousel-slides-per-page));
    }

    .reviews .reviews-item .author {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .reviews .reviews-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 2.1;
    }
}

/* Баннер-врезки, блоки сообщений */
.banner-reviews {
    background: #fff url(../img/bg-banner-1.png) no-repeat center bottom -20px / 300px;
    min-height: 300px;
}

.banner-case {
    background: #fff url(../img/bg-banner-2.png) no-repeat right -20px bottom -40px / 240px;
    min-height: 260px;
}

.banner-projects {
    background: #fff url(../img/bg-logo-wm.svg) no-repeat center bottom -30px / 240px;
    min-height: 260px;
}

.banner-reviews .text,
.banner-case .text,
.banner-projects .text {
    font-size: .875rem;
}

@media (min-width: 576px) {
    .banner-reviews {
        background-position: right bottom -20px;
        background-size: auto;
    }

    .banner-case {
        background-position: right -20px bottom -40px;
        background-size: auto;
    }

    .banner-projects {
        background-position: right -20px bottom -40px;
        background-size: auto;
    }

    .banner-reviews .text,
    .banner-case .text,
    .banner-projects .text {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .banner-reviews {
        background-position: right -10px center;
        min-height: auto;
    }

    .banner-case {
        background-position: right -20px center;
        min-height: auto;
    }

    .banner-projects {
        background-position: right -35px top 20px;
        min-height: auto;
    }
}

/* глобальные [табы] */
.scroller.tabs {
    white-space: wrap;
}

.tab-pane + .tab-pane {
    display: none;
}

/* Общие настройки слайдера */
.f-carousel {
    --f-carousel-dots-height: 0;
}

.f-carousel__dots {
    --f-carousel-dot-color: #ddd;
    --f-carousel-dot-opacity: 1;
    --f-carousel-dot-hover-opacity: .65;
    --f-carousel-dot-width: 100%;
    --f-carousel-dots-width: 40px;
    --f-carousel-dots-height: 4px;
    --f-carousel-dot-height: 4px;
    --f-carousel-dot-radius: 12px;
    gap: 20px;
    position: static;
    padding-top: 30px;
}

.f-carousel__dots li.is-current .f-carousel__dot {
    background-color: #d5a49f;
}

@media (min-width: 992px) {
    .f-carousel__dots {
        padding-top: 40px;
    }

    .dots-left .f-carousel__dots {
        justify-content: normal;
    }
}

/* -- Блог (каталог и статья) -- */
.blog-categories li {
    line-height: 1.75;
}

.blog-infobar {
    font-size: .75rem;
}

.blog-page .cover img  {
    min-height: 320px;
}

.blog-page .cover::after {
    content: "";
    position: absolute;
    background: linear-gradient(transparent 60%, rgba(0,0,0,.5) 100%);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.blog-page .cover .title {
    left: 0;
    bottom: 0;
    z-index: 2;
}

@media (min-width: 768px) {
    .blog-infobar {
        font-size: .875rem;
    }

    .blog-page .page-text {
        border-radius: 20px;
        box-shadow: 0 4px 24px rgba(213, 207, 246, .25);
    }

    .blog-page .cover img {
        max-height: 360px;
    }
}

/* Оформление текстового контента стр. и блога */
.page-text :not(h2, h3, h4, .c-white) {
    color: #313131;
}

.page-text h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.page-text h3 {
    font-size: 1.125rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.page-text h2:not(:first-child) {
    margin-top: 2rem;
}

.page-text h2:not(:first-child) + h2,
.page-text h3 + h2:not(:first-child) {
    margin-top: 0;
}

.page-text h3:not(:first-child) {
    margin-top: 1rem;
}

.page-text p {
    font-size: .875rem;
    line-height: 1.75;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.page-text ul,
.page-text ol {
    font-size: .75rem;
    line-height: 1.75;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.page-text p:not(:last-child),
.page-text ul:not(:last-child),
.page-text ol:not(:last-child),
.page-text li:not(:last-child),
.page-text > img:not(:last-child) {
    margin-bottom: 1rem;
}

.page-text ul:not(:last-child):has(+ h2),
.page-text ol:not(:last-child):has(+ h2) {
    margin-bottom: 0;
}

.page-text p:empty {
    min-height: 0;
    margin: 0;
    padding: 0
}

.page-text li ul {
    margin-top: 1rem;
}

.page-text:not(.sitemap) ul:not(.ul-styled-positive),
.page-text:not(.sitemap) ol {
    display: inline-block;
}

.page-text ul:not([class]) li {
    position: relative;
    padding-left: 32px;
}

.page-text ul:not([class]) li::before {
    content: "";
    position: absolute;
    border: 2px solid #5237df;
    border-radius: 50%;
    width: 9px;
    height: 9px;
    left: 10px;
    top: 6px;
}

.page-text ol {
    counter-reset: myCounter;
}

.page-text ol li {
    position: relative;
    padding-left: 32px;
}

.page-text ol li::before {
    --marker-size: 24px;
    counter-increment: myCounter;
    content: counter(myCounter) ".";
    position: absolute;
    color: #000;
    background: #f2f2f2;
    font-size: 12px;
    font-weight: 700;
    line-height: var(--marker-size);
    text-align: center;
    width: var(--marker-size);
    height: var(--marker-size);
    border-radius: 6px;
    left: 0;
    top: 0;
}

.page-text .ul-styled-positive > li {
    background-color: #f1f9f0;
    border-radius: 10px;
    padding: 10px;
    padding-left: 46px;
}

.page-text .ul-styled-positive > li::before {
    position: absolute;
    content: url(../img/ico-check.svg);
    margin-left: -34px;
}

.page-text .ul-styled-negative > li {
    border-radius: 10px;
    padding-left: 35px;
}

.page-text .ul-styled-negative > li::before {
    position: absolute;
    content: url(../img/ico-cancel.svg);
    margin-left: -35px;
}

.page-text .ul-styled-steps {
    counter-reset: myCounter2;
}

.page-text .ul-styled-steps h3 {
    font-size: 22px;
    line-height: 1.2;
}

.page-text .ul-styled-steps h3::before {
    --marker-size: 42px;
    counter-increment: myCounter2;
    content: counter(myCounter2);
    display: block;
    background: linear-gradient(160deg, #f7e7fd 0%, #fff4ed 100%);
    border-radius: 50%;
    font-size: 14px;
    line-height: var(--marker-size);
    text-align: center;
    width: var(--marker-size);
    height: var(--marker-size);
    margin-bottom: 12px;
}

.page-text .ul-styled-steps > li {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 24px 35px;
    margin-bottom: 24px;
}

.page-text .ul-styled-steps > li p {
    color: #8e8e8e;
    margin-top: 12px;
}

.page-text:not(.sitemap) a {
    color: #aa7d68;
    text-decoration: underline;
    text-underline-offset: 0.14em;
    text-decoration-thickness: 1px;
}

.page-text blockquote {
    position: relative;
    background: linear-gradient(180deg, #f7e7fd 0%, #fff4ed 100%);
    border-radius: 10px;
    font-size: 20px;
    text-align: center;
    padding: 40px 20px;
    margin: 24px 0;
}

.page-text blockquote::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border: 1px solid #fff;
    border-radius: 6px;
}

.page-text img {
    width: 100%;
    border-radius: 10px;
}

.pagination a,
.pagination .current {
    padding: 10px 15px;
    border-radius: 5px;
}

.pagination .current {
    background: linear-gradient(#f8b049 0%, #fb8843 100%);
}

@media (any-hover: hover) {
    .page-text:not(.sitemap) a:hover {
        color: #584a44;
    }

    .pagination a:hover {
        color: #fff;
        background: linear-gradient(#f8b049 0%, #fb8843 100%);
        text-decoration: none;
    }
}

@media (min-width: 768px) {
    .page-text h2 {
        font-size: 28px;
    }

    .page-text h2:not(:first-child) {
        margin-top: 36px;
    }

    .page-text .ul-styled-steps h3 {
        display: flex;
        align-items: center;
        font-size: 24px;
        gap: 12px;
    }

    .page-text .ul-styled-steps h3::before {
        margin-bottom: 0;
    }

    .page-text blockquote {
        font-size: 24px;
    }

    .page-text img.fl,
    .page-text img.fr {
        width: 50%;
    }

    .page-text img.fr {
        margin-left: 48px;
    }

    .page-text img.fl {
        margin-right: 48px;
    }

    .pagination a,
    .pagination .current {
        padding: 15px 20px;
        border-radius: 10px
    }
}

@media (min-width: 992px) {
    .page-text img.fl,
    .page-text img.fr {
        width: 55%;
    }
}

/* -- Акции -- */
.promo-page-hero {
    background-color: var(--bg-teaser-color,);
}

.promo-terms {
    background-color: #fff;
}

.promo-terms ol,
.ul-steps {
    counter-reset: myCounter;
}

.promo-terms li,
.ul-steps li,
.ul-negative li {
    display: flex;
    align-items: center;
    font-size: .875rem;
    margin-top: 16px;
    gap: 10px;
}

.promo-terms ol li::before,
.ul-steps li::before {
    --marker-size: 24px;
    counter-increment: myCounter;
    content: counter(myCounter);
    color: #fff;
    background: linear-gradient(#4970f8 0%, #7d42fb 100%);
    border-radius: 50%;
    font-weight: 700;
    line-height: var(--marker-size);
    text-align: center;
    width: var(--marker-size);
    height: var(--marker-size);
    flex-shrink: 0;
}

.promo-terms ul li::before,
.ul-negative li::before {
    --marker-size: 24px;
    content: "✖";
    color: #fff;
    background: linear-gradient(#ff4e4b 0%, #c93939 100%);
    border-radius: 50%;
    font-weight: 600;
    line-height: var(--marker-size);
    text-align: center;
    width: var(--marker-size);
    height: var(--marker-size);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .promo-page-hero {
        background: var(--bg-teaser-color, #f4f3ff) var(--bg-teaser-image,) no-repeat center right 25%;
    }
}

@media (min-width: 992px) {
    .promo-terms {
        background-color: inherit;
    }

    .promo-terms .terms-wrap {
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 0 4px 24px rgba(213, 207, 246, .25);
    }
}

/* -- Услуги (стр. услуги) -- */
.uslugi-page-hero {
    background: var(--bg-teaser-color, #fff9e2);
    position: relative;
    padding-bottom: 140px;
}

.uslugi-page-hero .container-xxl {
    position: relative;
    z-index: 3;
}

.uslugi-page-hero::after {
    content: "";
    position: absolute;
    background: var(--bg-teaser-image,) no-repeat left 50px bottom -40px /400px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.uslugi-page-description .our-principles-service,
.uslugi-page-description .our-principles-service-block {
    color: #313131;
    border-radius: 10px;
}

.uslugi-page-description .our-principles-service-block + .our-principles-service-block {
    margin-top: 1rem;
}

.uslugi-page-description .our-principles-service h3 {
    font-size: 1rem;
    margin-bottom: .5rem;
}

.uslugi-page-description .our-principles-service-block .title {
    font-size: 1.125rem;
    line-height: 1.25;
}

.uslugi-page-description .text {
    font-size: .875rem;
    line-height: 1.75;
}

.uslugi-page-description p + p,
.uslugi-page-description p + ul,
.uslugi-page-description ul + p {
    margin-top: 1rem;
}

.uslugi-page-description ul li {
    position: relative;
    padding-left: 29px;
}

.uslugi-page-description ul li:not(:last-child) {
    margin-bottom: 1rem;
}

.uslugi-page-description ul li::before {
    content: "";
    position: absolute;
    border: 2px solid #5237df;
    border-radius: 50%;
    width: 9px;
    height: 9px;
    left: 10px;
    top: calc(1em - 6px);
}

@media (min-width: 576px) {
    .uslugi-page-hero::after {
        background-position: right bottom -30px;
        background-size: 500px;
    }
}

@media (min-width: 768px) {
    .uslugi-page-hero {
        min-height: 420px;
    }

    .uslugi-page-hero::after {
        background-position: 0 bottom;
        background-size: auto;
        left: 50%;
        width: 50%;
    }

    .uslugi-page-description .our-principles-service,
    .uslugi-page-description .our-principles-service-block {
        border-radius: 20px;
    }

    .uslugi-page-description .our-principles-service h3 {
        font-size: 1.25rem;
    }

    .uslugi-page-description .text {
        font-size: 1rem;
    }

    .uslugi-page-description .our-principles-service-block .title {
        background-color: #fcfcfc;
        font-size: 1.375rem;
    }
}

@media (min-width: 992px) {
    .uslugi-page-description .our-principles-service-block .title {
        background-color: #fcfcfc;
        font-size: 1.5rem;
    }
}

/* -- Колл-центр -- */
.callcenter-page-hero {
    background: var(--bg-teaser-color, #f4f3ff);
    position: relative;
    padding-bottom: 200px;
}

.callcenter-page-hero .container-xxl {
    position: relative;
    z-index: 3;
}

.callcenter-page-hero::after {
    content: "";
    position: absolute;
    background: var(--bg-teaser-image,) no-repeat right -40px bottom -10px /330px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.callcenter-page-description .callcenter-geo {
    border-radius: 10px;
}

.callcenter-page-description .text-block {
    color: #313131;
    background: url(../img/bg-logo-wm2.svg) no-repeat center bottom -30px /245px;
    border-bottom: 1px solid #f2f2f2;
}

.callcenter-page-description .text-block > div {
    padding-bottom: 100px;
}

/* карта колл-центров */
.map-block .city {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.map-block .map {
    margin: -100px -24px -24px -24px;
}

.map-block .map-img {
    max-width: none;
}

.map-block .city button {
    box-shadow: 0 2px 10px 0 rgba(0,0,0, .25);
}

.map-block .city::before {
    content: "";
    display: block;
    background-color: #5237df;
    border: 3px solid #5237df;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    transition: all .15s ease;
}

.map-block .city.active::before {
    background-color: #fff;
}

.map-block .city.active button {
    color: #fff;
    background-color: #5237df;
}

.map-block .city {
    top: var(--city-pos-top);
    left: var(--city-pos-left);
}

.map-block .scroll-notice {
    color: #5237df;
    background-color: #fff;
    display: flex;
    align-items: center;
    font-size: 11px;
    border-radius: 30px;
    border: 1px solid #5237df;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.map-block .scroll-notice::before,
.map-block .scroll-notice::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin: 4px 10px;
}

.map-block .scroll-notice::before {
    content: "\f104";
}

.map-block .scroll-notice::after {
    content: "\f105";
}

.map-block .city-info {
    background-color: #5237df;
    border-radius: 0 0 10px 10px;
}

.map-block .city-info {
    display: none;
}

.map-block .city-info.visible {
    display: block;
}

.map-block .city-info .city-tabs {
    box-shadow: inset 0 -1px 0 #442dbf;
}

.map-block .city-info .city-tab {
    border-bottom: 1px solid transparent;
}

.map-block .city-info .city-tab.active {
    border-color: #fff;
}

@media (min-width: 768px) {
    .map-block .city-info {
        border-radius: 15px;
    }
}

@media (min-width: 992px) {
    .map-block .map {
        margin: -80px 0 0;
    }

    .map-block .city-info-wrap {
        position: absolute;
        max-width: 360px;
        right: 0;
        bottom: 10%;
    }
}

@media (min-width: 1200px) {
    .map-block .city-info-wrap {
        right: 2%;
        bottom: 20%;
    }
}

/* Что мы предлагаем */
/* [слайдер] */
.weoffer .weoffer-slider .f-carousel__slide {
    --f-carousel-slide-width: 90%;
    --f-carousel-spacing: 20px;
}

@media (min-width: 576px) {
    .weoffer .weoffer-slider .f-carousel__slide {
        --f-carousel-slide-width: 60%;
    }
}

@media (min-width: 768px) {
    .weoffer .weoffer-slider .f-carousel__slide {
        --f-carousel-spacing: 24px;
        --f-carousel-slides-per-page: 2.1;
        --f-carousel-slide-width: calc((100% - ((var(--f-carousel-slides-per-page) - 1) * var(--f-carousel-spacing))) / var(--f-carousel-slides-per-page));
    }
}

@media (min-width: 992px) {
    .weoffer .weoffer-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 3.1;
    }
}

@media (min-width: 1400px) {
    .weoffer .weoffer-slider .f-carousel__slide {
        --f-carousel-slides-per-page: 3;
    }
}


/* -- Расчитать стоимость -- */
.calc-offer {
    background: linear-gradient(#755aff 0%, #6353b7 100%);
}

.calc-offer .calc-offer-wrap {
    border-radius: 10px;
}

.calc-offer .form-title {
    font-size: 1.125rem;
}

.calc-offer .right {
    background: url(../img/bg-star-orange.svg) no-repeat right -120px top -90px /240px,
    url(../img/bg-star-rub.svg) no-repeat right -35px bottom -30px /140px,
    linear-gradient(#e3eeff 0%, #ebedff 100%);
}

.calc-offer .right .ico-calc {
    margin: -32px;
}

.calc-offer .right .steps-count .count {
    color: #cccede;
    font-size: 1.5rem;
    font-weight: 500;
    user-select: none;
}

.calc-offer .right .steps-count .active {
    color: #5237df;
}

.calc-offer-form span {
    display: inline-block;
    font-size: .875rem;
    padding: 10px 16px;
    border-radius: 40px;
    /* transition: all .15s ease; */
}

.calc-offer-form label input:checked + span {
    color: #fff;
    background-color: #4a4d5e;
    font-weight: 500;
}

.calc-offer-success {
    background: linear-gradient(#e3eeff 0%, #ebedff 100%);
}

.calc-offer-success .ico-calc-ok {
    margin: -18px;
}

@media (max-width: 575px) {
    .calc-offer .calc-buttons {
        position: fixed;
        background-color: #fff;
        padding: 15px;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 7;
    }

    .calc-offer .calc-buttons .btn {
        width: 100%;
    }
}

@media (min-width: 575px) {
    .steps-content {
        border-bottom: 1px solid var(--border-color);
    }

    .calc-offer-form span {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .calc-offer .calc-offer-wrap {
        border-radius: 20px;
        min-height: 560px;
    }

    .calc-offer .form-title {
        font-size: 1.5rem;
    }

    .calc-offer .right .steps-count .count {
        font-size: 2.875rem;
    }
}

/* -- Футер -- */
.footer {
    --link-color-hover: #e0d3ce;
    color: #fff;
    background-color: #3e4c5b;
}

.footer .phone {
    font-size: 1.25rem;
}

@media (min-width: 1200px) {
    .footer .address {
        font-size: 1.125rem;
    }

    .footer .phone {
        font-size: 1.375rem;
    }

    .footer .phone .ico {
        width: 24px;
    }
}

/* -- Политика конфиденциальности -- */
@media (min-width: 768px) {
    .policy .policy-wrap {
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 0 4px 24px rgba(213,207,246, .25);
    }
}

/* -- Fancybox -- */
/* слайдер без границ */
section .f-carousel__viewport {
    overflow: visible;
}

.fancybox__container {
    --fancybox-content-bg: #f7f5f1;
    --fancybox-content-color: #3b3a39;
    --fancybox-bg: rgba(0,0,0, .5);
    --fancybox-zIndex: 10100;
}

/* галерея */
.photo-gallery.fancybox__container {
    --fancybox-content-color: #3b3a39;
    --fancybox-bg: rgba(0,0,0, 1);
    --fancybox-zIndex: 10100;
}

.fancybox__toolbar {
    --f-button-bg: transparent;
}

.fancybox__thumbs {
    --f-thumb-outline-color: #5237df;
    --f-thumb-border-radius: 6px;
    --f-thumb-outline: 3px;
}

.fancybox__container .fancybox__nav {
    --f-button-bg: #5237df;
    --f-button-svg-filter: none;
    transition: all .15s ease;
}

@media (any-hover: hover) {
    .fancybox__container .fancybox__nav .f-button:hover {
        --f-button-bg: #b6cf1c;
    }
}

/* popup окна */
.fancybox__content :focus {
    outline: 0 !important;
}

.modal-box > .f-button.is-close-btn,
.is-compact .modal-box > .f-button.is-close-btn {
    --f-button-color: #86736f;
    --f-button-hover-color: #86736f;
    --f-button-bg: transparent;
    --f-button-active-bg: transparent;
    --f-button-hover-bg: transparent;
    --f-button-svg-filter: none;
    --f-button-width: 32px;
    --f-button-height: 32px;

    --f-button-border-radius: 50%;
    --f-button-svg-width: 14px;
    --f-button-svg-height: 14px;
    --f-button-svg-stroke-width: 3;
    top: 15px;
    right: 15px;
    opacity: 1;
}

.modal-box .phone {
    font-size: 1.25rem;
}

@media (min-width: 992px) {
    .modal-box .phone {
        font-size: 1.375rem;
    }

    .modal-box .phone .ico {
        width: 24px;
    }
}
