/*
Theme Name: Bearing Industrial
Text Domain: bearing-industrial
Author: Evgeni dev — Telegram: t.me/JIRAIYAnc
Description: Профессиональная тема для промышленной компании по продаже подшипников. Минималистичный дизайн, фокус на конверсию. Версия 1.0.
Version: 1.0
Tags: industrial, bearings, landing-page, business, clean
*/

/* ===========================================
   RESET & BASE STYLES
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цветовая палитра - индустриальная */
    --color-primary: #0d2b4c;      /* Темно-синий - надежность */
    --color-secondary: #e65c00;    /* Оранжевый - энергия, призыв */
    --color-accent: #2a5c8b;       /* Синий - технологии */
    --color-light: #f8f9fa;        /* Светлый фон */
    --color-dark: #222222;         /* Основной текст */
    --color-gray: #6c757d;         /* Вторичный текст */
    --color-border: #dee2e6;       /* Границы */
    --color-white: #ffffff;
    --color-footer-text: rgba(255, 255, 255, 0.85);
    
    /* Тени */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    
    /* Скругления */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Отступы */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title h2 {
    padding-bottom: var(--space-sm);
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--color-gray);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    min-width: 180px;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #d35400;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--color-white);
    color: var(--color-white);
}

/* Секции */
.section {
    padding: var(--space-lg) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title h2 {
    display: inline-block;
}

/* ===========================================
   HEADER
   =========================================== */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 0.8rem 0;
            padding-left: 10px;
        padding-right: 10px;
}

/* Логотип */
.site-branding {
    display: flex;
    align-items: center;
    min-width: 180px;
    max-width: 200px;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
}

.site-title-wrap {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: var(--color-primary);
    text-decoration: none;
}

.site-title a:hover {
    color: var(--color-secondary);
}

.site-description {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin: 0.2rem 0 0 0;
    font-weight: 400;
}

/* Навигация */
.main-navigation {
    justify-self: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.8rem;
}

.main-navigation a {
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.3rem;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: var(--color-secondary);
}

.main-navigation a:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-secondary);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 100%; }
}

/* Контакты в шапке */
.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    min-width: 180px;
}

.header-phone {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    white-space: nowrap;
}

.header-phone a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.header-phone a:hover {
    color: var(--color-secondary);
}

.header-email {
    color: var(--color-gray);
    font-size: 0.85rem;
}

.header-email a {
    color: var(--color-gray);
    transition: color 0.3s ease;
}

.header-email a:hover {
    color: var(--color-accent);
}

.header-hours {
    font-size: 0.8rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(13, 43, 76, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Кнопка бургер-меню */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--color-primary);
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(13, 43, 76, 0.05);
}

.menu-icon {
    display: block;
    line-height: 1;
}

/* ===========================================
   Мобильное меню - ИСПРАВЛЕННАЯ ВЕРСИЯ
   =========================================== */
.mobile-menu-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1001; /* Выше чем шапка (1000) */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /*padding-top: 70px;*/ /* Отступ сверху для шапки */
}

.mobile-navigation {
    padding: 1.5rem;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 0.5rem;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(230, 92, 0, 0.1);
    color: var(--color-secondary);
    padding-left: 1.5rem;
}

/* Контакты в мобильном меню */
.mobile-contacts {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.mobile-contacts .header-phone {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.mobile-contacts .header-phone a {
    color: var(--color-primary);
    font-weight: 700;
}

.mobile-contacts .header-email {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.mobile-contacts .header-hours {
    font-size: 0.9rem;
    justify-content: center;
    background: rgba(13, 43, 76, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-flex;
}

/* Кнопка закрытия в мобильном меню */
.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(13, 43, 76, 0.05);
}

/* Анимация появления мобильного меню */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mobile-menu-container[style*="display: block"] {
    animation: fadeIn 0.3s ease;
}

/* Для очень маленьких экранов */
@media (max-height: 500px) {
    .mobile-menu-container {
        /*padding-top: 60px;*/
    }
    
    .mobile-menu a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .mobile-contacts {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
}
.mobile-menu-close {display: none !important;}
/* ===========================================
   АДАПТИВНОСТЬ HEADER
   =========================================== */

/* Планшеты (992px и меньше) */
@media (max-width: 992px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
        gap: 1.5rem;
        padding: 0.7rem 0;
    }
    
    .main-navigation ul {
        gap: 1.2rem;
    }
    
    .main-navigation a {
        font-size: 0.9rem;
    }
    
    .header-contacts {
        min-width: 160px;
    }
    
    .header-phone {
        font-size: 1rem;
    }
}

/* Мобильные устройства (768px и меньше) */
@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
    }
    
    .header-container {
        grid-template-columns: 1fr auto auto;
        gap: 1rem;
        padding: 0;
    }
    
    .site-branding {
        min-width: auto;
        max-width: 150px;
    }
    
    .custom-logo {
        max-height: 40px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .site-description {
        display: none;
    }
    
    /* Скрываем навигацию и контакты на мобильных */
    .main-navigation,
    .header-contacts {
        display: none;
    }
    
    /* Показываем кнопку меню */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 2;
    }
}

/* Маленькие мобильные (480px и меньше) */
@media (max-width: 480px) {
    .header-container {
        grid-template-columns: 1fr auto;
    }
    
    .site-branding {
        max-width: 130px;
    }
    
    .custom-logo {
        max-height: 35px;
    }
    
    .site-title {
        font-size: 1.1rem;
    }
    
    .menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    
    .mobile-menu-container {
        top: 62px;
    }
}

/* Для очень маленьких экранов */
@media (max-height: 500px) {
    .mobile-menu-container {
        top: 60px;
    }
    
    .mobile-menu a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .mobile-contacts {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
}

/* Большие экраны (1200px и больше) */
@media (min-width: 1200px) {
    .header-container {
        gap: 3rem;
    }
    
    .main-navigation ul {
        gap: 2.5rem;
    }
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero-section {
    background:
        linear-gradient(
            rgba(13, 43, 76, 0.8),
            rgba(13, 43, 76, 0.85)
        ),
        url('/wp-content/uploads/2026/01/mechanical_engineers.webp');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: var(--color-white);
    padding: var(--space-xl) 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}


.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.hero-section h1 {
    color: var(--color-white);
    font-size: 2.8rem;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section h1:after {
    display: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--space-lg);
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

/* ===========================================
   АДАПТИВНОСТЬ HERO
   =========================================== */
@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-lg) 0;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-md);
    }
}

/* ===========================================
   FEATURES SECTION
   =========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.feature-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--color-accent);
    height: 100%;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    display: inline-block;
    height: 80px;
    width: 80px;
    line-height: 80px;
    background: rgba(230, 92, 0, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

/* ===========================================
   АДАПТИВНОСТЬ FEATURES
   =========================================== */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: var(--space-md);
    }
}

/* ===========================================
   PRODUCTS SECTION - С КАРТИНКАМИ
   =========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-light), #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.product-img-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-real-img {
    transform: scale(1.05);
}

/* Фоллбек, если картинка не загрузилась */
.placeholder-img {
    font-size: 4rem;
    opacity: 0.7;
    color: var(--color-accent);
    display: none; /* Скрываем по умолчанию */
}

.product-image:has(.product-real-img[src=""]) .placeholder-img,
.product-image:has(.product-real-img:not([src])) .placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-content {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.product-list {
    list-style: none;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

.product-list li {
    padding: 0.3rem 0;
    color: var(--color-gray);
    position: relative;
    padding-left: 1.2rem;
}

.product-list li:before {
    content: "•";
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* ===========================================
   АДАПТИВНОСТЬ PRODUCTS
   =========================================== */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .product-card {
        margin-bottom: var(--space-sm);
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .product-image {
        height: 160px;
    }
    
    .product-content {
        padding: var(--space-sm);
    }
}

/* ===========================================
   STATS SECTION - УЛУЧШЕННАЯ ВЕРСИЯ
   =========================================== */
.stats-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a365d 100%);
    color: var(--color-white);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}
.stats-section h2 {
    color: #fff;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    /*backdrop-filter: blur(10px);*/
    border-radius: 3px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    /*overflow: hidden;*/
}

.stat-card:hover {
    /*transform: translateY(-10px);*/
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(230, 92, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), #ff8c00);
    border-radius: 20px 20px 0 0;
}

.stat-icon-wrapper {
    margin-bottom: 1.5rem;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(230, 92, 0, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(230, 92, 0, 0.3);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.counter-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.plus, .percent {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.range-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
    gap: 1rem;
}

.range-from, .range-to {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
}

.range-line {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.range-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--color-secondary), #ff8c00);
    border-radius: 3px;
    animation: rangeFill 1.5s ease-out;
}

@keyframes rangeFill {
    from { width: 0; }
    to { width: 100%; }
}

.delivery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.delivery-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
}

.delivery-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 0.5rem;
    display: block;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.stats-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* ===========================================
   АДАПТИВНОСТЬ STATS
   =========================================== */
@media (max-width: 1200px) {
    .stats-grid {
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: var(--space-lg) 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stats-cta {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .delivery-text {
        font-size: 2rem;
    }
}

/* ===========================================
   PROCESS SECTION
   =========================================== */
.process-section {
    background: var(--color-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.step {
    text-align: center;
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.step:not(:last-child):after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
    box-shadow: var(--shadow-md);
}

.step h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

/* ===========================================
   АДАПТИВНОСТЬ PROCESS
   =========================================== */
@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding: var(--space-md);
    }
}

/* ===========================================
   CONTACT SECTION
   =========================================== */
.contact-section {
    background: var(--color-light);
    padding: 3rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Левая колонка - Контактная информация */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--color-secondary);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(230, 92, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-secondary);
}

.contact-title {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-details p {
    margin: 0;
    color: var(--color-dark);
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--color-accent);
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.contact-link:hover {
    color: var(--color-secondary);
}

.contact-link.phone {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Карта */
.map-container {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 250px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
}

.map-placeholder {
    font-size: 2.5rem;
    color: var(--color-accent);
    opacity: 0.7;
}

.map-container p {
    margin: 0;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.map-link {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Мессенджеры */
.messengers-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px dashed rgba(230, 92, 0, 0.3);
    margin-top: 0.5rem;
}

.messengers-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.messenger-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
    justify-content: center;
}

.messenger-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.messenger-item:hover {
    opacity: 1;
}

.messenger-icon {
    width: 50px;
    height: 50px;
    background: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.messenger-name {
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* Правая колонка - Форма */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.form-header p {
    color: var(--color-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Стили для Contact Form 7 */
.wpcf7-form {
    display: flex;
    flex-direction: column;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-form-control {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--color-light);
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(42, 92, 139, 0.1);
}

.wpcf7-textarea {
    min-height: 130px;
    resize: vertical;
}

.wpcf7 textarea[name="your-message"] {
    height: 80px;
}

.wpcf7-submit {
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.wpcf7-submit:hover {
    background: #d35400;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.wpcf7-response-output {
    margin: 1rem 0 0 !important;
    padding: 0.75rem !important;
    border-radius: 8px !important;
    text-align: center;
    font-size: 0.9rem;
}

/* Дополнительные стили для CF7 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.9rem;
}

.form-submit {
    margin-top: 0.5rem;
}

.form-notice {
    margin-top: 0.75rem;
    text-align: center;
    color: var(--color-gray);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Ошибки и уведомления CF7 */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    border-color: #dc3545 !important;
    background: #f8d7da;
    color: #721c24;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #28a745 !important;
    background: #d4edda;
    color: #155724;
}

/* Быстрые контакты под формой */
.quick-contacts {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.quick-contacts p {
    margin-bottom: 0.5rem;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.email-link {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1rem;
}

/* ===========================================
   АДАПТИВНОСТЬ CONTACTS
   =========================================== */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 220px;
    }
    
    .messenger-icons {
        gap: 1rem;
    }
    
    .messenger-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .contact-card,
    .contact-form-wrapper,
    .messengers-card {
        padding: 1.25rem;
    }
    
    .contact-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .contact-title {
        font-size: 1.1rem;
    }
    
    .contact-link.phone {
        font-size: 1rem;
    }
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
    background: var(--color-primary);
    color: var(--color-footer-text);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h3 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    font-size: 1.3rem;
}

.footer-section h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-secondary);
    margin-top: 0.5rem;
}

.footer-logo .site-title {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.footer-logo p {
    color: var(--color-footer-text);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--color-footer-text);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-contact p {
    color: var(--color-footer-text);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-contact a {
    color: var(--color-footer-text);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ===========================================
   АДАПТИВНОСТЬ FOOTER
   =========================================== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-section:nth-child(3) {
        grid-column: 1 / -1;
        margin-top: var(--space-md);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-section {
        margin-bottom: var(--space-md);
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
}

/* ===========================================
   ОБЩАЯ АДАПТИВНОСТЬ
   =========================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: var(--space-md) 0;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .feature-card,
    .product-card,
    .step {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .section {
        padding: var(--space-md) 0;
    }
}




.icon-size {
    width: 50px;
    height: 50px;
}
.icon-size-2 {
    width: 40px;
    height: 40px;
}






















/* ===========================================
   ГАЛЕРЕИ ДЛЯ КАРТОЧЕК ТОВАРОВ
   =========================================== */
.product-gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.product-gallery-slider {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 100%;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: #0d2b4c;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-gallery-wrapper:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-nav:hover {
    background: #e65c00;
    color: white;
}

/* ТОЧКИ ПАГИНАЦИИ - обновленные */
.gallery-dots {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    padding: 0;
}

.dot.active {
    background: white;
    width: 8px;
    height: 8px;
    margin: -1px 0;
}

.dot:hover {
    background: #e65c00;
}

/* Адаптивность */
@media (max-width: 768px) {
    .gallery-nav {
        opacity: 1;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .gallery-dots {
        bottom: 5px;
        padding: 3px 6px;
    }
    
    .dot {
        width: 5px;
        height: 5px;
    }
    
    .dot.active {
        width: 7px;
        height: 7px;
    }
}