﻿/*
Theme Name: GORDEZ Moscow
Description: Дезинсекция в Москве — профессиональная тема
Version: 2.0
Author: GORDEZ Team
Text Domain: gordez
*/

/* --- ШРИФТЫ --- */
@font-face {
    font-family: 'Bebas Neue';
    src: url('/wp-content/themes/gordez-theme/fonts/bebasneuecyrillic.woff') format('woff'),
         url('/wp-content/themes/gordez-theme/fonts/bebasneuecyrillic.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-teal: #598e84;
    --accent-yellow: #F1B24B;
    --btn-dark: #3E3E3E;
    --input-border: #D1D1D1;
    --text-gray: #999;
}

body { font-family: Arial, sans-serif; margin: 0; padding: 0; color: #fff; background: #fff; overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { 
    font-family: 'Bebas Neue', Arial, sans-serif; 
    font-weight: 400!important; 
}
* { 
    box-sizing: border-box; 
}

a{
    text-decoration: none;
}


/* --- 1. HERO SECTION --- */
.hero-section {
    background-color: var(--bg-teal);
    background-image: repeating-conic-gradient(from 0deg at 70% 30%, rgba(255,255,255,0.03) 0deg 10deg, transparent 10deg 20deg);
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
    margin: -20px 0 0;
}
.hero-section.home-hero{
    padding-bottom: 100px;
    overflow: hidden;
}

.header-grid {
    display: grid;
    grid-template-columns: 150px 1fr 200px;
    grid-template-rows: auto auto;
    gap: 0 40px;
    position: relative;
    z-index: 100;
}

.logo-column { grid-row: 1 / 3; align-self: start; }
.logo-column img { width: 100%; height: auto; display: block; }

.top-info-row {
    grid-column: 2 / 4;
    display: flex; justify-content: flex-end; align-items: center; gap: 40px;
    padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1);
}

.social-icons { display: flex; gap: 12px; }
.social-icons img { width: 18px; filter: brightness(0) invert(1); opacity: 0.8; }

.contact-group { text-align: right; }
.phone-num { font-size: 19px; font-weight: 800; line-height: 1; display: block; color: #fff; text-decoration: none; }
.email-link { font-size: 12px; opacity: 0.6; text-decoration: none; color: #fff; }

.menu-row { grid-column: 2 / 4; display: flex; justify-content: flex-end; padding-top: 15px; }
.main-nav { list-style: none; display: flex; margin: 0; padding: 0; gap: 20px; }
.main-nav a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; }

/* --- DROPDOWN (2й уровень) --- */
.main-nav li { position: relative; }

.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--btn-dark);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.main-nav li:hover > .sub-menu { display: block; }

.main-nav .sub-menu li { width: 100%; }

.main-nav .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.main-nav .sub-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--accent-yellow);
}

/* Стрелка у пунктов с детьми */
.main-nav .menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 10px;
    opacity: 0.7;
}

/* Мобильное меню — сабменю раскрывается вниз */
.mobile-menu-overlay .sub-menu {
    display: block;
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    padding: 4px 0 4px 16px;
    margin-top: 4px;
}

.hero-text-content { 
    margin-top: 80px; 
    position: relative; 
    z-index: 5; 
    color: #fff;
}
.hero-text-content h1 { 
    font-size: 66px; 
    line-height: 1.05; 
    text-transform: uppercase; 
    margin-bottom: 35px; 
}
.hero-text-content p { font-size: 18px; font-weight: 500; max-width: 580px; line-height: 1.4; margin-bottom: 45px; }
.btn-order { background: var(--btn-dark); color: #fff; border: none; padding: 18px 60px; font-weight: 700; text-transform: uppercase; transition: background 0.2s, transform 0.15s; }
.btn-order:hover { background: #555; transform: translateY(-1px); }

.master-abs { position: absolute; right: -2%; bottom: -40px; height: 83%; z-index: 1; pointer-events: none; }

/* --- BREADCRUMBS (Rank Math) --- */
.breadcrumb{
    background: #fff;
}
.rank-math-breadcrumb {
    padding: 10px 0;
    margin-bottom: 0;
}
.rank-math-breadcrumb p {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
}
.rank-math-breadcrumb a {
    color: var(--bg-teal);
    text-decoration: none;
    transition: color 0.15s;
}
.rank-math-breadcrumb a:hover {
    color: var(--accent-yellow);
}
.rank-math-breadcrumb .separator {
    color: #ccc;
    padding: 0 6px;
}
.rank-math-breadcrumb .last {
    color: #3e3e3e;
}

/* --- 2. CALCULATOR --- */
.calc-container { 
    position: relative;
    z-index: 20;
    margin: 30px auto;
 }
.calc-card { background: var(--accent-yellow); padding: 40px 50px; color: #1a1a1a; box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.field-title { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.custom-input { width: 100%; height: 54px; border: 1px solid var(--input-border); background: #fff; padding: 0 15px; font-size: 14px; font-weight: 600; outline: none; width: 100%; transition: border-color 0.2s; }
.custom-input:focus { border-color: var(--btn-dark); }
.range-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.range-value { font-size: 14px; font-weight: 800; }
.range-input-wrap { height: 54px; display: flex; align-items: center; }
input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 2px; background: rgba(0,0,0,0.2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 18px; width: 18px; background: var(--btn-dark); margin-top: -8px; }
.btn-calc-submit { width: 100%; height: 54px; background: var(--btn-dark); color: #fff; border: none; font-weight: 800; font-size: 14px; text-transform: uppercase; }
.calc-footer { text-align: center; font-size: 12px; font-weight: 600; color: rgba(0,0,0,0.4); margin-top: 25px; }

/* --- 3. SERVICES ICONS --- */
.services-icons-section { padding: 60px 0; background: #fff; }
.services-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; text-align: center; }
.services-swiper { overflow: hidden; padding-bottom: 44px !important; }
.services-swiper .swiper-slide { height: auto; display: flex; justify-content: center; }
.service-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.icon-wrapper { width: 60px; height: 60px; position: relative; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; }
.icon-wrapper::before { 
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--accent-yellow);
    border-radius: 50% !important;
    z-index: 1;
    top: 7px;
    right: 5px;
}
.icon-wrapper img {
    width: 80px;
    height: 70px;
    position: relative;
    z-index: 2;
    object-fit: contain;
}
.service-item p { color: #333; font-size: 11px; font-weight: 800; line-height: 1.2; text-transform: uppercase; margin: 0; }

/* pagination dots */
.services-pagination { bottom: 0 !important; }
.services-pagination .swiper-pagination-bullet { width: 8px; height: 8px; background: #D1D1D1; opacity: 1; margin: 0 4px !important; }
.services-pagination .swiper-pagination-bullet-active { background: var(--bg-teal); width: 24px; border-radius: 4px !important; }

.services-btn-wrap { text-align: center; margin-top: 8px; }
.btn-all-services { display: inline-block; background: transparent; color: var(--btn-dark); text-decoration: none; font-size: 12px; font-weight: 800; text-transform: uppercase; padding: 12px 40px; letter-spacing: 0.08em; border: 2px solid var(--btn-dark); transition: background 0.2s, color 0.2s, transform 0.15s; }
.btn-all-services:hover { background: var(--btn-dark); color: #fff; transform: translateY(-1px); }

/* --- 4. OFFERS SECTION --- */
.offers-section { padding-bottom: 80px; background: #fff; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-title { font-size: 48px; font-weight: 900; color: var(--btn-dark); text-transform: uppercase; margin: 0; line-height: 1; }
.view-all { color: var(--bg-teal); text-decoration: none; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--bg-teal); padding-bottom: 2px; }
.offer-card { background: #fff; height: 100%; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; margin: 0 0 30px;}
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.09); }
.offer-img-box { position: relative; height: 260px; margin-bottom: 0px; overflow: hidden; }
.offer-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.offer-card:hover .offer-img-box img { transform: scale(1.04); }
.offer-badge { position: absolute; top: 0; left: 0; background: var(--accent-yellow); color: #1a1a1a; padding: 10px 18px; font-weight: 900; z-index: 5; font-size: 16px; }
.offer-content h3 { font-size: 19px; font-weight: 800; color: #333; margin-bottom: 15px; line-height: 1.3; }
.price-container { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.price-now { font-size: 20px; font-weight: 800; color: var(--bg-teal); }
.price-now .price-unit { font-size: 13px; font-weight: 600; opacity: 0.75; margin-left: 2px; }
.price-was { font-size: 14px; text-decoration: line-through; color: #bbb; font-weight: 600; }
.price-was .price-unit-old { font-size: 11px; font-weight: 600; margin-left: 1px; }
.promo-text { color: var(--bg-teal); font-weight: 800; font-size: 15px; }
.btn-order-sm { background: var(--btn-dark); color: #fff; border: none; padding: 12px 35px; font-weight: 800; font-size: 13px; text-transform: uppercase; width: fit-content; transition: background 0.2s, transform 0.15s; }
.btn-order-sm:hover { background: #555; transform: translateY(-1px); }

/* --- 5. ABOUT SECTION --- */
.about-section { padding: 40px 0; background: #fff; overflow: hidden; }
.about-image-wrap { 
    background-color: var(--bg-teal); 
    background-image: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0.03) 0deg 10deg, transparent 10deg 20deg);
    position: relative; min-height: 650px; display: flex; align-items: flex-end; 
}
.about-bg-img { width: 100%; height: auto; display: block; }
.about-content-col { position: absolute; right: 0; z-index: 10; }
.about-card { background: #fff; padding: 70px 80px; box-shadow: 0 40px 100px rgba(0,0,0,0.07); }
.about-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 60px; }
.about-title { font-size: 64px; font-weight: 900; color: var(--btn-dark); margin: 0; letter-spacing: -2px; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.advantages-grid.advantages-bottom{
    margin: 0 0 0 180px;
}
.adv-item { display: flex; align-items: center; gap: 15px; }
.adv-dot { flex-shrink: 0; width: 34px; height: 34px; background: #E0E0E0; border-radius: 50% !important; transition: background 0.2s; }
.adv-item:hover .adv-dot { background: var(--bg-teal); }
.adv-icon { flex-shrink: 0; width: 34px; height: 34px; object-fit: contain; }
.adv-item p { font-size: 13px; font-weight: 800; color: #222; margin: 0; line-height: 1.2; }
.experience-block { display: flex; align-items: flex-start; gap: 50px; }
.exp-number { 
        font-size: 150px;
    font-weight: 900;
    line-height: 0.75;
    color: var(--btn-dark);
    display: flex;
    flex-direction: column;
    font-family: 'Bebas Neue';
    text-align: center;
}
.exp-number span { font-size: 58px; letter-spacing: 2px; margin-top: 5px; }
.exp-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; padding-top: 20px; }
.exp-text-grid p { font-size: 13px; font-weight: 500; color: var(--text-gray); line-height: 1.6; margin: 0; }
.exp-text-grid p:first-child { grid-column: 1 / -1; }

/* --- MOBILE ELEMENTS --- */
.mobile-header-controls { display: none; }
.mobile-menu-overlay { position: fixed; top: 0; right: -100%; width: 280px; height: 100%; background: var(--btn-dark); z-index: 2000; padding: 60px 30px; transition: 0.4s; }
.mobile-menu-overlay.active { right: 0; }
.close-menu { position: absolute; top: 20px; right: 20px; font-size: 30px; color: #fff; cursor: pointer; }



/* Базовые сбросы */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f9fa;
    color: #333;
    padding-bottom: 0px;
}

/* Ограничитель ширины контента */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* --- ШАПКА БЛОКА С КАРТИНКОЙ --- */
.faq-header {
    background-image: url(/wp-content/themes/gordez-theme/img/faq.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #5C9489;
}
.faq-section h2 {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}
.header-content {
    width: 100%;
    display: flex;
    justify-content: center; /* Центрируем заголовок FAQ */
    align-items: center;
}

/* Заголовок FAQ */
.faq-header h1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* --- КОНТЕНТНАЯ ЧАСТЬ (БЕЛАЯ ПЛАШКА) --- */
.faq-body {
    background: #ffffff;
    border-radius: 4px;
    padding: 40px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: -50px; /* Эффект наползания на шапку */
    position: relative;
    z-index: 10;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

/* Кнопка-триггер (строка вопроса) */
.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
    padding: 10px 0;
}

/* Серый кружок слева от вопроса */
.faq-circle {
    width: 16px;
    height: 16px;
    background-color: #dbdbdb;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

/* Текст вопроса */
.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    transition: color 0.3s ease;
}

/* Эффекты при наведении */
.faq-trigger:hover .faq-circle {
    background-color: #508c7d; /* Зеленый цвет из макета */
}

/* Стили для раскрытого состояния (класс .active добавляется скриптом) */
.faq-item.active .faq-circle {
    background-color: #508c7d;
}

.faq-item.active .faq-question {
    color: #111111;
}

/* Выезжающий блок с ответом */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 36px; /* Сдвиг вправо, чтобы текст был под вопросом, а не под кружком */
}

/* Текст ответа */
.faq-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #8c8c8c;
    padding-bottom: 15px;
}

/* Открытое состояние по умолчанию (для CSS) */
.faq-item.active .faq-content {
    max-height: 500px; /* Ограничение высоты для плавной анимации */
}

/* --- FOOTER --- */
.site-footer {
    background: #2a2a2a;
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Бренд-колонка */
.footer-logo img {
    height: 100px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}
.footer-tagline {
    font-size: 13px;
    opacity: 0.5;
    margin-bottom: 24px;
    line-height: 1.5;
}
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.15s;
}
.footer-contact-item { transition: color 0.15s, transform 0.15s; }
.footer-contact-item:hover { color: var(--accent-yellow); transform: translateX(4px); }
.footer-contact-item svg { flex-shrink: 0; opacity: 0.6; transition: opacity 0.15s; }
.footer-contact-item:hover svg { opacity: 1; }

/* Навигационная колонка */
.footer-col__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-yellow);
    margin-bottom: 18px;
}
.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s, transform 0.15s;
    display: inline-block;
}
.footer-nav a:hover { color: #fff; transform: translateX(3px); }

/* Нижняя строка */
.footer-bottom {
    background: #1e1e1e;
    padding: 16px 0;
}
.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}
.footer-policy {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-policy:hover { color: var(--accent-yellow); }

/* Адаптив footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* --- АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ --- */
@media (max-width: 768px) {
    .faq-header {
        height: 160px; /* Уменьшаем высоту шапки */
    }
    .faq-header h1 {
        font-size: 2.5rem;
    }
    .faq-body {
        padding: 30px 20px;
        margin-top: -30px; /* Чуть уменьшаем наезд на шапку */
    }
    .faq-question {
        font-size: 0.95rem;
    }
    .custom-input{
        margin: 0 0 20px;
    }
    .about-image-wrap{
            min-height: 420px;
    }
    .faq-section h2 {
        font-size: 35px;
    }
}

@media (max-width: 991px) {
    .header-grid { grid-template-columns: 140px 1fr auto; grid-template-rows: auto; align-items: center; }
    .top-info-row, .menu-row { display: none; }
    .mobile-header-controls { display: flex; grid-column: 2 / 4; justify-content: flex-end; align-items: center; gap: 15px; }
    .burger-btn { background: none; border: none; cursor: pointer; padding: 0; }
    .burger-btn span { display: block; width: 25px; height: 3px; background: #fff; margin: 5px 0; }
    .hero-text-content h1 { font-size: 32px; text-align: center; }
    .master-abs { opacity: 0.2; height: 70%; right: -10%; }
    .about-content-col { position: relative; margin-top: -60px; width: 100%; }
    .about-card { padding: 30px 20px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .exp-text-grid { grid-template-columns: 1fr; }
    .exp-text-grid p:first-child { grid-column: 1; }
    .experience-block { flex-direction: column; gap: 30px; }
    .advantages-grid.advantages-bottom{
        margin: 0px;
    }
}

/* --- ARCHIVE SERVICES --- */

.svc-archive {
    padding: 50px 0 80px;
    background: #fff;
}
.svc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
    margin-bottom: 4px;
    border-bottom: 1px solid #efefef;
}
.svc-row:last-child { border-bottom: none; margin-bottom: 0; }
.svc-row--reverse { direction: rtl; }
.svc-row--reverse > * { direction: ltr; }
.svc-row__img-col {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--bg-teal);
}
.svc-row__img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.svc-row:hover .svc-row__img-col img { transform: scale(1.04); }
.svc-row__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-teal) 0%, #3d6b63 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-row__fallback-icon { width: 80px; height: 80px; object-fit: contain; opacity: 0.4; filter: brightness(0) invert(1); }
.svc-row__icon {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 52px;
    height: 52px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.svc-row__icon img { width: 32px; height: 32px; object-fit: contain; display: block; }
.svc-row__num {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    background: var(--accent-yellow);
    color: #222;
    padding: 5px 12px;
    line-height: 1;
}
.svc-row__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 56px;
    background: #fff;
}
.svc-row__title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}
.svc-row__title a { color: var(--btn-dark); text-decoration: none; transition: color 0.15s; }
.svc-row__title a:hover { color: var(--bg-teal); }
.svc-row__desc { font-size: 14px; color: #777; line-height: 1.7; margin-bottom: 20px; max-width: 420px; }
.svc-row__children { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 4px; }
.svc-row__children li a { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: #444; text-decoration: none; transition: color 0.15s; }
.svc-row__children li a:hover { color: var(--bg-teal); }
.svc-row__child-arrow { color: var(--accent-yellow); font-style: normal; flex-shrink: 0; }
.svc-row__bottom { display: flex; align-items: center; gap: 24px; margin-top: auto; padding-top: 24px; border-top: 1px solid #f0f0f0; }
.svc-row__price { font-size: 13px; color: #999; white-space: nowrap; }
.svc-row__price strong { font-size: 18px; font-weight: 900; color: var(--btn-dark); }
.archive-empty { color: #999; font-size: 15px; text-align: center; padding: 40px 0; }
.archive-content-section { padding: 60px 0 70px; background: #f7f7f7; }
.archive-content-body { color: #333; font-size: 15px; line-height: 1.8; }
.archive-content-body h2 { font-size: 26px; font-weight: 800; color: #222; margin: 36px 0 16px; }
.archive-content-body h3 { font-size: 20px; font-weight: 700; color: #222; margin: 28px 0 12px; }
.archive-content-body p { margin-bottom: 16px; }
.archive-content-body ul { padding-left: 20px; margin-bottom: 16px; }
.archive-content-body ul li { margin-bottom: 6px; }
@media (max-width: 991px) {
    .svc-row { grid-template-columns: 1fr; min-height: auto; }
    .svc-row--reverse { direction: ltr; }
    .svc-row__img-col { aspect-ratio: 16 / 9; height: auto; }
    .svc-row__content { padding: 32px 28px; }
}
@media (max-width: 575px) {
    .svc-row__content { padding: 24px 20px; }
    .svc-row__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}



.contacts-section {
    padding: 60px 0 80px;
    background: #fff;
    color: #222;
}
.contacts-title {
    font-size: 36px;
    font-weight: 800;
    color: #222;
    margin-bottom: 48px;
}
.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 15px;
}

/* Карточки */
.contacts-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0px;
}
.contact-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--bg-teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.contact-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    margin-bottom: 4px;
}
.contact-card__value {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    display: block;
}
a.contact-card__value:hover { color: var(--bg-teal); }

/* Форма */
.contacts-form-card {
    background: var(--bg-teal);
    padding: 40px;
    color: #fff;
}
.contacts-form-card__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}
.contacts-form-card__sub {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 28px;
}
.contacts-form__field { margin-bottom: 14px; }
.contacts-form__field input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}
.contacts-form__field input::placeholder { color: rgba(255,255,255,0.6); }
.contacts-form__field input:focus { border-color: var(--accent-yellow); }
.contacts-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 20px;
    cursor: pointer;
}
.contacts-form__consent a { color: var(--accent-yellow); }
.contacts-form__error {
    background: rgba(255,0,0,0.2);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
}
.contacts-form__submit {
    width: 100%;
    padding: 16px;
    background: var(--accent-yellow);
    color: #222;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}
.contacts-form__submit:hover { opacity: 0.9; }
.contacts-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contacts-form__success {
    text-align: center;
    padding: 20px 0;
}
.contacts-form__success-icon {
    font-size: 48px;
    color: var(--accent-yellow);
    margin-bottom: 12px;
}
.contacts-form__success-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}
.contacts-form__success-text { font-size: 14px; opacity: 0.8; }

/* Карта */
#contactsYmap {
    width: 100%;
    height: 420px;
}

.contacts-map-wrap { position: relative; }
.contacts-map__footer {
    display: flex;
    margin-top: 12px;
}
.contacts-route-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--bg-teal, #1a9e8e);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    transition: background .2s, opacity .2s;
    border-radius: 0;
}
.contacts-route-btn:hover:not(:disabled) { background: #147f72; }
.contacts-route-btn:disabled { opacity: .65; cursor: not-allowed; }

/* Адаптив */
@media (max-width: 991px) {
    .contacts-layout { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .contacts-title { font-size: 26px; }
    .contacts-form-card { padding: 28px 20px; }
}

/* --- PAGE & SINGLE POST --- */

/* Фото в hero поста */
.post-hero__thumb {
    flex-shrink: 0; width: 320px; height: 220px; overflow: hidden;
}
.post-hero__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Превью в hero */
.ss-hero .post-excerpt,
.ss-hero p { font-size: 14px; opacity: 0.75; line-height: 1.7; max-width: 540px; margin-top: 8px; }

/* Теги */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e8e8e8; }
.post-tag {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--btn-dark); border: 1px solid #ddd; padding: 5px 14px;
    text-decoration: none; transition: background 0.15s, color 0.15s;
}
.post-tag:hover { background: var(--bg-teal); color: #fff; border-color: var(--bg-teal); }

/* Навигация пред/след */
.post-nav { background: #f7f7f7; padding: 32px 0; }
.post-nav__inner { display: flex; justify-content: space-between; gap: 24px; }
.post-nav__item {
    display: flex; flex-direction: column; gap: 6px; max-width: 46%;
    text-decoration: none;
}
.post-nav__item--next { text-align: right; margin-left: auto; }
.post-nav__dir { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bg-teal); }
.post-nav__title { font-size: 14px; font-weight: 700; color: var(--btn-dark); line-height: 1.3; transition: color 0.15s; }
.post-nav__item:hover .post-nav__title { color: var(--bg-teal); }

@media (max-width: 767px) {
    .post-hero__thumb { display: none; }
    .post-nav__inner { flex-direction: column; gap: 16px; }
    .post-nav__item--next { text-align: left; margin-left: 0; }
    .post-nav__item { max-width: 100%; }
}

/* --- SINGLE SERVICE --- */

/* ── Hero ── */
.ss-hero {
    background-color: #fff;
    position: relative;
    padding: 25px 0;
    color: var(--btn-dark);
    overflow: hidden;
}

.ss-hero__bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.ss-hero__inner { position: relative; z-index: 2; }
.ss-hero__back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: rgba(255,255,255,0.6);
    text-decoration: none; margin-bottom: 24px;
    transition: color 0.15s;
}
.ss-hero__back:hover { color: var(--accent-yellow); }
.ss-hero__body {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 40px;
}
.ss-hero__text { flex: 1; }
.ss-hero__label {
    display: inline-block; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--accent-yellow); margin-bottom: 14px;
}
.ss-hero__title {
    font-size: clamp(30px, 4.5vw, 52px); font-weight: 900;
    text-transform: uppercase; line-height: 1.05;
    letter-spacing: -0.01em; margin-bottom: 14px; 
    color: var(--btn-dark);
}
.ss-hero__desc { font-size: 15px; opacity: 0.75; line-height: 1.7; max-width: 540px; margin-bottom: 24px; }
.ss-hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.ss-hero__price { font-size: 14px; color: rgba(0,0,0,0.7); }
.ss-hero__price strong { font-size: 28px; font-weight: 900; color: var(--btn-dark); margin-left: 4px; }
.ss-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600;
    background: rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.2);
    padding: 6px 14px; color: var(--btn-dark);
}
.ss-hero__cta { cursor: pointer; }
.ss-hero__icon {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ss-hero__icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--accent-yellow);
    border-radius: 50% !important;
    z-index: 1;
    top: 50%;
    right: 50%;
    transform: translate(100%, -50%);
}
.ss-hero__icon img {
    width: 100px;
    height: 70px;
    position: relative;
    z-index: 2;
    object-fit: contain;
}

/* ── Сетка дочерних услуг (раздел) ── */
.ss-children { padding: 60px 0 70px; background: #fff; }
.ss-children__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ss-child-card { display: flex; flex-direction: column; border: 1px solid #efefef; }
.ss-child-card__img {
    position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10;
    background: var(--bg-teal);
}
.ss-child-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ss-child-card:hover .ss-child-card__img img { transform: scale(1.05); }
.ss-child-card__img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-teal) 0%, #3d6b63 100%); }
.ss-child-card__icon {
    position: absolute; bottom: 12px; left: 12px;
    width: 40px; height: 40px; background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.ss-child-card__icon img { width: 24px; height: 24px; object-fit: contain; }
.ss-child-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px; }
.ss-child-card__title { font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.2; margin-bottom: 8px; }
.ss-child-card__title a { color: var(--btn-dark); text-decoration: none; transition: color 0.15s; }
.ss-child-card__title a:hover { color: var(--bg-teal); }
.ss-child-card__desc { font-size: 13px; color: #777; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.ss-child-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid #f2f2f2; }
.ss-child-card__price { font-size: 12px; color: #999; }
.ss-child-card__price strong { font-size: 15px; font-weight: 900; color: var(--btn-dark); }

/* ── Преимущества (посадочная) ── */
.ss-advantages { padding: 50px 0; background: #f7f7f7; }
.ss-advantages__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ss-adv-item { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ss-adv-item__icon { width: 52px; height: 52px; background: var(--bg-teal); display: flex; align-items: center; justify-content: center; }
.ss-adv-item__icon img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.ss-adv-item__dot { width: 14px; height: 14px; background: var(--accent-yellow); }
.ss-adv-item p { font-size: 14px; font-weight: 600; color: var(--btn-dark); line-height: 1.5; margin: 0; }

/* ── Контент ── */
.ss-content { padding: 1px 0 70px; background: #fff; }
.ss-content__body { color: #333; font-size: 15px; line-height: 1.8; }
.ss-content__body h2 { font-size: 28px; font-weight: 900; text-transform: uppercase; color: var(--btn-dark); margin: 40px 0 18px; }
.ss-content__body h3 { font-size: 20px; font-weight: 700; color: var(--btn-dark); margin: 28px 0 12px; }
.ss-content__body p { margin-bottom: 16px; color: #444; }
.ss-content__body ul { padding-left: 20px; margin-bottom: 16px; }
.ss-content__body ul li { margin-bottom: 8px; color: #444; }
.ss-content__body table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.ss-content__body table th,
.ss-content__body table td { padding: 12px 16px; text-align: left; border: 1px solid #e8e8e8; font-size: 14px; color: #333; }
.ss-content__body table th { background: var(--bg-teal); color: #fff; font-weight: 700; }

/* ── CTA-полоска ── */
.ss-cta { background: var(--btn-dark); padding: 40px 0; }
.ss-cta__inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.ss-cta__title { font-size: 22px; font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.ss-cta__sub { font-size: 13px; color: rgba(255,255,255,0.55); }
.ss-cta__price { font-size: 13px; color: rgba(255,255,255,0.6); white-space: nowrap; }
.ss-cta__price strong { font-size: 28px; font-weight: 900; color: var(--accent-yellow); display: block; }
.ss-cta__btn { cursor: pointer; background: var(--accent-yellow); color: #222; }
.ss-cta__btn:hover { opacity: 0.9; }

/* ── Адаптив ── */
@media (max-width: 991px) {
    .ss-children__grid { grid-template-columns: repeat(2, 1fr); }
    .ss-advantages__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .ss-hero__body { flex-direction: column; gap: 24px; }
    .ss-hero__icon { display: none; }
    .ss-cta__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 575px) {
    .ss-children__grid { grid-template-columns: 1fr; }
    .ss-advantages__grid { grid-template-columns: 1fr 1fr; }
}

/* --- LICENSES --- */

.licenses-section {
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
    background-image: url(/wp-content/themes/gordez-theme/img/ant.png);
}
.licenses-section .swiper-button-lock {
    display: block !important;
}
.licenses-container {
    display: grid;
    /* Фиксируем левую колонку, правую отдаем под слайдер */
    grid-template-columns: 420px 1fr;
    /* Увеличили зазор между текстом и началом слайдера до 120px */
    column-gap: 120px; 
    align-items: center;
    position: relative;
    z-index: 2;
}

.licenses-content {
    display: flex;
    flex-direction: column;
    z-index: 99999;
}

.licenses-title {
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    color: #2c2c2c;
    margin-bottom: 45px;
    letter-spacing: 1px;
}

.licenses-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.licenses-text {
    font-size: 14px;
    color: #7a7a7a;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 400px;
}

.licenses-nav {
    display: flex;
    gap: 20px;
}

.licenses-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.licenses-btn:hover {
    opacity: 0.6;
}

.licenses-btn svg {
    width: 24px;
    height: 24px;
    fill: #7a7a7a;
}

/* Правая часть со слайдером */
.licenses-slider-wrapper {
    width: 100%;
    min-width: 0;
    position: relative;
    display: flex;
    /* Выравниваем слайдер по центру/правой части выделенной зоны */
    justify-content: flex-start; 
}

/* Ограничиваем Swiper по ширине */
.licenses-section .swiper {
    width: 100%;
    max-width: 680px;
    margin: 0; 
    overflow: visible; /* Чтобы уходящие вправо слайды были видны */
}

.licenses-section .swiper-slide {
    /* width: 340px;  */
    height: 480px;
    background-color: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06), 0 3px 10px rgba(0,0,0,0.04);
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
}

.licenses-section .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Адаптивность */
@media (max-width: 1100px) {
    .licenses-container {
        column-gap: 50px; /* Сужаем зазор на средних экранах */
    }
}

@media (max-width: 992px) {
    .licenses-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .licenses-content {
        align-items: center;
        text-align: center;
    }
    .licenses-text { max-width: 100%; }
    .licenses-nav { order: 4; margin-top: 10px; }
    .licenses-slider-wrapper {
        justify-content: center;
    }
    .licenses-section .swiper {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .licenses-section { padding: 0 20px; }
    .licenses-title { font-size: 32px; margin-bottom: 25px; }
    .licenses-section .swiper-slide {
        height: 340px;
    }
    .bg-ant { display: none; }
    .hero-text-content p {
        text-align: center;
    }
}

/* --- COMMERCIAL PAGE (B2B) --- */

/* Общие */
.comm-section-title { font-size: 40px; font-weight: 800; text-transform: uppercase; color: #1a1a1a; margin-bottom: 12px; letter-spacing: 1px; }
.comm-section-sub   { font-size: 15px; color: #7a7a7a; margin-bottom: 50px; max-width: 680px; }

/* HERO */
.comm-hero { background-color: var(--btn-dark); padding: 0 0 70px; position: relative; overflow: hidden; }
.comm-hero::before { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 70% 40%, rgba(89,142,132,.06) 0deg 15deg, transparent 15deg 30deg); pointer-events: none; }
.comm-hero__layout { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; position: relative; z-index: 2; padding-top: 50px; }
.comm-badge { display: inline-block; background: var(--accent-yellow); color: #1a1a1a; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; padding: 6px 16px; margin-bottom: 22px; }
.comm-hero__title { font-size: 38px; font-weight: 900; color: #fff; text-transform: uppercase; line-height: 1.2; margin-bottom: 20px; }
.comm-hero__subtitle { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 30px; }
.comm-hero__bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.comm-hero__bullets li { font-size: 14px; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 10px; }
.comm-bullet-icon { color: var(--accent-yellow); font-weight: 900; font-size: 16px; flex-shrink: 0; }

/* HERO FORM CARD */
.comm-form-card { background: #fff; padding: 36px 32px; }
.comm-form-card__title { font-size: 15px; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin-bottom: 24px; text-transform: uppercase; letter-spacing: .5px; }
.comm-form__group { margin-bottom: 14px; }
.comm-form__input { width: 100%; border: 1px solid var(--input-border); background: #fafafa; padding: 13px 16px; font-size: 14px; font-family: inherit; color: #1a1a1a; outline: none; transition: border-color .2s; }
.comm-form__input:focus { border-color: var(--bg-teal); background: #fff; }
.comm-form__select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.comm-form__btn { width: 100%; background: var(--bg-teal); color: #fff; border: none; padding: 15px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; font-family: inherit; transition: background .2s; }
.comm-form__btn:hover { background: var(--btn-dark); }
.comm-form__note { font-size: 11px; color: #aaa; margin-top: 10px; text-align: center; }
.comm-form__note a { color: #aaa; text-decoration: underline; }
.comm-form__success { text-align: center; font-size: 15px; font-weight: 700; color: var(--bg-teal); padding: 20px 0; }

/* B2B FEATURES */
.comm-features { background: #f6f6f6; padding: 80px 0; }
.comm-features .comm-section-title { color: #1a1a1a; }
.comm-features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.comm-feature-card { background: #fff; padding: 32px 24px; transition: transform .25s, box-shadow .25s; }
.comm-feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.comm-feature-card__icon { width: 56px; height: 56px; background: var(--btn-dark); color: var(--accent-yellow); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.comm-feature-card__title { font-size: 15px; font-weight: 800; color: #1a1a1a; text-transform: uppercase; margin-bottom: 12px; line-height: 1.3; }
.comm-feature-card__text { font-size: 13px; color: #666; line-height: 1.65; }

/* INDUSTRY CARDS */
.comm-industries { background: #fff; padding: 80px 0; }
.comm-industries__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.comm-ind-card { border: 2px solid #eee; padding: 36px 32px; display: flex; flex-direction: column; transition: border-color .2s; }
.comm-ind-card:hover { border-color: var(--bg-teal); }
.comm-ind-card__title { font-size: 18px; font-weight: 800; text-transform: uppercase; color: #1a1a1a; margin-bottom: 14px; letter-spacing: .5px; }
.comm-ind-card__desc  { font-size: 13px; color: #666; line-height: 1.65; margin-bottom: 22px; }
.comm-ind-card__prices { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.comm-ind-card__prices li { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed #e0e0e0; padding-bottom: 8px; font-size: 13px; }
.comm-ind-card__srv-name  { color: #444; }
.comm-ind-card__srv-price { color: var(--bg-teal); font-weight: 800; white-space: nowrap; margin-left: 12px; }
.comm-ind-card__btn { margin-top: auto; background: transparent; border: 2px solid var(--btn-dark); color: var(--btn-dark); padding: 12px 24px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; align-self: flex-start; }
.comm-ind-card__btn:hover { background: var(--btn-dark); color: #fff; }

/* CASES */
.comm-cases { background: #f6f6f6; padding: 80px 0; }
.comm-cases__list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 60px; }
.comm-case-card { background: #fff; display: grid; grid-template-columns: 80px 1fr; gap: 0; overflow: hidden; }
.comm-case-card__num { background: var(--btn-dark); color: var(--accent-yellow); font-size: 28px; font-weight: 900; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.comm-case-card__body { padding: 28px 32px; }
.comm-case-card__client { font-size: 16px; font-weight: 800; text-transform: uppercase; color: #1a1a1a; margin-bottom: 18px; letter-spacing: .5px; }
.comm-case-card__rows { display: flex; flex-direction: column; gap: 12px; }
.comm-case-card__row { display: flex; gap: 16px; align-items: flex-start; }
.comm-case-card__label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 10px; flex-shrink: 0; min-width: 100px; text-align: center; }
.comm-case-card__label--problem  { background: #fee2e2; color: #b91c1c; }
.comm-case-card__label--solution { background: #e0f2fe; color: #0369a1; }
.comm-case-card__label--result   { background: #dcfce7; color: #166534; }
.comm-case-card__text { font-size: 13px; color: #555; line-height: 1.6; margin: 0; }

/* CLIENT LOGOS */
.comm-logos { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; padding: 40px 0 0; }
.comm-logos__item { width: 160px; height: 60px; display: flex; align-items: center; justify-content: center; filter: grayscale(1); opacity: .6; transition: opacity .2s, filter .2s; }
.comm-logos__item:hover { filter: grayscale(0); opacity: 1; }
.comm-logos__item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.comm-logos__item--placeholder { border: 1px dashed #ccc; }
.comm-logos__item--placeholder span { font-size: 11px; color: #bbb; }

/* CTA */
.comm-cta { background: var(--btn-dark); padding: 80px 0; }
.comm-cta__layout { display: grid; grid-template-columns: 1fr 440px; gap: 80px; align-items: center; }
.comm-cta__title { font-size: 32px; font-weight: 900; text-transform: uppercase; color: #fff; line-height: 1.2; margin-bottom: 18px; }
.comm-cta__desc { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 28px; }
.comm-cta__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.comm-cta__list li { font-size: 13px; color: rgba(255,255,255,.85); padding-left: 20px; position: relative; }
.comm-cta__list li::before { content: '—'; position: absolute; left: 0; color: var(--accent-yellow); }
.comm-cta__form-wrap .comm-form-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 36px 32px; }
.comm-cta__form-wrap .comm-form__input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.comm-cta__form-wrap .comm-form__input::placeholder { color: rgba(255,255,255,.5); }
.comm-cta__form-wrap .comm-form__input:focus { border-color: var(--bg-teal); background: rgba(255,255,255,.12); }
.comm-cta__form-wrap .comm-form__btn { background: var(--accent-yellow); color: #1a1a1a; }
.comm-cta__form-wrap .comm-form__btn:hover { background: #fff; color: #1a1a1a; }
.comm-cta__form-wrap .comm-form__note,
.comm-cta__form-wrap .comm-form__note a { color: rgba(255,255,255,.35); }
.comm-cta__form-wrap .comm-form__success { color: var(--accent-yellow); }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .comm-features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .comm-hero__layout { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
    .comm-hero__form-wrap { max-width: 500px; }
    .comm-cta__layout { grid-template-columns: 1fr; gap: 40px; }
    .comm-cta__form-wrap { max-width: 500px; }
    .comm-industries__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .comm-section-title { font-size: 28px; }
    .comm-hero__title { font-size: 26px; }
    .comm-features__grid { grid-template-columns: 1fr; }
    .comm-case-card { grid-template-columns: 60px 1fr; }
    .comm-case-card__num { font-size: 20px; }
    .comm-case-card__row { flex-direction: column; gap: 6px; }
    .comm-case-card__body { padding: 20px; }
    .comm-cta__title { font-size: 24px; }
}

/* --- PROCESS (Как мы работаем) --- */
.work-steps { margin: 0 auto; position: relative; overflow: hidden; padding: 40px 0; }
.work-steps__title { font-size: 48px; font-weight: 800; text-transform: uppercase; color: #2c2c2c; margin-bottom: 60px; letter-spacing: 1px; }
.work-steps__bg-icon { position: absolute; fill: #eaeaea; z-index: 1; pointer-events: none; }
.work-steps__bg-icon--1 { top: 40px; right: 25%; width: 80px; height: 80px; opacity: 0.7; }
.work-steps__bg-icon--2 { top: 120px; right: 5%; width: 140px; height: 140px; opacity: 0.6; }
.work-steps__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; row-gap: 40px; position: relative; z-index: 2; }
.step-card { display: flex; flex-direction: column; background: transparent; }
.step-card--1 { grid-column: 1; }
.step-card--2 { grid-column: 2; margin-top: 100px; }
.step-card--3 { grid-column: 1; margin-top: -40px; }
.step-card--4 { grid-column: 2; margin-top: 60px; }
.step-card__number { font-size: 36px; font-weight: 700; color: #4a4a4a; margin-bottom: 10px; }
.step-card__header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.step-card__marker { width: 32px; height: 32px; background-color: #d9d9d9; border-radius: 50% !important; flex-shrink: 0; transition: background 0.2s; }
.step-card:hover .step-card__marker { background-color: var(--bg-teal); }
.step-card__title { font-size: 18px; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
.step-card__description { font-size: 14px; color: #7a7a7a; line-height: 1.6; max-width: 480px; }
@media (max-width: 992px) {
    .work-steps__title { font-size: 36px; margin-bottom: 40px; }
    .work-steps__grid { column-gap: 40px; }
    .step-card--2, .step-card--3, .step-card--4 { margin-top: 0; }
    .work-steps__bg-icon--1 { right: 10%; top: 20px; }
    .work-steps__bg-icon--2 { display: none; }
}
@media (max-width: 768px) {
    .work-steps__title { font-size: 28px; text-align: center; margin-bottom: 30px; }
    .work-steps__grid { grid-template-columns: 1fr; row-gap: 35px; }
    .step-card { grid-column: auto !important; }
    .step-card__description { max-width: 100%; }
    .work-steps__bg-icon { display: none; }
}

/* --- ANIMATIONS & HOVER --- */

html { scroll-behavior: smooth; }

/* Иконки услуг в карусели */
.icon-wrapper img { transition: transform 0.25s; }
.icon-wrapper:hover img { transform: scale(1.08); }

/* Дочерние карточки услуги */
.ss-child-card { transition: transform 0.2s, box-shadow 0.2s; }
.ss-child-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }

/* Контентная колонка строки архива */
.svc-row__content { transition: background 0.2s; }
.svc-row:hover .svc-row__content { background: #fafafa; }

/* Кнопка в архиве и CTA */
.btn-calc-submit { transition: background 0.2s; }
.btn-calc-submit:hover { background: #555; }
.ss-cta__btn { transition: opacity 0.2s, transform 0.15s; }
.ss-cta__btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Пункты навигации */
.main-nav > li > a { transition: color 0.15s; }
.main-nav > li > a:hover { color: var(--accent-yellow); }

/* Стрелки в списке дочерних услуг */
.svc-row__children li a { transition: color 0.15s, transform 0.15s; }
.svc-row__children li a:hover { color: var(--bg-teal); transform: translateX(4px); }

/* Иконка-wrapper блока преимуществ (single) */
.ss-adv-item__icon { transition: background 0.2s, transform 0.2s; }
.ss-adv-item:hover .ss-adv-item__icon { background: #3d6b63; transform: translateY(-2px); }

/* «Смотреть все» */
.view-all { transition: color 0.15s, border-color 0.15s; }
.view-all:hover { color: var(--btn-dark); border-color: var(--btn-dark); }

/* --- 404 --- */
.error404-section {
    background-color: var(--bg-teal);
    background-image: repeating-conic-gradient(from 0deg at 70% 30%, rgba(255,255,255,0.03) 0deg 10deg, transparent 10deg 20deg);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    color: #fff;
}
.error404-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.error404-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.error404-code {
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255,255,255,0.08);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
.error404-icon {
    margin-bottom: 24px;
    animation: error404-float 3s ease-in-out infinite;
}
@keyframes error404-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.error404-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    color: #fff;
}
.error404-text {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.75;
    margin-bottom: 40px;
}
.error404-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.error404-btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: opacity 0.2s, transform 0.15s;
}
.error404-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.error404-btn--primary  { background: var(--accent-yellow); color: #222; }
.error404-btn--secondary { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.error404-search { max-width: 400px; margin: 0 auto; }
.error404-search .search-form {
    display: flex;
    gap: 0;
}
.error404-search .search-field {
    flex: 1;
    padding: 13px 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-right: none;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}
.error404-search .search-field::placeholder { color: rgba(255,255,255,0.5); }
.error404-search .search-field:focus { border-color: var(--accent-yellow); }
.error404-search .search-submit {
    padding: 13px 20px;
    background: var(--accent-yellow);
    border: none;
    color: #222;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    transition: opacity 0.2s;
}
.error404-search .search-submit:hover { opacity: 0.88; }
@media (max-width: 575px) {
    .error404-section { padding: 60px 0; }
    .error404-actions { flex-direction: column; align-items: center; }
    .error404-btn { width: 100%; max-width: 280px; text-align: center; }
}