/* ============================================
   ПОДКЛЮЧЕНИЕ ЛОКАЛЬНЫХ ШРИФТОВ TTF
============================================ */

/* SSFBreakthrough - все начертания */
@font-face {
    font-family: 'SSFBreakthrough';
    src: url('fonts/SSFBreakthrough-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SSFBreakthrough';
    src: url('fonts/SSFBreakthrough-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SSFBreakthrough';
    src: url('fonts/SSFBreakthrough-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SSFBreakthrough';
    src: url('fonts/SSFBreakthrough-Demibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   ПОДКЛЮЧЕНИЕ ASINASTRA ДЛЯ ЗАГОЛОВКОВ РАЗДЕЛОВ
============================================ */

@font-face {
    font-family: 'Asinastra';
    src: url('fonts/ofont.ru_Asinastra.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   ОСНОВА
============================================ */

body {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

/* Все текстовые элементы наследуют от body */
p, span, div, li, td, th, 
.contact-text, .review-text,
.workshops-item p, .text-item, #about p,
.tariff-card ul li,
.form-group input, .form-group textarea,
.footer-column p, .copyright, .legal-links a,
.about-green-block p, .about-green-block .about-description,
.about-green-block .about-details, .about-green-block .about-motto {
    font-family: inherit;
}

/* ============================================
   НАЗВАНИЯ РАЗДЕЛОВ (h2) — ASINASTRA
   Это: "Наши мастер-классы", "Отзывы и работы наших учеников", 
   "Запись на мастер-класс", "Контакты" и т.д.
============================================ */

h2,
#workshops > h2,
.reviews-main-title,
#signup.section-with-underlay-bg h2,
#contacts h2,
.section-title,
.reviews-header h2,
.workshops-preview h3 {
    font-family: 'Asinastra', 'Georgia', serif !important;
    font-weight: normal !important;
    font-style: normal;
}

/* ============================================
   ЗАГОЛОВКИ "О НАС" — SSFBreakthrough-Black
============================================ */

.about-green-block .about-title,
.about-green-block .about-subtitle {
    font-family: 'SSFBreakthrough', 'Georgia', serif !important;
    font-weight: 900 !important; /* Black */
}

/* ============================================
   ОСТАЛЬНЫЕ ЗАГОЛОВКИ (h1, h3-h6) — SSFBreakthrough-Bold
============================================ */

h1, h3, h4, h5, h6,
.hero-title,
.modal-title,
.footer-column h3,
.about-green-block .about-title:not(.about-subtitle),
.about-green-block .about-subtitle:not(.about-title) {
    font-family: 'SSFBreakthrough', 'Georgia', serif !important;
    font-weight: 700 !important; /* Bold */
}


/* ============================================
   МЕНЮ И НАВИГАЦИЯ — SSFBreakthrough-Bold
============================================ */

.menu-link,
.header-btn,
.nav-menu a,
.footer-nav ul li a,
.mobile-menu a,
.mobile-btn {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important; /* Bold */
}

/* ============================================
   КНОПКИ (все кнопки) — SSFBreakthrough-Bold
============================================ */

.header-btn,
.hero-btn,
.workshop-button,
.signup-submit-btn,
.contact-button,
.subscribe-button,
.mobile-btn,
.show-more-btn,
.modal-signup-btn,
.filter-btn {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important; /* Bold */
}

/* ============================================
   НАЗВАНИЯ МАСТЕР-КЛАССОВ — SSFBreakthrough-Regular
============================================ */

.workshop-title {
    font-family: 'SSFBreakthrough', 'Georgia', serif !important;
    font-weight: 400 !important; /* Regular */
}

/* ============================================
   ТЕКСТ О ПРОДОЛЖИТЕЛЬНОСТИ И ЦИФРЫ — SSFBreakthrough-Bold
============================================ */

.workshop-duration,
.workshop-duration span,
.workshop-duration i,
.workshop-price,
.workshop-price span,
.workshop-price .price-number {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important; /* Bold */
}

/* Цифры в цене */
.workshop-price {
    font-weight: 700 !important;
}

/* ============================================
   ФОРМА ЗАПИСИ — SSFBreakthrough-Bold
============================================ */

.signup-form label,
.signup-form input,
.signup-form textarea,
.signup-form select,
.signup-form .form-group label,
#selected_workshop_name,
.date-hint,
.checkbox-label span,
.checkbox-label a {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important; /* Bold */
}

/* Плейсхолдеры в форме */
.signup-form input::placeholder,
.signup-form textarea::placeholder {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important;
}

/* ============================================
   ОСТАЛЬНЫЕ ЭЛЕМЕНТЫ — SSFBreakthrough-Bold
============================================ */
.review-text,
.workshop-description,
.workshop-feature,
.workshop-feature i,
.workshop-feature span,
.contact-item p,
.contact-form label,
.contact-form input,
.contact-form textarea,
.footer-column p,
.copyright,
.legal-links a,
.subscribe-input-group input,
.subscribe-button,
.about-green-block .about-description,
.about-green-block .about-details,
.about-green-block .about-motto,
.about-green-block p {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important; /* Bold */
}

/* Специально для продолжительности в карточках */
.workshop-info .workshop-duration,
.workshop-info .workshop-price {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important;
}

/* ============================================
   ФИЛЬТРЫ — SSFBreakthrough-Bold
============================================ */

.filter-btn {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important;
}

/* ============================================
   МОБИЛЬНОЕ МЕНЮ — SSFBreakthrough-Bold
============================================ */

.mobile-menu a,
.mobile-btn,
.mobile-phone,
.mobile-email,
.contact-link {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important;
}

/* ============================================
   ПОДВАЛ — SSFBreakthrough-Bold
============================================ */

.footer-nav ul li a,
.footer-contact-item a,
.footer-contact-item span,
.subscribe-form p,
.subscribe-input-group input,
.subscribe-button,
.copyright,
.legal-links a {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important;
}


/* ============================================ 
   ШАПКА 
============================================ */

/* Основная шапка */
.clay-header {
    background-color: rgba(243, 236, 233, 1);
    font-family: inherit;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 0px 0;
    transition: all 0.3s ease;
    width: 100%;
}

.clay-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Раздвигает левую и правую части */
    width: 100%;
    padding: 0 20px; /* Небольшие отступы по краям */
    box-sizing: border-box;
}

/* Левая часть: Логотип + Навигация */
.header-left {
    display: flex;
    align-items: center;
    gap: 90px;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Навигация */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.menu-item {
    position: relative;
}

.menu-link {
    font-family: 'MyMenuFont', Arial, sans-serif !important;
    font-weight: normal !important;
    color: black;
    text-decoration: none;
    font-size: 1.1rem !important;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.menu-link:hover {
    color: #b4c7a9;
}

.menu-link:hover::after {
    width: 100%;
}

/* ПРАВАЯ ЧАСТЬ ШАПКИ */

/* Основной контейнер правой части */
.header-right {
    display: flex;
    align-items: center;
    padding-left: 160px;
    gap: 20px;
}

/* Контейнер для структуры Tilda */
.header-right-container {
    padding-left: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Социальные сети - новая структура */
.header-social-links {
    margin-right: 10px;
}

.header-social-links-wrapper {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    align-items: center;
}

.header-social-links-item {
    margin: 0;
    padding: 0;
}

/* иконки соцсетей */
.header-social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.header-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.4);
    transition: filter 0.3s ease;
}

.header-social-icon:hover {
    transform: translateY(-2px);
}

.header-social-icon:hover img {
    filter: grayscale(0);
}

/* Контейнер для кнопок */
.header-right-buttons {
    display: flex;
}

.header-right-buttons-wrap {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-right-buttons-button {
    display: flex;
}

/* ============================================ 
   КНОПКИ 
============================================ */

/* Кнопка записи - ваши оригинальные стили */
.header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(#b4c7a9);
    color: black;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(180, 199, 169, 0.25);
    white-space: nowrap;
}

/* Кнопка "Личный кабинет" - другой цвет */
.header-btn-secondary {
    background: linear-gradient(rgba(146, 169, 188, 1));
    box-shadow: 0 4px 12px rgba(124, 185, 232, 0.25);
    color: black !important;
}

/* Общие эффекты для кнопок */
.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Кнопка записи при наведении */
.header-btn:not(.header-btn-secondary):hover {
    background: linear-gradient(#8ba888, #b4c7a9);
    box-shadow: 0 6px 20px rgba(180, 199, 169, 0.35);
}

/* Кнопка личного кабинета при наведении */
.header-btn-secondary:hover {
    background: linear-gradient(rgba(120, 150, 175, 1), rgba(146, 169, 188, 1));
    box-shadow: 0 6px 20px rgba(124, 185, 232, 0.35);
}

.btn-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.header-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    font-family: 'MyMenuFont', Arial, sans-serif !important;
}

.menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================ 
   АДАПТИВНОСТЬ ДЛЯ РАЗНЫХ УСТРОЙСТВ 
============================================ */

/* Для планшетов (до 992px) */
@media (max-width: 992px) {
    .logo-img {
        height: 60px;
    }
    
    .header-left {
        gap: 30px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .header-right-container {
        gap: 15px;
    }
    
    .header-right-buttons-wrap {
        gap: 10px;
    }
}

/* Для больших мобильных (до 768px) */
@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-nav {
        display: none;
    }
    
    /* УДАЛЕНО: контакты в шапке */
    /* .header-contacts {
        display: none;
    } */
    
    .header-btn .btn-text {
        display: none;
    }
    
    .header-btn {
        padding: 12px;
        min-width: auto;
        width: auto;
    }
    
    .header-btn .btn-icon {
        margin: 0;
    }
    
    .header-inner {
        padding: 0 15px;
    }
    
    .header-right {
        padding-left: 0;
    }
}

/* Для маленьких мобильных (до 576px) */
@media (max-width: 576px) {
    .logo-img {
        height: 40px;
    }
    
    /* УДАЛЕНО: текстовую часть логотипа не скрываем, только картинка остается */
    
    .header-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    
    .header-inner {
        padding: 0 10px;
    }
}

/* Для очень маленьких экранов (до 400px) */
@media (max-width: 400px) {
    .logo-img {
        height: 35px;
    }
    
    .header-inner {
        padding: 0 10px;
    }
    
    .header-right-container {
        gap: 10px;
    }
}

/* Для ретина-дисплеев */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ваши существующие стили */
}

/* Горизонтальная ориентация на мобильных */
@media (max-height: 500px) and (orientation: landscape) {
    .logo-img {
        height: 35px;
    }
    
    .clay-header {
        padding: 10px 0;
    }
    
    .header-inner {
        padding: 0 10px;
    }
}

/* Для очень широких экранов (более 1920px) */
@media (min-width: 1920px) {
    .header-inner {
        padding: 0 40px;
    }
}

/* ============================================ 
   МОБИЛЬНОЕ МЕНЮ (БЕЗ ИЗМЕНЕНИЙ) 
============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background-color: white;
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateX(0);
}

.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.mobile-nav {
    margin-top: 50px;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #b4c7a9;
}

.mobile-contacts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Кнопки в мобильном меню */
.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-btn-primary {
    background: linear-gradient(135deg, #b4c7a9, #8ba888);
    color: #2c3e50;
}

.mobile-btn-secondary {
    background: rgba(146, 169, 188, 1);
    color: #2c3e50;
}

.mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-btn-primary:hover {
    background: linear-gradient(135deg, #8ba888, #b4c7a9);
}

.mobile-btn-secondary:hover {
    background: rgba(120, 150, 175, 1);
}

/* ============================================
   ГЕРОЙ-СЕКЦИЯ
============================================ */

/* Основной контейнер герой-секции */
.clay-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
    text-align: center;
}

/* Фоновое изображение - оптимизировано для быстрой загрузки */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* Ускоренная загрузка фона */
    will-change: transform;
    image-rendering: crisp-edges;
    /* Фон появляется сразу */
    opacity: 1;
}

/* Центрирование контента в герой-секции */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Контейнер для анимации */
.hero-animation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

/* Эмблема */
.hero-logo-wrapper {
    text-align: center;
}

.hero-logo-img {
    width: 350px;
    height: auto;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 0.8s ease forwards;
    animation-delay: 0.3s; /* Небольшая задержка */
}

/* Текст и кнопки */
.hero-text-wrapper {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s; /* Появляется после эмблемы */
    text-align: center;
    width: 100%;
}

/* Анимации */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Описание */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ecf0f1;
    opacity: 0.9;
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
}

/* Кнопки */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

.hero-btn {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-logo-img {
        width: 120px;
    }
    
    .hero-animation-container {
        min-height: 70vh;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
    }
    
    .hero-btn {
        min-width: 160px;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-logo-img {
        width: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   СЕКЦИЯ "О НАС"
============================================ */

.about-section {
    background: #ffffff;
    padding: 100px 20px 120px;
    overflow: visible;
    position: relative;
    z-index: 5;
}


.about-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    gap: 0;
}

/* ЗЕЛЁНЫЙ БЛОК — ТОЛЬКО СЛЕВА */
.about-green-block {
    flex: 0 0 38%;
    margin-left: 3%;
    max-width: 455px;
    background: #B8C3B1;
    padding: 40px 90px 0px 30px;
    color: #2c3e50;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 20;
}

.about-green-block p,
.about-green-block .about-description,
.about-green-block .about-details,
.about-green-block .about-motto {
    text-align: justify;  /* Выравнивание по ширине */
}

/* УБИРАЕМ ЖИРНОСТЬ И ВЫДЕЛЕНИЯ ШРИФТОВ */
.about-green-block .about-title {
    font-size: 6rem;
    font-weight: 900;  /* убрал жирность */
    margin: 0 0 10px 0;
    line-height: 1.2;
    color: white;
}

.about-green-block .about-subtitle {
    font-size: 1.6rem;
    font-weight: 800;  /* убрал жирность */
    margin-bottom: 50px;
    line-height: 1.4;
    color: white;
}

.about-green-block .about-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    margin-top: 55px;
    font-weight: 400;  /* убрал жирность */
    color: white;
}

.about-green-block .about-details {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;  /* убрал жирность */
    color: white;
}

.about-green-block .about-motto {
    font-size: 1.1rem;
    font-weight: 400;  /* убрал жирность, был 600 */
    margin-top: 95px;
    color: white;
}

/* КОНТЕЙНЕР КАРТИНОК — ОТРИЦАТЕЛЬНЫЙ ОТСТУП ДЛЯ НАЕЗДА */
.about-images-staircase {
    flex: 1;
    position: relative;
    min-height: 550px;
    margin-left: -100px;  /* НАЕЗД НА ЗЕЛЁНЫЙ БЛОК */
    z-index: 25;  /* ДОБАВИТЬ — выше, чем у зелёного блока */
}

/* ОБЩИЕ СТИЛИ ДЛЯ КАРТИНОК */
.about-img {
    position: absolute;
    transition: all 0.4s ease;
    object-fit: cover;
}

.about-img-top {
    width: 500px;
    left: 50px;  /* расстояние от левого края */
    top: 30px;
    z-index: 15;
    right: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);  /* Добавлена тень */
}

.about-img-bottom {
    width: 500px;
    left: 200px;  /* больше значение = правее */
    bottom: -40px;
    z-index: 12;
    right: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);  /* Добавлена тень */
}

/* Цветок */
.about-flower {
    position: absolute;
    top: -60px;
    right: 1000px;
    width: auto;
    opacity: 0.7;
    z-index: 18;
    pointer-events: none;
}

/* ============================================
   АДАПТИВНОСТЬ
============================================ */

@media (max-width: 1200px) {
    .about-green-block {
        flex: 0 0 45%;
        padding: 40px 30px;
    }

    .about-green-block .about-title {
        font-size: 3rem;
    }

    .about-green-block .about-subtitle {
        font-size: 1.3rem;
    }

    .about-img-top {
        width: 280px;
        right: 60px;
        top: -20px;
    }

    .about-img-bottom {
        width: 250px;
        right: 160px;
        bottom: -30px;
    }
    
    .about-images-staircase {
        margin-left: -40px;
    }
}

@media (max-width: 950px) {
    .about-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .about-green-block {
        flex: 0 0 auto;
        width: 100%;
        max-width: 600px;
        margin-bottom: 60px;
        text-align: center;
    }

    .about-green-block .about-motto {
        border-left: none;
        border-top: 3px solid #2c3e50;
        padding-left: 0;
        padding-top: 15px;
    }

    .about-images-staircase {
        margin-left: 0;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        position: relative;
        width: 100%;
    }

    .about-img-top,
    .about-img-bottom {
        position: static;
        width: 85%;
        max-width: 320px;
        margin: 0 auto;
    }

    .about-flower {
        display: none;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 60px 15px 80px;
    }
    
    .about-green-block {
        padding: 30px 20px;
    }

    .about-green-block .about-title {
        font-size: 2.5rem;
    }

    .about-green-block .about-subtitle {
        font-size: 1.2rem;
    }
}


/* ============================================
   СЕКЦИЯ МАСТЕР-КЛАССОВ В ВИДЕ ПЛИТОК
============================================ */

/* Секция мастер-классов */
#workshops {
    padding: 80px 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

/* Фон фиксированный, не зависит от высоты секции */
#workshops::before {
    content: '';
    position: fixed;  /* ← ГЛАВНОЕ: fixed вместо absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pictures/fon_rose.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* Контент поверх фона */
#workshops > * {
    position: relative;
    z-index: 1;
}

#workshops > h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}


/* Сетка карточек - не влияет на фон */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    align-items: stretch;
    min-height: 400px;  /* ДОБАВИТЬ - минимальная высота сетки */
}
 /*кнопка*/
.show-more-btn {
    background:  rgba(146, 169, 188, 1);
    color: #2c3e50;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    transform: translateY(-2px);
}

/* Карточка мастер-класса */
.workshop-card {
    /*background: #fff;*/
    /*border-radius: 16px;*/
    overflow: hidden;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);*/
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    
}


/* Изображение мастер-класса */
.workshop-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

/* Градиентная маска от темного снизу к прозрачному сверху */
.workshop-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Контент карточки */
.workshop-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-top: 15px;
}

.workshop-title {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
    font-weight: 400;        /* Убираем жирность (400 = normal) */
    letter-spacing: 1.5px;   /* Разрядка между буквами */
    z-index: 2;
}

/*для шрифта карточки:
/* 1. Объявляем карточку как контейнер */
.workshop-card {
    container-type: inline-size;
}


@container (max-width: 320px) {
    .workshop-title {
        font-size: 0.9rem;
    }
}

@container (min-width: 321px) and (max-width: 400px) {
    .workshop-title {
        font-size: 1rem;
    }
}

@container (min-width: 401px) {
    .workshop-title {
        font-size: 1.2rem;
    }
}

.workshop-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Особенности мастер-класса */
.workshop-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.workshop-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.9rem;
}

.workshop-feature i {
    color: #b4c7a9;
    width: 20px;
    font-size: 0.9rem;
}

/* Информация о цене и длительности */
.workshop-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.workshop-price {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.workshop-price span {
    font-size: 1rem;
    color: #888;
    font-weight: normal;
}

.workshop-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #2c3e50;  /* Меняем с серого на черный/темный */
    font-size: 1rem;  /* Увеличиваем размер шрифта */
    font-weight: 500; /* Делаем чуть жирнее */
    flex: 1;          /* Занимает доступное пространство */
    margin-left: -5px;  /* ← ДОБАВИТЬ ЭТО */
}

/* Кнопка записи */
.workshop-button {
    display: block;
    text-decoration: none;
    background:  #b4c7a9;
    color: #2c3e50;
    padding: 14px 20px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

.workshop-button:hover {
    background: #8ba888, ;
}


/* СЕКЦИЯ "ОТЗЫВЫ УЧЕНИКОВ" */
#reviews.section-with-overlap-bg {
    position: relative;
    z-index: 2;
    padding: 60px 20px 80px;
    overflow: visible;
    min-height: auto; /* Убираем фиксированную высоту */
    background-color:#F4EFEC;
}


/* Контент секции отзывов */
.reviews-header,
.reviews-slider-container {
    position: relative;
    z-index: 3; /* Выше фонов */
}


.reviews-header {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.reviews-main-title {
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.3;
    color: #2C3E50;
    margin: 0;
    background-clip: text;
}

/* ============================================
   СЛАЙДЕР С ОТЗЫВАМИ
============================================ */
.reviews-slider-container {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* Обертка для слайдера с кнопками */
.reviews-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0;
}

.review-slide {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.review-content {
    display: flex;
    flex-direction: column;
    height: 80%;
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(180, 199, 169, 0.2);
    transition: all 0.3s ease;
}

/* ИНФОРМАЦИЯ ОБ АВТОРЕ ОТЗЫВА */
.review-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(180, 199, 169, 0.3);
    margin-bottom: 20px;
}

.author-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-grow: 1;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(180, 199, 169, 0.4);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.author-avatar:hover {
    border-color: rgba(180, 199, 169, 0.8);
    transform: scale(1.05);
}

.author-avatar:hover img {
    transform: scale(1.1);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.author-details h4 {
    margin: 0;
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
}

/* СОЦИАЛЬНЫЕ СЕТИ АВТОРА */
.author-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.4);
    transition: filter 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon:hover img {
    filter: grayscale(0);
}

/* ДАТА И ТЕКСТ ОТЗЫВА */
.review-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    background: rgba(180, 199, 169, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.review-text {
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
    color: #34495e;
    text-align: left;
    margin-bottom: 20px;
}

.review-text p {
    margin: 0;
}

/* ФОТО РАБОТЫ АВТОРА */
.review-image {
    text-align: center;
    margin-top: auto;
}

.review-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* УПРАВЛЕНИЕ СЛАЙДЕРОМ */
.reviews-slider-controls {
    position: absolute;
    top: 50%;
    left: -90px;
    right: -90px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.reviews-slider-button {
    color: #2C3E50;
    border: none;
    width: 45px;
    height: 45px;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}


/* ТОЧКИ НАВИГАЦИИ СЛАЙДЕРА */
.reviews-dots-container {
    text-align: center;
    margin-top: 40px;
}


.review-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 8px;
    background-color: #dcdcdc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.review-dot.active {
    background-color: #b4c7a9;
    transform: scale(1.3);
}

.review-dot:hover {
    background-color: #a0b596;
}

.review-dot::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
}

/* ============================================
   СЕКЦИЯ ЗАПИСИ НА МАСТЕР-КЛАСС
============================================ */

#signup.section-with-underlay-bg {
    position: relative;
    padding: 80px 20px;
    /* Фон как у обычной секции */
    background-image: url('pictures/fon_zapisi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* или 'scroll' если не хотите фиксированный */
}

/* Затемняющий слой поверх фона (опционально) */
#signup.section-with-underlay-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85); /* Белый полупрозрачный слой */
    z-index: 0;
}

/* Контент поверх фона */
#signup.section-with-underlay-bg > * {
    position: relative;
    z-index: 1;
}

/* Стилизация заголовка и подзаголовка секции регистрации */
#signup.section-with-underlay-bg h2 {
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.3;
    color: #2c3e50;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

#signup.section-with-underlay-bg > p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    font-weight: 400;
    opacity: 0.9;
}

/* Адаптивность */
@media (max-width: 768px) {
    #signup.section-with-underlay-bg h2 {
        font-size: 2rem;
        padding-bottom: 15px;
    }
    
    #signup.section-with-underlay-bg > p {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    #signup.section-with-underlay-bg h2 {
        font-size: 1.8rem;
    }
    
    #signup.section-with-underlay-bg > p {
        font-size: 0.95rem;
        padding: 0 10px;
    }
}

/* Стили для формы записи */
.signup-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b4c7a9;
    box-shadow: 0 0 0 3px rgba(180, 199, 169, 0.2);
}

.form-group input[type="date"] {
    font-family: inherit;
    background: white;
}

.form-group select {
    appearance: none;
    background: white url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 15px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.date-hint {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label a {
    color: #7cb9e8;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.signup-submit-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #b4c7a9 0%, #8ba888 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.signup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(180, 199, 169, 0.4);
}

.signup-submit-btn:active {
    transform: translateY(0);
}

/* Стиль для поля выбранного мастер-класса в форме */
#selected-workshop-group {
    margin-bottom: 25px;
    animation: fadeInUp 0.3s ease;
}

#selected_workshop_name {
    font-weight: 600 !important;
    color: #2c3e50 !important;
    cursor: default;
}



/* Стили для телефонного ввода */
input[type="tel"] {
    letter-spacing: 1px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .signup-form {
        padding: 30px 20px;
    }
    
    .form-group label {
        font-size: 1em;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 0.95em;
    }
    
    .signup-button {
        padding: 14px 25px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .signup-form {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.9em;
    }
    
    .signup-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}




/* Анимация появления карточек */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-slide {
    animation: slideIn 0.5s ease forwards;
}


/* ============================================
   ПОДВАЛ САЙТА (FOOTER)
============================================ */

footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 60px 20px 30px;
    position: relative;
    overflow: hidden;
}

/* Фон подвала с легким узором */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.03)" d="M50,0 L100,50 L50,100 L0,50 Z" opacity="0.3"/></svg>');
    background-size: 120px;
    opacity: 0.1;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Колонки подвала */
.footer-column h3 {
    color: #b4c7a9;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #b4c7a9;
}

/* Информация о студии */
.studio-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-footer {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
    
}

.studio-info p {
    color: #ecf0f1;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Навигация в подвале */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav ul li a:hover {
    color: #b4c7a9;
    transform: translateX(5px);
}

.footer-nav ul li a::before {
    content: '→';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-nav ul li a:hover::before {
    opacity: 1;
}

/* Контакты */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ecf0f1;
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: #b4c7a9;
    flex-shrink: 0;
}

.contact-item a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #b4c7a9;
}

/* ============================================
   СТИЛИ ДЛЯ ИКОНОК СОЦСЕТЕЙ В ПОДВАЛЕ
   БЕЗ ЭФФЕКТОВ ПРИ НАВЕДЕНИИ
============================================ */

.footer-social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    /* Отключаем все переходы */
    transition: none !important;
}

.footer-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Фиксированные значения без изменений при наведении */
    filter: none;
    opacity: 1;
    /* Отключаем все переходы для изображения */
    transition: none !important;
}

/* ЯВНО ОТКЛЮЧАЕМ ВСЕ ЭФФЕКТЫ ПРИ НАВЕДЕНИИ */
.footer-social-icon:hover,
.footer-social-icon:focus,
.footer-social-icon:active {
    transform: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.footer-social-icon:hover img,
.footer-social-icon:focus img,
.footer-social-icon:active img {
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Адаптивность для иконок в подвале */
@media (max-width: 768px) {
    .footer-social-icons {
        gap: 12px;
        justify-content: center;
    }
    
    .footer-social-icon {
        width: 36px;
        height: 36px;
    }
}

/* Иконки контактов в ПОДВАЛЕ - новые классы */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ecf0f1;
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    fill: #b4c7a9;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #b4c7a9;
}

/* Форма подписки */
.subscribe-form {
    margin-top: 20px;
}

.subscribe-form p {
    color: #ecf0f1;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.subscribe-input-group {
    display: flex;
    gap: 10px;
}

.subscribe-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.subscribe-input-group input:focus {
    border-color: #b4c7a9;
    background-color: rgba(255, 255, 255, 0.15);
}

.subscribe-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-button {
    padding: 12px 20px;
    background-color: #b4c7a9;
    color: #2c3e50;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-button:hover {
    background-color: #c9e0c2;
    transform: translateY(-2px);
}

/* Нижняя часть подвала */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

.copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #b4c7a9;
}

.payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-methods img {
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.5s ease forwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #b4c7a9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #c9e0c2;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: #2c3e50;
}

/* ============================================
   АДАПТИВНОСТЬ ДЛЯ СЛАЙДЕРА ОТЗЫВОВ
============================================ */
@media (max-width: 1024px) {
    .review-slide {
        flex: 0 0 calc(50% - 20px); /* 2 карточки в ряд на планшетах */
    }
    
    .reviews-slider-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .review-slide {
        flex: 0 0 calc(100% - 20px); /* 1 карточка в ряд на мобильных */
    }
    
    .reviews-slider-controls {
        display: none; /* Скрываем кнопки на мобильных */
    }
    
    .reviews-dots-container {
        margin-top: 30px;
    }
    
    .review-content {
        padding: 20px;
    }
    
    .review-image img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .review-content {
        padding: 15px;
    }
    
    .author-info h4 {
        font-size: 1.2rem;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .review-image img {
        height: 140px;
    }
}



/* Модальное окно */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}

.modal-container {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalAppear 0.3s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-content {
    padding: 40px;
}

.modal-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.modal-title {
    font-size: 28px;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.modal-price {
    font-size: 24px;
    font-weight: bold;
    color: #B3C6A8;
}

.modal-price span {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.modal-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modal-image:hover img {
    transform: scale(1.05);
}

.modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item i {
    color: #B3C6A8;
    font-size: 18px;
    width: 20px;
}

.detail-item span {
    font-size: 15px;
    color: #555;
}

.modal-description {
    margin-bottom: 25px;
}

.modal-description h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
}

.modal-description p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.modal-what-you-get {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.modal-what-you-get h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.modal-what-you-get ul {
    list-style: none;
    padding: 0;
}

.modal-what-you-get li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
}

.modal-what-you-get li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #B3C6A8;
    font-weight: bold;
}

.modal-action {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.modal-signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #B3C6A8;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.modal-signup-btn:hover {
    background: #9BB396;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(179, 198, 168, 0.4);
}

.modal-signup-btn i {
    font-size: 20px;
}

.modal-hint {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .modal-container {
        max-width: 95%;
        padding: 15px;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-price {
        font-size: 20px;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-details {
        grid-template-columns: 1fr;
    }
    
    .modal-signup-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-signup-btn {
        font-size: 15px;
        padding: 10px 15px;
    }
}

/* Превью мастер-классов (карусель) */
.workshops-preview {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.workshops-preview h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.preview-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 10px;
    scrollbar-width: thin;
    scrollbar-color: #b4c7a9 #f0f0f0;
}

.preview-slider::-webkit-scrollbar {
    height: 6px;
}

.preview-slider::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.preview-slider::-webkit-scrollbar-thumb {
    background: #b4c7a9;
    border-radius: 10px;
}

.preview-item {
    min-width: 200px;
    flex-shrink: 0;
    /*border-radius: 12px;*/
    overflow: hidden;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.3s ease;
}


.preview-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}


/* ============================================
   АДАПТИВНОСТЬ ДЛЯ МАСТЕР-КЛАССОВ
============================================ */

@media (max-width: 1100px) {
    .workshops-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    #workshops {
        padding: 60px 15px;
    }
    
    #workshops > h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .workshops-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        padding: 0;
    }
    
    .workshop-image {
        height: 200px;
    }
    
    .workshops-why {
        padding: 40px 15px;
        margin-top: 40px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    #workshops {
        padding: 50px 10px;
    }
    
    #workshops > h2 {
        font-size: 1.8rem;
    }
    
    .workshop-content {
        padding: 20px;
    }
    
    .workshop-title {
        font-size: 1.3rem;
    }
    
    .preview-slider {
        gap: 15px;
    }
    
    .preview-item {
        min-width: 180px;
    }
}
/* Секция "Контакты" */
#contacts {
    background-color: rgb(246, 246, 240);
    background-image: url('fon10.svg');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: local;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

/* Все остальное должно быть поверх фона */
#contacts h2,
#contacts h2 p,
.contacts-form {
    position: relative;
    z-index: 2;
}

#contacts h2 {
    font-size: 2.2rem;
    color: #333;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
}

#contacts p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    width: 280px;
    height: auto;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 1.1em;
    color: #555;
    margin: 0;
}

.contact-item a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #b4c7a9;
}

/* Форма обратной связи */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 25px;
    text-align: left;
}

.contact-form .form-group label {
    display: block;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
    font-family: Arial, sans-serif;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: #b4c7a9;
    box-shadow: 0 0 0 2px rgba(180, 199, 169, 0.2);
}

.contact-form .contact-button {
    display: inline-block;
    background-color: #b4c7a9;
    color: #333;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-weight: 600;
}

.contact-form .contact-button:hover {
    background-color:#c9e0c2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   АДАПТИВНОСТЬ ДЛЯ WORKSHOPS-INFO
============================================ */
@media (max-width: 1024px) {
    .workshops-info-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .block-column-text {
        align-items: center;
    }
    
    .text-item {
        text-align: center;
        flex-direction: column;
        align-items: center;
        border-left: none;
        border-top: 3px solid transparent;
    }
    
    .text-item:hover {
        border-left-color: transparent;
        border-top-color: #b4c7a9;
        transform: translateY(-5px);
    }
    
    .workshops-jpg {
        max-width: 350px;
    }
    
    .workshops-info-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .workshops-info {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .workshops-info-main-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .workshops-info {
        padding: 25px 15px;
    }
    
    .workshops-info-main-title {
        font-size: 1.5rem;
    }
    
    .workshops-jpg {
        max-width: 280px;
    }
}

/* ============================================
   АДАПТИВНОСТЬ ДЛЯ ЭФФЕКТА НАЛОЖЕНИЯ
============================================ */
@media (max-width: 768px) {
    /* Меньше вылезает на мобильных */
    #reviews.section-with-overlap-bg::after {
        bottom: -60px;
    }
    
    /* Меньше поднимаем секцию регистрации */
    #signup.section-with-underlay-bg {
        margin-top: -40px;
        padding-top: 100px;
    }
    
    /* Меньшая высота наложения */
    #signup.section-with-underlay-bg::after {
        height: 80px;
    }
}

/* ФИКС ДЛЯ МОБИЛЬНОГО МЕНЮ */
.mobile-menu a {
    font-family: 'MyMenuFont', Arial, sans-serif !important;
    font-size: 1.3rem !important;
}

/* ФИКС ДЛЯ КОНТАКТОВ В ШАПКЕ */
.contact-text {
    font-family: 'MyTextFont', Arial, sans-serif !important;
}

/* ============================================
   ОБНОВЛЕННЫЙ МОБИЛЬНЫЙ ЗАГОЛОВОК
============================================ */

@media (max-width: 768px) {
    /* Основной контейнер шапки для мобильных */
    .clay-header {
        padding: 0 !important;
        height: 70px;
    }
    
    .header-inner {
        padding: 0 15px !important;
        height: 70px;
        position: relative;
    }
    
    /* Логотип на всю высоту меню и по центру по горизонтали */
    .header-left {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        gap: 0;
        width: auto;
        height: 100%;
    }
    
    .header-logo {
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        height: 60px !important; /* Уменьшаем высоту логотипа */
        max-height: 70px;
        object-fit: contain;
    }
    
    /* Кнопка гамбургера слева */
    .mobile-menu-btn {
        margin-left: 0 !important;
        margin-right: auto;
        order: -1;
        position: relative;
        left: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }
    
    .menu-line {
        background-color: #2c3e50;
        height: 2px;
        width: 24px;
    }
    
    /* Убираем все остальное в мобильном виде */
    .header-nav,
    .header-right {
        display: none !important;
    }
    
    /* Контакты в шапке скрываем */
    .header-contacts {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 55px !important;
        max-height: 65px;
    }
}

@media (max-width: 400px) {
    .logo-img {
        height: 50px !important;
        max-height: 60px;
    }
}

/* ============================================
   ОБНОВЛЕННОЕ МОБИЛЬНОЕ МЕНЮ (открывается сверху)
============================================ */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(243, 236, 233, 0.98); /* Фон как у шапки */
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: transparent;
    padding: 100px 20px 40px;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateY(0);
}

/* Кнопка закрытия */
.mobile-close-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #2c3e50;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}

.mobile-close-btn:hover {
    background-color: white;
    transform: rotate(90deg);
    color: #b4c7a9;
}

/* Навигация */
.mobile-nav {
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    margin-bottom: 40px;
}

.mobile-menu li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.5s ease forwards;
}

.mobile-menu li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu li:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu li:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu li:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.4rem !important;
    font-weight: 500;
    padding: 15px 0;
    display: block;
    transition: all 0.3s ease;
    font-family: 'MyMenuFont', Arial, sans-serif !important;
    position: relative;
    letter-spacing: 0.5px;
}

.mobile-menu a:hover {
    color: #b4c7a9;
    transform: scale(1.05);
}

/* Кнопки в мобильном меню */
.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 30px 0;
}

.mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'MyTextFont', Arial, sans-serif;
    width: 100%;
}

.mobile-btn-primary {
    background: linear-gradient(135deg, #b4c7a9, #8ba888);
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(180, 199, 169, 0.3);
}

.mobile-btn-secondary {
    background: rgba(146, 169, 188, 1);
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(146, 169, 188, 0.3);
}

.mobile-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mobile-btn-primary:hover {
    background: linear-gradient(135deg, #8ba888, #b4c7a9);
}

.mobile-btn-secondary:hover {
    background: rgba(120, 150, 175, 1);
}

/* Контакты в мобильном меню */
.mobile-contacts {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'MyTextFont', Arial, sans-serif;
}

.contact-link:hover {
    background-color: rgba(180, 199, 169, 0.1);
    color: #b4c7a9;
}

.contact-link i {
    width: 20px;
    color: #b4c7a9;
}

/* Социальные иконки в мобильном меню */
.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.mobile-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-social-icon:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mobile-social-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 360px) {
    .mobile-menu-container {
        padding: 90px 15px 30px;
    }
    
    .mobile-menu a {
        font-size: 1.3rem !important;
    }
    
    .mobile-btn {
        padding: 16px 20px;
        font-size: 1rem;
    }
}

/* Фильтр категорий */
.workshops-filter {
    margin: 30px 0 40px;
    text-align: center;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    padding: 10px 24px;
    background: #f5f0e8;
    border: 2px solid #d4c5a9;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: #5a4a3a;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    background: #e8e0d4;
    border-color: #b8a88a;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #8b7a62;
    border-color: #8b7a62;
    color: white;
}

/* Анимация для карточек при фильтрации */
.workshop-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.workshop-card.hide {
    display: none;
}

.workshop-card.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .filter-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .filter-container {
        gap: 8px;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex !important;
}

.modal-container {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО ДЛЯ МАСТЕР-КЛАССА
============================================ */
#workshop-modal .modal-container {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

#workshop-modal .modal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

#workshop-modal .modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#workshop-modal .modal-body {
    padding: 0;
}

#workshop-modal .modal-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
}

#workshop-modal .modal-price {
    font-size: 24px;
    font-weight: 700;
    color: #b4c7a9;
}

#workshop-modal .modal-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #555;
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif;
}

#workshop-modal .modal-duration i {
    color: #b4c7a9;
}

#workshop-modal .modal-description {
    margin-bottom: 20px;
}

#workshop-modal .modal-description p {
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

#workshop-modal .modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

#workshop-modal .modal-signup-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #b4c7a9;
    color: #2c3e50;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif;
}

#workshop-modal .modal-signup-btn:hover {
    background: #8ba888;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(180, 199, 169, 0.4);
}

#workshop-modal .modal-close-footer-btn {
    padding: 14px 24px;
    background: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'SSFBreakthrough', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}

#workshop-modal .modal-close-footer-btn:hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    #workshop-modal .modal-image {
        height: 180px;
    }
    #workshop-modal .modal-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    #workshop-modal .modal-footer {
        flex-direction: column;
    }
}