@import "root.css";


/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
    display: block;
}

html {
    height: 100%;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background-color: var(--white);
    height: 100%;
    font-size: var(--font-size-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--black-text);
    line-height: 1.2;
}

*, *:before, *:after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    outline: none;
}

table {
    border-collapse: collapse;
    border-width: 0;
    padding: 0;
    margin: 0;
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }

input, textarea, select, button {
    font-family: inherit;
    font-size: var(--font-size-input);
    color: var(--black-text);
    font-weight: 400;
    border-radius: var(--border-radius-input);
    height: var(--height-input);
    border: 0px;
    border-bottom: 1px solid var(--black);
    background: none;
    max-width: 100%;
    padding: 0px 0px;
}
input::placeholder,
textarea::placeholder {
    color: #131A1F30;
    opacity: 1;
}
input, textarea, select {
    width: 100%;
}
textarea {
    height: var(--height-textarea);
    padding-top: 15px;
}
button {
    width: auto;
}
input, textarea {
    color: var(--text-main);
    outline: none;
    -webkit-appearance: none;
}

input[type="button"],
input[type="submit"],
button {
    cursor: pointer;
    -webkit-appearance: none;
    background: var(--orange);
    border-radius: var(--border-radius-button);
    color: var(--white);
    border: 0px;
    font-weight: 500;
    height: var(--height-button);
    font-size: var(--font-size-button);
    padding: var(--padding-button);
}
input[type="checkbox"],
input[type="radio"] {
    aspect-ratio: 1/1;
    width: 15px;
    height: 15px;
    border: 1px solid var(--black);
    padding: 0px;
    border-radius: 0px;
    background: none;
}
/* Базовый стиль для кастомного элемента */
label input[type="checkbox"] ~ span:last-of-type,
label input[type="radio"] ~ span:last-of-type {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: var(--font-size-policy);
}

/* Создаём кастомный элемент через ::before */
label input[type="checkbox"] ~ span:last-of-type::before,
label input[type="radio"] ~ span:last-of-type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    transform: translateY(0px);
    width: 15px;
    height: 15px;
    border: 1px solid var(--black);
    background-color: transparent;
    transition: all 0.2s ease;
}

@media screen and (min-width: 1700px) {


}

/* Чекбокс - радиус 5px */
label input[type="checkbox"] ~ span:last-of-type::before {
    border-radius: 0px;
}

/* Радиокнопка - тоже радиус 5px (квадратная) */
label input[type="radio"] ~ span:last-of-type::before {
    border-radius: 50%;
}

label input[type="checkbox"]:checked ~ span:last-of-type::before,
label input[type="radio"]:checked ~ span:last-of-type::before {
    background-color: var(--black);
    border-color: var(--black);
}

/* Галочка для чекбокса и радио (через background) */
label input[type="checkbox"]:checked ~ span:last-of-type::before,
label input[type="radio"]:checked ~ span:last-of-type::before {
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.4009 0.532593C12.7112 0.222359 13.2146 0.222293 13.5249 0.532593C13.8351 0.842877 13.8351 1.34637 13.5249 1.65662L5.15869 10.0219C4.84845 10.332 4.34578 10.3319 4.03564 10.0219L0.532715 6.51892C0.222734 6.20867 0.222642 5.70609 0.532715 5.39587C0.842992 5.0856 1.34647 5.08553 1.65674 5.39587L4.59717 8.3363L12.4009 0.532593Z' fill='white' stroke='white' stroke-width='0.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 1px;
    background-size: 12px 8px;
}

/* Скрываем оригинальный input, но оставляем доступным для клавиатуры */
label input[type="checkbox"],
label input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Фокус на кастомном элементе (для доступности) */
label input[type="checkbox"]:focus-visible ~ span:last-of-type::before,
label input[type="radio"]:focus-visible ~ span:last-of-type::before {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

.select-custom {
    position: relative;
    display: inline-block;
    width: 100%;
    height: var(--height-input);
}

/* Скрываем стандартную стрелку браузера */
.select-custom select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
}

/* Ваша SVG стрелка */
.select-custom::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 7px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L6 6L1 1' stroke='%232A2A2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.select-custom select:hover {
    border-color: #999;
}

.select-custom select:focus {
    outline: none;
    border-color: var(--text-main);
}


a {
    color: var(--link);
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

a, span, div, button { outline: none !important; }

img, svg {
    max-width: 100%;
    vertical-align: top;
}

strong { font-weight: 700; }

ul, ol { margin-left: 30px; }

p { line-height: 1.2; font-size: 16px; margin-bottom: 0.8rem; }
p:last-child {margin-bottom: 0rem;}

h1, h2, h3, h4 {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 500;
    line-height: 1;
}

h1, .h1 { font-size: var(--font-size-h1); margin-top: 0rem; margin-bottom: 0rem; }
h2, .h2 { font-size: var(--font-size-h2); margin-top: 0rem; margin-bottom: 0rem; }
h3, .h3 { font-size: var(--font-size-h3); margin-top: 0rem; margin-bottom: 0rem; }
h4, .h4 { font-size: var(--font-size-h4); margin-top: 0rem; margin-bottom: 0rem; }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-main);
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}


/* ═══════════════════════════════════════════
   UTILS
═══════════════════════════════════════════ */
    .e-con {
        --e-global-typography-primary-font-family: "Montserrat";
        --e-global-typography-text-font-family: "Montserrat";
    }
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-wrapper {
}

.container {
    width: var(--content-width-val);
    max-width: min(100%, var(--content-width-val));
    padding: 0 var(--padding-container);
    margin: 0 auto;
}
.container_no-padding {
    padding: 0px;
}
.container_no-padding__mobile {
    padding: 0px;
}
@media screen and (min-width: 768px) {
    .container_no-padding__mobile {
        padding: 0 var(--distance-midi);
    }
    .container_no-padding {
        padding: 0px;
    }
}

@media screen and (max-width: 767px)                        { .mobile-hide   { display: none !important; } }
@media screen and (min-width: 768px)  and (max-width: 1279px) { .tablet-hide   { display: none !important; } }
@media screen and (min-width: 1280px) and (max-width: 1699px) { .notebook-hide { display: none !important; } }
@media screen and (min-width: 1700px)                       { .desktop-hide  { display: none !important; } }

p, ul, ol {font-weight: 400}

@media screen and (min-width: 768px) {
    p, ul, ol {font-size: 20px;}
}

@media screen and (min-width: 1700px) {
    p, ul, ol {font-size: 20px;}
}

.text-center {text-align: center}
.mt-20 {margin-top: var(--distance-20)}
.mt-24 {margin-top: var(--distance-24)}
.mt-30 {margin-top: var(--distance-30)}
.mt-36 {margin-top: var(--distance-36)}
.mb-60 {margin-bottom: var(--distance-60)}



/* ============ HEADER: base ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-logo__img {
    display: block;
    height: 32px;
    width: auto;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 56px;
    padding: 0 36px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.header-btn--primary {
    background: var(--color-accent);
    color: #fff;
    transition: background-color 0.2s ease;
}

.header-btn--primary:hover {
    background: var(--color-accent-dark);
}

/* ============ HEADER: mobile/tablet compact row (<1280) ============ */
.header-mobile {
    background: var(--white); 
        border-radius: 0px 0px var(--border-radius-10) var(--border-radius-10);
}
.header-mobile__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-mobile-height);
    gap: 12px;
}

.header-mobile__actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-call-btn {
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: var(--color-accent);
    flex-shrink: 0;
    padding: 5px 15px 5px 5px;
    gap: 5px;
    color: var(--white);
}

.header-call-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    flex-shrink: 0;
}
.header-call-btn img {
    width: 13px;
    height: 13px;
}

.header-burger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0px;
    cursor: pointer;
    flex-shrink: 0;
}

.header-burger__box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 20px;
}

.header-burger__line {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-burger[aria-expanded="true"] .header-burger__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.header-burger[aria-expanded="true"] .header-burger__line:nth-child(2) {
    opacity: 0;
}

.header-burger[aria-expanded="true"] .header-burger__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.header-burger__label {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
}

@media (min-width: 380px) {
    .header-call-btn {
        display: flex;
    }
}

/* ============ MOBILE NAV: slide-down панель ============ */
.mobile-nav {
    position: fixed;
    top: var(--header-mobile-height);
    left: 0;
    right: 0;
    z-index: 190;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-10);
}
.admin-bar .mobile-nav {
    top: calc( 48px + var(--header-mobile-height));
}

.mobile-nav__list {
    padding: 8px 0 16px;
    list-style: none;
    margin: 0px;
}

.mobile-nav__li + .mobile-nav__li {
    border-top: 1px solid var(--color-border);
}

.mobile-nav__a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.mobile-nav__a.is-active {
    color: var(--color-accent);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
}


@media (min-width: 744px) {

    .header {
        border-radius: 0px 0px var(--border-radius-20) var(--border-radius-20);
    }
    .header-logo__img {
        height: 36px;
    }
}
/* ============ HEADER: notebook + desktop (>=1280) ============ */

@media (min-width: 1280px) {
    .header-top__inner {
        display: flex;
        align-items: center;
        gap: 24px;
        padding: var(--padding-header-top);
    }


    .header-info {
        display: flex;
        gap: 25px;
        color: var(--black-text);
        margin-right: auto;
        margin-top: 9px;
    }

    .header-info__item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .header-info__item img {
        width: auto;
        height: 13px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .header-info__address {
        font-size: 16px;
        width: 236px;
    }
    .header-info__schedule {
        font-size: 12px;
        width: 210px;
    }

    .header-info__address strong,
    .header-info__address b {
        color: var(--color-text);
        font-weight: 600;
    }

    .header-top__socials {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-social {
        display: flex;
        width: 32px;
        height: 32px;
    }

    .header-social img {
        width: 100%;
        height: 100%;
    }

    .header-phone {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .header-phone__number {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 20px;
        font-weight: 600;
        color: var(--black-text);
        white-space: nowrap;
    }

    .header-phone__number img {
        width: 13px;
        height: 13px;
    }

    .header-phone__hint {
        font-size: 14px;
        color: var(--black-text);
        text-decoration: underline;
        padding-left: 24px;
    }

    .header-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-left: 17px;
    }

    .header-cta__callback {
        background: none;
        border: none;
        padding: 0;
        font-size: 14px;
        color: var(--color-text-secondary);
        text-decoration: underline;
        cursor: pointer;
    }

    .header-top {
        background: var(--white);
        z-index: 10;
        position: relative;
    }
    .header-top.is-radius {
        border-radius: 0px 0px var(--border-radius-20) var(--border-radius-20);
    }
    /* строка навигации */
    .header-nav {
        border-top: 1px solid var(--color-border);
        transition: transform 0.35s ease, box-shadow 0.35s ease;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        border-radius: 0px 0px var(--border-radius-20) var(--border-radius-20);
        z-index: 1;
        background: var(--white);
    }
    .header-nav.is-hidden {
        transform: translateY(-100%);
    }
    .header-nav__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--padding-header-top);
    }
    #header-nav {
        position: sticky;
        top: 0;
        z-index: 1;
        transition: transform 0.35s ease, box-shadow 0.35s ease;
    }

    #header-nav.is-sticky {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    #header-nav.is-hidden {
        transform: translateY(-100%);
    }
    .header-menu__list {
        display: flex;
        align-items: center;
        gap: 28px;
        height: 100%;
        margin: 0px;
    }

    .header-menu__li {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .header-menu__a {
        position: relative;
        font-size: 18px;
        font-weight: 500;
        color: var(--gray);
    }

    .header-menu__a.active,
    .header-menu__a:hover {
        color: var(--black-text);
    }


    .header-menu__a::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -5px;
        height: 2px;
        background: var(--color-accent);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }

    .header-menu__a:hover::after,
    .header-menu__a.active::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .header-nav__socials {
        display: flex;
        align-items: center;
        gap: 18px;
    }
}

@media (min-width: 1920px) {
    .header-top__inner {
        display: flex;
        align-items: center;
        gap: 50px;
        justify-content: space-between;
    }
    .header-logo__img {
        height: 60px;
    }
    .header-info {
        width: 680px;
        align-items: flex-start;
        justify-content: flex-end;
        margin-right: 0px;
        gap: 50px;
    }
    .header-info__address {
        width: 350px;
    }
    .header-cta {
        margin-left: 0px;
    }
    .header-phone {
        justify-content: flex-start;
    }
}


/*===========END HEADER=============*/



/* ============ FOOTER: variables & base ============ */
.footer {
    background: #12151C;
    color: #fff;
    margin-top: -30px;
    padding-top: 48px;
}

.footer a {
    color: inherit;
}

.footer__main {
    padding: 32px 0 0px;
}

.footer__top {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer__container {
    padding: 0 var(--padding-container);
}
/* ============ FOOTER: brand block (лого, телефон, соцсети, адрес, график) ============ */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-brand__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.footer-logo__img {
    display: block;
    height: 38px;
    width: auto;
}

.footer-brand__phone-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand__phone {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: flex;
    width: 32px;
    height: 32px;
}

.footer-social img {
    width: 100%;
    height: 100%;
}

.footer-brand__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
    color: var(--white);
}

.footer-brand__address,
.footer-brand__schedule {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-brand__schedule span {
    margin-bottom: var(--distance-10);
    display: inline-block;
}

.footer-brand__address img,
.footer-brand__schedule img {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-brand__address strong,
.footer-brand__address b {
    color: #fff;
    font-weight: 600;
}

/* ============ FOOTER: меню — аккордеон (<1280) ============ */
.footer__menus {
    display: flex;
    flex-direction: column;
}

.footer-menu {
    border-top: 1px solid var(--white);
}

.footer-menu:last-child {
    border-bottom: 1px solid var(--white);
}

.footer-menu__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.footer-menu__chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.footer-menu.is-open .footer-menu__chevron {
    transform: rotate(180deg);
}

.footer-menu__list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0px;
}

.footer-menu__item {
    padding-bottom: 14px;
}

.footer-menu__item:first-child {
    padding-top: 2px;
}

.footer-menu__link {
    font-size: 18px;
    color: var(--white);
}

/* ============ FOOTER: legal / disclaimer / license ============ */
.footer__legal {
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer__legal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__disclaimer,
.footer__license-info {
    font-size: 14px;
    line-height: 1.2;
    color: var(--white);
}

.footer__policy-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer__policy-link {
    font-size: 14px;
    text-decoration: underline;
}

.footer__license-number {
    font-size: 14px;
}

/* ============ FOOTER: читать подробнее ============ */
.footer__readmore {
}

.footer__readmore-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.footer__readmore-btn svg {
    transition: transform 0.25s ease;
}

.footer__readmore-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* ============ FOOTER: SEO-контент под футером ============ */
.footer__content-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fff;
}

.footer__content {
    padding: 90px 0px;
}


.footer__content p {
    margin-bottom: var(--distance-20);
}

.footer__content h2 {
    margin-bottom: var(--distance-20);
}

.footer__content h3 {
    margin-bottom: var(--distance-20);
    margin-top: var(--distance-10);
}
/* ============ FOOTER: tablet (>=768) ============ */
@media (min-width: 768px) {
    .footer-brand__row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
    }

    .footer-brand__phone-col {
        align-items: flex-end;
    }

    .footer-socials {
        justify-content: flex-end;
    }
}

/* ============ FOOTER: notebook + desktop (>=1280) ============ */
@media (min-width: 1280px) {
    .footer__main {
        padding: 40px 0 16px;
    }
    .footer__container {
        padding: 0px 50px;
    }
    .footer__top {
        display: grid;
        grid-template-columns: 300fr 836fr;
        gap: 0px 50px;
    }

    .footer-logo__img {
        height: 48px;
    }
    /* бренд-блок фиксированной ширины, всё стеком в колонку */
    .footer-brand {
        flex: 0 0 280px;
        width: 280px;
    }

    .footer-brand__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-brand__phone-col {
        align-items: flex-start;
    }

    .footer-socials {
        justify-content: flex-start;
    }

    /* меню — статичные колонки, не аккордеон */
    .footer__menus {
        flex: 1;
        flex-direction: row;
        justify-content: space-between;
        gap: 50px;
        align-items: flex-start;
    }

    .footer-menu {
        border-top: none;
    }

    .footer-menu:last-child {
        border-bottom: none;
    }

    .footer-menu__title {
        padding: 0 0 19px;
        cursor: default;
        pointer-events: none;
        color: rgba(255, 255, 255, 0.5);
        font-size: 16px;
        font-weight: 400;
    }

    .footer-menu__chevron {
        display: none;
    }

    .footer-menu__list {
        max-height: none;
        overflow: visible;
        list-style: none;
        margin: 0px;
    }

    .footer-menu__item {
        padding-bottom: 12px;
    }

    .footer__legal {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        border-top: 1px solid rgba(255,255,255,0.5);
        margin-top: 50px;
    }

    .footer__disclaimer {
        flex: 1 1 100%;
        order: 1;
    }

    .footer__policy-menu {
        order: 2;
    }

    .footer__license-info {
        flex: 1 1 auto;
        order: 3;
    }

    .footer__license-number {
        order: 4;
    }
}

/*=======END FOOTER===========*/

@media (min-width: 1920px) {
    .footer__top {
        grid-template-columns: 398fr 936fr 222fr;
        gap: 100px;
    }
    
    .footer-brand__phone-col {
        align-items: flex-end;
    }
    .footer__menus {
        justify-content: flex-start;
        gap: 100px;
        flex-wrap: wrap;
    }
    .footer-brand {
        flex: 0 0 400px;
        width: 400px;
    }
    
    .footer-logo__img {
        height: 60px;
    }
}


/* ═══════════════════════════════════════════
   POPUPS
═══════════════════════════════════════════ */

.popups-form {
    display: none;
}
.popup {
    display: flex;
    flex-direction: column;
    gap: var(--distance-36);
    align-items: center;
}
body .fancybox-content {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--border-radius-30);
    padding: var(--padding-popup);
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
body .fancybox-slide--html {
    padding: 0px;
}
.fancybox-container .fancybox-bg {
    background: rgba(19, 26, 31, 0.9);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 1;
    transition: backdrop-filter .3s cubic-bezier(.47, 0, .74, .71),
    -webkit-backdrop-filter .3s cubic-bezier(.47, 0, .74, .71);
}

.fancybox-container.fancybox-is-open .fancybox-bg {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
/* Для мобильных — окно прижато снизу */
.fancybox-slide--bottom {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

.fancybox-slide--bottom .fancybox-content {
    width: 100% !important;
    border-radius: 16px 16px 0 0 !important;
    margin: 0 !important;
}

/* Для десктопа — стандартный центр */
.fancybox-custom-bg .fancybox-content {
    /* при необходимости дополнительные стили */
}

/* Затемнение фона на мобильных */
@media (max-width: 768px) {
    .fancybox-custom-bottom .fancybox-bg {
        background: rgba(0, 0, 0, 0.7);
    }
}
.fancybox-video-popup .fancybox-content {
    background: transparent;
    padding: 0;

    /* Вычисляем ширину из высоты с учётом соотношения 9:16 */
    height: calc(100vh - 80px);
    width: calc((100vh - 80px) * 9 / 16);
    max-width: 90vw;
}

.video-popup-wrap,
.video-popup-wrap > div {
    width: 100%;
    height: 100%;
}

.video-popup-wrap iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.popup-header {
    display: flex;
    flex-direction: column;
    gap: var(--distance-24);
    align-items: center;
}
.popup__actions .button {
    min-width: 270px;
}

@media screen and (min-width: 768px) {

    .fancybox-content {
        min-width: 714px;
    }
}
@media screen and (min-width: 1280px) {

    .fancybox-content {
        min-width: 920px;
    }
}

/*=======END POPUPS===========*/


/* ─── Form ─── */


/* CF7 форма внутри блока */

.form-row {
    display: flex;
    flex-direction: column;
    gap: var(--gap-form-field);
}
.form-col {
    display: flex;
    flex-direction: column;
    gap: var(--gap-form-field);
}
.wpcf7-form {
    display: flex;
    flex-direction: column;
    position: relative;
}
.wpcf7-form-control {
    margin-bottom: 0px;
}
.wpcf7-form-control-wrap {
    width: 100%;
}
.wpcf7-radio {
    display: flex;
    gap: var(--distance-24);
}
.hero-form__form .wpcf7-form p {
    margin: 0;
}
.wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: 50%;

}
.wpcf7-list-item {
    margin: 0px;
}
.wpcf7-acceptance a {
    color: var(--gold);
    text-decoration: underline;
}
.wpcf7-acceptance .wpcf7-list-item-label {
    display: inline-block;
}
.wpcf7-radio .wpcf7-list-item-label {
    display: inline-block;
    padding-top: 1px;
}
.wpcf7-response-output {
    display: none;
}

.wpcf7 form .wpcf7-response-output {
    padding: var(--distance-24);
    border-radius: var(--border-radius-20);
    border: 0px;
    font-size: var(--font-size-body-16);
}
.wpcf7 .wpcf7-not-valid {
    border-bottom-color: var(--red);
}

.form-center {
    text-align: center;
}
.text-label {
    font-size: var(--font-size-label);
}
@media screen and (min-width: 768px) {

    .wpcf7-acceptance .wpcf7-list-item-label {
    }
}
@media screen and (min-width: 1280px) {
    .form-row {
        flex-direction: row;
    }

}

/* ═══════════════════════════════════════════
   SLIDER COMMON STYLES
═══════════════════════════════════════════ */

.js-slider {
    overflow: hidden;
    position: relative;
}

.js-slider .swiper-wrapper {
    display: flex;
}

.js-slider .swiper-slide {
    height: auto;
    flex-shrink: 0;
}

/* Пагинация */
.js-slider .swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    margin-top: 20px;
    text-align: center;
}

.js-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border: 1px solid var(--blue-dark);
    background: var(--white);
    opacity: 1;
}

.js-slider .swiper-pagination-bullet-active {
    background: var(--blue-dark);
    opacity: 1;
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: "";
}
.swiper-nav-buttons {
    display: flex;
    gap: 20px;
    height: 30px;
    transform: translateY(-20px);
}
/* Навигация — глобальные стрелки, переиспользуются везде */
body .swiper-button-prev,
body .swiper-button-next {
    top: 0px; 
    width: 30px;
    height: 30px;
    background: var(--orange);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: auto;
    left: auto;
    margin-top: 0px;
}

body .swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: auto;
}

body .swiper-button-prev::after,
body .swiper-button-next::after {
    content: "";
    width: 6px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='17' viewBox='0 0 10 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.3994 0.393094C0.931933 -0.131031 1.79534 -0.131031 2.32787 0.393094L9.6006 7.55099C10.1331 8.07511 10.1331 8.92489 9.6006 9.44901L2.32787 16.6069C1.79534 17.131 0.931933 17.131 0.3994 16.6069C-0.133133 16.0828 -0.133133 15.233 0.3994 14.7089L6.70789 8.5L0.3994 2.29112C-0.133133 1.76699 -0.133133 0.917218 0.3994 0.393094Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

body .swiper-button-prev::after {
    transform: rotate(180deg);
}

body .swiper-button-prev.swiper-button-disabled,
body .swiper-button-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

/* Отключаем навигацию и пагинацию только если есть специальный класс */
.js-slider--no-nav {
    padding-bottom: 0;
}

.js-slider--no-nav .swiper-pagination,
.js-slider--no-nav .swiper-button-prev,
.js-slider--no-nav .swiper-button-next {
    display: none;
}


@media screen and (min-width: 768px) {
    .swiper-nav-buttons {
        gap: 30px;
        height: 36px;
        transform: none;
    }
    body .swiper-button-prev,
    body .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    body .swiper-button-prev::after,
    body .swiper-button-next::after {
        content: "";
        width: 10px;
        height: 17px;
    }
}

/* Десктоп: размеры слайдов задаются через data-атрибуты */
@media screen and (min-width: 1280px) {
    .js-slider {
        overflow: visible;
    }
}





/* ═══════════════════════════════════════════
  FOOTER NAVIGATION
═══════════════════════════════════════════ */

.footer__navigation-wrapper {
    position: fixed;
    bottom: 0px;
    width: 100%;
    left: 0px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.footer__navigation-wrapper.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.footer__navigation {
    background: var(--white);
    box-shadow: 0px 0px 30px 0px rgba(42, 42, 42, 0.2);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.footer__navigation-btns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}
.single-post .footer__navigation-btns {
    display: none;
}
.single-post .footer__navigation {
    border-radius: var(--border-radius-10);
    background: #E9E9E9;
    margin: 0px var(--distance-10);
    box-shadow: none;
}
@media screen and (min-width: 768px) {

    .footer__navigation-wrapper {
        bottom: var(--distance-36);
    }
    .footer__navigation {
        border-radius: var(--distance-20);
    }
    .footer__navigation-btns {
        grid-template-columns: 1fr ;
        gap: 10px;
    }
}

@media screen and (min-width: 768px) {
    .single-post .footer__navigation {
        display: none;
    };
}
 

/* ═══════════════════════════════════════════
  FOOTER NAVIGATION FLY
═══════════════════════════════════════════ */

.footer__navigation-fly {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}

.footer__navigation-fly::-webkit-scrollbar {
    display: none;
}

.fly-navigation__btn {
    flex-shrink: 0;
    padding: var(--distance-10);
    white-space: nowrap;
    border-radius: var(--border-radius-20);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: var(--font-size-16);
    color: var(--black-text);
    opacity: 0.5;
}

.fly-navigation__btn.is-active,
.fly-navigation__btn:hover {
    background: var(--blue-light);
    color: var(--black-text);
    opacity: 1;
}

.single-post .fly-navigation__btn {
    background: rgba(20,83,140, 0.1);
    color: rgba(20,83,140, 0.5);
    opacity: 1;
    border-radius: var(--border-radius-10);
}
.single-post .fly-navigation__btn.is-active,
.single-post .fly-navigation__btn:hover
 {
    background:#14538C;
    color: var(--white); 
}
/* ========== FOOTER NAVIGATION =========== */


/* ═══════════════════════════════════════════
   COOKIES
═══════════════════════════════════════════ */
.cookie-banner {
    width: 100%;
    padding: 0px var(--padding-container);
    position: fixed;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.cookie-banner__wrap {
    max-width: 1216px;
    background: var(--white);
    border-radius: var(--border-radius-20);
    padding: 10px 25px 10px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25)
}
.cookie-banner .cookie-banner__text {
    color: var(--black-text);
    text-align: center;
    font-size: var(--font-size-cookie);
}
.cookie-banner__text a {
    font-weight: 600;
}
.cookie-banner__button {
    height: 45px;
}
@media screen and (min-width: 768px) {

    .cookie-banner .cookie-banner__text {
        text-align: left;
    }
    .cookie-banner__wrap {
        flex-direction: row;
        justify-content: space-between;
    }
}
@media screen and (min-width: 1280px) {

    .cookie-banner__wrap {
        width: 1216px;
    }
}


/* ═══════════════════════════════════════════
   YANDEX SMART CAPTCHA
═══════════════════════════════════════════ */

.SmartCaptcha-Shield {
    display: none !important;
}