:root {
    --Title: #024748;
    --Bg-website: #f0f0f0;
    --banner-form-card: #99B5B5;
    --Header: #E0E7E7;
    --Footer: #E0E7E7;
    --Form: #F8F8F8;
    --Text-body: #141414;
    --Text-form: #585858;
    --Border: #B2B2B2;
    --Bg-card: #E0E7E7;
    --hover: #D1B050;
    --btn-hover: #AE8D39;
    --btn-active: #735A22;
}

/* Links
--------------------------------------------- */
a,
a:visited {
    color: var(--Title);
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: var(--btn-hover);
    outline: 0;
}

.header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    background-color: var(--Header);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Легкая тень при скролле */
}

/* Контейнер для ограничения ширины шапки */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Правая часть шапки (Меню + Переключатель языков + Кнопка) */
.header-bottom {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header .logo img:last-child {
    display: none;
}

/* Группа элементов справа (кнопка + что-то еще, если нужно) */

/* Стилизация общей кнопки */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--Title);
    color: var(--Bg-website) !important;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--btn-hover);
    color: var(--Bg-website) !important;
}

.btn-primary:active {
    background-color: var(--btn-active);
    color: var(--Bg-website) !important;
}

/* Инвертированная кнопка */
.btn-inverted {
    background-color: var(--Bg-website);
    color: var(--Title) !important;
    border: 2px solid var(--Title);
    padding: 10px 26px;
}

.btn-inverted:hover,
.btn-inverted:focus-visible {
    background-color: var(--Title);
    color: var(--Bg-website) !important;
    border-color: var(--Title);
}

.btn-inverted:active {
    background-color: var(--btn-active);
    color: var(--Bg-website) !important;
    border-color: var(--btn-active);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    margin-right: 20px;
}

.header-actions a,
.header-actions a:hover,
.header-actions a:focus,
.header-actions a:active,
.header-actions a:visited {
    color: var(--Bg-website);
}

/* Навигация (десктоп) */
.main-navigation {
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
}

@media (min-width: 769px) {
    .main-navigation ul {
        display: flex;
        align-items: center;
        gap: 25px;
        /* Сделали пункты чуть более разряженными */
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .main-navigation a {
        text-decoration: none;
        color: var(--Title);
        /* Задали цвет Title */
        font-weight: 600;
        /* Увеличили жирность, чтобы соответствовать остальному дизайну */
        font-size: 16px;
        transition: color 0.3s ease;
    }

    .main-navigation a:hover {
        color: var(--btn-hover);
        /* При наведении чуть более темный зеленый */
    }
}

/* Стили для переключателя языков */
.language-switcher-item {
    margin-left: 10px;
    margin-right: 10px;
}

.lang-select {
    border: 1px solid var(--Border);
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--Form);
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    color: var(--Text-body);
    outline: none;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

.lang-select:hover {
    border-color: var(--Title);
}

.menu-toggle {
    display: none;
    /* Скрываем на компьютерах */
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        /* Показываем на мобилках */
        background: var(--Title);
        color: var(--Bg-website);
        border: none;
        padding: 10px 20px;
        cursor: pointer;
    }
}

/* --- Стили для кнопки-гамбургера --- */

.menu-toggle {
    display: none;
    /* Скрываем на десктопе по умолчанию */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 100;
    /* Чтобы всегда была поверх меню */
}

/* Скрываем текст "Menu" для зрячих пользователей */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

/* Общие стили для линий */
.hamburger-line {
    display: block;
    width: 24px;
    /* Ширина линий */
    height: 2px;
    /* Толщина линий */
    background-color: var(--Title);
    /* ЦВЕТ ГАМБУРГЕРА */
    margin: 5px auto;
    /* Отступы между линиями */
    transition: all 0.3s ease-in-out;
    /* Плавность анимации */
    position: absolute;
    left: 8px;
    /* Центрирование */
}

/* Позиционирование линий по вертикали */
.hamburger-line:nth-child(1) {
    top: 10px;
}

.hamburger-line:nth-child(2) {
    top: 18px;
}

.hamburger-line:nth-child(3) {
    top: 26px;
}


/* --- АНИМАЦИЯ ПРЕВРАЩЕНИЯ В КРЕСТ --- */

/* На мобильных (внутри медиа-запроса) показываем кнопку */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* Когда родительский <nav> получает класс .toggled (меню открыто) */
.main-navigation.toggled .menu-toggle .hamburger-line {
    background-color: var(--Title);
    /* Цвет крестика (можно поменять) */
}

/* Поворачиваем первую линию */
.main-navigation.toggled .menu-toggle .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

/* Скрываем среднюю линию */
.main-navigation.toggled .menu-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

/* Поворачиваем третью линию в обратную сторону */
.main-navigation.toggled .menu-toggle .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Кнопка-гамбургер должна быть выше всех уровней */
.menu-toggle {
    z-index: 1000;
    position: relative;
}

/* Контейнер футера */
.site-footer {
    background-color: var(--Footer);
    background-image: url('../img/footer-bg.png');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto;
    /* Ширина не масштабируется */
    color: var(--Title);
    font-family: 'Roboto', sans-serif;
    padding: 60px 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    padding: 5px;
}

.footer-legal-info {
    font-size: 12px;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Стилизация списка */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    /* Делаем меню столбиком */
    gap: 15px;
    /* Расстояние между пунктами */
    font-family: 'Roboto', sans-serif;
}

/* Стилизация ссылок */
.footer-menu a {
    color: var(--Title);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--hover);
    /* Цвет при наведении */
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/


/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body {
    background-color: var(--Bg-website);
}

body,
button,
input,
select,
optgroup,
textarea {
    color: var(--Text-body);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

h1,
h2 {
    font-family: 'Roboto', sans-serif;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: var(--Bg-card);
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted var(--Text-form);
    cursor: help;
}

mark,
ins {
    background: var(--Bg-card);
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: var(--Bg-website);
}

hr {
    background-color: var(--Border);
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}



/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: var(--Border) var(--Border) var(--Border);
    border-radius: 3px;
    background: var(--Form);
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: var(--Border) var(--Border) var(--Border);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: var(--Border) var(--Border) var(--Border);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: var(--Text-form);
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: var(--Text-body);
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--Bg-card);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--Title);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}


@media (max-width: 768px) {

    /* 1. ПОЛУПРОЗРАЧНАЯ ВУАЛЬ (накрывает весь сайт) */
    .main-navigation::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.4);
        /* Полупрозрачный черный на весь экран */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s;
        z-index: 998;
        /* Под меню, но над контентом сайта */
    }

    /* Показываем вуаль при открытии */
    .main-navigation.toggled::before {
        opacity: 1;
        visibility: visible;
    }

    /* 2. ВЫЕЗЖАЮЩЕЕ МЕНЮ С ЭФФЕКТОМ "МАТОВОЕ СТЕКЛО" */
    .main-navigation ul {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        /* Уведено влево */
        width: 330px;
        height: 100vh;

        /* Прозрачный фон для эффекта стекла */
        background-color: rgba(255, 255, 255, 0.6);

        /* МАГИЯ БЛЮРА: размывает только то, что ПОД меню */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);

        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 80px 25px 30px;
        transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        /* Поверх вуали */
        margin: 0;
        list-style: none;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        /* Тонкая светлая граница */
    }

    .main-navigation.toggled ul {
        left: 0;
        /* Меню выезжает */
    }

    .main-navigation li {
        margin-bottom: 25px;
        /* Раздвигаем пункты меню */
        text-align: left;
        /* Смещаем по левой стороне */
    }

    /* Стили для ссылок на мобильном меню */
    .main-navigation li a,
    .main-navigation .custom-lang-selected {
        color: var(--Title);
        /* Цвет тайтл */
        font-weight: 600;
        font-size: 20px;
        text-shadow: none;
        /* Убираем эффект свечения */
        text-decoration: none;
    }

    /* Блок соцсетей в мобильном меню */
    .main-navigation .social-icons-header {
        margin-left: 0;
        margin-top: 25px;
        margin-bottom: 25px;
        /* Пространство от меню и до языков */
    }

    /* Языковой селект (кастомный вид) */
    .main-navigation .language-switcher-item {
        margin-top: 5px;
        /* Немного отделяем от основного меню */
    }

    .custom-lang-list {
        position: relative !important;
        box-shadow: none !important;
        background: transparent !important;
        padding-top: 10px !important;
        margin-left: 15px !important;
        border: none !important;
    }
}



@media screen and (max-width:1199px) {
    .header .logo img:first-child {
        display: none;
    }

    .header .logo img:last-child {
        display: inline;
    }
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--Bg-website, #f0f0f0);
    border: 2px solid var(--Title, #024748);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s, transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    transform: translateY(-5px);
    background-color: var(--Title);
}

#scrollToTopBtn:hover svg path {
    fill: var(--Bg-website);
}

#scrollToTopBtn svg {
    width: 30px;
    height: 30px;
    transition: fill 0.3s ease;
}

/* Booking Modal */
.booking-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.booking-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.booking-modal-content {
    background-color: var(--Bg-website, #ffffff);
    background-image: url('../img/modal-bg.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 380px auto;
    /* фиксированная ширина */
    margin: auto;
    padding: 30px;
    border: 1px solid var(--Border);
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    /* semi-rounded */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.booking-modal.show .booking-modal-content {
    transform: translateY(0);
}

.booking-modal-close {
    color: var(--Text-body);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.booking-modal-close:hover,
.booking-modal-close:focus {
    color: var(--Title);
    text-decoration: none;
}

.booking-modal-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--Title);
    text-align: center;
}

/* User's thanks-modal styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--Bg-website, #ffffff);
    background-image: url('../img/modal-bg.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 200px auto;
    margin: auto;
    padding: 50px 30px;
    border: 1px solid var(--Border);
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--Text-body);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--Title);
    text-decoration: none;
}

/* Phones Modal Styles */
.phones-modal-content {
    max-width: 400px;
    padding: 40px 30px;
    background-image: url('../img/phones-bg.png');
}

.phones-modal-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--Title);
    text-align: center;
}

.phones-modal-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.phones-modal-link {
    display: block;
    color: var(--Title);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 12px 20px;
    border: 2px solid var(--Title);
    border-radius: 8px;
    width: 100%;
    text-align: center;
}

.phones-modal-link:hover,
.phones-modal-link:focus,
.phones-modal-link:active {
    background-color: var(--Title);
    color: var(--Bg-website) !important;
}

/* Front Page Feedback Section */
.feedback-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 50vh;
}

.feedback-left {
    width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
    position: relative;
    background-color: var(--Bg-website, #ffffff);
}

.feedback-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.feedback-left-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
}

.feedback-title {
    color: var(--Title);
    font-size: 42px;
    margin-bottom: 25px;
    font-weight: bold;
}

.feedback-text {
    color: var(--Text-body);
    font-size: 18px;
    line-height: 1.6;
}

.feedback-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--Bg-website, #ffffff);
    padding: 2%;
}

.feedback-right .wpcf7 {
    width: 100%;
    max-width: 500px;
}

.feedback-right .wpcf7-form .input-wrap {
    margin-bottom: 20px;
}

.feedback-right .wpcf7-form p {
    margin-bottom: 0;
}

.feedback-right .wpcf7-form input[type="text"],
.feedback-right .wpcf7-form input[type="email"],
.feedback-right .wpcf7-form input[type="tel"],
.feedback-right .wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid var(--Border);
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    background-color: var(--Form);
    color: var(--Text-body);
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.feedback-right .wpcf7-form input:focus,
.feedback-right .wpcf7-form textarea:focus {
    border-color: var(--Title);
}

.feedback-right .wpcf7-form textarea {
    height: 120px;
    resize: none;
}

.feedback-right .wpcf7-form .acceptance {
    margin: 15px 0;
    font-size: 14px;
    color: var(--Text-form);
    display: flex;
    align-items: center;
}

.feedback-right .wpcf7-form input[type="checkbox"] {
    accent-color: var(--Title);
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.feedback-right .wpcf7-form button[type="submit"] {
    display: block;
    margin: 30px auto 0;
    background-color: var(--Title);
    color: var(--Bg-website) !important;
    border: 2px solid var(--Title);
    border-radius: 8px;
    padding: 15px 35px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-right .wpcf7-form button[type="submit"]:hover {
    background-color: var(--Bg-website);
    color: var(--Title) !important;
}

@media (max-width: 991px) {

    .feedback-left,
    .feedback-right {
        width: 100%;
    }

    .feedback-section {
        min-height: auto;
    }

    .feedback-left {
        padding: 10% 5%;
    }

    .feedback-title {
        font-size: 32px;
    }
}


/* Modal Form Fields Styling */
.booking-modal-content .wpcf7-form .input-wrap {
    margin-bottom: 15px;
}

.booking-modal-content .wpcf7-form p {
    margin-bottom: 0;
}

.booking-modal-content .wpcf7-form input[type="text"],
.booking-modal-content .wpcf7-form input[type="email"],
.booking-modal-content .wpcf7-form input[type="tel"],
.booking-modal-content .wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid var(--Border);
    /* 2mm thickness approximation */
    border-radius: 10px;
    /* 10 pixels rounded */
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: var(--Form);
    font-family: inherit;
    color: var(--Text-body);
}

.booking-modal-content .wpcf7-form input:focus,
.booking-modal-content .wpcf7-form textarea:focus {
    border-color: var(--Title);
}

.booking-modal-content .wpcf7-form textarea {
    height: 100px;
    /* В 2 раза меньше */
    resize: none;
}

.booking-modal-content .wpcf7-form .acceptance {
    margin: 15px 0;
    font-size: 14px;
    color: var(--Text-form);
    display: flex;
    align-items: center;
}

.booking-modal-content .wpcf7-form input[type="checkbox"] {
    accent-color: var(--Title);
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

/* Submit button centered and inverted */
.booking-modal-content .wpcf7-form button[type="submit"] {
    display: block;
    margin: 20px auto 0;
    background-color: var(--Bg-website);
    color: var(--Title) !important;
    border: 2px solid var(--Title);
    border-radius: 8px;
    /* matching other buttons */
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.booking-modal-content .wpcf7-form button[type="submit"]:hover,
.booking-modal-content .wpcf7-form button[type="submit"]:focus {
    background-color: var(--Title);
    color: var(--Bg-website) !important;
}

.booking-modal-content .wpcf7-form button[type="submit"]:active {
    background-color: var(--btn-active);
    color: var(--Bg-website) !important;
    border-color: var(--btn-active);
}

/* Social Icons in Footer */
.social-icons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.social-icons img,
.social-icons svg {
    width: 32px;
    height: 32px;
    display: block;
}

/* Global Language Switcher Custom Dropdown */
.custom-lang-dropdown {
    position: relative;
    user-select: none;
}

.custom-lang-selected {
    list-style: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--Title);
}

.custom-lang-selected::-webkit-details-marker {
    display: none;
}

.custom-lang-selected svg {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.custom-lang-dropdown[open] .custom-lang-selected svg {
    transform: rotate(180deg);
}

.custom-lang-list {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 10px 0 0;
    padding: 6px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    list-style: none;
    min-width: 80px;
    width: max-content !important;
    /* Строго по контенту (сброс 280px от мобильного ul) */
    height: auto !important;
    /* Строго по контенту (сброс 100vh от мобильного ul) */
    z-index: 1050;
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex-direction: column !important;
    /* Перебиваем возможную ориентацию flex-row от стилей меню */
}

/* Плавное появление списка */
.custom-lang-dropdown[open] .custom-lang-list {
    animation: fadeInDropdown 0.2s ease-out forwards;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-lang-list li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    /* Принудительно делаем элементы блочными, чтобы шли друг под другом */
    float: none !important;
    /* Сбрасываем float, если он задан для li в главном меню */
    width: 100% !important;
}

.custom-lang-list li a {
    display: block;
    padding: 5px 15px;
    /* Уменьшили отступы по вертикали */
    line-height: 1.3;
    /* Задали более плотный межстрочный интервал */
    color: var(--Title) !important;
    font-size: 16px;
    /* Чуть уменьшили размер шрифта для аккуратности */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 6px;
    /* Чуть меньше скругление для плотного списка */
}

/* Единый стиль при наведении и нажатии */
.custom-lang-list li a:hover,
.custom-lang-list li a:focus,
.custom-lang-list li a:active {
    background-color: rgba(2, 71, 72, 0.08);
    /* Полупрозрачный оттенок вашего Title (#024748) */
    color: var(--Title) !important;
}

/* Header Social Icons (Desktop & Global) */
.social-icons-header {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Сдвинули иконки поближе друг к другу */
    margin-left: 20px;
    /* Отступ от пунктов меню на десктопе */
}

/* На мобильных экранах margin-left: 0 переопределен выше в @media */
.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-social-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.header-social-link svg {
    width: 24px !important;
    height: 24px !important;
    display: block;
}

/* Header Phones Block */
.header-phones-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 5px;
    /* Отступ от кнопки Записаться */
    margin-left: auto;
    /* Сдвинет блок вправо, если меню не занимает всю ширину */
}

.header-phones-wrapper .phone-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.phones-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phones-list a {
    color: var(--Title);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.1;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.phones-list a:hover,
.phones-list a:focus {
    color: var(--btn-hover);
}

@media (max-width: 991px) {
    .header-phones-wrapper {
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .header-phones-wrapper .phone-icon {
        cursor: pointer;
    }

    .header-phones-wrapper .phones-list {
        display: none;
        /* Скрываем текст телефонов на мобильном, чтобы сэкономить место */
    }

    .header-phones-wrapper {
        margin-right: 15px;
        margin-left: auto;
    }
}

/* Footer Phones Block */
.footer-phones-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 5px;
    align-items: flex-start;
    /* Align block to the left */
    width: 100%;
}

.footer-phone-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Icon and text on the left */
    gap: 10px;
    text-decoration: none;
    color: var(--Title);
    transition: color 0.3s ease;
}

.footer-phone-item:hover,
.footer-phone-item:focus {
    color: var(--btn-hover);
}

.footer-phone-txt {
    font-size: 16px;
    font-weight: 500;
}

.footer-phone-ico {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-phone-ico svg {
    width: 20px;
    height: 20px;
    display: block;
}






/* CookieYes Banner Styling */
.cky-consent-container,
.cky-consent-bar {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    font-family: "Roboto", sans-serif !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
}

.cky-btn,
.cky-btn-accept {
    background-color: var(--Title) !important;
    color: var(--Bg-website, #ffffff) !important;
    border: 2px solid var(--Title) !important;
    border-radius: 8px !important;
    font-family: "Roboto", sans-serif !important;
    transition: all 0.3s ease !important;
}

.cky-btn-accept:hover {
    background-color: var(--Bg-website, #ffffff) !important;
    color: var(--Title) !important;
}

.cky-btn-reject,
.cky-btn-customize {
    background-color: transparent !important;
    color: var(--Title) !important;
    border: 2px solid var(--Title) !important;
    border-radius: 8px !important;
    font-family: "Roboto", sans-serif !important;
    transition: all 0.3s ease !important;
}

.cky-btn-reject:hover,
.cky-btn-customize:hover {
    background-color: var(--Title) !important;
    color: var(--Bg-website, #ffffff) !important;
}

.cky-revisit-bottom-left {
    background-color: var(--Title) !important;
    color: var(--Bg-website, #ffffff) !important;
    border: 2px solid var(--Title) !important;
    border-radius: 8px !important;
    font-family: "Roboto", sans-serif !important;
    transition: all 0.3s ease !important;
}

.cky-preference-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--Title) !important;
}

/* Footer Copyright Section */
.footer-copyright-section {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright-text {
    font-size: 13px;
    color: var(--Title, #ffffff);
    font-family: 'Bahnschrift', sans-serif;
    opacity: 0.8;
}

/* ============================================================== 
   Hero Section 
   ============================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--Bg-website) 0%, #eef5f5 100%);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--Title);
    margin: 0 0 25px;
    font-weight: 700;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--Text-body);
    margin: 0 0 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-image-blob {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1 / 1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(2, 71, 72, 0.15);
    animation: blob-anim 12s infinite alternate ease-in-out;
    background-color: var(--Header);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-blob img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-decor {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.hero-circle-1 {
    width: 300px;
    height: 300px;
    background: var(--banner-form-card);
    opacity: 0.3;
    top: -50px;
    right: -50px;
    filter: blur(40px);
}

.hero-circle-2 {
    width: 250px;
    height: 250px;
    background: var(--Title);
    opacity: 0.15;
    bottom: -30px;
    left: -30px;
    filter: blur(50px);
}

@keyframes blob-anim {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-blob {
        max-width: 450px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1.05rem;
    }

    .hero-section {
        padding: 50px 0;
    }
}

/* ============================================================== 
   Modern Feedback Section 
   ============================================================== */
.feedback-modern-section {
    padding: 40px 0;
    background-color: var(--Bg-website);
}

.feedback-modern-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.feedback-modern-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 25px 50px rgba(2, 71, 72, 0.15);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-modern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 71, 72, 0.95) 0%, rgba(2, 71, 72, 0.6) 100%);
    z-index: 1;
}

.feedback-modern-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    gap: 40px;
    width: 100%;
}

.feedback-modern-info {
    flex: 1;
    min-width: 300px;
    color: #ffffff;
}

.fm-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #ffffff;
}

.fm-text {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.9;
}

.fm-text p {
    margin-bottom: 15px;
}

.feedback-modern-form {
    flex: 0 0 450px;
    max-width: 100%;
}

.fm-form-card {
    background: var(--Form);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.fm-form-title {
    font-size: 1.8rem;
    color: var(--Title);
    margin-bottom: 5px;
    margin-top: 5px;
    font-weight: 600;
    text-align: center;
}

/* Base CF7 Styles for the new card */
.fm-form-card .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 15px;
}

.fm-form-card input[type="text"],
.fm-form-card input[type="email"],
.fm-form-card input[type="tel"],
.fm-form-card textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--Border);
    background-color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    color: var(--Text-body);
    transition: border-color 0.3s ease;
}

.fm-form-card input[type="text"]:focus,
.fm-form-card input[type="email"]:focus,
.fm-form-card input[type="tel"]:focus,
.fm-form-card textarea:focus {
    border-color: var(--Title);
    outline: none;
}

.fm-form-card textarea {
    min-height: 60px;
    height: 60px;
    resize: vertical;
}

.fm-form-card input[type="submit"],
.fm-form-card button[type="submit"],
.fm-form-card .wpcf7-submit {
    width: 100%;
    background-color: var(--Title);
    color: var(--Bg-website, #ffffff);
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    display: block;
}

.fm-form-card input[type="submit"]:hover,
.fm-form-card button[type="submit"]:hover,
.fm-form-card .wpcf7-submit:hover {
    background-color: var(--btn-hover);
}

@media (max-width: 992px) {
    .feedback-modern-content {
        flex-direction: column;
        padding: 50px 30px;
        gap: 40px;
    }

    .feedback-modern-info {
        text-align: center;
    }

    .fm-title {
        font-size: 2.5rem;
    }

    .feedback-modern-form {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .feedback-modern-section {
        padding: 60px 0;
    }

    .feedback-modern-content {
        padding: 40px 20px;
    }

    .fm-title {
        font-size: 2rem;
    }

    .fm-form-card {
        padding: 25px;
    }
}

/* ============================================================== 
   Partners Section 
   ============================================================== */
.partners-section {
    padding: 100px 0;
    background-color: var(--Form, #f8f8f8);
    /* Subtle light background */
    overflow: hidden;
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.partners-title {
    font-size: 3rem;
    color: var(--Title);
    margin-bottom: 20px;
    font-weight: 700;
}

.partners-text {
    font-size: 1.15rem;
    color: var(--Text-body);
    line-height: 1.6;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.partner-card {
    display: flex;
    align-items: center;
    position: relative;
    gap: 0;
}

.partner-card:nth-child(even) {
    flex-direction: row-reverse;
}

.partner-image-wrapper {
    flex: 0 0 25%;
    position: relative;
    z-index: 1;
}

.partner-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.partner-img-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--Border);
    border-radius: 30px;
}

/* Decor box slightly offset behind the image */
.partner-image-decor {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--Header);
    border-radius: 30px;
    top: 30px;
    left: -30px;
    z-index: 1;
    transition: transform 0.5s ease;
}

.partner-card:nth-child(even) .partner-image-decor {
    left: 30px;
}

.partner-card:hover .partner-image-decor {
    transform: translate(15px, -15px);
}

.partner-card:nth-child(even):hover .partner-image-decor {
    transform: translate(-15px, -15px);
}

.partner-content-box {
    flex: 1;
    background: #ffffff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(2, 71, 72, 0.08);
    position: relative;
    z-index: 3;
    margin-left: -50px;
}

.partner-card:nth-child(even) .partner-content-box {
    margin-left: 0;
    margin-right: -50px;
}

.partner-name {
    font-size: 2.2rem;
    color: var(--Title);
    margin-bottom: 20px;
    font-weight: 700;
}

.partner-role {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--btn-hover);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-desc {
    font-size: 1.1rem;
    color: var(--Text-body);
    line-height: 1.7;
}

.partner-desc p {
    margin-bottom: 15px;
}

.partner-desc p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .partner-content-box {
        padding: 40px;
        margin-left: -40px;
    }

    .partner-card:nth-child(even) .partner-content-box {
        margin-right: -40px;
    }
}

@media (max-width: 992px) {
    .partners-section {
        padding: 70px 0;
    }

    .partners-header {
        margin-bottom: 40px;
    }

    .partners-list {
        gap: 80px;
    }

    .partner-card,
    .partner-card:nth-child(even) {
        flex-direction: column;
    }

    .partner-image-wrapper {
        width: 100%;
        flex: 1;
    }

    .partner-content-box {
        width: 95%;
        flex: 1;
        margin-top: -60px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 40px 30px;
        align-self: center;
        margin: -60px auto 0;
    }

    .partner-card:nth-child(even) .partner-content-box {
        margin: -60px auto 0 !important;
    }

    .partner-image-decor {
        top: 20px;
        left: 20px;
    }

    .partner-card:nth-child(even) .partner-image-decor {
        left: -20px;
        /* Switch offset direction for even children on mobile */
    }
}

@media (max-width: 576px) {
    .partners-title {
        font-size: 2.2rem;
    }

    .partner-name {
        font-size: 1.8rem;
    }

    .partner-content-box {
        width: 100%;
        padding: 30px 20px;
    }

    .partner-img {
        aspect-ratio: 1/1;
        /* make mobile images square-ish */
    }
}

/* ==========================================================================
   BPR Hero Section Styles
   ========================================================================== */

.bpr-hero-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--Bg-website) 0%, #ffffff 100%);
}

/* Background floating elements */
.bpr-hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 80vw;
    height: 80vw;
    max-width: 1000px;
    max-height: 1000px;
    background: radial-gradient(circle, var(--banner-form-card) 0%, transparent 70%);
    opacity: 0.15;
    z-index: 0;
    border-radius: 50%;
}

.bpr-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.bpr-hero-content {
    flex: 1;
    max-width: 650px;
}

.bpr-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--Title);
    margin-bottom: 30px;
    position: relative;
}

.bpr-hero-desc {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--Text-body);
    margin-bottom: 40px;
    opacity: 0.9;
}

.bpr-hero-desc p:last-child {
    margin-bottom: 0;
}

.bpr-hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed !important;
    filter: grayscale(100%);
}

/* Media (Image) Side */
.bpr-hero-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bpr-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    z-index: 2;
}

.bpr-hero-img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    transform: translateY(0);
    animation: bprFloat 6s ease-in-out infinite;
}

@keyframes bprFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Blob Animation behind Image */
.bpr-blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, var(--hover), var(--btn-hover));
    opacity: 0.15;
    z-index: 1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: bprBlobAnim 8s ease-in-out infinite alternate;
}

@keyframes bprBlobAnim {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Decorative Circles */
.bpr-hero-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 3;
}

.bpr-circle-1 {
    width: 80px;
    height: 80px;
    background: var(--Title);
    top: -30px;
    right: -30px;
    opacity: 0.15;
}

.bpr-circle-2 {
    width: 40px;
    height: 40px;
    background: var(--btn-hover);
    bottom: -10px;
    left: -20px;
    opacity: 0.25;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .bpr-hero-title {
        font-size: 2.8rem;
    }

    .bpr-hero-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .bpr-hero-section {
        padding: 60px 0;
    }

    .bpr-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .bpr-hero-content {
        margin: 0 auto;
    }

    .bpr-hero-actions {
        justify-content: center;
    }

    .bpr-hero-media {
        margin-top: 40px;
    }

    .bpr-hero-img {
        border-radius: 20px;
    }
}

/* ==========================================================================
   BPR Normative Section Styles
   ========================================================================== */

.bpr-normative-section {
    padding: 100px 0;
    background-color: var(--Bg-card);
    position: relative;
    overflow: hidden;
}

.bpr-normative-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.bpr-normative-content {
    flex: 1;
    max-width: 700px;
}

.bpr-section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--Title);
    margin-bottom: 30px;
    position: relative;
}

.bpr-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--hover);
    margin-top: 15px;
    border-radius: 2px;
}

.bpr-normative-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--Text-body);
}

/* Style lists inside the description as documents */
.bpr-normative-desc ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.bpr-normative-desc ul li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    background: #ffffff;
    padding: 20px 20px 20px 60px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

.bpr-normative-desc ul li:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.bpr-normative-desc ul li::before {
    content: '📄';
    position: absolute;
    left: 20px;
    font-size: 24px;
    color: var(--Title);
    top: 50%;
    transform: translateY(-50%);
}

.bpr-normative-desc ul li a {
    color: var(--Title);
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.bpr-normative-desc ul li a:hover {
    color: var(--hover);
}

/* Media Side */
.bpr-normative-media {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.bpr-normative-image-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
    z-index: 2;
}

.bpr-normative-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: -20px 20px 0px rgba(2, 71, 72, 0.1);
    position: relative;
    z-index: 2;
    object-fit: cover;
}

.bpr-doc-decor {
    position: absolute;
    background: var(--btn-hover);
    border-radius: 50%;
    z-index: 1;
}

.bpr-doc-decor-1 {
    width: 120px;
    height: 120px;
    top: -40px;
    left: -40px;
    opacity: 0.2;
}

.bpr-doc-decor-2 {
    width: 60px;
    height: 60px;
    bottom: -20px;
    right: 40px;
    opacity: 0.3;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .bpr-normative-container {
        flex-direction: column-reverse;
        gap: 50px;
    }

    .bpr-normative-media {
        justify-content: center;
    }

    .bpr-normative-img {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .bpr-section-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .bpr-normative-content {
        text-align: center;
        margin: 0 auto;
    }

    .bpr-normative-desc ul li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .bpr-normative-section {
        padding: 60px 0;
    }

    .bpr-section-title {
        font-size: 2.2rem;
    }
}