/*
Theme Name: A+
Theme URI: private
Author: WhiteWeb with Improvements by A.Kondratovich & D.Kondratovich
Author URI: https://whiteweb.ua
Description: Custom theme for A+ Academy Corporate Site
Requires at least: 6.2
Tested up to: 6.3
Requires PHP: 8.0
Version: 1.0
Text Domain: aplus
Tags: aplus
*/


/* === CSS VARIABLES === */
:root {
  /* Лендінг «Позашкільна освіта А+»: шапка і футер у кораловому кольорі макета */
  --header-bg: #FF6D66;
  --header-border: #ffd6d2;
  --header-text: #fff;
  --header-accent: #ffffff;
  --submenu-bg: #f2635d;
  --pz-coral: #FF6D66;
  --pz-coral-dark: #e8605b;
  --pz-navy: #22394A;
  --pz-navy-dark: #1A2F3E;
  --pz-text: #333333;
  --pz-muted: #5f6b73;
}

/* cyrillic */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/merriweather/v30/u-4n0qyriQwlOrhSvowK_l52xwNZXMf6lvg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/merriweather/v30/u-4n0qyriQwlOrhSvowK_l52xwNZWMf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/merriweather/v30/u-4n0qyriQwlOrhSvowK_l52_wFZXMf6lvg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/merriweather/v30/u-4n0qyriQwlOrhSvowK_l52_wFZWMf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden; /* hack */
    max-width: 100vw;
}
body {
    margin: 0;
}
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}
a {
    background-color: transparent;
}
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}
b,
strong {
    font-weight: bolder;
}
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
img {
    border-style: none;
    display: block;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
button,
input {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
    -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText;
}
fieldset {
    padding: 0.35em 0.75em 0.625em;
}
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}
progress {
    vertical-align: baseline;
}
textarea {
    overflow: auto;
}
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
details {
    display: block;
}
summary {
    display: list-item;
}
[hidden],
template {
    display: none;
}
html {
    box-sizing: border-box;
}
*,
:after,
:before {
    box-sizing: inherit;
    outline: none;
}
body {
    font-family: Montserrat, sans-serif;
    color: #363732;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
    max-width: 100%;
    overflow-x: hidden;
}
.h1,
.h2,
.h3,
h1,
h2,
h3 {
    font-family: Merriweather, sans-serif;
    font-weight: 900;
    margin: 0 0 20px;
    font-weight: 400;
}
.h1,
h1 {
    font-size: 54px;
    letter-spacing: 0.03px;
}
.h2,
h2 {
    font-size: 48px;
}
.h3,
h3 {
    font-size: 36px;
}
.h5,
h5 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 300;
}
a,
a:hover {
    text-decoration: none;
}
ul li {
    list-style: none;
}
ol {
    list-style-type: none;
    counter-reset: num;
    padding: 0 0 0 25px;
    margin: 15px 0;
}
ol li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}
ol li:before {
    content: counter(num) ". ";
    counter-increment: num;
    position: absolute;
    left: 0;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    color: #3466fb;
    width: 20px;
    display: inline-block;
    margin-left: 0;
    text-align: right;
    padding-right: 5px;
}
img,
picture {
    width: 100%;
    max-width: 100%;
}
.main {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
.main-layout {
    flex: 1;
    padding: 120px 0 60px;
}
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}
.btn {
    padding: 20px 30px;
    transition: 0.15s;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    height: 60px;
    line-height: 1;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
}
.btn,
.btn.btn-icon {
    display: inline-flex;
    align-items: center;
}
.btn.btn-icon .btn-icon__arrow {
    width: 40px;
    height: 40px;
    margin-left: 15px;
}
.btn.btn-icon .btn-icon__arrow svg {
    width: 100%;
    height: 100%;
    transition: 0.2s;
}
.btn-transparent {
    font-size: 20px;
    background: transparent;
    border: 2px solid #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.btn-transparent .btn-icon__arrow svg {
    fill: #fff;
}
.btn-transparent:hover {
    color: var(--header-accent);
    border-color: var(--header-accent);
}

.btn-transparent:hover .btn-icon__arrow svg {
    fill: var(--header-accent);
}
.btn-orange {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    background-color: #f4a6b3;
    color: #591429;
}
.btn-orange:hover {
    background-color: var(--header-bg);
    color: #FFF;
}
.btn.btn-outline {
    background-color: transparent;
    /* border: 2px solid #0253b3; */
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    color: #591429;
    line-height: 1;
}
.btn.btn-outline .btn-icon__arrow svg {
    fill: #591429;
}
.btn.btn-outline:hover {
    border-color: var(--header-accent);
    color: var(--header-accent);
}
.btn.btn-outline:hover .btn-icon__arrow svg {
    fill: var(--header-accent);
}
.heading {
    text-align: center;
}
.heading__title {
    margin: 0 0 16px;
}
.heading__subtitle {
    color: #667296;
    margin: 0 0 16px;
    font-size: 13px;
    text-transform: uppercase;
}
.heading__description {
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    font-size: 20px;
}
._text .h1,
._text .h2,
._text .h3,
._text .h4,
._text .h5,
._text h1,
._text h2,
._text h3,
._text h4,
._text h5 {
    margin: 0 0 45px;
    line-height: 1.1;
}
._text .h2,
._text h2 {
    font-family: Merriweather, sans-serif;
    font-weight: 900;
}
._text .h3,
._text h3 {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
}
._text b {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
}
._text p {
    line-height: 1.5;
}
._text a {
    border-bottom: 1px solid #0253b3;
    color: #0253b3;
    transition: 0.2s;
}
._text a:hover {
    border-color: transparent;
}
._text ul {
    padding: 0 0 0 30px;
    margin: 15px 0;
}
._text ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
}
._text ul li:before {
    content: "";
    width: 7px;
    height: 7px;
    background-color: var(--header-accent);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}
._text ul li:last-child {
    margin-bottom: 0;
}
._text table {
    width: 100%;
    text-align: center;
    border-spacing: 0;
}
._text table tr td:first-child,
._text table tr th:first-child {
    text-align: left;
    border-left: none;
}
._text table tr:last-child td {
    border-bottom: none;
}
._text table th {
    background-color: #eff2fa;
    padding: 12px 20px;
}
._text table th:first-child {
    border-radius: 20px 0 0 20px;
}
._text table th:last-child {
    border-radius: 0 20px 20px 0;
}
._text table td,
._text table th {
    font-family: Montserrat, sans-serif;
    color: #000;
    font-weight: 500;
}
._text table td {
    border-left: 1px solid #e2e7f6;
    border-bottom: 1px solid #e2e7f6;
    padding: 20px;
}
.theses__row {
    display: flex;
}
.theses__row > div:first-child {
    width: 260px;
    padding-right: 30px;
}
.theses__row > div:last-child {
    width: calc(100% - 290px);
}
.theses .h3 {
    margin: 0;
}
.sm-block,
.xs-block {
    display: none !important;
}
.arr-down {
    display: inline-flex;
    width: 14px;
    min-width: 14px;
    height: 9px;
}
.arr-down svg {
    width: 100%;
    height: 100%;
    transition: 0.2s;
}
.facebook-icon,
.instagram-icon,
.youtube-icon,
.tiktok-icon,
.linkedin-icon {
    width: 23px;
    min-width: 23px;
    height: 27px;
}
.facebook-icon svg,
.instagram-icon svg,
.tiktok-icon svg,
.linkedin-icon svg,
.youtube-icon svg {
    width: 100%;
    height: 100%;
    transition: 0.2s;
    fill: #fff;
}
.facebook-icon:hover svg,
.tiktok-icon:hover svg,
.linkedin-icon:hover svg,
.instagram-icon:hover svg,
.youtube-icon:hover svg {
    fill: var(--header-accent);
}
.youtube-icon {
    width: 28px !important;
    min-width: 26px !important;
    height: 26px !important;
}
.ww-logo svg {
    width: 100%;
    height: 100%;
    transition: 0.2s;
    fill: #fff;
}
.ww-logo:hover svg {
    fill: var(--header-accent);
}
.close-icon {
    width: 20px;
    height: 20px;
}
.close-icon svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

/* --- СТИЛИ ДЛЯ БЛОКА С ДВУМЯ ВИДЕО --- */

.start-block__inner {
    position: relative; /* Основа для позиционирования дочерних элементов */
    width: 100%;
    height: 100vh; /* Растягиваем на всю высоту экрана */
    background-color: #000; /* Черный фон на случай, если видео не загрузится */
    overflow: hidden; /* Скрываем все, что выходит за пределы блока */
}

.media__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет контейнер, обрезая лишнее */
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease-in-out; /* Плавный переход между видео */
}

.media__video--hidden {
    opacity: 0; /* Скрываем основной видеофайл */
    pointer-events: none; /* Делаем его некликабельным, пока он скрыт */
}

/* Оверлей поверх видео */
.start-block__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Полупрозрачный темный слой */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.5s ease;
}

/* Контейнер для кнопок внутри оверлея */
.start-block__controls {
    /* Стили для кнопки Play */
}

/* Стилизация кнопки Play */
#video-play-button {
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 80px;  /* Увеличим размер для наглядности */
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
}

#video-play-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

#video-play-button svg {
    width: 30px; /* Размер самой иконки внутри круга */
    height: 30px;
    fill: #fff;
    margin-left: 5px; /* Небольшая коррекция для центрирования иконки Play */
}

/* Стилизация кнопки Mute */
#video-mute-button {
    position: absolute;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.5s, transform 0.3s;
}

#video-mute-button.mute-icon--hidden {
    opacity: 0;
    pointer-events: none;
}

#video-mute-button svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

#video-mute-button:hover {
    transform: scale(1.1);
}

/* Класс для "выключенного" состояния звука */
#video-mute-button._muted svg {
    /* Здесь можно добавить стиль для иконки без звука, например, перечеркивание */
    /* Для этого в спрайте нужна вторая иконка, например #mute-off-icon */
    opacity: 0.6;
}


.header-menu,
.header-menu > ul {
    margin: 0;
    padding: 0;
}
.footer {
    background-color: var(--header-bg);
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    padding: 60px 120px;
    line-height: 1.2;
}
.footer .footer-menu {
    display: flex;
}
.footer .footer-menu__title {
    font-size: 14px;
    text-transform: uppercase;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    margin-bottom: 25px;
}
.footer .footer-menu__title-mob {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 12px 0;
    text-transform: uppercase;
    position: relative;
    font-size: 14px;
}
.footer .footer-menu__collapse p {
    padding: 0 0 10px;
}
.footer .footer-menu__collapse p:last-child {
    padding: 0;
}
.footer .footer-menu__collapse a {
    display: inline-block;
    padding: 0 0 10px;
}
.footer .footer-menu__col {
    width: calc(20% - 40px);
    margin-right: 40px;
}
.footer .footer-menu__col:first-child {
    min-width: 260px;
}
.footer .footer-menu__col:last-child {
    margin-right: 0;
}
.footer .footer-menu__col ul {
    padding: 0;
    margin: 0;
}
.footer .footer-menu__col ul li {
    margin: 0 0 10px;
}
.footer .footer-menu__col ul li:last-child {
    margin: 0;
}
.footer .footer-menu a {
    color: #fff;
    transition: 0.2s;
}
.footer .footer-menu a:hover {
    color: #fff;
}
.footer .footer-dev {
    display: flex;
    align-items: center;
    margin: 30px 0 0;
}
.footer .footer-dev__logo {
    min-width: 86px;
    width: 86px;
    height: 23px;
    margin-left: 35px;
}
.footer-social {
    display: flex;
    margin: 30px 0 0;
}
.footer-social__item {
    width: 28px;
    min-width: 28px;
    height: 28px;
    margin-right: 30px;
}
.footer-social__item:last-child {
    margin-right: 0;
}
.footer p {
    margin: 0;
}
.start-block__inner {
    height: calc(100vh - 120px);
    width: 100%;
    position: relative;
}
.start-block__inner img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: 13% center;
}
.start-block__inner video {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
}
.start-block__controls {
    position: absolute;
    left: 60px;
    bottom: 60px;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.start-block__controls > div {
    margin-top: 40px;
    cursor: pointer;
    transition: 0.2s;
}
.start-block__controls > div._muted,
.start-block__controls > div._paused,
.start-block__controls > div:hover {
    opacity: 0.6;
}
.start-block .scroll-btn {
    position: absolute;
    top: 320px;
    right: -15px;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    transform: rotate(270deg);
    display: flex;
    align-items: center;
    color: #fff;
}
.start-block .scroll-btn:before {
    content: "";
    height: 5px;
    width: 100px;
    display: block;
    margin-right: 40px;
    background-color: #fff;
}
.about-us__inner {
    display: flex;
}
.about-us .about-text {
    background-color: var(--header-bg);
    color: #fff;
    padding: 120px 230px 80px 120px;
    width: 56%;
    font-size: 18px;
    line-height: 1.5;
}
.about-us .about-text__title {
    margin-bottom: 30px;
    line-height: 1.3;
}
.about-us .about-text__mission {
    margin: 70px 0;
    display: flex;
}
.about-us .about-text__mission-title {
    margin-right: 30px;
}
.about-us .about-text__button {
    margin-top: 40px;
    text-align: center;
}
.about-us .about-slider {
    width: 44%;
    height: 100%;
    margin-left: -120px;
    padding: 80px 0;
}
.about-us .about-slider__container {
    position: relative;
    overflow: hidden;
    padding: 0;
}
.about-us .about-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
}
.about-us .about-slider__slide {
    flex-shrink: 0;
    width: 100%;
    max-width: 900px;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-us .about-slider__slide img,
.about-us .about-slider__slide source {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.about-us .about-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--header-bg);
    transition: 0.2s;
    cursor: pointer;
}
.about-us .about-slider__btn svg {
    fill: #fff;
    width: 24px;
    height: 24px;
}
.about-us .about-slider__btn._prev svg {
    transform: rotate(180deg);
}
.about-us .about-slider__btn:hover {
    background-color: #fff;
}
.about-us .about-slider__btn:hover svg {
    fill: var(--header-accent);
}
.about-us .about-slider__navigation {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    z-index: 1;
}
.about-us .about-slider__pagination {
    padding: 17px 60px;
    display: flex;
    align-items: center;
}
.about-us .about-slider__pagination-item {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    display: inline-block;
    transition: 0.15s;
    margin: 0 20px;
    cursor: pointer;
}
.about-us .about-slider__pagination-item._active {
    background-color: #3d75ff;
}
.about-us .hidden-text__btn {
    display: none;
    position: relative;
    top: -35px;
    height: 35px;
    background: linear-gradient(0deg, #0253b3, rgba(2, 83, 179, 0));
    cursor: pointer;
    transition: 0.2s;
}
.about-us .hidden-text__btn .arr-down {
    fill: #fff;
    transition: 0.2s;
    margin-top: 5px;
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -5px;
}
.projects {
    background-color: #fff;
    padding: 80px 0 20px;
}
.projects__title {
    text-align: center;
    margin: 0;
}
.projects-list {
    position: relative;
    margin-top: 50px;
    padding: 0 90px;
}
.projects-list__item {
    flex-shrink: 0;
    display: flex;
    padding: 25px 10px;
    height: 27.5vw;
}
.projects-list__item:nth-child(3n) {
    margin-right: 0;
}
.projects-list__item._last {
    background-color: var(--header-bg);
    width: calc(32.5% - 60px);
    height: calc(27.5vw - 60px);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.projects-list__item._last .h3 {
    margin: 0 0 50px;
    color: #fff;
}
.projects-list__container {
    position: relative;
    overflow: hidden;
    padding: 0;
}
.projects-list__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
}
.projects-list__btn {
    position: absolute;
    top: 50%;
    margin-top: -30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--header-accent);
    transition: 0.2s;
    cursor: pointer;
}
.projects-list__btn svg {
    fill: #fff;
    width: 24px;
    height: 24px;
    transition: 0.2s;
}
.projects-list__btn._prev {
    right: auto;
    left: 0;
}
.projects-list__btn._prev svg {
    transform: rotate(180deg);
}
.projects-list__btn._next {
    right: 0;
}
.projects-list__btn:hover svg {
    fill: #0253b3;
}
.projects-list__btn.swiper-button-disabled {
    opacity: 0.6;
    pointer-events: none;
}
.projects .flip-card {
    position: relative;
    perspective: 1000px;
}
.projects .flip-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.projects .flip-card:hover .flip-card__inner {
    transform: rotateY(180deg);
}
.projects .flip-card__front {
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
.projects .flip-card__front:before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}
.projects .flip-card__name {
    color: #fff;
    margin: 0;
    position: relative;
}
.projects .flip-card__back {
    box-shadow: 0 5px 27px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transform: rotateY(180deg);
    text-align: center;
}
.projects .flip-card__back-inner {
    position: relative;
    padding: 20px 0 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.projects .flip-card__back h3 {
    margin: 0 0 20px;
    padding: 0 10px;
    font-size: 24px;
}
.projects .flip-card__address {
    margin: 30px 0 0;
    color: #969a97;
}
.projects .flip-card__text {
    padding: 30px 30px 0;
}
.projects .flip-card__bottom {
    background-color: #fff;
    padding: 0 30px 30px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
.projects .flip-card__bottom:before {
    content: "";
    width: 100%;
    height: 30px;
    background: linear-gradient(0deg, #fff, hsla(0, 0%, 100%, 0));
    display: block;
    position: absolute;
    top: -30px;
    left: 0;
}
.projects .flip-card__button {
    margin: 30px 0 0;
}
.projects .flip-card .flip-card__back,
.projects .flip-card .flip-card__front {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.projects__button {
    text-align: center;
    padding: 50px 0 0;
}
.partners {
    padding: 150px 0 50px;
}
.partners__inner {
    padding: 0 120px;
}
.partners__title {
    text-align: center;
}
.partners__list {
    padding: 60px 0;
    position: relative;
}
.partners .partners-slider {
    width: 100%;
}
.partners .partners-slider__container {
    position: relative;
    overflow: hidden;
    padding: 0;
}
.partners .partners-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
}
.partners .partners-slider__slide {
    height: 270px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 70px;
}
.partners .partners-slider__slide span {
    display: block;
}
.partners .partners-slider__slide:hover .partners-slider__name {
    color: #0253b3;
    bottom: 0;
}
.partners .partners-slider__image {
    width: 200px;
    height: 200px;
}
.partners .partners-slider__image img,
.partners .partners-slider__image source {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.partners .partners-slider__name {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    color: rgba(54, 55, 50, 0.6);
    width: 100%;
    text-align: center;
    font-size: 18px;
    transition: all 0.3s;
    margin-top: 30px;
    position: absolute;
    bottom: 20px;
    left: 0;
}
.partners .partners-slider__slide {
    height: 250px;
}
.partners .partners-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #f4a6b3;
    transition: 0.2s;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -60px;
    right: -60px;
    z-index: 1;
}
.partners .partners-slider__btn svg {
    fill: #fff;
    width: 24px;
    height: 24px;
    transition: 0.2s;
}
.partners .partners-slider__btn._prev {
    right: auto;
    left: -60px;
}
.partners .partners-slider__btn._prev svg {
    transform: rotate(180deg);
}
.partners .partners-slider__btn:hover svg {
    fill: #591429;
}
.partners .partners-slider__btn.swiper-button-disabled {
    opacity: 0.6;
    pointer-events: none;
}
.header-banner__image img,
.header-banner__breadcrumbs ul li a,
.header-banner__breadcrumbs ul li span {
    color: #969a97;
}
.project-tabs {
    padding: 50px 0 80px;
}
.project-tabs .project-plate {
    display: flex;
    flex-direction: column;
    position: relative;
    width: calc(33.33333% - 20px);
    margin: 0 30px 30px 0;
}
.project-tabs .project-plate:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    box-shadow: 0 13px 29px 0 rgba(0, 0, 0, 0.15);
    transition: 0.2s;
    position: absolute;
    left: 0;
    top: 0;
}
.project-tabs .project-plate:hover:before {
    box-shadow: 0 13px 29px 0 rgba(2, 83, 179, 0.3);
}
.project-tabs .project-plate:nth-child(3n) {
    margin-right: 0;
}
.project-tabs .project-plate:nth-child(3n + 2) {
    flex-direction: column-reverse;
}
.project-tabs .project-plate__image {
    height: 24vw;
    width: 100%;
}
.project-tabs .project-plate__image img,
.project-tabs .project-plate__image picture {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.project-tabs .project-plate__text {
    height: 24vw;
    padding: 30px 40px 0 30px;
    overflow: hidden;
    position: relative;
}
.project-tabs .project-plate__text span {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    color: #969a97;
    display: inline-block;
}
.project-tabs .project-plate__text h3 {
    margin: 20px 0 10px;
    font-family: Merriweather, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}
.project-tabs .project-plate__text p {
    font-family: Montserrat, sans-serif;
    font-weight: 300;
}
.project-tabs .project-plate__text-button {
    position: absolute;
    padding: 20px 30px 40px;
    bottom: 0;
    left: 0;
    height: 120px;
    width: 100%;
    background-color: #fff;
}
.project-tabs .project-plate__text-button:before {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    background: linear-gradient(0deg, #fff, hsla(0, 0%, 100%, 0));
    position: absolute;
    left: 0;
    top: -40px;
    z-index: 1;
}
.project-tabs .project-plate:last-child {
    margin-right: 0;
}
.project-tabs .project-plate._soon .project-plate__image {
    position: relative;
}
.project-tabs .project-plate._soon .project-plate__image .soon-overlay {
    position: absolute;
    left: 0;
    top: 0;
    background-color: hsla(0, 0%, 100%, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-family: Merriweather, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.project-tabs__main-content {
    display: flex;
    flex-wrap: wrap;
}
.project-tabs__list {
    padding: 10px 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-tabs__list-item {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    color: #0253b3;
    text-transform: uppercase;
    line-height: 1;
    border: 2px solid transparent;
    padding: 10px 30px;
    height: 60px;
    background-color: #fff;
    transition: 0.2s;
    margin-right: 5px;
    cursor: pointer;
}
.project-tabs__list-item._active,
.project-tabs__list-item:hover {
    border-color: #0253b3;
}
.project-tabs__list-item:last-child {
    margin: 0;
}
.gallery {
    padding: 50px 0 60px;
}
.gallery__inner {
    padding: 0 0 0 60px;
}
.gallery__title {
    margin-bottom: 50px;
    text-align: center;
    padding: 0 60px 0 0;
}
.gallery-slider {
    position: relative;
    padding: 60px 0 60px 60px;
}
.gallery-slider:before {
    content: "";
    display: block;
    width: 216px;
    height: 100%;
    background-color: #fbf7f7;
    position: absolute;
    left: 0;
    top: 0;
}
.gallery-slider__container {
    position: relative;
    overflow: hidden;
    padding: 0;
}
.gallery-slider__container:after {
    content: "";
    display: block;
    width: 120px;
    height: 100%;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
    background: linear-gradient(270deg, #fff, hsla(0, 0%, 100%, 0));
}
.gallery-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
}
.gallery-slider__slide {
    height: 420px; /* Пока оставляем для десктопа */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* ДОБАВЛЕНО для вертикального центрирования */
    position: relative;
    margin-right: 30px;
}
.gallery-slider__slide span {
    display: block;
}
.gallery-slider__slide img,
.gallery-slider__slide source {
    display: block; /* Убирает возможные отступы под изображением */
    max-width: 100%;
    max-height: 100%;
    width: auto; /* Позволяет ширине подстраиваться под высоту */
    height: auto; /* Позволяет высоте подстраиваться под ширину */
    object-fit: contain; /* Это свойство теперь будет работать корректно */
}
.gallery-slider__navigation {
    position: absolute;
    left: 0;
    bottom: 60px;
    z-index: 1;
    display: flex;
}
.gallery-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--header-accent);
    transition: 0.2s;
    cursor: pointer;
}
.gallery-slider__btn svg {
    fill: #fff;
    width: 24px;
    height: 24px;
    transition: 0.2s;
}
.gallery-slider__btn._prev {
    right: auto;
    left: -60px;
}
.gallery-slider__btn._prev svg {
    transform: rotate(180deg);
}
.gallery-slider__btn:hover svg {
    fill: #0253b3;
}
.gallery-slider__btn.swiper-button-disabled {
    opacity: 0.6;
    pointer-events: none;
}
/* Override Swiper default navigation styles */
.gallery-slider__btn.swiper-button-prev,
.gallery-slider__btn.swiper-button-next {
    position: static !important;
    width: 60px !important;
    height: 60px !important;
    margin-top: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}
.gallery-slider__btn.swiper-button-prev::after,
.gallery-slider__btn.swiper-button-next::after {
    display: none !important;
}
.contacts {
    padding: 40px 0 50px;
}
.contacts__title {
    text-align: center;
    margin-bottom: 40px;
}
.contacts .contacts-block {
    display: flex;
    justify-content: space-between;
}
.contacts .contacts-block__left,
.contacts .contacts-block__right {
    width: 50%;
}
.contacts .contacts-block__left {
    padding: 0 60px;
}
.contacts .address-row {
    margin-bottom: 40px;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
}
.contacts .address-row__col {
    display: inline-flex;
    flex-direction: column;
    width: 40%;
    margin-right: 30px;
}
.contacts .address-row__col:last-child {
    margin-right: 0;
}
.contacts .address-row__col > div {
    margin-bottom: 5px;
}
.contacts .address-row__col > div:last-child {
    margin-bottom: 0;
}
.contacts .address-row ._gray {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #969a97;
    margin-bottom: 10px;
    line-height: 1.2;
}
.contacts .address-row__social {
    display: flex;
    padding: 20px 0 0;
}
.contacts .address-row__social-item {
    display: inline-flex;
    flex-direction: column;
    width: 34px;
    height: 34px;
    margin-right: 30px;
    border: none !important;
}
.contacts .address-row__social-item:last-child {
    margin-right: 0;
}
.contacts .address-row__social-item svg {
    fill: #0253b3;
}
.contacts .address-row__social-item:hover svg {
    fill: var(--header-accent);
}
.contacts .address-row__social-item.youtube-icon {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
}
.contacts .address-row a {
    color: #0253b3;
    border-bottom: 1px solid #0253b3;
    transition: 0.2s;
}
.contacts .address-row a:hover {
    border-color: transparent;
}
.contacts #map {
    height: 450px;
    width: 100%;
}
.contacts .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom .gmnoprint {
    left: -10px !important;
    top: 57px !important;
    z-index: 9999999 !important;
}
.contacts .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom .gmnoprint > div:not(.gm-style-cc) {
    display: flex;
    width: unset !important;
    height: 60px !important;
    top: 57px !important;
    left: -10px !important;
    z-index: 9999999;
}
.contacts .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom .gmnoprint > div:not(.gm-style-cc) > button img,
.contacts .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom .gmnoprint > div:not(.gm-style-cc) > div:nth-child(2) {
    display: none;
}
.contacts .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom .gmnoprint > div:not(.gm-style-cc) > button.gm-control-active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px !important;
    height: 60px !important;
}
.contacts .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom .gmnoprint > div:not(.gm-style-cc) > button:first-of-type {
    background: #ff9c00 url(../images/plus.png) no-repeat 50% !important;
    background-size: 100% 100% !important;
}
.contacts .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom .gmnoprint > div:not(.gm-style-cc) > button:first-of-type:hover {
    background: #ff9c00 url(../images/plus_h.png) no-repeat 50% !important;
}
.contacts .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom .gmnoprint > div:not(.gm-style-cc) > button:last-of-type {
    background: #ff9c00 url(../images/minus.png) no-repeat 50% !important;
    background-size: 100% 100% !important;
}
.contacts .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom .gmnoprint > div:not(.gm-style-cc) > button:last-of-type:hover {
    background: #ff9c00 url(../images/minus_h.png) no-repeat 50% !important;
}
.text-image {
    padding: 60px 0 0;
}
.text-image__row {
    display: flex;
    align-items: center;
}
.text-image__row > div {
    width: 50%;
}
.text-image__row:nth-child(odd) {
    flex-direction: row-reverse;
}
.text-image__row._text ul li:before {
    background-color: var(--header-bg);
}
.text-image__image img,
.text-image__image source {
    width: 100%;
    height: 100%;
    min-height: 650px;
    -o-object-fit: cover;
    object-fit: cover;
}
.text-image__text {
    padding: 50px 60px;
}
.text-block {
    padding: 40px 60px 0;
}
.text-block .theses__row {
    margin: 35px 0;
}
.text-block .theses__row-left img,
.text-block .theses__row-left source {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.text-block__image {
    display: flex;
}
.text-block__image > div {
    width: 50%;
}
.text-block__image > div:last-child {
    padding: 0 0 0 60px;
}
.text-block__image > div:last-child img,
.text-block__image > div:last-child source {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.text-block__image ._image {
    margin-right: -60px;
}
.text-block img {
    width: auto;
}
.text-block a {
    border-bottom: 1px solid #0253b3;
    color: #0253b3;
    transition: 0.2s;
}
.text-block a:hover {
    border-color: transparent;
}
.form-block {
    padding: 10px 10px 50px;       /*110px 120px 50px;*/
}
.form-block__title {
    text-align: center;
}
.form-block__inner {
    max-width: 700px;
}
.form-block__inner.container {
    margin: 60px auto 0;
}
.form-block__inner form {
    width: 100%;
}

.form-block__button {
    display: flex;
    justify-content: center;
    margin-top: 35px;
    /* margin-left: 76px; */
}

.form-block__button .wpcf7-spinner:not(.is-active) {
    display: none;
}

/*.form-block .g-recaptcha {
    margin-right: 30px;
}
*/
.form-item {
    position: relative;
    margin-bottom: 25px;
}
.form-item input[type="text"] {
    /* padding: 15px 20px;
    border: 2px solid #591429; */
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    color: #363732;
}
.form-item ::-webkit-input-placeholder {
    color: #363732;
}
.form-item :-moz-placeholder,
.form-item ::-moz-placeholder {
    color: #363732;
}
.form-item ::placeholder {
    color: #363732;
    opacity: 1;
}
.form-item :-ms-input-placeholder {
    color: #363732;
}
.form-item._terms {
    margin-top: 35px;
}
.form-item._terms .wpcf7-list-item {
    margin: 0;
}
.wpcf7-list-item input[type="checkbox"] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 20px;
}
.wpcf7-list-item-label {
    position: relative;
    display: flex;
    padding: 0;
    cursor: pointer;
}
.wpcf7-list-item-label:before {
    content: "";
    margin-right: 15px;
    display: inline-block;
    vertical-align: text-top;
    min-width: 25px;
    width: 25px;
    height: 25px;
    background: #fff;
    border: 2px solid #591429;
    margin-top: -2px;
    transition: 0.2s;
}
.wpcf7-list-item-label:after {
    content: "";
    position: absolute;
    left: 7px;
    top: 10px;
    background: #fff;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 #fff, 4px 0 0 #fff, 4px -2px 0 #fff, 4px -4px 0 #fff, 4px -6px 0 #fff, 4px -8px 0 #fff;
    transform: rotate(45deg);
    opacity: 0;
    transition: 0.2s;
}
.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label:before {
    background: var(--header-bg);
}
.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
    opacity: 1;
}
.select2-results__option.select2-results__option--disabled.loading-results {
    display: none;
}
select {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}
.select2-results {
    display: block;
    background-color: #fff;
}
.select2-results__options {
    padding: 0;
    margin: 0;
}
.select2-results__option {
    padding: 10px 0;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    transition: 0.2s;
    cursor: pointer;
}
.select2-results__option:hover {
    color: var(--header-accent);
}
.select2-dropdown {
    z-index: 99;
    display: block;
    padding: 5px 20px;
    border: 2px solid #591429;
    background: #fff;
    max-height: 270px;
    overflow-x: auto;
}
.select2-search {
    display: none !important;
}
.select2-container.select2-container--open .select2-dropdown.select2-dropdown--above {
    border-bottom: none;
    margin-top: 15px;
}
.select2-container.select2-container--open .select2-dropdown.select2-dropdown--below {
    border-top: none;
    margin-top: -15px;
}
.select .select2-container {
    position: relative;
    display: flex;
    margin: 0;
    box-sizing: border-box;
    vertical-align: middle;
    background-color: #fff;
}
.select .select2-container.select2 {
    width: 100% !important;
    border: 2px solid #591429;
}
.select .select2-container span {
    display: inline-block;
}
.select .select2-container .selection {
    width: 100%;
    cursor: pointer;
    transition: 0.2s;
}
.select .select2-container .selection .select2-selection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
}
.select .select2-container .selection .select2-selection__arrow {
    min-width: 10px;
    width: 10px;
    height: 10px;
    margin-left: 10px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.select .select2-container .selection .select2-selection__arrow b {
    border: solid #363732;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: 0.2s;
}
.select .select2-container .selection .select2-selection__rendered {
    max-width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.select .select2-container .selection:hover {
    color: var(--header-accent);
}
.select .select2-container .selection:hover .select2-selection__arrow b {
    border-color: var(--header-accent);
}
.select .select2-container.select2-container--open .select2-selection__arrow {
    transform: rotate(180deg);
}
.select .select2-container.select2-container--open .select2-selection__arrow b {
    margin: -4px 0 0 2px;
}
.select .select2-results.mCustomScrollbar {
    max-height: 165px;
    height: 100%;
}
.select .mCSB_scrollTools .mCSB_draggerContainer {
    height: calc(100% - 30px);
}
.select .mCSB_scrollTools .mCSB_draggerRail {
    border-radius: 0;
    background: #524e56;
}
.select .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background: var(--header-bg) !important;
    width: 6px;
    border-radius: 3px;
}


.mCSB_scrollTools.mCSB_scrollTools_vertical{
    width: 12px  !important;
}

.mCSB_scrollTools.mCSB_scrollTools_vertical .mCSB_dragger {
    min-height: 5px !important;
}
.mCSB_scrollTools.mCSB_scrollTools_vertical .mCSB_dragger .mCSB_dragger_bar {
    width: 100%; 
}


@media (min-width: 768px) {
    .projects-list.slides-2 .projects-list__wrapper {
        transform: translateZ(0) !important;
        justify-content: center;
    }
    .projects-list.slides-2 .projects-list__btn,
    .projects-list.slides-2 .projects-list__item.swiper-slide-duplicate {
        display: none;
    }
}
@media (min-width: 1300px) {
    .projects-list.slides-3 .projects-list__wrapper {
        transform: translateZ(0) !important;
        justify-content: center;
    }
    .projects-list.slides-3 .projects-list__btn,
    .projects-list.slides-3 .projects-list__item.swiper-slide-duplicate {
        display: none;
    }
}
@media (min-width: 1920px) {
    .projects-list__item {
        width: 590px;
        height: 590px;
    }
    .header-banner__image {
        height: 560px;
    }
    .project-tabs .project-plate__image,
    .project-tabs .project-plate__text {
        height: 380px;
    }
}
@media (max-width: 1600px) {
    .header-social {
        margin-left: 25px;
    }
    .header-social__item {
        margin-left: 20px;
    }
    .header-menu > ul > li {
        padding: 0 30px;
    }
    .header-submenu__col {
        padding: 30px;
    }
    .header__logo {
        margin: 0 40px;
    }
    .header .lang-menu {
        margin-left: 30px;
    }
}
@media (max-width: 1600px) {
    .header__right {
        position: relative;
    }
}
@media (max-width: 1366px) {
    .footer {
        padding: 30px 60px;
    }
    .footer .footer-menu__col:first-child {
        min-width: unset;
    }
    .footer .footer-dev__logo {
        margin-left: 5px;
    }
    .start-block__inner {
        height: 700px;
    }
    .about-us__inner {
        flex-direction: column;
    }
    .about-us .about-text {
        width: 100%;
        padding: 100px 60px 160px;
    }
    .about-us .about-text__title {
        text-align: center;
    }
    .about-us .about-text__mission-title {
        min-width: 240px;
    }
    .about-us .about-text__button {
        margin-top: 50px;
    }
    .about-us .about-slider {
        width: 100%;
        height: auto;
        margin: -60px 0 0;
        padding: 0 60px;
    }
    .about-us .about-slider__slide {
        max-width: unset;
        width: 100% !important;
        height: 700px;
    }
    .about-us .about-slider__navigation {
        position: unset;
    }
    .about-us .about-slider__pagination {
        position: absolute;
        left: 0;
        bottom: 0;
        padding: 40px 20px;
        z-index: 1;
        justify-content: center;
        width: 100%;
    }
    .about-us .about-slider__btn {
        margin-top: -30px;
        position: absolute;
        top: 50%;
        z-index: 1;
    }
    .about-us .about-slider__btn._prev {
        left: 0;
    }
    .about-us .about-slider__btn._next {
        right: 0;
    }
    .projects-list__item {
        height: 28vw;
    }
    .partners {
        padding: 100px 0 60px;
    }
}
@media (max-width: 1365px) {
    .container {
        max-width: 100%;
        margin: 0;
    }
}
@media (max-width: 1360px) {
    .header {
        padding: 0 30px;
    }
    .header-menu > ul > li {
        padding: 0 20px;
    }
    .header-menu > ul > li .menu-link,
    .header-menu > ul > li a,
    .header .lang-menu .lang-menu__dropdown a,
    .header .lang-menu__btn {
        font-size: 14px;
    }
    .header-submenu {
        left: -30px;
        width: calc(100% + 60px);
    }
    .header-submenu__col {
        padding: 30px 20px;
    }
    .header__logo {
        margin: 0 20px;
    }
}
@media (max-width: 1300px) {
    .projects {
        padding: 100px 0 20px;
    }
    .projects-list__item {
        height: 42vw;
    }
    .projects .flip-card__name {
        font-size: 40px;
        line-height: 1.2;
    }
    .projects .flip-card__back-inner h3 {
        font-size: 20px;
    }
    .project-tabs .project-plate__image,
    .project-tabs .project-plate__text {
        height: 30vw;
    }
}
@media (max-width: 1280px) {
    .container {
        padding: 0 30px;
    }
}
@media (max-width: 1200px) {
    .header-menu > ul > li {
        padding: 0 15px;
    }
    .header-menu > ul > li .menu-link,
    .header-menu > ul > li a {
        font-size: 13px;
    }
    .header__logo {
        margin: 0 20px;
    }
    .project-tabs .project-plate__image,
    .project-tabs .project-plate__text {
        height: 34vw;
    }
}
@media (max-width: 1023px) {
    .container {
        padding: 0 20px;
    }
    .sm-none {
        display: none !important;
    }
    .sm-block {
        display: block !important;
    }
    .h1,
    h1 {
        font-size: 32px;
    }
    .h2,
    h2 {
        font-size: 28px;
    }
    .h3,
    h3 {
        font-size: 22px;
    }
    .h4,
    h4 {
        font-size: 16px;
    }
    .main-layout {
        padding: 60px 0 0;
    }
    ._text .h1,
    ._text .h2,
    ._text .h3,
    ._text .h4,
    ._text .h5,
    ._text h1,
    ._text h2,
    ._text h3,
    ._text h4,
    ._text h5 {
        margin: 0 0 25px;
    }
    ._text ul {
        padding: 0 0 0 20px;
    }
    .btn {
        height: 46px;
        padding: 15px 20px;
    }
    .btn-orange,
    .btn-outline,
    .btn-transparent {
        font-family: Montserrat, sans-serif;
        font-weight: 600;
    }
    .theses__row > div:first-child {
        width: 200px;
        padding-right: 20px;
    }
    .theses__row > div:last-child {
        width: calc(100% - 200px);
    }
    .header {
        padding: 0 20px;
        height: 60px;
        width: 100vw;
    }
    .header__inner {
          /*! padding: 0;  // fix page border   */
        justify-content: space-between;
    }
    .header__right {
        position: unset;
    }
    .header .header-menu {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100vw;
        display: none;
        padding: 22px 20px;
        background-color: var(--header-bg);
        z-index: 10;
        overflow-y: auto;
    }
    .header .header-menu > ul,
    .header .header-menu > ul > li {
        height: auto;
        flex-direction: column;
    }
    .header .header-menu > ul > li {
        padding: 15px 0;
        align-items: center;
        text-align: center;
    }
    .header .header-menu > ul > li .menu-link,
    .header .header-menu > ul > li a {
        font-size: 16px;
    }
    .header .header-menu > ul > li .menu-link .menu-link__icon,
    .header .header-menu > ul > li a .menu-link__icon {
        margin: 0 0 0 10px;
        min-width: 10px;
        width: 10px;
        height: 7px;
    }
    .header .header-menu > ul > li .header-submenu {
        position: unset;
        padding: 5px 0 0;
        width: 100%;
    }
    .header .header-menu > ul > li .header-submenu__title {
        margin-bottom: 1px;
    }
    .header .header-menu > ul > li .header-submenu__inner {
        flex-direction: column;
    }
    .header .header-menu > ul > li .header-submenu__col {
        padding: 10px 0 0;
    }
    .header .header-menu > ul > li .header-submenu li {
        padding: 7px 0;
        margin: 0;
    }
    .header .header-menu > ul > li .header-submenu li a {
        font-family: Montserrat, sans-serif;
        font-weight: 400;
    }
    .header .mob-menu-btn {
        position: relative;
        width: 24px;
        height: 19px;
        margin-left: 40px;
    }
    .header .mob-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        position: absolute;
        left: 0;
        top: 8px;
        background: var(--header-text);
        z-index: 1;
        opacity: 1;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.3s ease;
    }
    .header .mob-menu-btn span:first-child {
        top: 0;
    }
    .header .mob-menu-btn span:last-child {
        top: calc(100% - 3px);
    }
    .header .mob-menu-close {
        position: absolute;
        right: 20px;
        top: 20px;
    }
    .header-social._mob {
        display: flex;
        margin: 20px 0 0;
        justify-content: center;
    }
    .header-phone._mob,
    .header-phone._mob:link,
    .header-phone._mob:visited,
    .header-phone._mob:active {
        display: block;
        margin: 15px 0 0;
        text-align: center;
        color: var(--header-text) !important;
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
        -webkit-text-fill-color: var(--header-text) !important;
        -webkit-appearance: none;
        appearance: none;
    }
    .header__logo {
        width: 88px;
        min-width: 64px;
        height: 88px;
        margin: 0;
    }
    .header__lang .menu-link__icon {
        margin: 0 0 0 10px;
        transition: 0.3s;
        min-width: 10px;
        width: 10px;
        height: 7px;
    }
    .footer {
        padding: 30px 20px;
        font-family: Montserrat, sans-serif;
        font-weight: 400;
    }
    .footer .footer-menu {
        padding: 0;
        flex-direction: column;
    }
    .footer .footer-menu__collapse {
        display: none;
        padding: 5px 0;
    }
    .footer .footer-menu__title {
        position: relative;
    }
    .footer .footer-menu__col {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .footer .footer-menu__col:first-child {
        min-width: unset;
        order: 2;
        display: flex;
        flex-direction: column;
    }
    .footer .footer-menu__col:first-child .footer-social {
        order: 0;
        margin: 30px 0;
    }
    .footer .footer-menu__col:first-child p {
        order: 1;
    }
    .footer .footer-menu__col:first-child .footer-dev {
        order: 2;
        margin: 30px 0 0;
    }
    .footer .footer-menu__col:first-child .footer-dev__logo {
        margin-left: 20px;
    }
    .footer .footer-menu__col .footer-menu__arrow.arr-down {
        min-width: 10px;
        width: 10px;
        height: 6px;
        margin-left: 10px;
        position: relative;
        top: -2px;
    }
    .footer .footer-menu__col .footer-menu__arrow.arr-down svg {
        fill: #fff;
        transition: all 0.2s;
    }
    .footer .footer-menu__col._opened .footer-menu__arrow {
        transform: rotate(180deg);
    }
    .footer .footer-menu__col ul li {
        margin: 0 0 15px;
    }
    .footer .footer-menu__arrow {
        transition: all 0.3s;
    }
    .footer .footer-menu__arrow svg path {
        fill: #fff;
    }
    .footer__bottom {
        padding: 15px 30px;
    }
    .start-block__inner {
        height: 360px;
    }
    .start-block .scroll-btn {
        top: 152px;
        font-size: 13px;
        right: -50px;
    }
    .start-block .scroll-btn:before {
        height: 3px;
        width: 70px;
    }
    .start-block__controls {
        left: 20px;
        bottom: 20px;
        width: auto;
    }
    .about-us__inner {
        flex-direction: column-reverse;
    }
    .about-us .about-text {
        padding: 40px 20px;
        width: 100%;
        font-size: 16px;
        line-height: 1.3;
    }
    .about-us .about-text__title {
        margin-bottom: 20px;
    }
    .about-us .about-text__mission {
        margin: 50px 0;
        flex-direction: column;
    }
    .about-us .about-text__mission-title {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .about-us .about-text__button {
        margin-top: 10px;
    }
    .about-us .about-slider {
        width: 100%;
        margin: 0;
        padding: 0;
        position: relative;
    }
    .about-us .about-slider__slide {
        height: 262px !important;
    }
    .about-us .about-slider__pagination {
        padding: 17px 20px;
    }
    .about-us .about-slider__pagination-item {
        width: 8px;
        height: 8px;
        margin: 0 10px;
    }
    .about-us .about-slider__btn {
        width: 40px;
        height: 40px;
        position: absolute;
        margin-top: -20px;
        z-index: 1;
    }
    .about-us .about-slider__btn._prev svg {
        transform: rotate(180deg) scale(0.6);
    }
    .about-us .about-slider__btn._next svg {
        transform: scale(0.6);
    }
    .projects .projects-list {
        padding: 0 70px;
    }
    .projects-list__item {
        height: 44vw;
    }
    .projects .flip-card__name {
        font-size: 30px;
    }
    .header-banner__image {
        height: 200px;
    }
    .header-banner__breadcrumbs ul {
        padding: 20px 0 30px;
    }
    .header-banner__breadcrumbs ul li {
        margin-right: 20px;
    }
    .project-tabs {
        padding: 40px 0 60px;
    }
    .project-tabs .project-plate {
        width: calc(50% - 20px);
    }
    .project-tabs .project-plate__image,
    .project-tabs .project-plate__text {
        height: 36vw;
    }
    .project-tabs .project-plate__text-button {
        padding: 20px 30px 30px;
        height: 100px;
    }
    .project-tabs .project-plate:nth-child(2n) {
        margin-right: 0;
        flex-direction: column-reverse;
    }
    .project-tabs .project-plate:nth-child(3n) {
        margin-right: 0;
    }
    .project-tabs .project-plate:nth-child(3n + 2) {
        flex-direction: column-reverse;
    }
    .project-tabs .project-plate:nth-child(odd) {
        margin-right: 30px;
    }
    .gallery {
        padding: 30px 0;
    }
    .gallery__inner,
    .gallery__title {
        padding: 0;
    }
    .contacts {
        padding: 30px 0 40px;
    }
    .contacts .contacts-block__left {
        padding: 0;
        width: 100%;
    }
    .contacts .contacts-block__right {
        width: 100%;
    }
    .contacts .address-row {
        margin-bottom: 30px;
    }
    .contacts .address-row ._gray {
        font-size: 18px;
    }
    .text-image {
        padding: 40px 0 0;
    }
    .text-image__row,
    .text-image__row:nth-child(odd) {
        flex-direction: column-reverse;
    }
    .text-image__row > div {
        width: 100%;
    }
    .text-image__image img {
        min-height: unset;
    }
    .text-block,
    .text-image__text {
        padding: 30px 0;
    }
    .text-block__image > div:last-child ._image {
        margin: 0;
    }
    .text-block .theses__row {
        margin: 25px 0;
    }
    .text-block .theses__row-left img,
    .text-block .theses__row-left source {
        width: auto;
        height: auto;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .alignsomeright {
        margin: 0px 0px 10px 10px !important;
    }

    .header-banner__image img,
    .header-banner__image picture {
        width: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }

    .about-us .hidden-text._collapse .hidden-text__btn {
        display: block;
    }
    .about-us .hidden-text._collapse .hidden-text__inner {
        max-height: 320px;
        overflow: hidden;
    }
    .about-us .hidden-text._collapse._opened .hidden-text__btn {
        background: transparent;
    }
    .about-us .hidden-text._collapse._opened .hidden-text__btn svg {
        transform: rotate(-180deg);
    }
    .projects__inner.container {
        padding: 0;
    }
    .projects .flip-card__front {
        flex-direction: column;
    }
    .projects .flip-card__front .btn {
        margin-top: 50px;
        position: relative;
    }
    .projects-list {
        padding: 0 60px;
    }
    .projects-list__item {
        height: 80vw;
    }
    .projects-list__btn {
        width: 40px;
        height: 40px;
        z-index: 1;
    }
    .projects-list__btn._prev svg {
        transform: rotate(180deg) scale(0.6);
    }
    .projects-list__btn._next svg {
        transform: scale(0.6);
    }
    .projects__button {
        padding: 40px 0 0;
    }
    .partners__inner {
        padding: 20px 0 0;
    }
    .partners__list {
        padding: 0;
    }
    .partners .partners-slider__image {
        width: 160px;
        height: 160px;
    }
    .partners .partners-slider__btn {
        width: 40px;
        height: 40px;
        z-index: 1;
    }
    .partners .partners-slider__btn._prev {
        left: 0;
    }
    .partners .partners-slider__btn._prev svg {
        transform: rotate(180deg) scale(0.6);
    }
    .partners .partners-slider__btn._next {
        right: 0;
    }
    .partners .partners-slider__btn._next svg {
        transform: scale(0.6);
    }
    .project-tabs .project-plate {
        width: 100%;
        margin-right: 0 !important;
        flex-direction: column;
    }
    .project-tabs .project-plate__image,
    .project-tabs .project-plate__text {
        height: 300px;
    }
    .project-tabs__list {
        flex-wrap: wrap;
    }
    .project-tabs__list-item {
        padding: 13px 20px;
        height: 46px;
        margin-bottom: 5px;
    }
    .project-tabs__text {
        padding: 20px;
    }
    .gallery {
        padding: 30px 0;
    }
    .gallery-slider {
        padding: 40px 0 40px 40px;
    }
    .gallery-slider__slide {
        height: 260px;
        margin-right: 30px;
    }
    .gallery-slider__navigation {
        bottom: 40px;
    }
    .gallery-slider__btn {
        width: 40px;
        height: 40px;
        z-index: 1;
    }
    .gallery-slider__btn._prev svg {
        transform: rotate(180deg) scale(0.6);
    }
    .gallery-slider__btn._next svg {
        transform: scale(0.6);
    }
    .contacts .contacts-block {
        flex-direction: column;
    }
    .contacts .contacts-block__left {
        padding: 0;
        width: 100%;
    }
    .contacts .contacts-block__right {
        width: 100%;
    }
    .contacts .contacts-block__right #map {
        height: 300px;
    }
    .contacts .address-row__col {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-top: 20px;
    }
    .contacts .gmnoprint > div:not(.gm-style-cc) {
        height: 40px !important;
        top: 77px !important;
        left: -10px !important;
    }
    .contacts .gmnoprint > div:not(.gm-style-cc) > button.gm-control-active {
        width: 40px !important;
        height: 40px !important;
    }
    .text-image__text {
        padding: 30px 0 20px;
    }
    .text-block__image {
        flex-direction: column-reverse;
    }
    .text-block__image > div {
        width: 100%;
    }
    .text-block__image > div:last-child {
        padding: 0 0 60px;
    }
    .text-block__image > div:last-child ._image {
        margin: 0;
    }
    .form-block {
        padding: 80px 0 20px;
    }
    .form-block__inner {
        max-width: 100%;
    }
    .form-block__button {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
    }
    .form-block .g-recaptcha {
        margin: 0 0 30px;
    }
}
@media (max-width: 767px) {
    body {
        font-size: 16px;
        line-height: 1.4;
    }
    .xs-none {
        display: none !important;
    }
    .xs-block {
        display: block !important;
    }
    .container {
        padding: 0 20px;
    }
    ._text table {
        display: block;
        overflow-x: auto;
    }
    .theses__row {
        flex-direction: column;
    }
    .theses__row > div:first-child {
        width: unset;
        padding-right: 0;
    }
    .theses__row > div:last-child {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .projects-list {
        padding: 0 10px;
    }
    .form-block .g-recaptcha {
        transform: scale(0.8);
        transform-origin: 0 0;
    }
}

.rc-anchor-normal-footer {
    display: none !important;
}
.grecaptcha-badge { 
    visibility: hidden; 
}


.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
    margin: auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignsomeright {
    float:right;
    margin: 5px 300px 20px 20px;
}

.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin:0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}


.wpcf7-not-valid-tip {
    display: none!Important;
}
.wpcf7-not-valid {
    border: 1px solid #af3b41!Important;
}
.wpcf7-response-output {
    border: none!Important;
    padding: 20px 0 0 0!Important;
    margin: 0!Important;
    color: #FFF;
}

.ww-hidden {
    display:none;
}

.page_vac-burg-bl-forms input[type="email"],.page_vac-burg-bl-forms input[type="tel"]  {
    width: 100%;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 25px;
    margin-bottom: 17px;
    display: block;
}
body._purple .footer,
body._purple .gallery-slider:before,
body._purple .header,
body._purple .header-menu,
body._purple .header-submenu,
body._purple .lang-menu__dropdown {
    background-color: #9163cc;
}
.bubble {
    position: relative;
    width: 625px;
    padding: 1.6rem 2rem 0.5rem 1.8rem;
    text-align: justify;
    border-radius: 24px;
    padding: 20px;
    border: #2663A4 solid 4px;
}

.bubble:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: white transparent transparent transparent;
    top: 70%;
    border-width: 24px 35px 0px 0px;
    right: -29px;
    margin-top: -12px;
}


.bubble:before {
    content: '';
    position: absolute;
    width: 0;
    z-index: 0;
    border-style: solid;
    border-width: 26px 39px 0 0;
    border-color: #2663A4 transparent transparent transparent;
    top: 70%;
    right: -41px;
    margin-top: -15px;
    display: block;
}

/* убираем, если меньше 1280px */
@media (max-width: 1280px) {
    .bubble {
        border: none;
        padding: 0;
        height: auto;
        width: 100%;
        text-align: left;
    }

    .bubble:after,
    .bubble:before {
        display: none;
    }
}

.text-image__row._full-width > div {
    flex: 0 0 100%;
}

.text-image__text._expand, .text-image__image._expand {
    flex: 0 0 100%;
}


.orangedot {
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    position: relative; /* Для позиционирования псевдоэлемента ::before */
}

.orangedot::before {
    content: "■"; /* Символ квадрата */
    color: #ff8400; /* Цвет символа */
    font-size: 1.5em; /* Размер символа */
    top: 0; /* Выравнивание по верхней границе элемента .orangedot */
    line-height: 1; /* Установка высоты строки для псевдоэлемента */
    margin-right: 0.2em;
}

.newscontainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
    margin: 0 auto;
}

.newscontainer-image {
    padding-top: 50px;
}

.newscontainer-text {
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 640px) {
 .newscontainer {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
 }
 .newscontainer-image {
    padding-top: 8px;
 }
 .header-banner__title {
   /* line-height: 2em; */
 }

}


.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 65%;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-item__image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 0px;
}

.news-item__content {
    flex: 1;    
}

.news-item h2 {
    margin: 0 0 10px;
    font-size: 1.35em;
}

.news-item p {
    margin: 0;
    color: #555;
}


.post-featured-image {
    position: relative;
}

.post-featured-image::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to top, rgb(89, 20, 41), rgb(89, 20, 41, 0.7), rgba(0, 87, 200, 0));
    pointer-events: none;
}

.news-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.news-list a:visited {
  color: #363732;
}

.post-featured-image {
    position: relative;
    display: block;
}

.image-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    color: white;
    z-index: 2;
    font-size: 1.5em;
    text-align: left;
    font-weight: bold;
}

.image-overlay-text h1 {
    margin: 0;
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1.3em;

}

.adjacent-news-section {
    background: #f4a6b3;
    padding: 60px 0;
}
.adjacent-news-inner {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.adjacent-news-item {
    flex: 1 1 calc(50% - 15px);
    color: #FFF;
}
.adjacent-news-label {
    background: var(--header-bg);
    padding: 10px 20px;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.adjacent-news-link img {
    width: 100%;
    height: 322px;
    display: block;
    margin-bottom: 12px;
    object-fit: cover;
}
.adjacent-news-link h3 {
    margin: 0 0 10px;
    font-size: 1.25em;
}
.adjacent-news-link p {
    margin: 0;
    opacity: 0.9;
}
@media(max-width: 768px) {
    .adjacent-news-item {
        flex: 1 1 100%;
    }
    .adjacent-news-inner {
        gap: 20px;
    }

}

.newscontainer-text h2 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1.5em;
    line-height: 1.2em;
    font-weight: 700;
    margin-block: 0;
}

a.adjacent-news-link p, 
a.adjacent-news-link h3 {
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

/* CAT FILTER */

.post-tabs {
    margin-bottom: 30px;
}

.post-tabs__inner {
    padding: 0px 0;
}

.post-tabs__list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    justify-content: center;
}

.post-tabs__list-item {
    background-color: #fff;
    border: 2px solid transparent;
    color: #363732;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    line-height: 1;
    margin-right: 3vw;
    padding: 10px 30px;
    text-transform: uppercase;
    transition: 0.2s;
}

.post-tabs__list-item._active,
.post-tabs__list-item:hover {
    background-color: var(--header-bg);
    color: #ffffff;
}

.post-tabs__list-item:last-child {
    margin: 0;
}

.post-tabs__main-content {
    display: none;
}

/* Make the first tab visible by default */
.post-tabs__main-content:first-child {
    display: block;
}

/* Centered news list */
.post-tabs .news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 65%;
    margin: 0 auto;
}

.post-tabs .news-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-tabs .news-item__image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 0px;
}

.post-tabs .news-item__content {
    flex: 1;    
}

.post-tabs .news-item h2 {
    margin: 0 0 10px;
    font-size: 1.35em;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.post-tabs .news-item p {
    margin: 0;
    color: #555;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .post-tabs__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .post-tabs__list-item {
        margin-right: 5px;
        margin-bottom: 5px;
        padding: 13px 20px;
        height: 46px;
    }
    
    .post-tabs .news-list {
        max-width: 100%;
    }
 .post-tabs .news-item h2 {
    font-size: 1.15em;
 }

}

/* News Slider Styles */
.news-slider {
    padding: 50px 0 60px;
    background-color: #fff;
}

.news-slider__inner {
    position: relative;
    padding: 0 60px;
}

.news-slider__container {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.news-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
}

.news-slider__slide {
    flex-shrink: 0;
    height: auto;
    position: relative;
}

.news-slider__item {
    background-color: #f4a6b3;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #000;
    display: block;
    height: 100%;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}

.news-slider__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-slider__image {
    height: 275px;
    overflow: hidden;
}

.news-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-slider__date {
    background-color: var(--header-bg);
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: math;
    font-style: italic;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.news-slider__content {
    background-color: #f4a6b3;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    padding: 20px;
    color: #000;
}

.news-slider__content h3 {
    color: #593139;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px;
}

.news-slider__content p {
    color: #333;
    flex-grow: 1;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.news-slider__btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--header-bg);
    z-index: 3;
    cursor: pointer;
    transition: 0.2s;
}

.news-slider__btn:after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-width: 3px 3px 0 0;
    border-color: #fff;
}

.news-slider__btn._prev {
    left: 0;
}

.news-slider__btn._prev:after {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.news-slider__btn._next {
    right: 0;
}

.news-slider__btn._next:after {
    transform: rotate(45deg);
    margin-right: 5px;
}

.news-slider__btn:hover {
    background-color: #f4a6b3;
}

/* Responsive Styles */
@media (max-width: 1023px) {
    .news-slider__inner {
        padding: 0 40px;
    }
    
    .news-slider__btn {
        width: 40px;
        height: 40px;
    }
    
    .news-slider__content {
        min-height: 160px;
    }
    
    .news-slider__content h3 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .news-slider {
        padding: 30px 0;
    }
    
    .news-slider__inner {
        padding: 0 30px;
    }
    
    .news-slider__image {
        height: 200px;
    }
    
    .news-slider__btn {
        width: 30px;
        height: 30px;
    }
    
    .news-slider__btn:after {
        width: 8px;
        height: 8px;
    }
    
    .news-slider__content {
        padding: 15px;
        min-height: 120px;
    }
    
    .news-slider__content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .news-slider__content p {
        font-size: 13px;
    }
}


   .social-share-buttons {
        display: flex;
        gap: 10px;
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .share-button {
        display: inline-block;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .share-button:hover {
        transform: scale(1.1);
        opacity: 0.8;
    }

    .share-button img,
    .share-button svg {
        width: 40px;
        height: 40px;
        display: block;
        filter: opacity(70%);
    }

    @media (max-width: 768px) {

        .share-button img,
        .share-button svg {
            width: 35px;
            height: 35px;
        }
    }

@media (max-width: 480px) {
    .post-123 .image-overlay-text h1 {
        font-size: 0;
    }
    
    .post-123 .image-overlay-text h1::before {
        content: "Серпневі інтенсиви для першокласників";
        font-size: 1.3em;
        display: block;
    }

  .comment-bubble {
    width: 300px !important;
    height: 540px !important;
    margin-top: 0;
    margin-left: 5px !important; /* Небольшой отступ слева */
    font-size: 14px !important; /* Уменьшаем размер шрифта */
    padding: 20px; /* Уменьшаем внутренние отступы */
  }


}


.header-banner__image picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.comment-bubble {
    width: 45vw;
    /* height: 300px; */
    margin-left: clamp(4vw, 3%, 19vw );
    position: relative;
    text-align: left;
    font-family: Montserrat;
    font-size: 18px;
    background: var(--gold);
    border-width: 4px;
    border-style: solid;
    border-color: var(--orange);
    border-image: initial;
    border-radius: 30px;
    padding: 30px;
}

.comment-bubble:before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  left: 100%;
  top: calc(50% - 12px);
  /*! border-top: 12px solid transparent; */
  border-left: 58px solid var(--gold);
  border-bottom: 25px solid transparent;
}


* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    /* max-width: 90vw; */
    margin-block: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 130%;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-block: 1em;
    font-size: 18px;
    line-height: 120%;
}

img {
    width: auto;
    height: auto;
}

input {
    display: block;
    margin: 0.5em 0;
    padding: 1em;
    background-color: pink;
    border: none;
    border-radius: 8px;
}


.red {
    background-color: var(--header-bg);
    color: white;
}

.red h2 {
    color: pink;
}



/* ======================================================================
   ЛЕНДІНГ «ПОЗАШКІЛЬНА ОСВІТА А+» (page-2276.php)
   Усі класи з префіксом .pz-, щоб не перетинатися зі стилями теми.
   ====================================================================== */
.pz { font-family: Montserrat, sans-serif; color: var(--pz-text); }
.pz *, .pz *::before, .pz *::after { box-sizing: border-box; }
.pz-container { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 60px; }
.pz-title { margin: 0 0 48px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 44px; line-height: 1.15; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; color: var(--pz-navy); }
.pz-title--light { color: #fff; }
.pz p:not([class]) { margin: 0 0 1em; }
.pz p:not([class]):last-child { margin-bottom: 0; }

/* кнопки */
.pz-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; padding: 18px 48px; border: none; border-radius: 12px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s, box-shadow .2s; }
.pz-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.pz-btn--coral { background: var(--pz-coral); color: #fff; }
.pz-btn--coral:hover { background: var(--pz-coral-dark); color: #fff; }
.pz-btn--navy { background: var(--pz-navy); color: #fff; }
.pz-btn--navy:hover { background: var(--pz-navy-dark); color: #fff; }

/* ---------- Перший екран ---------- */
.pz-hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 700px; padding: 80px 40px; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.pz-hero__bg { position: absolute; inset: 0; z-index: -2; }
.pz-hero__bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pz-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,30,40,.30) 0%, rgba(20,30,40,.42) 100%); }
.pz-hero__inner { max-width: 1000px; }
.pz-hero__title { margin: 0 0 12px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 56px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; }
.pz-hero__subtitle { margin: 0 0 40px; font-weight: 600; font-size: 34px; line-height: 1.25; }
.pz-hero__text { margin: 0 auto 40px; max-width: 920px; font-size: 18px; line-height: 1.6; }
.pz-hero__text p { margin: 0 0 14px; }
.pz-hero__text p:last-child { margin: 0; }

/* ---------- Цифри ---------- */
.pz-stats { padding: 90px 0 70px; }
.pz-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.pz-stat { text-align: center; }
.pz-stat::before { content: ""; display: block; width: 100%; height: 4px; margin-bottom: 24px; background: var(--pz-coral); border-radius: 2px; }
.pz-stat__value { font-weight: 700; font-size: 140px; line-height: 1; letter-spacing: -0.02em; color: var(--pz-coral); }
.pz-stat__label { margin-top: 18px; font-weight: 600; font-size: 18px; color: var(--pz-navy); }

/* ---------- Локації ---------- */
.pz-locations { padding: 40px 0 90px; }
.pz-locations__grid { display: grid; grid-template-columns: 53fr 47fr; align-items: stretch; }
.pz-locations__panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 70px 60px; background: var(--pz-coral); color: #fff; text-align: center; }
.pz-locations__lead { margin: 0 0 12px; font-weight: 700; font-size: 20px; }
.pz-locations__text { max-width: 560px; margin: 0 0 24px; font-size: 18px; line-height: 1.45; }
.pz-locations__list { list-style: none; margin: 0 0 40px; padding: 0; text-align: left; font-size: 20px; line-height: 1.3; }
.pz-locations__list li { position: relative; margin: 0 0 14px; padding-left: 26px; }
.pz-locations__list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 11px; height: 11px; background: #fff; }
.pz-locations__map { position: relative; min-height: 460px; padding: 32px 0 32px 40px; background: #fff; }
.pz-locations__map img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; }

/* ---------- Чому А+ ---------- */
.pz-why { padding: 40px 0 70px; }
.pz-why__grid { display: grid; grid-template-columns: 46fr 54fr; gap: 70px; align-items: center; }
.pz-why__image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pz-why__content { font-size: 18px; line-height: 1.55; }
.pz-why__lead { margin: 0 0 14px; font-weight: 700; font-size: 20px; color: var(--pz-navy); }
.pz-why__intro { margin: 0 0 18px; }
.pz-why__list { list-style: none; margin: 0 0 22px; padding: 0; }
.pz-why__list li { margin: 0 0 10px; }
.pz-why__content b, .pz-why__content strong { font-weight: 700; color: var(--pz-navy); }

/* ---------- Напрями ---------- */
.pz-directions { padding: 40px 0 80px; }
.pz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.pz-card { display: flex; flex-direction: column; background: var(--pz-coral); color: #fff; overflow: hidden; }
.pz-card--intro { align-items: center; justify-content: center; min-height: 460px; padding: 40px; text-align: center; font-weight: 600; font-size: 26px; line-height: 1.3; }
.pz-card__media { position: relative; height: 330px; background: #ddd; }
.pz-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pz-card__title { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 60px 20px 18px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%); font-family: Montserrat, sans-serif; font-weight: 600; font-size: 24px; line-height: 1.25; text-align: center; color: #fff; }
.pz-card__list { flex: 1; padding: 22px 22px 24px; font-size: 15px; line-height: 1.6; text-align: center; }
.pz-card__item { display: inline-block; max-width: 100%; margin: 0 4px 2px; white-space: nowrap; }
.pz-card__item::before { content: "\25AA\00A0"; }

/* ---------- Як записатися ---------- */
.pz-steps { padding: 40px 0 100px; }
.pz-steps .pz-title { margin-bottom: 20px; }
.pz-steps__subtitle { margin: 0 0 96px; font-weight: 600; font-size: 24px; text-align: center; color: var(--pz-navy); }
.pz-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pz-step { position: relative; padding: 70px 36px 44px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.12); text-align: center; }
.pz-step__num { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 80px; height: 80px; border-radius: 50%; background: var(--pz-coral); color: #fff; font-weight: 700; font-size: 44px; line-height: 80px; }
.pz-step__title { margin: 0 0 14px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 24px; color: var(--pz-navy); }
.pz-step__text { font-size: 16px; line-height: 1.5; color: var(--pz-muted); }

/* ---------- Форма ---------- */
.pz-form { padding: 80px 0 90px; background: linear-gradient(180deg, #e8625f 0%, var(--pz-coral) 100%); color: #fff; }
.pz-form .pz-title { margin-bottom: 20px; }
.pz-form__text { max-width: 900px; margin: 0 auto 40px; font-size: 18px; line-height: 1.5; text-align: center; }
.pz-form .form-block__inner { max-width: 460px; margin: 0 auto; padding: 0; }
.pz-form form { max-width: none; margin: 0; }
.pz-form .form-item { margin: 0 0 14px; }
.pz-form .form-item input[type="text"],
.pz-form .form-item input[type="tel"] { width: 100%; height: 50px; padding: 0 18px; border: none; border-radius: 8px; background: #fff; font-family: Montserrat, sans-serif; font-size: 15px; color: var(--pz-text); }
.pz-form .form-item ::placeholder { color: #8a9299; opacity: 1; }
.pz-form .form-item.select .select2-container.select2 { border: none; border-radius: 8px; background: #fff; }
.pz-form .form-item.select .select2-container .selection .select2-selection { height: auto; min-height: 50px; padding: 12px 18px; color: var(--pz-text); }
.pz-form .form-item.select .select2-container .selection .select2-selection__rendered { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; font-size: 15px; color: var(--pz-text); }
.pz-form .form-item.select .select2-container .selection .select2-selection__arrow b { border-color: var(--pz-navy); }
.pz-form .form-item.select .select2-container .selection:hover { color: var(--pz-text); }
.pz-form .form-item._terms { margin: 26px 0 30px; font-size: 14px; }
.pz-form .form-item._terms .wpcf7-list-item { margin: 0; }
.pz-form .form-item._terms label { display: flex; align-items: center; gap: 14px; color: #fff; cursor: pointer; }
.pz-form .form-item._terms input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 28px; height: 28px; margin: 0; border: 2px solid #fff; border-radius: 4px; background: transparent; cursor: pointer; display: inline-block; position: static; opacity: 1; }
.pz-form .form-item._terms input[type="checkbox"]:checked { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23FF6D66' stroke-width='2.5'/%3E%3C/svg%3E") center/70% no-repeat; }
.pz-form .form-block__button { margin: 0; }
.pz-form .form-block__button > div { width: 100%; }
.pz-form .btn.btn-orange { width: 100%; height: 64px; border-radius: 10px; background: var(--pz-navy); color: #fff; font-size: 16px; letter-spacing: 0.04em; }
.pz-form .btn.btn-orange:hover { background: var(--pz-navy-dark); color: #fff; }
.pz-form .wpcf7-not-valid-tip { color: #fff; font-size: 13px; margin-top: 4px; }
.pz-form .wpcf7-response-output { color: #fff; border-color: #fff; margin: 20px 0 0; }
.pz .select2-dropdown { border-color: var(--pz-coral); }
.pz .select2-results__option:hover { color: var(--pz-coral); }

/* ---------- FAQ ---------- */
.pz-faq { padding: 80px 0 60px; }
.pz-faq .faq-item { margin: 0 0 18px; background: #fff; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.14); overflow: hidden; }
.pz-faq .faq-question { display: flex; align-items: center; gap: 20px; padding: 24px 32px; cursor: pointer; font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--pz-navy); }
.pz-faq .faq-question span { order: 1; flex: 1; }
.pz-faq .faq-question .faq-arrow { order: 2; flex: 0 0 auto; width: 26px; height: 26px; color: #8a9299; transition: transform .25s; }
.pz-faq .faq-item.active .faq-question .faq-arrow { transform: rotate(180deg); }
.pz-faq .faq-answer { display: none; padding: 0 32px 26px; font-size: 16px; line-height: 1.55; color: var(--pz-muted); }
.pz-faq .faq-item.active .faq-answer { display: block; }

/* ---------- Фінальний екран ---------- */
.pz-final { padding: 90px 0 100px; background: var(--pz-coral); color: #fff; text-align: center; }
.pz-final .pz-title { margin-bottom: 36px; }
.pz-final__text { max-width: 1100px; margin: 0 auto 44px; font-weight: 600; font-size: 22px; line-height: 1.45; }

/* ---------- Адаптив ---------- */
@media (max-width: 1280px) {
  .pz-container { padding: 0 40px; }
  .pz-title { font-size: 38px; }
  .pz-hero__title { font-size: 46px; }
  .pz-hero__subtitle { font-size: 28px; }
  .pz-stat__value { font-size: 110px; }
  .pz-cards { gap: 24px; }
  .pz-card__media { height: 280px; }
  .pz-card--intro { min-height: 380px; font-size: 22px; }
}
@media (max-width: 1024px) {
  .pz-hero { min-height: 600px; }
  .pz-stats__grid { gap: 30px; }
  .pz-stat__value { font-size: 84px; }
  .pz-locations__grid { grid-template-columns: 1fr; }
  .pz-locations__map { padding: 0; min-height: 320px; }
  .pz-why__grid { grid-template-columns: 1fr; gap: 36px; }
  .pz-cards { grid-template-columns: repeat(2, 1fr); }
  .pz-card--intro { min-height: 240px; }
  .pz-steps__grid { gap: 60px 28px; }
}
@media (max-width: 767px) {
  .pz-container { padding: 0 20px; }
  .pz-title { margin-bottom: 32px; font-size: 28px; }
  .pz-btn { min-height: 56px; padding: 14px 28px; font-size: 14px; width: 100%; max-width: 420px; }
  .pz-hero { min-height: 560px; padding: 60px 20px; }
  .pz-hero__title { font-size: 30px; }
  .pz-hero__subtitle { margin-bottom: 24px; font-size: 20px; }
  .pz-hero__text { margin-bottom: 28px; font-size: 15px; }
  .pz-stats { padding: 56px 0 30px; }
  .pz-stats__grid { grid-template-columns: 1fr; gap: 36px; }
  .pz-stat__value { font-size: 88px; }
  .pz-locations { padding: 30px 0 60px; }
  .pz-locations__panel { padding: 44px 24px; }
  .pz-locations__list { font-size: 17px; }
  .pz-locations__map { min-height: 240px; }
  .pz-why { padding: 30px 0 50px; }
  .pz-why__content { font-size: 16px; }
  .pz-directions { padding: 30px 0 50px; }
  .pz-cards { grid-template-columns: 1fr; gap: 20px; }
  .pz-card--intro { min-height: 180px; font-size: 22px; }
  .pz-card__media { height: 260px; }
  .pz-card__title { font-size: 20px; }
  .pz-steps { padding: 30px 0 60px; }
  .pz-steps__subtitle { margin-bottom: 84px; font-size: 20px; }
  .pz-steps__grid { grid-template-columns: 1fr; gap: 64px; }
  .pz-form { padding: 56px 0 64px; }
  .pz-form__text { font-size: 16px; }
  .pz-faq { padding: 56px 0 40px; }
  .pz-faq .faq-question { padding: 18px 20px; font-size: 15px; }
  .pz-faq .faq-answer { padding: 0 20px 20px; font-size: 15px; }
  .pz-final { padding: 60px 0 70px; }
  .pz-final__text { font-size: 18px; }
}

/* ---------- Правки після першого перегляду ---------- */
.pz-card__title, .pz-step__title { text-transform: none; }
/* select2 у формі: стрілка всередині поля (а не в абсолютній позиції з базового CSS select2) */
.pz-form .select2-container--default .select2-selection--single { display: flex; align-items: center; justify-content: space-between; }
.pz-form .select2-container--default .select2-selection--single .select2-selection__arrow { position: static; top: auto; right: auto; width: 14px; min-width: 14px; height: auto; margin-left: 12px; display: flex; align-items: center; justify-content: center; }
.pz-form .select2-container--default .select2-selection--single .select2-selection__arrow b { position: static; left: auto; top: auto; width: auto; height: auto; margin: -4px 0 0; border: solid var(--pz-navy); border-width: 0 2px 2px 0; padding: 4px; transform: rotate(45deg); }
.pz-form .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { transform: rotate(-135deg); margin: 4px 0 0; }
/* випадаючий список: усі варіанти без прокрутки, без внутрішніх відступів (пункт підсвічується на всю ширину);
   заглушку «Локація» / «Напрям…» select2 ховає сам завдяки data-placeholder (див. inc/landing-pozashkillya.php) */
.select2-container--default .select2-results > .select2-results__options[id^="select2-location-"],
.select2-container--default .select2-results > .select2-results__options[id^="select2-course-"] { max-height: none; }
.select2-container--open .select2-dropdown:has([id^="select2-location-"]),
.select2-container--open .select2-dropdown:has([id^="select2-course-"]) { max-height: none; padding: 0; overflow: hidden; border: 2px solid var(--pz-coral); font-family: Montserrat, sans-serif; font-size: 15px; }
.select2-container.select2-container--open .select2-dropdown.select2-dropdown--below:has([id^="select2-location-"]),
.select2-container.select2-container--open .select2-dropdown.select2-dropdown--below:has([id^="select2-course-"]) { margin-top: 0; border-top: none; border-radius: 0 0 8px 8px; }
.select2-container.select2-container--open .select2-dropdown.select2-dropdown--above:has([id^="select2-location-"]),
.select2-container.select2-container--open .select2-dropdown.select2-dropdown--above:has([id^="select2-course-"]) { margin-top: 0; border-bottom: none; border-radius: 8px 8px 0 0; }
.select2-dropdown:has([id^="select2-location-"]) .select2-results__option,
.select2-dropdown:has([id^="select2-course-"]) .select2-results__option { padding: 11px 18px; color: var(--pz-text); }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: #FFE1E1; color: var(--pz-navy); }
/* поле select: заглушка сірим, як у текстових полях; при відкритому списку кути з боку списку прямі */
.pz-form .form-item.select .select2-container .selection .select2-selection__placeholder { color: #8a9299; }
.pz-form .form-item.select .select2-container--open.select2-container--below.select2 { border-radius: 8px 8px 0 0; }
.pz-form .form-item.select .select2-container--open.select2-container--above.select2 { border-radius: 0 0 8px 8px; }
/* поле select без сірої рамки select2 (як текстові поля); при відкритому списку — коралова рамка в одне ціле зі списком */
.pz-form .form-item.select .select2-container .selection .select2-selection { border: none; border-radius: 8px; box-shadow: none; }
.pz-form .form-item.select .select2-container--open.select2-container--below .selection .select2-selection { border-radius: 8px 8px 0 0; box-shadow: inset 0 2px 0 var(--pz-coral), inset 2px 0 0 var(--pz-coral), inset -2px 0 0 var(--pz-coral); }
.pz-form .form-item.select .select2-container--open.select2-container--above .selection .select2-selection { border-radius: 0 0 8px 8px; box-shadow: inset 0 -2px 0 var(--pz-coral), inset 2px 0 0 var(--pz-coral), inset -2px 0 0 var(--pz-coral); }
/* лічильник у цифрах: цифри однакової ширини, щоб текст не «стрибав» під час набору */
.pz-stat__num { font-variant-numeric: tabular-nums; }
/* локації: наведення на пункт списку міняє карту праворуч */
.pz-locations__list li[data-map] { cursor: pointer; }
.pz-locations__list li[data-map]:hover, .pz-locations__list li.is-active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pz-locations__list li.is-active::before { background: var(--pz-navy); }
.pz-locations__map img { transition: opacity .25s ease; }
.pz-locations__map img.is-switching { opacity: 0; }
/* Перший екран на десктопі: текст нижче (~22% висоти), щоб не закривав обличчя; дрібний текст на 15% менший */
@media (min-width: 1025px) {
  .pz-hero { align-items: flex-start; padding: 330px 40px 50px; }
  .pz-hero__title { margin-bottom: 8px; }
  .pz-hero__subtitle { margin-bottom: 18px; font-size: 32px; }
  .pz-hero__text { font-size: 15px; line-height: 1.5; max-width: 820px; margin-bottom: 22px; }
  .pz-hero__text p { margin-bottom: 8px; }
}
/* Перший екран на телефоні: фото вище з обличчями, текст — у нижній частині, відступи щільніші */
@media (max-width: 767px) {
  .pz-hero { min-height: 600px; min-height: calc(100svh - 70px); align-items: flex-end; padding: 215px 16px 22px; }
  .pz-hero__bg img { object-position: 50% 42%; }
  .pz-hero__title { margin-bottom: 4px; font-size: 25px; }
  .pz-hero__subtitle { margin-bottom: 10px; font-size: 17px; line-height: 1.25; }
  .pz-hero__text { margin-bottom: 14px; font-size: 13px; line-height: 1.4; }
  .pz-hero__text p { margin-bottom: 5px; }
  .pz-hero .pz-btn { padding: 14px 24px; font-size: 14px; }
}
