/* ===== Подключение шрифтов ===== */
/* ВАРИАНТ 6: Libre Baskerville + Nunito - Уютный, приветливый */
/* Шрифты теперь подключаются в HTML для лучшей производительности */

/* ===== Глобальные стили ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    --primary-color: #c49b6c;
    --dark-bg: #1a1816;
    --darker-bg: #0f0e0d;
    --text-light: #ffffff;
    --text-cream: #fffaf1;
    --accent-gold: #eabf98;
    --shadow-glow: rgba(196, 155, 108, 0.3);
}

body {
    font-family: 'Nunito', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-cream);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: rgba(255, 250, 241, 0.9);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== Навигация ===== */
.navbar {
    background-color: rgba(26, 24, 22, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    padding-right: 20px;
}

.nav-brand {
    flex-shrink: 0;
    padding-left: 30px;
    margin-right: 50px;
}

.nav-brand a {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    white-space: nowrap;
}

.nav-phone {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.nav-phone a {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.275rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-phone a:hover {
    color: var(--primary-color);
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(196, 155, 108, 0.45);
    border-radius: 999px;
    background: rgba(196, 155, 108, 0.08);
}

.lang-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    padding: 0 0.65rem;
    border-radius: 999px;
    color: var(--text-cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
}

.lang-option:hover,
.lang-option.active {
    background: var(--accent-gold);
    color: var(--dark-bg);
}

.nav-phone .lang-option {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: var(--text-cream);
}

.nav-phone .lang-option:hover,
.nav-phone .lang-option.active {
    color: var(--dark-bg);
}

.nav-language {
    display: none;
}

.nav-language-label {
    color: rgba(255, 250, 241, 0.75);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Социальные сети в навбаре */
.nav-social {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    align-items: center;
}

.nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--accent-gold);
    background: rgba(196, 155, 108, 0.08);
    border: 1.5px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.nav-social-link:hover {
    background: var(--accent-gold);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.nav-social-link svg {
    width: 15px;
    height: 15px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .nav-social {
        position: fixed;
        left: auto;
        right: 20px;
        top: 70px;
        transform: none;
        gap: 0.5rem;
    }

    .nav-social-link {
        width: 28px;
        height: 28px;
    }

    .nav-social-link svg {
        width: 14px;
        height: 14px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-cream);
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu .lang-option {
    padding: 0 0.65rem;
    color: var(--text-cream);
}

.nav-menu .lang-option::after {
    display: none;
}

.nav-menu .lang-option:hover,
.nav-menu .lang-option.active {
    color: var(--dark-bg);
}

/* Dropdown меню */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-dropdown > a::before {
    content: '▼';
    font-size: 0.6rem;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-dropdown:hover > a::before,
.nav-dropdown.active > a::before {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 24, 22, 0.98);
    border: 1px solid rgba(234, 191, 152, 0.2);
    border-radius: 8px;
    list-style: none;
    min-width: 250px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-top: 10px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(234, 191, 152, 0.1);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-cream);
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(234, 191, 152, 0.1);
    padding-left: 25px;
    color: var(--accent-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* Мобильная версия для dropdown */
@media (max-width: 992px) {
    /* Центрируем пункт dropdown в мобильном меню */
    .nav-dropdown {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: auto;
        text-align: center;
    }

    /* Стрелочка для dropdown */
    .nav-dropdown > a::before {
        order: -1; /* Стрелка идет перед текстом */
        font-size: 0.5rem;
    }

    /* Подменю на мобильной версии */
    .dropdown-menu {
        position: static;
        background: rgba(15, 14, 13, 0.95);
        border: none;
        border-top: 1px solid rgba(234, 191, 152, 0.15);
        border-radius: 0;
        min-width: auto;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
        backdrop-filter: none;
        left: auto;
        transform: none;
        z-index: 1;
        text-align: center;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 400px;
        overflow-y: auto;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu a {
        display: block;
        padding: 12px 20px;
        font-size: 0.8rem;
        text-align: center;
        width: 100%;
    }

    .dropdown-menu a:hover {
        padding-left: 20px;
        background: rgba(234, 191, 152, 0.1);
    }
}

/* ===== Hero секция ===== */
.hero {
    min-height: 100vh;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    grid-column: 1;
    grid-row: 1;
}

.hero-image {
    grid-column: 2;
    grid-row: 1 / 3;
}

.hero-text {
    grid-column: 1;
    grid-row: 2;
}

.hero-content.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.hero-content.reverse .hero-title {
    order: 2;
    grid-column: 2;
    grid-row: 1;
}

.hero-content.reverse .hero-image {
    order: 1;
    grid-column: 1;
    grid-row: 1 / 3;
}

.hero-content.reverse .hero-text {
    order: 3;
    grid-column: 2;
    grid-row: 2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: rgba(255, 250, 241, 0.85);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.3;
    filter: blur(50px);
    pointer-events: none;
}

.hero-image > img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 120px rgba(196, 155, 108, 0.6);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* ===== Instagram Overlay на фото ===== */
.hero-image-link {
    position: relative;
    display: inline-block;
    max-width: 450px;
}

/* Подсветка для фото внутри ссылки (на главной странице) */
.hero-image-link::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.3;
    filter: blur(50px);
    pointer-events: none;
}

/* Для изображения внутри ссылки - те же стили */
.hero-image-link img:first-of-type {
    display: block;
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 120px rgba(196, 155, 108, 0.6);
    object-fit: cover;
    position: relative;
    overflow: hidden;
}

/* Instagram скриншот - появляется при наведении */
.instagram-screenshot {
    position: absolute;
    width: 450px;
    height: auto;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.hero-image-link:hover .instagram-screenshot {
    opacity: 0.5;
    display: block;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    pointer-events: none;
    z-index: 15;
}

.hero-image-link:hover .instagram-overlay {
    opacity: 1;
    pointer-events: auto;
}

.instagram-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 20;
}

.instagram-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Десктоп версия - эффект при наведении */
@media (min-width: 993px) {
    .hero-image-link:hover .instagram-overlay {
        opacity: 1;
    }

    .hero-image-link:hover .instagram-icon {
        transform: scale(1.1);
    }
}

/* Мобильная версия - иконка в углу с пульсацией */
@media (max-width: 992px) {
    .instagram-overlay {
        background: none;
        opacity: 1;
        width: auto;
        height: auto;
        top: 20px;
        right: 20px;
        left: auto;
        bottom: auto;
    }

    .instagram-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
        animation: pulse 2s ease-in-out infinite;
    }

    .instagram-text {
        display: none;
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
            opacity: 0.9;
        }
        50% {
            transform: scale(1.1);
            opacity: 1;
        }
    }
}

/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 4px 20px var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--shadow-glow);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ===== Статистика ===== */
.stats {
    padding: 80px 0;
    background-color: var(--darker-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 250, 241, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== О психологе ===== */
.about {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

blockquote {
    margin: 3rem 0;
    padding: 2rem;
    background-color: rgba(196, 155, 108, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
}

cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--accent-gold);
    font-style: normal;
}

/* ===== Раздел веры и паломничества ===== */
.faith-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 24, 22, 0.95) 0%, rgba(15, 14, 13, 0.98) 100%);
}

.faith-section h2 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.faith-content {
    margin-top: 2rem;
}

.faith-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faith-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.faith-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.faith-column {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.faith-column:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.faith-column h3 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.faith-column p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.faith-column p:last-child {
    margin-bottom: 0;
}

.faith-gallery {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(235, 188, 78, 0.2);
}

.faith-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.faith-image-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    group: "image";
}

.faith-image-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.faith-image-item:hover img {
    transform: scale(1.05);
}

.faith-image-caption {
    background: rgba(235, 188, 78, 0.1);
    color: var(--accent-gold);
    padding: 1.2rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 2px solid var(--accent-gold);
    margin: 0;
}

/* ===== Раздел об учителе ===== */
.teacher-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(15, 14, 13, 0.98) 0%, rgba(26, 24, 22, 0.95) 100%);
}

.teacher-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.teacher-text {
    flex: 1;
    min-width: 0;
}

.teacher-text .intro-paragraph {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.teacher-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.teacher-quote {
    background: rgba(196, 155, 108, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.teacher-quote p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin: 0;
}

.teacher-image {
    flex: 0 0 400px;
    text-align: center;
}

.teacher-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 2px solid rgba(196, 155, 108, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.teacher-image img:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px var(--shadow-glow);
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--accent-gold);
    font-style: italic;
}

@media (max-width: 992px) {
    .teacher-content {
        flex-direction: column;
        gap: 3rem;
    }

    .teacher-image {
        flex: 0 0 auto;
        max-width: 500px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .teacher-content {
        gap: 2rem;
    }

    .teacher-image {
        max-width: 100%;
    }

    .teacher-text .intro-paragraph {
        font-size: 1.05rem;
    }

    .teacher-text p {
        font-size: 1rem;
    }
}

/* ===== Холотропное дыхание ===== */
.holotropic-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.05) 0%, rgba(15, 14, 13, 0.95) 100%);
}

.holotropic-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.holotropic-content {
    max-width: 900px;
    margin: 0 auto;
}

.holotropic-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.holotropic-intro .intro-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-gold);
    line-height: 1.8;
}

.holotropic-description {
    margin-bottom: 3rem;
}

.holotropic-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.holotropic-benefits {
    background: rgba(196, 155, 108, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 3rem;
}

.holotropic-benefits h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.benefits-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.holotropic-quote {
    background: linear-gradient(135deg, rgba(234, 191, 152, 0.12) 0%, rgba(196, 155, 108, 0.06) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(234, 191, 152, 0.2);
}

.holotropic-quote p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    opacity: 0.95;
}

.holotropic-highlights {
    margin-bottom: 3rem;
}

.holotropic-highlights h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.holotropic-highlights > p {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(196, 155, 108, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(196, 155, 108, 0.15);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.holotropic-details {
    background: rgba(196, 155, 108, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.holotropic-details h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.details-list {
    list-style: none;
    padding: 0;
}

.details-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.details-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.holotropic-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(234, 191, 152, 0.15) 0%, rgba(196, 155, 108, 0.08) 100%);
    border-radius: 20px;
    border: 1px solid rgba(234, 191, 152, 0.3);
}

.cta-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text strong {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .holotropic-benefits,
    .holotropic-quote,
    .holotropic-details {
        padding: 2rem 1.5rem;
    }

    .holotropic-cta {
        padding: 2rem 1.5rem;
    }
}

/* ===== Онлайн-консультации ===== */
.online-therapy-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.05) 0%, rgba(15, 14, 13, 0.95) 100%);
}

.online-therapy-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.online-formats {
    margin-bottom: 4rem;
}

.online-formats h3 {
    text-align: center;
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.formats-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.format-item {
    background: rgba(196, 155, 108, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(196, 155, 108, 0.15);
    transition: all 0.3s ease;
    text-align: center;
}

.format-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

.format-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.format-item h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.format-item p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
    margin: 0;
}

.benefits-grid-online {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: rgba(196, 155, 108, 0.08);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px var(--shadow-glow);
}

.benefit-card h3 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
    margin: 0;
}

.online-therapy-section h3 {
    text-align: center;
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    margin-top: 4rem;
}

.issues-columns {
    margin-bottom: 4rem;
}

.issues-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem 3rem;
    list-style: none;
    padding: 0;
}

.issues-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.issues-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.method-tag {
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.12) 0%, rgba(196, 155, 108, 0.06) 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    border: 1px solid rgba(196, 155, 108, 0.2);
    transition: all 0.3s ease;
}

.method-tag:hover {
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.2) 0%, rgba(196, 155, 108, 0.12) 100%);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.effectiveness-list {
    margin-bottom: 4rem;
}

.effectiveness-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(196, 155, 108, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(196, 155, 108, 0.15);
}

.effectiveness-item .number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.effectiveness-item .content h3 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.effectiveness-item .content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
    margin: 0;
}

.online-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(234, 191, 152, 0.15) 0%, rgba(196, 155, 108, 0.08) 100%);
    border-radius: 20px;
    border: 1px solid rgba(234, 191, 152, 0.3);
}

.online-cta p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .formats-list {
        grid-template-columns: 1fr;
    }

    .benefits-grid-online {
        grid-template-columns: 1fr;
    }

    .issues-list {
        grid-template-columns: 1fr;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .effectiveness-item {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== Услуги ===== */
.services {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(196, 155, 108, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-glow);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon img {
    width: 127px;
    height: 127px;
    object-fit: contain;
}

.service-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 250, 241, 0.8);
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent-gold);
}

/* ===== Решаемые вопросы ===== */
.issues {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.issue-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.issue-item p {
    font-size: 1rem;
    margin: 0;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background-color: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(196, 155, 108, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--text-cream);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: rgba(255, 250, 241, 0.8);
    line-height: 1.8;
}

/* ===== CTA секция ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 250, 241, 0.8);
}

/* ===== Футер ===== */
.footer {
    background-color: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(196, 155, 108, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'Nunito', sans-serif;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 250, 241, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(196, 155, 108, 0.1);
}

.footer-bottom p {
    color: rgba(255, 250, 241, 0.5);
    font-size: 0.9rem;
}

/* ===== Адаптивность ===== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.8);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-language {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0.75rem 0 0.25rem;
    }

    .nav-menu .lang-switcher {
        margin: 0;
    }

    .lang-switcher--desktop {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-brand {
        margin-right: 0;
    }

    .nav-phone {
        right: 60px;
    }

    .nav-phone a {
        font-size: 1.02rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .hero-content.reverse {
        flex-direction: column;
    }

    .hero-content.reverse .hero-title {
        order: 1;
    }

    .hero-content.reverse .hero-image {
        order: 2;
    }

    .hero-content.reverse .hero-text {
        order: 3;
    }

    .hero-title {
        order: 1;
    }

    .hero-image {
        text-align: center;
        order: 2;
    }

    .hero-text {
        order: 3;
    }

    .hero-image img {
        max-width: 350px;
        width: 100%;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .nav-phone {
        right: 50px;
    }

    .nav-phone a {
        font-size: 0.85rem;
    }

    .nav-brand a {
        font-size: 1.2rem;
    }

    .hero {
        padding: 90px 0 60px !important;
    }

    .hero-small {
        padding: 90px 0 60px !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    section:not(.hero):not(.hero-small) {
        padding: 60px 0 !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .nav-brand {
        padding-left: 30px;
        margin-right: 50px;
    }
}

/* ===== Hero Small ===== */
.hero-small {
    min-height: 25vh;
    padding: 120px 0 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-small .container {
    max-width: 800px;
}

.hero-small h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.hero-small .hero-description {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Предотвращаем горизонтальный скролл */
.hero-image::before {
    max-width: 100%;
}

.hero-image img {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Расписание ===== */
.schedule-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

/* Fix для секции расстановки - принудительно делаем видимым */
#rasstavki {
    opacity: 1 !important;
    transform: none !important;
}

#rasstavki * {
    opacity: 1 !important;
    visibility: visible !important;
}

.schedule-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: center;
}

.schedule-block {
    background-color: rgba(196, 155, 108, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.schedule-block h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.work-list {
    list-style: none;
    padding-left: 0;
}

.work-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.work-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.philosophy {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-top: 2.5rem;
    color: rgba(255, 250, 241, 0.9);
}

.schedule-combined .philosophy {
    text-align: left;
}

/* Совмещенный layout с видео */
.schedule-combined {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.schedule-info {
    flex: 1;
    min-width: 0;
}

.schedule-video {
    flex: 0 0 400px;
    position: sticky;
    top: 100px;
}

.schedule-video .video-card {
    background-color: rgba(196, 155, 108, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(196, 155, 108, 0.15);
}

.schedule-video .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
    background-color: #000;
    overflow: hidden;
}

.schedule-video .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schedule-video .video-info {
    padding: 1.5rem;
}

@media (max-width: 992px) {
    .schedule-combined {
        flex-direction: column;
        gap: 3rem;
    }

    .schedule-video {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        position: static;
    }

    .schedule-video .video-wrapper {
        padding-bottom: 0;
        height: min(630px, 80vh);
        position: relative;
    }

    .schedule-video .video-wrapper video {
        position: static;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Принудительный fix для мобильных */
    #rasstavki,
    #rasstavki *,
    #rasstavki .container,
    #rasstavki .schedule-combined {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    #rasstavki .schedule-combined {
        display: flex !important;
    }
}

@media (max-width: 576px) {
    .schedule-combined {
        gap: 2rem;
    }

    .schedule-video {
        max-width: 100%;
    }
}

/* ===== Города ===== */
.cities-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.city-card {
    background-color: rgba(196, 155, 108, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(196, 155, 108, 0.2);
    transition: all 0.3s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

.city-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* ===== Форматы работы ===== */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.format-card {
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.08) 0%, rgba(196, 155, 108, 0.03) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(196, 155, 108, 0.15);
    transition: all 0.4s ease;
}

.format-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow-glow);
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.12) 0%, rgba(196, 155, 108, 0.06) 100%);
}

.format-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.format-card h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.format-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

.seminar-request {
    background: linear-gradient(135deg, rgba(234, 191, 152, 0.12) 0%, rgba(196, 155, 108, 0.08) 100%);
    border-radius: 20px;
    border: 1px solid rgba(234, 191, 152, 0.25);
    overflow: hidden;
}

.seminar-request-content {
    padding: 3rem 2.5rem;
    text-align: center;
}

.seminar-request h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.seminar-request p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.seminar-note {
    font-style: italic;
    opacity: 0.9;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.seminar-action {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .formats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .format-card {
        padding: 2rem 1.5rem;
    }

    .seminar-request-content {
        padding: 2rem 1.5rem;
    }
}

/* ===== Контакты ===== */
.contacts-section {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-methods h2,
.contact-form-wrapper h2 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(196, 155, 108, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.contact-info p {
    margin-bottom: 0.3rem;
}

.contact-info a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-gold);
}

/* Карта на странице контактов: на десктопе растягиваем на всю ширину блока */
@media (min-width: 993px) {
    .contact-map-wide {
        display: block;
        width: 100%;
    }

    .contact-map-wide .contact-info {
        width: 100%;
        max-width: none;
    }
}

.contact-note {
    font-size: 0.9rem;
    color: rgba(255, 250, 241, 0.6);
}

/* ===== Форма контактов ===== */
.contact-form {
    background-color: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(196, 155, 108, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: rgba(255, 250, 241, 0.05);
    border: 1px solid rgba(196, 155, 108, 0.3);
    border-radius: 10px;
    color: var(--text-cream);
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 250, 241, 0.08);
}

.form-group select option {
    background-color: #1a1816;
    color: #fffaf1;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.9rem;
    color: rgba(255, 250, 241, 0.7);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 250, 241, 0.6);
    text-align: center;
}

/* ===== Время работы ===== */
.working-hours {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hours-card {
    background-color: rgba(196, 155, 108, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(196, 155, 108, 0.2);
}

.hours-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.hours-card p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* ===== Адаптивность для новых секций ===== */
@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .cities-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* ===== Дополнительные стили для духовных практик ===== */
.credentials-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.credentials-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.practice-benefits {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(196, 155, 108, 0.2);
}

.practice-benefits p {
    font-size: 0.9rem;
    color: rgba(255, 250, 241, 0.7);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.format-card {
    background-color: rgba(196, 155, 108, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(196, 155, 108, 0.2);
}

.format-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.format-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.format-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.format-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ===== Стили для видео страницы ===== */
.video-categories {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.video-platforms {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.platform-card {
    background-color: rgba(196, 155, 108, 0.1);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(196, 155, 108, 0.2);
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.platform-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.video-section {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.video-card {
    background-color: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(196, 155, 108, 0.2);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

.video-placeholder {
    position: relative;
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.2) 0%, rgba(196, 155, 108, 0.05) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.play-button {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    background-color: var(--accent-gold);
    transform: scale(1.1);
}

.video-placeholder p {
    position: relative;
    z-index: 1;
    font-weight: 600;
    color: var(--text-cream);
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.video-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 250, 241, 0.7);
}

/* ===== Адаптивность для новых элементов ===== */
@media (max-width: 768px) {
    .formats-grid {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Блог ===== */
.blog-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--darker-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(196, 155, 108, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow-glow);
}

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    color: var(--dark-bg);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: rgba(255, 250, 241, 0.5);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.blog-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.3;
}

.blog-content h2 a {
    color: var(--text-cream);
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: var(--accent-gold);
}

.blog-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 250, 241, 0.7);
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--accent-gold);
    gap: 0.5rem;
}

/* ===== Страница статьи блога ===== */
.blog-post {
    padding: 140px 0 100px;
    background-color: var(--dark-bg);
}

.post-header {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.breadcrumbs {
    color: rgba(255, 250, 241, 0.5);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-gold);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.post-category {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    color: var(--dark-bg);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-date, .post-reading-time {
    color: rgba(255, 250, 241, 0.6);
    font-size: 0.9rem;
}

.post-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.post-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--accent-gold);
    font-style: italic;
}

.post-content {
    max-width: 900px;
    margin: 0 auto;
}

.post-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    text-align: left;
}

.post-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-cream);
}

.post-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 250, 241, 0.9);
}

.post-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--accent-gold);
}

.post-cta {
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.1) 0%, rgba(196, 155, 108, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
}

.post-cta h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.post-cta p {
    margin-bottom: 2rem;
}

.post-author {
    max-width: 900px;
    margin: 4rem auto;
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: var(--darker-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(196, 155, 108, 0.15);
}

.post-author img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.author-info p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.post-navigation {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-author {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Социальные сети ===== */
.social-section {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.social-section h2 {
    margin-bottom: 1rem;
}

.social-description {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 250, 241, 0.75);
    margin-bottom: 3rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.1) 0%, rgba(196, 155, 108, 0.05) 100%);
    border: 1px solid rgba(196, 155, 108, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow-glow);
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.15) 0%, rgba(196, 155, 108, 0.08) 100%);
}

.social-card svg {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.social-card:hover svg {
    transform: scale(1.1);
}

.social-card h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.social-card p {
    font-size: 0.95rem;
    color: rgba(255, 250, 241, 0.7);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Отзывы (Testimonials) ===== */
.testimonials {
    padding: 100px 0;
    background-color: var(--darker-bg);
    overflow: hidden;
}

.testimonials h2 {
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 250, 241, 0.6);
    margin-bottom: 4rem;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    max-width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s ease;
}

.testimonial-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    padding: 0 1rem;
    box-sizing: border-box;
}

.testimonial-content {
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.08) 0%, rgba(196, 155, 108, 0.03) 100%);
    border: 1px solid rgba(196, 155, 108, 0.2);
    border-radius: 20px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    font-family: 'Libre Baskerville', serif;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-cream);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(196, 155, 108, 0.2);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 0.3rem;
}

.author-location {
    font-size: 0.9rem;
    color: rgba(255, 250, 241, 0.5);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .testimonial-content {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-content::before {
        font-size: 4rem;
        top: 10px;
        left: 20px;
    }
}

/* ===== Motto Section ===== */
.motto {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(196, 155, 108, 0.08) 0%, rgba(196, 155, 108, 0.02) 100%);
    border-top: 1px solid rgba(196, 155, 108, 0.2);
    border-bottom: 1px solid rgba(196, 155, 108, 0.2);
}

.motto-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.motto-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--accent-gold);
    font-style: italic;
    position: relative;
    padding: 0 3rem;
}

.motto-text::before,
.motto-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    font-family: Georgia, serif;
}

.motto-text::before {
    left: 0;
    top: -10px;
}

.motto-text::after {
    right: 0;
    bottom: -30px;
}

@media (max-width: 768px) {
    .motto {
        padding: 40px 0;
    }
    
    .motto-text {
        font-size: 1.3rem;
        padding: 0 2rem;
    }
    
    .motto-text::before,
    .motto-text::after {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .motto-text {
        font-size: 1.1rem;
        padding: 0 1.5rem;
    }
}

/* ===== Музыкальный плеер ===== */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 24, 22, 0.95);
    padding: 12px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.music-toggle {
    background: none;
    border: none;
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    min-width: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.music-toggle:hover {
    transform: scale(1.1);
    color: #fff;
}

.music-toggle.playing {
    animation: pulse-music 2s ease-in-out infinite;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

#volumeSlider {
    width: 40px;
    height: 4px;
    cursor: pointer;
    --volume-percent: 50%;
    background: linear-gradient(to right, var(--accent-gold) 0%, var(--accent-gold) var(--volume-percent), rgba(255,255,255,0.2) var(--volume-percent), rgba(255,255,255,0.2) 100%);
    -webkit-appearance: none;
    appearance: none;
    border-radius: 2px;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent-gold);
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

#volumeSlider::-webkit-slider-thumb:hover {
    background: #fff;
}

#volumeSlider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--accent-gold);
    cursor: pointer;
    border-radius: 50%;
    border: none;
    transition: background 0.3s ease;
}

#volumeSlider::-moz-range-thumb:hover {
    background: #fff;
}

#volumeValue {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 35px;
    text-align: right;
}

@keyframes pulse-music {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Мобильная версия для faith-section */
@media (max-width: 768px) {
    .faith-section {
        padding: 60px 0;
    }

    .faith-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .faith-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faith-column {
        padding: 1.5rem;
    }

    .faith-image-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .faith-image-item img {
        height: 200px;
    }

    .faith-image-caption {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
}

/* Мобильная версия */
@media (max-width: 576px) {
    .music-player {
        bottom: 15px;
        right: 15px;
        padding: 10px 12px;
    }

    .music-toggle {
        width: 28px;
        height: 28px;
    }

    .volume-control {
        display: none;
    }

    .faith-section {
        padding: 40px 0;
    }

    .faith-section h2 {
        font-size: 1.5rem;
    }

    .faith-intro p {
        font-size: 0.95rem;
    }

    .faith-column {
        padding: 1.2rem;
    }

    .faith-column h3 {
        font-size: 1.1rem;
    }

    .faith-image-grid {
        grid-template-columns: 1fr;
    }

    .faith-image-item img {
        height: 250px;
    }
}

/* ===== Селектор треков для музыкального плеера ===== */
.track-selector {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: rgba(26, 24, 22, 0.98);
    border-radius: 15px;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.track-selector.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.track-selector-header {
    padding: 8px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(197, 157, 95, 0.7);
    font-weight: 600;
    border-bottom: 1px solid rgba(197, 157, 95, 0.2);
    margin-bottom: 5px;
}

.track-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(245, 245, 245, 0.8);
    font-size: 0.95rem;
}

.track-option:hover {
    background: rgba(197, 157, 95, 0.15);
    color: var(--accent-gold);
    padding-left: 20px;
}

.track-option.active {
    background: rgba(197, 157, 95, 0.25);
    color: var(--accent-gold);
    font-weight: 600;
}

.track-option.active::before {
    content: "♪";
    font-size: 1.1rem;
    animation: music-note 1.5s ease-in-out infinite;
}

.track-option .track-name {
    flex: 1;
}

.track-option .track-duration {
    font-size: 0.8rem;
    color: rgba(197, 157, 95, 0.6);
}

@keyframes music-note {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Десктоп: показывать при наведении */
@media (min-width: 769px) {
    .music-player:hover .track-selector {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .track-selector {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        min-width: 260px;
    }

    .track-selector.show {
        transform: translateX(-50%) translateY(0);
    }

    .track-option {
        font-size: 1rem;
        padding: 15px;
    }

    .track-selector-header {
        font-size: 0.8rem;
    }
}

/* Keep the video review block inside one viewport with its title and caption. */
#video-reviews {
    padding-top: clamp(2rem, 5svh, 3.5rem) !important;
    padding-bottom: clamp(2rem, 5svh, 3.5rem) !important;
}

#video-reviews .container {
    max-width: min(1160px, 94vw);
}

#video-reviews h2 {
    margin-bottom: clamp(0.6rem, 1.5svh, 1rem);
}

#video-reviews .intro-text {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

#video-reviews .container > div {
    margin-top: clamp(0.9rem, 2.4svh, 1.6rem) !important;
}

#video-reviews .video-card {
    max-width: min(680px, 92vw) !important;
}

#video-reviews .video-wrapper {
    display: flex;
    justify-content: center;
    background: #000;
    border-radius: 12px;
}

#video-reviews .review-video {
    width: auto !important;
    max-width: 100%;
    max-height: clamp(240px, calc(100svh - 320px), 560px);
    object-fit: contain;
}

#video-reviews .video-info {
    padding-top: clamp(0.45rem, 1.2svh, 0.8rem) !important;
}

#video-reviews .video-info p {
    margin: 0;
}

@media (max-width: 768px) {
    #video-reviews {
        padding-top: clamp(1.5rem, 4svh, 2.25rem) !important;
        padding-bottom: clamp(1.5rem, 4svh, 2.25rem) !important;
    }

    #video-reviews .intro-text {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    #video-reviews .review-video {
        max-height: clamp(220px, calc(100svh - 300px), 440px);
    }
}

/* Mobile header polish: reserve space for fixed social links below the navbar. */
@media (max-width: 768px) {
    .nav-social {
        top: 72px;
        right: 15px;
        z-index: 1001;
    }

    body:has(.nav-social) .hero,
    body:has(.nav-social) .hero-small,
    body:has(.nav-social) section:first-of-type {
        padding-top: max(124px, env(safe-area-inset-top) + 118px) !important;
    }

    body:has(.nav-social) .contacts-section {
        padding-top: max(112px, env(safe-area-inset-top) + 108px) !important;
    }

    body:has(.nav-social) #topics-hero,
    body:has(.nav-social) #practice-hero,
    body:has(.nav-social) #online-hero,
    body:has(.nav-social) #individual-hero {
        padding-top: max(134px, env(safe-area-inset-top) + 128px) !important;
    }

    body:has(.nav-social) .article-hero,
    body:has(.nav-social):not(:has(#topics-hero)):not(:has(#practice-hero)):not(:has(#online-hero)):not(:has(#individual-hero)):not(:has(#contacts-page)) section:first-of-type {
        padding-top: max(132px, env(safe-area-inset-top) + 126px) !important;
    }
}

@media (max-height: 620px) {
    #video-reviews {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    #video-reviews h2 {
        font-size: clamp(1.45rem, 5svh, 2rem);
    }

    #video-reviews .intro-text {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    #video-reviews .container > div {
        margin-top: 0.65rem !important;
    }

    #video-reviews .review-video {
        max-height: max(140px, calc(100svh - 260px));
    }

    #video-reviews .video-info {
        padding-top: 0.35rem !important;
    }

    #video-reviews .video-info p {
        font-size: 0.88rem;
        line-height: 1.35;
    }
}

/* Layout polish for action rows, FAQ variants and mobile content blocks. */
.btn,
a[style*="border-radius:50px"],
a[style*="border-radius: 50px"],
a[style*="border-radius:999px"],
a[style*="border-radius: 999px"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
}

a[style*="border-radius:50px"] svg,
a[style*="border-radius: 50px"] svg,
a[style*="border-radius:999px"] svg,
a[style*="border-radius: 999px"] svg {
    flex: 0 0 auto;
}

div:has(> a.btn),
div:has(> a[href^="tel:"]):has(> a[href^="https://wa.me"]),
div:has(> a[href^="https://wa.me"]):has(> a.btn) {
    justify-content: center !important;
    align-items: center !important;
}

#topics-faq .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

#topics-faq .faq-grid {
    display: block !important;
}

#topics-faq .faq-item h3,
#topics-faq .faq-item > p {
    margin: 0;
}

@media (max-width: 768px) {
    .blog-card,
    .blog-card:hover {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        box-shadow: none !important;
    }

    body:has(.blog-grid) section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .blog-card h2 {
        font-size: 1.35rem;
    }

    #topics-hero + section + section img[src*="gleb-session-1.jpg"],
    img[src*="gleb-session-1.jpg"] {
        width: calc(100vw - 30px) !important;
        max-width: calc(100vw - 30px) !important;
        margin-left: 50% !important;
        transform: translateX(-50%) !important;
        display: block;
    }

    img[src*="gleb-individual-2.jpg"] {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
        display: block;
    }

    img[src*="gleb-individual-2.jpg"] + div {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .service-block-single {
        justify-content: center !important;
        text-align: center;
    }

    .service-block-single > div {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        justify-content: center;
    }

    div:has(> a.btn),
    div:has(> a[href^="tel:"]):has(> a[href^="https://wa.me"]),
    div:has(> a[href^="https://wa.me"]):has(> a.btn) {
        width: 100%;
        justify-content: center !important;
        align-items: stretch !important;
    }

    div:has(> a.btn) > a,
    div:has(> a[href^="tel:"]):has(> a[href^="https://wa.me"]) > a,
    div:has(> a[href^="https://wa.me"]):has(> a.btn) > a {
        min-height: 46px;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .hero-text > div:has(> a.btn),
    .schedule-block > div:has(> a[href^="tel:"]):has(> a[href^="https://wa.me"]),
    .video-info > div:has(> a.btn),
    #individual-approach div:has(> a.btn),
    #topics-faq + footer,
    #topics-faq {
        text-align: center;
    }

    .hero-text > div:has(> a.btn),
    .schedule-block > div:has(> a[href^="tel:"]):has(> a[href^="https://wa.me"]),
    .video-info > div:has(> a.btn),
    #individual-approach div:has(> a.btn),
    section div:has(> a.btn):has(> a[href^="https://wa.me"]),
    section div:has(> a.btn):has(> a[href^="tel:"]) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.9rem !important;
    }

    .hero-text > div:has(> a.btn) > a,
    .schedule-block > div:has(> a[href^="tel:"]):has(> a[href^="https://wa.me"]) > a,
    .video-info > div:has(> a.btn) > a,
    #individual-approach div:has(> a.btn) > a,
    section div:has(> a.btn):has(> a[href^="https://wa.me"]) > a,
    section div:has(> a.btn):has(> a[href^="tel:"]) > a {
        width: min(100%, 320px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .schedule-block > div:has(> a[href^="tel:"]):has(> a[href^="https://wa.me"]) svg {
        display: none !important;
    }

    .schedule-block > div:has(> a[href^="tel:"]):has(> a[href^="https://wa.me"]) a {
        gap: 0 !important;
    }

    .hero-text > a.btn,
    #psychologist-help a.btn,
    section div:not([style*="display:flex"]):not([style*="display: flex"]) > a.btn {
        display: flex !important;
        width: min(100%, 320px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .service-block-single a {
        width: min(100%, 320px) !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }
}

/* ===== Responsive navbar v3 ===== */
.navbar {
    --navbar-height: 64px;
    height: var(--navbar-height);
    padding: 0;
}

.navbar .container {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.75rem, 1.2vw, 1.25rem);
    width: 100%;
    max-width: none;
    height: var(--navbar-height);
    padding: 0 clamp(1rem, 2vw, 2rem);
    box-sizing: border-box;
}

.nav-social,
.nav-brand,
.nav-phone {
    position: static;
    inset: auto;
    transform: none;
}

.nav-social {
    justify-self: start;
    gap: 0.45rem;
}

.nav-social-link {
    width: 28px;
    height: 28px;
}

.nav-brand {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.nav-brand a {
    display: block;
    font-size: clamp(1.15rem, 1.25vw, 1.4rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu {
    min-width: 0;
    margin: 0;
    padding: 0;
    justify-content: center !important;
    gap: clamp(0.4rem, 0.7vw, 0.75rem);
}

.nav-menu > li > a {
    font-size: clamp(0.92rem, 0.84vw, 1.02rem) !important;
}

.nav-phone {
    justify-self: end;
    gap: 0.65rem;
}

.nav-phone > a {
    font-size: clamp(0.95rem, 1vw, 1.12rem);
}

.nav-toggle {
    justify-self: end;
    flex-shrink: 0;
}

/* Compact desktop: keep social links visible below the navbar once the first row gets tight. */
@media (max-width: 1280px) {
    .navbar .container {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .nav-social {
        position: fixed;
        z-index: 1003;
        top: calc(var(--navbar-height) + 8px);
        right: clamp(0.75rem, 2vw, 2rem);
        left: auto;
        display: flex;
        transform: none;
    }
}

/* Switch to the drawer only when the navigation itself no longer fits. */
@media (max-width: 1020px) {
    .navbar .container {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 0.75rem;
    }

    .nav-brand,
    .nav-phone,
    .nav-toggle {
        position: relative;
        z-index: 1004;
    }

    .nav-toggle {
        display: flex;
        width: 27px;
        height: 32px;
        padding: 0;
        align-items: center;
        justify-content: center;
        appearance: none;
        color: inherit;
        border: 0;
        border-radius: 0;
        background: transparent;
        outline: none;
        box-shadow: none;
    }

    .nav-toggle:focus-visible span {
        background: var(--gold);
    }

    .nav-menu {
        position: fixed;
        z-index: 1001;
        inset: var(--navbar-height) 0 auto 0;
        width: 100%;
        height: calc(100dvh - var(--navbar-height));
        max-height: none;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start !important;
        gap: 0.25rem;
        padding: 4.25rem 1rem 7rem;
        background: rgba(20, 18, 17, 0.985);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.2s ease, visibility 0.28s;
        box-sizing: border-box;
    }

    .nav-menu.active {
        left: 0;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu > li {
        width: min(100%, 420px);
        text-align: center;
    }

    .nav-menu > li > a {
        display: block;
        width: 100%;
        padding: 0.72rem 1rem;
        font-size: 1rem !important;
        box-sizing: border-box;
    }

    .nav-language {
        display: flex;
        padding-top: 0.8rem;
    }

    .lang-switcher--desktop {
        display: none;
    }

    .nav-phone {
        right: auto;
    }

    .nav-phone > a {
        font-size: 0.95rem;
    }

    body:has(.nav-menu.active) {
        overflow: hidden;
    }
}

@media (max-width: 560px) {
    .navbar .container {
        gap: 0.5rem;
        padding: 0 0.75rem;
    }

    .nav-brand a {
        font-size: clamp(1rem, 5vw, 1.15rem);
    }

    .nav-phone > a {
        font-size: clamp(0.78rem, 3.4vw, 0.9rem);
        white-space: nowrap;
    }
}

@media (max-width: 350px) {
    .nav-brand a {
        font-size: 0.95rem;
    }

    .nav-toggle {
        width: 24px;
    }
}
