/* ==================== ОСНОВНЫЕ СТИЛИ САЙТА СПЕЦСЕРВИС ==================== */

/* CSS Переменные */
:root {
    /* Цветовая палитра */
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --light-orange: #FFB366;
    --dark-bg: #1A1A1A;
    --medium-dark: #2C2C2C;
    --light-dark: #3D3D3D;
    --text-white: #FFFFFF;
    --text-light: #F5F5F5;
    --text-gray: #CCCCCC;
    --text-dark-gray: #999999;
    
    /* Размеры и отступы */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --border-radius-large: 12px;
    
    /* Тени */
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Переходы */
    --transition-fast: all 0.2s ease;
    --transition-medium: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Типографика */
    --font-primary: 'Source Sans Pro', 'Arial', sans-serif;
    --font-headings: 'Montserrat', 'Arial', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
}

/* ==================== CSS RESET И БАЗОВЫЕ СТИЛИ ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    line-height: var(--line-height-base);
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--light-orange);
}

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

/* ==================== LAYOUT КОМПОНЕНТЫ ==================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Особый контейнер для header - чтобы подменю было видно */
.header .container {
    overflow: visible !important;
}

.section {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }

/* ==================== SCROLL PROGRESS ==================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    width: 0%;
    transition: width 0.1s ease;
}

/* ==================== HEADER ==================== */

.header {
    position: fixed;
    top: 3px;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    z-index: 1000;
    transition: var(--transition-fast);
    overflow: visible !important;
}

/* Компенсация для WordPress Admin Bar */
.admin-bar .header {
    top: 32px; /* Высота админ-бара на десктопе */
}

@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: 46px; /* Высота админ-бара на мобильных устройствах */
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    overflow: visible !important;
}

/* Логотип */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

.logo-img {
    width: 220px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
    /* Увеличиваем ширину логотипа, ограничиваем высоту для сохранения размера header */
}

.logo-text {
    color: var(--primary-orange);
}

/* Навигация */
.nav {
    display: flex;
    overflow: visible !important;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    overflow: visible !important;
    align-items: center;
}

.nav-list > li {
    display: flex;
    align-items: center;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-light);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-orange);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Выпадающее меню услуг для десктопа */
.nav-list .menu-item-has-children {
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: stretch;
}

.nav-list .menu-item-has-children > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-list .menu-item-has-children > .nav-link i.fa-chevron-down {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Поворот стрелки при открытии - через hover и класс */
.nav-list .menu-item-has-children:hover > .nav-link i.fa-chevron-down,
.nav-list .menu-item-has-children.open > .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Подменю услуг - базовые стили */
.nav-list .sub-menu,
.nav-list .services-dropdown {
    position: fixed;
    top: calc(3px + 75px);
    left: auto;
    min-width: 280px;
    background: var(--medium-dark);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 10000 !important;
    border: 1px solid rgba(255, 107, 53, 0.2);

    /* Скрыто по умолчанию - БЕЗ display:none! */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* Показываем при наведении ИЛИ при классе open */
.nav-list .menu-item-has-children:hover > .sub-menu,
.nav-list .menu-item-has-children:hover > .services-dropdown,
.nav-list .menu-item-has-children.open > .sub-menu,
.nav-list .menu-item-has-children.open > .services-dropdown,
.nav-list .sub-menu.open,
.nav-list .services-dropdown.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.nav-list .sub-menu li {
    display: block;
}

.nav-list .sub-menu-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-list .sub-menu-link:hover {
    background: rgba(255, 107, 53, 0.1);
    border-left-color: var(--primary-orange);
    color: var(--primary-orange);
    padding-left: 1.75rem;
}

/* Контакты в header */
.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.header-phone a {
    color: var(--primary-orange);
    font-weight: 600;
}

.header-address {
    color: var(--text-gray);
}

/* ==================== МОБИЛЬНОЕ МЕНЮ ==================== */

/* Кнопка гамбургер */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Overlay (затемнение) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar меню */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: var(--dark-bg);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

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

/* Заголовок sidebar */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.sidebar-header h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin: 0;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: var(--primary-orange);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.sidebar-close:hover {
    transform: rotate(90deg);
}

/* Навигация sidebar */
.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sidebar-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--primary-orange);
    transition: height 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding-left: 2rem;
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    height: 100%;
}

/* Пункт с подменю */
.sidebar-link.has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-arrow {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.sidebar-link.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

/* Подменю */
.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-submenu.open {
    max-height: 500px;
}

.sidebar-sublink {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.sidebar-sublink:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    border-left-color: var(--primary-orange);
    padding-left: 3rem;
}

/* Контакты в sidebar */
.sidebar-contacts {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    background: rgba(255, 107, 53, 0.05);
}

/* Блокировка прокрутки при открытом меню */
body.sidebar-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.sidebar-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.sidebar-phone:hover {
    color: var(--light-orange);
}

.sidebar-phone i {
    font-size: 1.2rem;
}

.sidebar-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.sidebar-address i {
    font-size: 1rem;
}

/* ==================== HERO SECTION ==================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
    /* Фиксированный фон для всей hero секции */
    background: url('../Slider-b.jpg') center center/cover no-repeat;
}

/* ==================== PAGE CONTENT ==================== */

.page-content {
    margin-top: 100px;
    padding: var(--section-padding);
    background: var(--medium-dark);
}

.page-content .entry-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-content .entry-title {
    color: var(--text-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.page-content .entry-content {
    color: var(--text-light);
    line-height: 1.8;
}

.page-content .entry-content h2,
.page-content .entry-content h3,
.page-content .entry-content h4 {
    color: var(--text-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content .entry-content p {
    margin-bottom: 1.5rem;
}

.page-content .entry-content ul,
.page-content .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--text-gray);
}

.page-content .entry-content li {
    margin-bottom: 0.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 26, 26, 0.8), rgba(255, 107, 53, 0.3));
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
    z-index: 2;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-background {
    /* Фон теперь на уровне .hero, элемент больше не нужен */
    display: none;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Управление слайдером */
.slider-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
}

.slider-btn {
    background: rgba(26, 26, 26, 0.7);
    border: 2px solid rgba(255, 107, 53, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--primary-orange);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--primary-orange);
    color: var(--text-white);
    border-color: var(--primary-orange);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.slider-indicators {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-indicator.active,
.slider-indicator:hover {
    background: var(--primary-orange);
    transform: scale(1.2);
}

/* Слоган */
.hero-slogan {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    padding: 1.5rem 0;
    z-index: 2;
}

.slogan-text {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
    text-align: center;
}

/* ==================== SECTION HEADERS ==================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-white);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== ABOUT SECTION ==================== */

.about {
    padding: var(--section-padding);
    background: var(--medium-dark);
}

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

.about-item {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.about-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-large);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-white);
}

.about-title {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==================== SERVICES SECTION ==================== */

.services {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

/* Навигация по категориям услуг */
.services-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.service-nav-btn {
    background: var(--medium-dark);
    color: var(--text-gray);
    border: 1px solid rgba(255, 107, 53, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-nav-btn:hover {
    background: var(--primary-orange);
    color: var(--text-white);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

.service-nav-btn.active {
    background: var(--primary-orange);
    color: var(--text-white);
    border-color: var(--primary-orange);
}

/* Контейнер с навигацией */
.services-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-large);
}

/* Боковые кнопки навигации */
.services-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--text-white);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    opacity: 0.8;
}

.services-nav-btn:hover {
    background: rgba(255, 107, 53, 0.9);
    border-color: var(--primary-orange);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.services-prev {
    left: -25px;
}

.services-next {
    right: -25px;
}

/* Показываем кнопки только при наведении на контейнер */
.services-container:hover .services-nav-btn {
    opacity: 0.8;
}

.services-container:hover .services-nav-btn:hover {
    opacity: 1;
}

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

.service-card {
    background: var(--medium-dark);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
    min-height: 300px;
    opacity: 1;
    transform: scale(1);
    position: relative;
    overflow: hidden;
}

/* Скрытие карточек при фильтрации */
.service-card.hidden {
    display: none;
}

/* ОБНОВЛЕНИЕ КЭША v3 21.09.2025 - КАРТОЧКИ БЕЗ ФОНОВ */
/* Все service-card должны выглядеть одинаково по карте дизайна */

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
    color: inherit;
    background: linear-gradient(145deg, var(--medium-dark), var(--dark-bg));
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-white);
}

.service-title {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* ==================== PRICES SECTION ==================== */

.prices {
    padding: var(--section-padding);
    background: var(--medium-dark);
}

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

.price-card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-large);
}

.price-card-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.price-title {
    font-size: 1.5rem;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.price-list {
    list-style: none;
    margin-bottom: 2rem;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list span {
    color: var(--primary-orange);
    font-weight: 600;
}

.price-card-action {
    text-align: center;
}

.price-link {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.price-link:hover {
    color: var(--light-orange);
}

.price-note {
    text-align: center;
    color: var(--text-gray);
    font-style: italic;
}

.price-note p {
    margin-bottom: 1.5rem;
}

/* ==================== КАЛЬКУЛЯТОР СТОИМОСТИ ==================== */

.price-calculator {
    background: var(--dark-bg);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h3 {
    color: var(--text-white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.calculator-header p {
    color: var(--text-gray);
    margin: 0;
}

.calculator-form {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.calculator-field {
    display: flex;
    flex-direction: column;
}

.calculator-field label {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.calculator-field select {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: var(--medium-dark);
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.calculator-field select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.calculator-field select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.calculator-result {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-display {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--medium-dark);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.result-text {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.result-price {
    color: var(--primary-orange);
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
}

.result-details {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ==================== TESTIMONIALS SECTION ==================== */

.testimonials {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-track {
    position: relative;
    width: 100%;
    height: 400px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.testimonial-content {
    background: var(--medium-dark);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(255, 107, 53, 0.1);
    text-align: center;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-orange);
    font-family: serif;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars i {
    color: #FFD700;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.author-details {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Навигация отзывов */
.testimonials-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -60px;
    pointer-events: none;
}

.testimonial-btn {
    background: rgba(255, 107, 53, 0.8);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    position: relative;
    z-index: 10;
}

.testimonial-btn:hover {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.testimonial-prev {
    margin-left: -60px;
}

.testimonial-next {
    margin-right: -60px;
}

/* Индикаторы отзывов */
.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-indicator.active,
.testimonial-indicator:hover {
    background: var(--primary-orange);
    transform: scale(1.3);
}

/* ==================== CONTACTS SECTION ==================== */

.contacts {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--medium-dark);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.contact-item:hover {
    background: var(--light-dark);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-gray);
    margin: 0;
}

.contact-details a {
    color: var(--primary-orange);
    font-weight: 600;
}

/* Форма обратной связи */
.contact-form-wrapper {
    background: var(--medium-dark);
    padding: 2rem;
    border-radius: var(--border-radius-large);
}

.contact-form-wrapper h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: var(--dark-bg);
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark-gray);
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-dark-gray);
    text-align: center;
    margin-top: 1rem;
}

/* Карта */
.map-container {
    border-radius: var(--border-radius-large);
    overflow: hidden;
    height: 400px;
    background: var(--medium-dark);
}

#yandex-map {
    width: 100%;
    height: 100%;
}

/* ==================== FOOTER ==================== */

.footer {
    background: var(--medium-dark);
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

/* Навигация горизонтально вверху */
.footer-navigation {
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* WordPress menu list styles */
.footer-nav ul,
.footer-nav .menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

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

.footer-nav a:hover::after {
    width: 100%;
}

/* Центральный логотип в описании */
.footer-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-center-img {
    width: 230px;
    height: auto;
    max-width: 100%;
    filter: brightness(1.1);
    transition: var(--transition-fast);
}

.footer-logo-center-img:hover {
    filter: brightness(1.3);
    transform: scale(1.05);
}

.footer-brand {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand * {
    pointer-events: auto;
}

.footer-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-description p {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.footer-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.footer-keywords span,
.footer-keywords a {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-keywords a:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

/* Контакты горизонтально */
.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
}

.footer-contact-item i {
    color: var(--primary-orange);
    width: 16px;
    font-size: 0.9rem;
}

.footer-contact-item a {
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark-gray);
    font-size: 0.875rem;
}

.footer-legal a {
    color: var(--text-dark-gray);
    transition: var(--transition-fast);
}

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

/* ==================== КНОПКИ ==================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--text-white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
    color: var(--text-white);
}

/* Пульсирующая кнопка для важных действий */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--dark-bg);
}

/* ==================== АНИМАЦИИ ==================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.animate-on-scroll.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== УТИЛИТАРНЫЕ КЛАССЫ ==================== */

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==================== MEDIA QUERIES ==================== */

@media (max-width: 1024px) {
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .services-navigation {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .service-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Адаптация футера для планшетов */
    .footer-logo-center-img {
        width: 207px;
        height: auto;
        max-width: 100%;
    }
    
    .footer-contacts {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }

    .hero {
        margin-top: 70px;
        min-height: 70vh;
    }

    .page-content {
        margin-top: 80px;
        padding: 60px 0;
    }
    
    .slide-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-grid,
    .services-grid,
    .prices-grid {
        grid-template-columns: 1fr;
    }
    
    /* Скрываем боковые кнопки навигации на мобильных */
    .services-nav-btn {
        display: none;
    }
    
    .services-navigation {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .service-nav-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    /* Адаптация футера для планшетов */
    .footer-nav {
        gap: 1rem;
        justify-content: center;
    }
    
    .footer-nav a {
        font-size: 0.9rem;
    }
    
    .footer-logo-center-img {
        width: 184px;
        height: auto;
        max-width: 100%;
    }
    
    .footer-contacts {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .footer-contact-item {
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .about-item,
    .service-card,
    .price-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Мобильная адаптация футера */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-navigation {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-nav a {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }
    
    .footer-logo-center-img {
        width: 161px;
        height: auto;
        max-width: 100%;
    }
    
    .footer-description {
        gap: 0.8rem;
    }
    
    .footer-description p {
        font-size: 1rem;
    }
    
    .footer-keywords {
        gap: 0.3rem;
    }
    
    .footer-keywords span,
    .footer-keywords a {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .footer-contacts {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 1rem 0;
    }
    
    .footer-contact-item {
        justify-content: center;
        font-size: 0.85rem;
        min-width: 200px;
    }
    
    .footer-bottom {
        gap: 0.8rem;
    }
    
    .footer-copyright p,
    .footer-legal a {
        font-size: 0.8rem;
    }
}

/* ==================== КНОПКА WHATSAPP ==================== */

.whatsapp-button {
    /* Отладочный стиль для проверки видимости */
    opacity: 1 !important;
    visibility: visible !important;
    position: fixed !important;
    bottom: 100px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 999999 !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatIn 0.6s ease-out, bounce 1.5s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.2);
    text-decoration: none;
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}

/* Анимация появления */
@keyframes floatIn {
    0% {
        transform: scale(0.5) translateY(100%);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Анимация прыжка */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px !important;
        height: 50px !important;
        bottom: 150px !important;
        right: 15px !important;
    }

    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 360px) {
    .footer {
        padding: 1rem 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .footer-logo-img {
        width: 160px;
        height: auto;
    }
    
    .footer-logo-center-img {
        width: 138px;
        height: auto;
        max-width: 100%;
    }
    
    .footer-nav {
        gap: 0.6rem;
    }
    
    .footer-nav a {
        font-size: 0.9rem;
    }
    
    .footer-contacts {
        gap: 0.8rem;
    }
    
    .footer-contact-item {
        min-width: 180px;
        font-size: 0.8rem;
    }
    
    .footer-keywords span,
    .footer-keywords a {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
    }
}

/* ==================== МОДАЛЬНОЕ ОКНО ==================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--medium-dark);
    border-radius: var(--border-radius-large);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: var(--shadow-large);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--light-dark);
    color: var(--text-white);
}

.modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.modal-header h3 {
    color: var(--text-white);
    margin-bottom: 10px;
    font-size: 1.75rem;
}

.modal-header p {
    color: var(--text-gray);
    margin-bottom: 0;
}

.modal-body {
    /* Стили для формы внутри модального окна */
}

/* ==================== CONTACT FORM 7 СТИЛИ ==================== */

/* Обертка формы */
.wpcf7 {
    margin: 0;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Группы полей */
.wpcf7-form .form-row,
.wpcf7-form label {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wpcf7-form label {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Поля ввода */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 14px 18px;
    background: var(--light-dark);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    color: var(--text-white);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
    margin-top: 5px;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: var(--text-dark-gray);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: var(--medium-dark);
}

/* Textarea */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Кнопка отправки */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    background: var(--primary-orange);
    color: var(--text-white);
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit]:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Сообщения об ошибках */
.wpcf7-not-valid-tip {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: #ff4444;
}

/* Сообщения о статусе отправки */
.wpcf7-response-output {
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin: 20px 0 0 0;
    text-align: center;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.wpcf7-spam-blocked {
    border-color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

/* Spinner загрузки */
.wpcf7-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--text-gray);
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Примечание под формой */
.form-note {
    font-size: 0.85rem;
    color: var(--text-dark-gray);
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .wpcf7-form input[type="submit"],
    .wpcf7-form button[type="submit"] {
        padding: 14px 30px;
        font-size: 1rem;
    }
}