/* ==========================================================================
   1. БАЗОВЫЕ НАСТРОЙКИ, ПЕРЕМЕННЫЕ И СБРОС СТИЛЕЙ
   ========================================================================== */
:root {
    --accent: #007BFF;
    --accent-hover: #0056b3;
    --dark: #111827;
    --text: #4B5563;
    --bg: #F8FAFC;
    --green: #10B981;
    --gradient: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    --font: 'Manrope', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
/* ==========================================================================
   ПРЕЛОАДЕР (ВЕНТИЛЯТОР КОНДИЦИОНЕРА)
   ========================================================================== */
.ac-preloader {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(11, 15, 25, 0.98); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.ac-preloader.is-hidden { 
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
}

.ac-preloader-content { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

/* Обертка вентилятора */
.preloader-fan-wrapper {
    width: 90px; 
    height: 90px; 
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(0, 198, 255, 0.4));
}

.preloader-fan-svg { 
    width: 100%; 
    height: 100%; 
}

/* Безупречно ровное вращение лопастей */
.fan-blades {
    transform-origin: 50px 50px;
    animation: spinFan 0.7s linear infinite;
}

@keyframes spinFan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Текст и прогресс-бар */
.preloader-status { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 16px; 
}

.preloader-text {
    color: #F8FAFC; 
    font-size: 13px; 
    font-weight: 800;
    text-transform: uppercase; 
    letter-spacing: 3px;
    animation: pulseText 1.5s infinite alternate;
}

@keyframes pulseText {
    0% { opacity: 0.5; text-shadow: 0 0 0 transparent; }
    100% { opacity: 1; text-shadow: 0 0 12px rgba(0, 198, 255, 0.9); }
}

.preloader-bar-bg { 
    width: 200px; 
    height: 4px; 
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 4px; 
    overflow: hidden; 
}

.preloader-bar-fill { 
    width: 0%; 
    height: 100%; 
    background: linear-gradient(90deg, #00C6FF, #0072FF); 
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.5); 
    transition: width 0.1s ease; 
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body { 
    font-family: var(--font); 
    background-color: var(--bg); 
    color: var(--text); 
    padding-top: 90px; 
    text-align: left;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { 
    width: 100%;
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

a { 
    text-decoration: none; 
    color: inherit; 
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input {
    font-family: inherit;
}

@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 
    70% { box-shadow: 0 0 0 8px transparent; } 
    100% { box-shadow: 0 0 0 0 transparent; } 
}

/* Всплывающие подсказки (Tooltips) */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--dark);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1000;
}
[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Разделители блоков */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 114, 255, 0.15), transparent);
    margin: 0;
    position: relative;
    z-index: 10;
}


/* ==========================================================================
   2. ШАПКА САЙТА (HEADER) И МОДАЛЬНОЕ ОКНО
   ========================================================================== */
.header {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    z-index: 1000; 
    padding: 15px 0;
    transition: var(--transition);
}

.header-wrapper { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 15px; 
}

.header-logo-group { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.logo { 
    height: 80px; 
    width: auto; 
    display: block; 
}

.header-descriptor {
    border-left: 1px solid #E5E7EB; 
    padding-left: 20px;
    font-size: 14px; 
    font-weight: 800; 
    color: var(--dark); 
    line-height: 1.3;
}

.header-descriptor span {
    display: block; 
    font-size: 11px; 
    font-weight: 600; 
    color: var(--text);
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    margin-top: 3px;
}

.header-contacts-group { 
    display: flex; 
    align-items: center; 
    gap: 24px; 
}

.socials { 
    display: flex; 
    gap: 10px; 
}

.social-btn {
    width: 38px; 
    height: 38px; 
    border-radius: 50%;
    background: var(--gradient); 
    display: flex; 
    justify-content: center; 
    align-items: center;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); 
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.15);
}

.social-btn:hover { 
    transform: translateY(-3px); 
}

.social-btn img { 
    width: 18px; 
    height: 18px; 
}

.phone-block { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}

.work-status {
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 11px; 
    font-weight: 800;
    color: var(--green); 
    text-transform: uppercase; 
    margin-bottom: 2px;
}

.status-dot { 
    width: 6px; 
    height: 6px; 
    background: var(--green); 
    border-radius: 50%; 
    animation: pulse 2s infinite; 
}

.phone { 
    font-size: 20px; 
    font-weight: 900; 
    color: var(--dark); 
    transition: color 0.2s; 
    white-space: nowrap; 
}

.phone:hover { 
    color: var(--accent); 
}

.btn-call {
    background: var(--accent); 
    color: #fff; 
    border: none; 
    padding: 12px 22px;
    border-radius: 8px; 
    font-size: 14px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: var(--transition); 
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.25);
}

.btn-call:hover { 
    background: var(--accent-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
}

/* Модальное окно */
.modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(17, 24, 39, 0.6); 
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 9999;
    opacity: 0; 
    visibility: hidden; 
    transition: var(--transition);
}

.modal-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

.modal-window {
    background: #fff; 
    width: 92%; 
    max-width: 400px; 
    padding: 35px 30px;
    border-radius: 16px; 
    position: relative; 
    transform: translateY(20px); 
    transition: cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
    text-align: left;
}

.modal-overlay.active .modal-window { 
    transform: translateY(0); 
}

.modal-close { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: none; 
    border: none; 
    font-size: 28px; 
    cursor: pointer; 
    color: #9CA3AF; 
    line-height: 1;
    transition: color 0.2s;
}
.modal-close:hover { color: var(--dark); }

.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; color: var(--dark); }
.modal-subtitle { font-size: 14px; color: var(--text); margin-bottom: 24px; }
.input-field { width: 100%; padding: 14px 16px; border: 1px solid #E5E7EB; border-radius: 8px; margin-bottom: 16px; font-size: 15px; outline: none; transition: var(--transition); }
.input-field:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1); }
.btn-submit { width: 100%; background: var(--accent); color: #fff; border: none; padding: 15px; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; transition: var(--transition); }
.btn-submit:hover { background: var(--accent-hover); }
.policy { font-size: 11px; color: #9CA3AF; margin-top: 15px; line-height: 1.4; }


/* ==========================================================================
   3. ГЛАВНЫЙ ЭКРАН (HERO БЛОК)
   ========================================================================== */
.hero { 
    position: relative; 
    padding: 70px 0 90px; 
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute; 
    width: 600px; 
    height: 600px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.06) 0%, transparent 70%);
    top: -100px; 
    left: -100px; 
    z-index: -1; 
    pointer-events: none;
}

.hero-layout { 
    display: flex; 
    align-items: center; 
    gap: 50px; 
}

.hero-content { 
    flex: 1; 
    z-index: 2; 
}

.badge {
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background: #fff;
    color: var(--accent); 
    font-size: 12px; 
    font-weight: 800; 
    padding: 8px 18px;
    border-radius: 50px; 
    text-transform: uppercase; 
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,123,255,0.08); 
    border: 1px solid rgba(0,123,255,0.08);
}

.title { 
    font-size: 48px; 
    font-weight: 900; 
    line-height: 1.1; 
    color: var(--dark); 
    margin-bottom: 20px; 
    text-transform: uppercase; 
}

.title span { 
    background: var(--gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.subtitle { 
    font-size: 17px; 
    line-height: 1.6; 
    margin-bottom: 35px; 
    font-weight: 500; 
    max-width: 520px; 
}

.features { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
    margin-bottom: 35px; 
}

.feature-tag {
    background: #fff; 
    border: 1px solid #E5E7EB; 
    padding: 10px 16px;
    border-radius: 12px; 
    font-size: 14px; 
    font-weight: 700; 
    color: var(--dark);
    display: flex; 
    align-items: center; 
    gap: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.feature-tag svg { 
    width: 18px; 
    height: 18px; 
    color: var(--green); 
}

.action-group { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}

.btn-main {
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    background: var(--gradient);
    color: #fff; 
    border: none; 
    padding: 18px 36px; 
    border-radius: 14px;
    font-size: 16px; 
    font-weight: 800; 
    cursor: pointer; 
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0, 114, 255, 0.35); 
    transition: var(--transition);
}

.btn-main:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 12px 30px rgba(0, 114, 255, 0.45); 
}

.hint { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 13px; 
    font-weight: 700; 
    color: #6B7280; 
}

.hero-visual { 
    flex: 1; 
    position: relative; 
    z-index: 2; 
}

.image-wrapper {
    width: 100%; 
    height: 520px; 
    border-radius: 24px; 
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12); 
    position: relative;
}

.image-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.trust-badge {
    position: absolute; 
    bottom: 40px; 
    left: -30px; 
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px); 
    padding: 14px 20px; 
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08); 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    z-index: 10;
}

.trust-icon { 
    width: 26px; 
    height: 26px; 
    background: var(--green); 
    color: #fff; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-weight: bold; 
    font-size: 13px;
}

.trust-text strong { display: block; font-size: 13px; font-weight: 800; color: #111827; }
.trust-text span { font-size: 11px; color: #64748B; font-weight: 500; }

.master-card {
    position: absolute; 
    right: 20px; 
    bottom: -20px;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    z-index: 20;
}

.master-photo {
    width: 190px; 
    height: 190px; 
    border-radius: 50%; 
    object-fit: cover;
    border: 6px solid #fff; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    background: #fff;
}

.master-info {
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    padding: 8px 22px; 
    border-radius: 50px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-top: -20px; 
    text-align: center; 
    border: 1px solid rgba(255,255,255,0.8); 
    z-index: 2;
}

.master-info strong { display: block; font-size: 15px; font-weight: 900; color: var(--dark); }
.master-info span { font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; }


/* ==========================================================================
   4. БЛОК УСЛУГ И КЛИМАТИЧЕСКИХ РЕШЕНИЙ (СЛАЙДЕР)
   ========================================================================== */
.ac-services-pro { 
    padding: 90px 0; 
    background: #F8FAFC; 
    overflow: hidden; 
    position: relative;
}

.ac-ambient-bg { position: absolute; border-radius: 50%; filter: blur(120px); -webkit-filter: blur(120px); z-index: 1; pointer-events: none; opacity: 0.35; }
.glow-1 { top: 8%; right: -8%; width: 500px; height: 500px; background: rgba(0, 198, 255, 0.15); }
.glow-2 { bottom: -8%; left: -8%; width: 450px; height: 450px; background: rgba(0, 114, 255, 0.12); }

.ac-head-pro { margin-bottom: 45px; position: relative; z-index: 5; }
.ac-tag-pro { 
    display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0072FF; 
    padding: 8px 16px; border-radius: 50px; font-size: 12px; font-weight: 800; text-transform: uppercase; 
    margin-bottom: 12px; border: 1px solid rgba(0, 114, 255, 0.12); box-shadow: 0 4px 12px rgba(0, 114, 255, 0.03);
}
.ac-dot-pulse { width: 6px; height: 6px; background: #0072FF; border-radius: 50%; animation: pulse 2s infinite; }

.ac-title-pro { font-size: 40px; font-weight: 900; color: #111827; line-height: 1.15; margin-bottom: 12px; text-transform: uppercase; letter-spacing: -0.5px; }
.ac-title-pro span { background: linear-gradient(135deg, #00C6FF, #0072FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ac-subtitle-pro { font-size: 16px; color: #64748B; max-width: 620px; line-height: 1.6; font-weight: 500; }

.ac-slider-wrapper { 
    position: relative; 
    display: flex; 
    align-items: center; 
    z-index: 5; 
    margin-bottom: 50px; 
}

.ac-nav-btn {
    position: absolute; 
    z-index: 10; 
    width: 54px; 
    height: 54px;
    background: #fff; 
    border: 1px solid #E5E7EB; 
    border-radius: 50%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    cursor: pointer; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: var(--transition); 
    color: #64748B;
}
.ac-nav-btn:hover { background: #0072FF; color: #fff; border-color: #0072FF; transform: scale(1.08); box-shadow: 0 8px 20px rgba(0, 114, 255, 0.25); }
.ac-nav-btn.prev { left: -27px; }
.ac-nav-btn.next { right: -27px; }

/* Безопасный контейнер слайдера с компенсацией теней */
.ac-slider {
    display: flex; 
    gap: 24px; 
    overflow-x: auto; 
    padding: 15px 4px 30px 4px;
    margin: -15px -4px -30px -4px;
    width: calc(100% + 8px); 
    -ms-overflow-style: none; 
    scrollbar-width: none;
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth;
    cursor: grab;
}
.ac-slider::-webkit-scrollbar { display: none; }
.ac-slider:active { cursor: grabbing; scroll-snap-type: none; }

/* Исправление растягивания карточки: flex-shrink: 0, гибкая ширина */
.ac-card-pro {
    position: relative; 
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 320px; 
    flex-shrink: 0;
    height: 430px;
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 1); 
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02), inset 0 0 0 1px rgba(0, 123, 255, 0.03);
    display: flex; 
    flex-direction: column; 
    overflow: hidden;
    transition: var(--transition); 
    user-select: none;
    scroll-snap-align: start;
}

@media (min-width: 992px) {
    .ac-card-pro:hover { 
        transform: translateY(-8px); 
        box-shadow: 0 25px 45px rgba(0, 114, 255, 0.08), inset 0 0 0 1px rgba(0, 114, 255, 0.15); 
    }
}

.ac-card-visual {
    height: 52%; position: relative; display: flex; justify-content: center; align-items: center;
    background: linear-gradient(180deg, rgba(0,198,255,0.03) 0%, transparent 100%);
    border-bottom: 1px solid rgba(0, 114, 255, 0.04); overflow: hidden;
}
.ac-visual-bg {
    position: absolute; width: 140px; height: 140px; background: radial-gradient(circle, rgba(0,114,255,0.08) 0%, transparent 70%);
    border-radius: 50%; opacity: 0; transition: transform 0.5s ease, opacity 0.5s ease;
}

.ac-svg-art { width: 130px; height: 130px; position: relative; z-index: 2; transition: var(--transition); filter: drop-shadow(0 8px 12px rgba(0, 114, 255, 0.08)); }
.ac-card-body { height: 48%; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.ac-card-title { color: #111827; font-size: 19px; font-weight: 800; line-height: 1.25; margin-bottom: 6px; transition: color 0.3s; }
.ac-card-text { color: #64748B; font-size: 14px; line-height: 1.5; font-weight: 500; }
.ac-card-price { display: inline-block; background: #F1F5F9; color: #0072FF; padding: 6px 14px; border-radius: 6px; font-size: 14px; font-weight: 800; width: max-content; transition: var(--transition); }

/* SVG Инженерные анимации */
@keyframes dashFlow { to { stroke-dashoffset: -40; } }
@keyframes floatUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pumpNeedle { 0% { transform: rotate(-40deg); } 100% { transform: rotate(40deg); } }
@keyframes shieldPop { 0% { transform: scale(0.95); opacity: 0.8; } 100% { transform: scale(1.05); opacity: 1; } }
@keyframes drillSpinSlow { 100% { transform: rotate(360deg); } }

.ac-anim-air { stroke-dasharray: 10 10; stroke-dashoffset: 0; opacity: 0; transition: opacity 0.3s; }
.ac-anim-pipe { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.8s ease; }
.ac-anim-pulse-dot { opacity: 0; transform-origin: center; transition: 0.3s; }
.ac-anim-gauge { transform-origin: 50px 45px; transform: rotate(-40deg); transition: 0.5s; }
.ac-anim-hose { stroke-dasharray: 50; stroke-dashoffset: 50; transition: 1s ease; }
.ac-anim-fan { transform-origin: 50px 80px; }
.ac-anim-dash { stroke-dasharray: 6 6; opacity: 0; }
.ac-anim-float { animation: floatUp 4s ease-in-out infinite; }
.ac-anim-shield { transform-origin: 50px 60px; transition: 0.3s; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; }

@media (min-width: 992px) {
    .ac-card-pro:hover .ac-visual-bg { opacity: 1; transform: scale(1.4); }
    .ac-card-pro:hover .ac-svg-art { transform: scale(1.06); filter: drop-shadow(0 12px 20px rgba(0, 114, 255, 0.15)); }
    .ac-card-pro:hover .ac-card-title { color: #0072FF; }
    .ac-card-pro:hover .ac-card-price { background: #0072FF; color: #fff; }
    .ac-card-pro:hover .ac-anim-air { animation: dashFlow 1.5s linear infinite; opacity: 1; }
    .ac-card-pro:hover .ac-anim-pipe { stroke-dashoffset: 0; }
    .ac-card-pro:hover .ac-anim-pulse-dot { opacity: 1; animation: shieldPop 1.5s infinite alternate; }
    .ac-card-pro:hover .ac-anim-gauge { animation: pumpNeedle 2.5s ease-in-out infinite alternate; stroke: #10B981; }
    .ac-card-pro:hover .ac-anim-hose { stroke-dashoffset: 0; stroke: #10B981; }
    .ac-card-pro:hover .ac-anim-fan { animation: drillSpinSlow 1.5s linear infinite; fill: #0072FF; }
    .ac-card-pro:hover .ac-anim-dash { opacity: 1; animation: dashFlow 1.5s linear infinite; }
    .ac-card-pro:hover .ac-anim-shield { animation: shieldPop 2s infinite alternate; }
}


/* ==========================================================================
   5. БЛОК: СВЕРЛЕНИЕ С ФОТО
   ========================================================================== */
.ac-drill-pro-box {
    margin-top: 25px; 
    border-radius: 24px; 
    padding: 50px; 
    position: relative; 
    z-index: 5;
    background: #fff; 
    border: 1px solid rgba(0, 114, 255, 0.08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 50px;
}

.ac-drill-visual { 
    width: 45%; 
    display: flex; 
    justify-content: flex-start; 
    align-items: center; 
    flex-shrink: 0; 
}

.ac-drill-img { 
    width: 100%; 
    max-width: 460px; 
    height: auto; 
    object-fit: cover; 
    border-radius: 16px; 
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease; 
}

@media (min-width: 992px) { .ac-drill-pro-box:hover .ac-drill-img { transform: scale(1.02); } }

.ac-drill-info { flex: 1; }
.ac-drill-info h3 { font-size: 32px; font-weight: 900; color: #111827; margin-bottom: 16px; text-transform: uppercase; line-height: 1.15; }
.ac-drill-info h3 span { color: #0072FF; }
.ac-drill-info p { color: #4B5563; font-size: 16px; line-height: 1.6; margin-bottom: 25px; max-width: 520px; font-weight: 500; }

.ac-drill-features { display: flex; gap: 10px; flex-wrap: wrap; }
.ac-feat-tag { display: flex; align-items: center; gap: 8px; color: #111827; font-size: 14px; font-weight: 700; background: #F8FAFC; border: 1px solid #E5E7EB; padding: 10px 16px; border-radius: 12px; transition: var(--transition); }
.ac-feat-tag:hover { border-color: #0072FF; background: #fff; box-shadow: 0 4px 12px rgba(0, 114, 255, 0.08); transform: translateY(-2px); }
.ac-feat-tag svg { color: #00C6FF; width: 16px; height: 16px; }


/* ==========================================================================
   6. ИНТЕРАКТИВНЫЙ КВИЗ-КАЛЬКУЛЯТОР
   ========================================================================== */
.ac-quiz-section { 
    padding: 80px 0; 
    background: #F8FAFC; 
    position: relative; 
    overflow: hidden;
}
.glow-quiz-1 { top: -100px; left: -100px; width: 500px; height: 500px; background: rgba(0, 198, 255, 0.08); }
.glow-quiz-2 { bottom: -100px; right: -100px; width: 450px; height: 450px; background: rgba(0, 114, 255, 0.08); }

.ac-qz-wrapper {
    display: grid; 
    grid-template-columns: 300px 1fr; 
    gap: 0;
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #fff; 
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(0, 114, 255, 0.03);
    overflow: hidden; 
    min-height: 500px;
}

.ac-qz-sidebar { background: #fff; border-right: 1px solid #E5E7EB; padding: 35px 25px; display: flex; flex-direction: column; }
.ac-qs-title { color: #111827; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; padding-bottom: 12px; border-bottom: 1px solid #E5E7EB; }
.ac-qs-list { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.ac-qs-item { display: flex; gap: 12px; opacity: 0.35; transition: opacity 0.4s ease; align-items: center; }
.ac-qs-item.is-completed { opacity: 1; }
.ac-qs-item.is-completed .ac-qs-icon { color: #0072FF; border-color: rgba(0, 114, 255, 0.15); background: rgba(0, 114, 255, 0.04); }

.ac-qs-icon { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: center; color: #9CA3AF; flex-shrink: 0; transition: var(--transition); background: #F8FAFC; }
.ac-qs-icon svg { width: 16px; height: 16px; }
.ac-qs-text { display: flex; flex-direction: column; gap: 2px; }
.ac-qs-text span { color: #64748B; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.ac-qs-text strong { color: #111827; font-size: 13px; font-weight: 800; line-height: 1.2; }

.ac-qs-footer { margin-top: auto; padding-top: 25px; display: flex; flex-direction: column; gap: 8px; }
.ac-qs-progress-bar { width: 100%; height: 6px; background: #F1F5F9; border-radius: 6px; overflow: hidden; }
.ac-qs-progress-fill { height: 100%; background: linear-gradient(90deg, #00C6FF, #0072FF); transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.ac-qs-footer span { color: #64748B; font-size: 12px; font-weight: 700; }

.ac-qz-main { padding: 45px; position: relative; }
.ac-qz-step { display: none; animation: qzFadeStep 0.4s forwards; }
.ac-qz-step.is-active { display: block; }
@keyframes qzFadeStep { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: translateX(0); } }

.ac-btn-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: #64748B; font-size: 13px; font-weight: 700; cursor: pointer; margin-bottom: 20px; transition: color 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
.ac-btn-back svg { width: 16px; height: 16px; }
.ac-btn-back:hover { color: #0072FF; }

.ac-step-title { color: #111827; font-size: 24px; font-weight: 900; margin-bottom: 8px; line-height: 1.25; }
.ac-step-subtitle { color: #64748B; font-size: 14px; font-weight: 500; margin-bottom: 25px; }

.ac-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ac-step-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Карточка вопроса как баттон: убираем дефолтные стили кнопок */
.ac-q-card { 
    background: #fff; 
    border: 1px solid #E5E7EB; 
    border-radius: 14px; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 12px; 
    cursor: pointer; 
    transition: var(--transition); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    width: 100%;
}
@media (min-width: 992px) { .ac-q-card:hover { border-color: rgba(0, 114, 255, 0.35); box-shadow: 0 8px 20px rgba(0, 114, 255, 0.08); transform: translateY(-3px); } }
.ac-q-card.is-selected { border-color: #0072FF; background: rgba(0, 114, 255, 0.02); box-shadow: 0 8px 20px rgba(0, 114, 255, 0.12); transform: translateY(-3px); }

.ac-q-visual { width: 90px; height: 90px; display: flex; align-items: center; justify-content: center; position: relative; margin: 0 auto; }
.ac-q-visual svg { width: 100%; height: 100%; overflow: visible; }
.ac-q-text { display: flex; flex-direction: column; gap: 4px; text-align: left; width: 100%; }
.ac-q-text strong { color: #111827; font-size: 15px; font-weight: 800; }
.ac-q-text span { color: #64748B; font-size: 13px; font-weight: 500; line-height: 1.4; }

/* Финал квиза */
.ac-qz-final { width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: flex-start; }
.ac-final-icon { width: 54px; height: 54px; background: rgba(16, 185, 129, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.ac-final-icon svg { width: 26px; height: 26px; }
.ac-qz-form { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.ac-input-pro { width: 100%; padding: 15px 18px; border: 1px solid #E5E7EB; border-radius: 10px; font-size: 15px; transition: var(--transition); background: #fff; outline: none; }
.ac-input-pro:focus { border-color: #0072FF; box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.08); }
.ac-btn-pro { background: var(--gradient); color: #fff; border: none; padding: 16px; border-radius: 10px; font-size: 15px; font-weight: 800; cursor: pointer; transition: var(--transition); box-shadow: 0 8px 20px rgba(0, 114, 255, 0.25); text-align: center; }
.ac-btn-pro:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 114, 255, 0.35); }
.ac-privacy-note { font-size: 11px; color: #9CA3AF; line-height: 1.4; margin-top: 4px; }

/* Анимации наведения в квизе */
@keyframes spreadCool { 0% { r: 0; opacity: 1; } 100% { r: var(--max-r); opacity: 0; } }
@media (min-width: 992px) {
    .ac-q-card:hover .cool-small { --max-r: 20px; animation: spreadCool 1.5s infinite; }
    .ac-q-card:hover .cool-medium { --max-r: 35px; animation: spreadCool 1.5s infinite; }
    .ac-q-card:hover .cool-large { --max-r: 50px; animation: spreadCool 1.5s infinite; }
    .ac-q-card:hover .qz-anim-draw-pipe { stroke-dashoffset: 0; }
    .ac-q-card:hover .qz-anim-pulse-orange { animation: shieldPop 1s infinite alternate; }
    .ac-q-card:hover .qz-anim-fade-box { opacity: 1; }
    .ac-q-card:hover .qz-anim-air-b { animation: dashFlow 1s linear infinite; opacity: 1; }
}


/* ==========================================================================
   7. БЛОК ПОРТФОЛИО И НАШИХ РАБОТ
   ========================================================================== */
.ac-portfolio-pro { 
    padding: 80px 0; 
    background: #fff; 
    position: relative; 
    overflow: hidden; 
}
.glow-port-1 { top: 15%; right: -5%; width: 450px; height: 450px; background: rgba(0, 114, 255, 0.06); }

.ac-port-slider-wrapper { 
    margin-bottom: 45px; 
    position: relative; 
}

/* Портфолио слайдер с компенсацией теней и flex-shrink */
.ac-port-slider {
    display: flex; 
    gap: 24px; 
    overflow-x: auto; 
    padding: 15px 4px 35px 4px;
    margin: -15px -4px -35px -4px;
    width: calc(100% + 8px); 
    -ms-overflow-style: none; 
    scrollbar-width: none;
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth;
    cursor: grab;
}
.ac-port-slider::-webkit-scrollbar { display: none; }
.ac-port-slider:active { cursor: grabbing; scroll-snap-type: none; }

.ac-port-card {
    position: relative; 
    width: 380px;
    min-width: 380px;
    max-width: 380px;
    flex: 0 0 380px; 
    flex-shrink: 0;
    height: 440px;
    border-radius: 20px; 
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    background: #F8FAFC; 
    user-select: none;
    scroll-snap-align: start;
}
.ac-port-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.ac-port-overlay {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateY(calc(100% - 72px)); 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.ac-port-content { padding: 22px; }
.ac-port-content h3 { color: #111827; font-size: 17px; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.ac-port-content p { color: #4B5563; font-size: 14px; line-height: 1.5; font-weight: 500; margin: 0; opacity: 0; transition: opacity 0.3s ease; }

@media (min-width: 992px) {
    .ac-port-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 114, 255, 0.1); }
    .ac-port-card:hover .ac-port-img { transform: scale(1.04); }
    .ac-port-card:hover .ac-port-overlay { transform: translateY(0); } 
    .ac-port-card:hover .ac-port-content p { opacity: 1; transition-delay: 0.15s; }
}

/* Интеграция баннера ВКонтакте */
.ac-vk-super-banner {
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    background: linear-gradient(135deg, #0072FF, #00C6FF);
    padding: 30px 40px; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(0, 114, 255, 0.25);
    transition: var(--transition); 
    z-index: 5;
}
.ac-vk-super-banner:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(0, 114, 255, 0.35); }

.ac-vk-pulse-bg { position: absolute; top: -50%; right: -10%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%); border-radius: 50%; animation: shieldPop 3s infinite alternate; pointer-events: none; }
.ac-vk-flex { display: flex; align-items: center; gap: 20px; position: relative; z-index: 2; }
.ac-vk-icon-wrap { width: 56px; height: 56px; background: #fff; border-radius: 14px; display: flex; justify-content: center; align-items: center; box-shadow: 0 8px 16px rgba(0,0,0,0.06); flex-shrink: 0; transition: transform 0.4s ease; }
.ac-vk-icon-wrap img { width: 30px; height: 30px; }
.vk-blue-filter { filter: brightness(0) saturate(100%) invert(35%) sepia(85%) saturate(3266%) hue-rotate(195deg) brightness(101%) contrast(107%); }
.ac-vk-super-banner:hover .ac-vk-icon-wrap { transform: scale(1.08) rotate(-8deg); }

.ac-vk-text { display: flex; flex-direction: column; gap: 4px; }
.ac-vk-text strong { color: #fff; font-size: 20px; font-weight: 900; line-height: 1.15; }
.ac-vk-text span { color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500; }

.ac-vk-arrow { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; justify-content: center; align-items: center; color: #fff; backdrop-filter: blur(5px); transition: var(--transition); flex-shrink: 0; }
.ac-vk-arrow svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.ac-vk-super-banner:hover .ac-vk-arrow { background: #fff; color: #0072FF; }
.ac-vk-super-banner:hover .ac-vk-arrow svg { transform: translateX(4px); }


/* ==========================================================================
   8. СТРОГАЯ АДАПТИВНОСТЬ И ОПТИМИЗАЦИЯ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА
   ========================================================================== */

/* Планшеты и мелкие ПК (до 991px) */
@media (max-width: 991px) {
    .hero-layout { flex-direction: column; gap: 45px; }
    .hero-visual { width: 100%; max-width: 540px; margin: 0 auto; }
    .image-wrapper { height: 420px; }
    .trust-badge { top: 20px; left: 20px; bottom: auto; }
    .title { font-size: 40px; }
    
    .ac-drill-pro-box { flex-direction: column; padding: 40px; }
    .ac-drill-visual { width: 100%; max-width: 440px; margin: 0 auto 10px; }
    .ac-qz-wrapper { grid-template-columns: 1fr; min-height: auto; }
    .ac-qz-sidebar { display: none; } /* В дефолтном шаблоне скрываем, чтобы разгрузить интерфейс смартфона */
    
    .ac-port-overlay { transform: translateY(0); padding-top: 10px; }
    .ac-port-content p { opacity: 1; }
    .ac-vk-super-banner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 25px; }
    .ac-vk-arrow { align-self: flex-end; }
}

/* Смартфоны (до 768px) - РЕШЕНИЕ ПРОБЛЕМЫ РАСТЯГИВАНИЯ ИЗОБРАЖЕНИЙ И СЛАЙДЕРОВ */
@media (max-width: 768px) {
    body { padding-top: 76px; }
    .header { padding: 10px 0; }
    .logo { height: 60px; }
    .header-descriptor { display: none !important; }
    .header-contacts-group { justify-content: flex-end; gap: 12px; }
    .phone { font-size: 15px; } 
    .work-status { font-size: 9px; }
    .social-btn { width: 32px; height: 32px; }
    .social-btn img { width: 14px; height: 14px; }
    .btn-call { display: none; } /* Прячем кнопку на мелких экранах для чистоты шапки */

    .hero { padding: 25px 0 60px; }
    .title { font-size: 30px; margin-bottom: 15px; }
    .subtitle { font-size: 15px; margin-bottom: 25px; }
    .badge { margin-bottom: 20px; padding: 6px 14px; }
    
    /* Контроль высоты картинки в Hero, чтобы она не была во весь экран телефона */
    .image-wrapper { 
        height: auto; 
        aspect-ratio: 4 / 3; 
        border-radius: 16px; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .trust-badge { padding: 8px 14px; border-radius: 12px; }
    .trust-text strong { font-size: 11px; }
    .trust-text span { font-size: 9px; }
    
    .master-card { 
        position: relative; 
        right: auto; 
        bottom: auto; 
        margin-top: 20px;
        width: 100%; 
    }
    .master-photo { 
    width: 190px; 
    height: 190px; 
    border: none; 
    box-shadow: 0 0 25px rgba(0, 114, 255, 0.35); 
}
.master-info { 
    padding: 8px 18px; 
    margin-top: -16px; 
}
    .master-info strong { font-size: 13px; }
    .master-info span { font-size: 9px; }
    
    .features { gap: 8px; margin-bottom: 25px; }
    .feature-tag { padding: 8px 12px; font-size: 12px; border-radius: 10px; }
    .action-group { flex-direction: column; align-items: stretch; gap: 12px; }
    .btn-main { width: 100%; justify-content: center; padding: 16px; font-size: 15px; border-radius: 12px; }
    .hint { justify-content: center; }

    .ac-services-pro, .ac-quiz-section, .ac-portfolio-pro { padding: 50px 0; }
    .ac-title-pro { font-size: 28px; }
    .ac-subtitle-pro { font-size: 14px; }
    .ac-nav-btn { display: none !important; } /* Убираем стрелки на мобилках, там решает чистый swipe */

    /* Фикс слайдера услуг на мобилках: жесткие размеры карт без возможности деформации */
    .ac-slider {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        gap: 16px;
    }
    .ac-card-pro { 
        width: 280px;
        min-width: 280px;
        max-width: 280px;
        flex: 0 0 280px;
        flex-shrink: 0; /* Запрет сжатия */
        height: 380px; 
        border-radius: 16px;
    }
    .ac-svg-art { width: 100px; height: 100px; }
    .ac-card-body { padding: 18px; }
    .ac-card-title { font-size: 17px; }
    .ac-card-text { font-size: 13px; }

    .ac-drill-pro-box { padding: 25px; border-radius: 16px; gap: 20px; }
    .ac-drill-info h3 { font-size: 24px; }
    .ac-drill-info p { font-size: 14px; margin-bottom: 20px; }
    .ac-feat-tag { padding: 8px 12px; font-size: 12px; }

    /* Квиз на смартфонах */
    .ac-qz-main { padding: 25px 15px; }
    .ac-step-title { font-size: 20px; }
    .ac-step-grid { grid-template-columns: 1fr !important; gap: 12px; }
    .ac-q-card { flex-direction: row; align-items: center; padding: 14px; gap: 14px; border-radius: 12px; }
    .ac-q-visual { width: 60px; height: 60px; flex-shrink: 0; margin: 0; }
    .ac-q-text strong { font-size: 14px; }
    .ac-q-text span { font-size: 12px; }
    
    /* Фикс слайдера портфолио: жесткие размеры без растягиваний во весь экран */
    .ac-port-slider {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        gap: 16px;
    }
    .ac-port-card { 
        width: 290px;
        min-width: 290px;
        max-width: 290px;
        flex: 0 0 290px;
        flex-shrink: 0; /* Полный контроль структуры */
        height: 360px; 
        border-radius: 16px;
    }
    .ac-port-overlay { transform: translateY(0); }
    .ac-port-content { padding: 16px; }
    .ac-port-content h3 { font-size: 15px; margin-bottom: 6px; }
    .ac-port-content p { font-size: 13px; opacity: 1; }

    .ac-vk-super-banner { padding: 20px; border-radius: 16px; }
    .ac-vk-text strong { font-size: 17px; }
    .ac-vk-text span { font-size: 12px; }
    .ac-vk-icon-wrap { width: 46px; height: 46px; border-radius: 10px; }
    .ac-vk-icon-wrap img { width: 24px; height: 24px; }
}

/* Экстремально маленькие экраны (до 360px) */
@media (max-width: 359px) {
    .phone { font-size: 13px; }
    .title { font-size: 26px; }
    .ac-card-pro { width: 250px; min-width: 250px; max-width: 250px; flex: 0 0 250px; }
    .ac-port-card { width: 250px; min-width: 250px; max-width: 250px; flex: 0 0 250px; }
}
/* ==========================================================================
   9. БЛОК ОТЗЫВОВ (INFINITE MARQUEE + VECTOR STARS)
   ========================================================================== */
.ac-reviews-pro {
    padding: 90px 0 110px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.glow-rev-1 { top: 20%; left: -5%; width: 500px; height: 500px; background: rgba(0, 198, 255, 0.05); }

.ac-rev-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
}

.ac-rev-title-area {
    max-width: 600px;
}

/* Кликабельный блок Авито */
.ac-rev-rating-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #F8FAFC;
    padding: 16px 20px 16px 16px;
    border-radius: 18px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.ac-rev-rating-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 114, 255, 0.12);
    border-color: rgba(0, 114, 255, 0.2);
}

.rev-avito-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.rev-avito-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rev-score-data strong { display: block; font-size: 28px; font-weight: 900; color: #111827; line-height: 1; }
.rev-score-data span { font-size: 11px; color: #64748B; font-weight: 700; text-transform: uppercase; }

/* CSS Векторные звезды (Рендерятся налету, не грузят HTML) */
.ac-stars-vector {
    display: block;
    width: 85px; /* 5 звезд по 17px */
    height: 17px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F59E0B'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
    background-size: 17px 17px;
    background-repeat: repeat-x;
    margin-bottom: 12px;
}
.ac-stars-vector.large {
    width: 90px;
    height: 18px;
    background-size: 18px 18px;
    margin: 4px 0;
}

/* Стрелочка */
.rev-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #E5E7EB;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748B;
    margin-left: 10px;
    transition: var(--transition);
    flex-shrink: 0;
}

.rev-arrow svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.ac-rev-rating-box:hover .rev-arrow { background: #0072FF; color: #fff; }
.ac-rev-rating-box:hover .rev-arrow svg { transform: translateX(3px); }


/* Настройки бегущей строки */
.ac-marquee-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%); 
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 5;
    padding: 10px 0;
}

.ac-marquee-wrapper::before,
.ac-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}
.ac-marquee-wrapper::before { left: 0; background: linear-gradient(to right, #fff 0%, transparent 100%); }
.ac-marquee-wrapper::after { right: 0; background: linear-gradient(to left, #fff 0%, transparent 100%); }

.ac-marquee-track {
    display: flex;
    width: max-content;
}

.ac-marquee-content {
    display: flex;
    gap: 24px;
    padding-right: 24px; 
}

/* Анимации */
.track-left { animation: scrollLeft 45s linear infinite; will-change: transform; }
.track-right { animation: scrollRight 40s linear infinite; will-change: transform; }

@media (hover: hover) {
    .track-left:hover, .track-right:hover { animation-play-state: paused; }
}

@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Карточка отзыва */
.ac-review-card {
    width: 380px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 114, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    cursor: default;
}
.ac-review-card:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0, 114, 255, 0.1); border-color: rgba(0, 114, 255, 0.2); }

.ac-rev-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ac-rev-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.ac-rev-meta { display: flex; flex-direction: column; }
.ac-rev-meta strong { color: #111827; font-size: 15px; font-weight: 800; }
.ac-rev-meta span { color: #9CA3AF; font-size: 12px; font-weight: 500; }

.ac-rev-text { color: #4B5563; font-size: 14px; line-height: 1.6; font-weight: 500; margin: 0; }

/* Адаптивность */
@media (max-width: 991px) {
    .ac-rev-header-split { flex-direction: column; align-items: flex-start; gap: 25px; margin-bottom: 40px; }
    .ac-rev-rating-box { width: 100%; justify-content: flex-start; }
    .rev-arrow { margin-left: auto; } /* Сдвигаем стрелку вправо на планшетах */
}

@media (max-width: 768px) {
    .ac-reviews-pro { padding: 50px 0 60px; }
    .ac-rev-rating-box { padding: 12px 16px; border-radius: 16px; gap: 14px; }
    .rev-avito-icon { width: 50px; height: 50px; border-radius: 12px; }
    .rev-score-data strong { font-size: 24px; }
    .rev-arrow { width: 32px; height: 32px; }
    
    .ac-marquee-wrapper::before, .ac-marquee-wrapper::after { width: 8%; }
    .ac-review-card { width: 300px; padding: 20px; border-radius: 16px; }
    .ac-rev-avatar { width: 38px; height: 38px; font-size: 15px; }
    .ac-rev-meta strong { font-size: 14px; }
    .ac-rev-text { font-size: 13px; }
    .ac-marquee-wrapper { gap: 16px; }
    .ac-marquee-content { gap: 16px; padding-right: 16px; }
}
/* ==========================================================================
   10. БЛОК FAQ (ЧАСТЫЕ ВОПРОСЫ)
   ========================================================================== */
.ac-faq-pro {
    padding: 100px 0;
    background: #F8FAFC;
    position: relative;
    overflow: hidden;
}

.glow-faq-1 { bottom: -10%; left: -5%; width: 600px; height: 600px; background: rgba(0, 114, 255, 0.05); }

.ac-faq-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 5;
}

.ac-faq-sidebar {
    width: 40%;
    position: sticky;
    top: 120px; /* Залипает при скролле */
}

.ac-faq-sidebar .ac-title-pro { margin-bottom: 20px; }
.ac-faq-sidebar .ac-subtitle-pro { margin-bottom: 35px; }

.ac-faq-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    width: max-content;
}

.faq-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(0, 114, 255, 0.08);
    color: #0072FF;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.faq-icon-wrap svg { width: 24px; height: 24px; }

.faq-contact-text { display: flex; flex-direction: column; }
.faq-contact-text span { font-size: 12px; color: #64748B; font-weight: 600; text-transform: uppercase; margin-bottom: 2px; }
.faq-contact-text a { font-size: 20px; font-weight: 900; color: #111827; transition: color 0.2s; }
.faq-contact-text a:hover { color: #0072FF; }

/* Список вопросов */
.ac-faq-list {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ac-faq-item {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.ac-faq-item.is-active {
    border-color: #0072FF;
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.1);
}

.ac-faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-q-text {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    padding-right: 20px;
    transition: color 0.2s;
}
.ac-faq-item.is-active .faq-q-text { color: #0072FF; }

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F8FAFC;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: #111827;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, background 0.3s ease;
}
.faq-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.ac-faq-item.is-active .faq-toggle-icon { background: #0072FF; }
.ac-faq-item.is-active .faq-toggle-icon::before,
.ac-faq-item.is-active .faq-toggle-icon::after { background: #fff; }
.ac-faq-item.is-active .faq-toggle-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

/* Анимация контента через CSS Grid */
.ac-faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.ac-faq-item.is-active .ac-faq-content {
    grid-template-rows: 1fr;
}

.faq-content-inner {
    overflow: hidden;
    padding: 0 24px;
    color: #4B5563;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}
.ac-faq-item.is-active .faq-content-inner {
    padding: 0 24px 24px 24px;
}

.faq-content-inner strong { color: #111827; font-weight: 800; }
.faq-bullet-list { margin: 12px 0 12px 20px; }
.faq-bullet-list li { margin-bottom: 6px; }

/* Адаптивность FAQ */
@media (max-width: 991px) {
    .ac-faq-layout { flex-direction: column; gap: 40px; }
    .ac-faq-sidebar, .ac-faq-list { width: 100%; }
    .ac-faq-sidebar { position: static; }
}

@media (max-width: 768px) {
    .ac-faq-pro { padding: 60px 0; }
    .ac-faq-contact { width: 100%; padding: 16px; }
    .faq-contact-text a { font-size: 18px; }
    .ac-faq-trigger { padding: 20px; }
    .faq-q-text { font-size: 15px; }
    .faq-content-inner { font-size: 14px; }
}
/* ==========================================================================
   11. БЛОК ЭТАПЫ РАБОТ
   ========================================================================== */
.ac-steps-pro {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.glow-steps-1 { top: 10%; right: -5%; width: 500px; height: 500px; background: rgba(0, 114, 255, 0.04); }

.ac-steps-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 5;
}

.ac-steps-header {
    width: 35%;
    position: sticky;
    top: 120px;
}

.ac-steps-grid {
    width: 65%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ac-step-card {
    position: relative;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 30px;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.ac-step-card:hover {
    background: #fff;
    border-color: rgba(0, 114, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 114, 255, 0.08);
    transform: translateY(-5px);
}

.step-bg-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 100px;
    font-weight: 900;
    color: rgba(0, 114, 255, 0.04);
    line-height: 1;
    z-index: -1;
    transition: var(--transition);
    user-select: none;
}

.ac-step-card:hover .step-bg-number {
    color: rgba(0, 114, 255, 0.08);
    transform: scale(1.1) translate(-5px, 5px);
}

.step-icon {
    width: 54px;
    height: 54px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0072FF;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    transition: var(--transition);
}
.step-icon svg { width: 24px; height: 24px; }
.ac-step-card:hover .step-icon { background: #0072FF; color: #fff; box-shadow: 0 10px 25px rgba(0, 114, 255, 0.3); }

.step-title {
    font-size: 19px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-desc {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    font-weight: 500;
}

/* Адаптивность для этапов */
@media (max-width: 991px) {
    .ac-steps-layout { flex-direction: column; gap: 40px; }
    .ac-steps-header, .ac-steps-grid { width: 100%; }
    .ac-steps-header { position: static; }
}

@media (max-width: 768px) {
    .ac-steps-pro { padding: 60px 0; }
    .ac-steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .ac-step-card { padding: 24px; }
    .step-bg-number { font-size: 80px; }
    .step-title { font-size: 17px; }
    .step-desc { font-size: 13px; }
}
/* ==========================================================================
   12. ТЕМНЫЙ ПОДВАЛ (FOOTER) С ЮРИДИЧЕСКИМИ ДАННЫМИ
   ========================================================================== */
.ac-footer-dark {
    background: #0B0F19;
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
    color: #94A3B8;
}

.glow-foot { bottom: -20%; right: -10%; width: 500px; height: 500px; background: rgba(0, 114, 255, 0.06); }

/* Верхняя секция: Карта + плашка */
.ac-footer-top {
    display: flex;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 60px;
    min-height: 380px;
    position: relative;
    z-index: 5;
}

.ac-footer-map-card {
    width: 40%;
    padding: 45px;
    background: #111827;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ac-footer-map-card .ac-tag-pro {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #38BDF8;
    width: max-content;
}
.ac-footer-map-card .ac-dot-pulse { background: #38BDF8; }

.map-card-title { font-size: 24px; font-weight: 900; color: #F8FAFC; margin: 15px 0 10px 0; line-height: 1.25; text-transform: uppercase; }
.map-card-desc { font-size: 14px; color: #94A3B8; line-height: 1.6; margin-bottom: 25px; font-weight: 500; }

.map-features-list { display: flex; flex-direction: column; gap: 10px; }
.map-feat-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #F1F5F9; }
.map-feat-icon { width: 20px; height: 20px; background: rgba(16, 185, 129, 0.15); color: #34D399; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 11px; }

/* Карта с фильтром под ночной режим */
.ac-footer-map-wrap {
    width: 60%;
    position: relative;
    filter: invert(90%) hue-rotate(180deg) grayscale(40%) contrast(110%);
    -webkit-filter: invert(90%) hue-rotate(180deg) grayscale(40%) contrast(110%);
}

/* Главная секция подвала */
.ac-footer-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 5;
}

.f-main-col { display: flex; flex-direction: column; }
.f-logo-dark { 
    height: auto; 
    max-height: 80px; /* Увеличили высоту для заметности */
    width: auto; 
    display: block; 
    margin: 0 0 20px 0; /* Убрали авто-отступы по бокам, чтобы прижать влево */
    margin-left: 0; 
    object-fit: contain; 
    filter: brightness(0) invert(1);
    text-align: left; /* Гарантирует прижатие к левому краю */
}

/* Дополнительно проверяем контейнер колонки, чтобы он не центрировал содержимое */
.f-main-col { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; /* Прижимаем все элементы колонки к левому краю */
}
.f-brand-text { font-size: 14px; line-height: 1.6; color: #94A3B8; font-weight: 500; margin-bottom: 20px; }

.f-socials-row { display: flex; gap: 10px; }
.f-social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: center; align-items: center; transition: var(--transition); }
.f-social-link:hover { background: #0072FF; border-color: #0072FF; transform: translateY(-3px); }
.f-social-link img { width: 16px; height: 16px; filter: brightness(0) invert(1); }

.f-col-title { font-size: 14px; font-weight: 800; color: #F1F5F9; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 22px; }

.f-links-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.f-links-list a { font-size: 14px; font-weight: 600; color: #94A3B8; transition: color 0.2s; }
.f-links-list a:hover { color: #38BDF8; }

.f-contact-block { display: flex; flex-direction: column; gap: 16px; }
.f-contact-item { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.f-contact-item span { color: #64748B; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.f-contact-item strong { color: #F1F5F9; font-weight: 700; }
.f-phone-link { font-size: 20px; font-weight: 900; color: #F8FAFC; transition: color 0.2s; width: max-content; }
.f-phone-link:hover { color: #38BDF8; }
.f-mail-link { font-weight: 600; color: #94A3B8; transition: color 0.2s; width: max-content; }
.f-mail-link:hover { color: #38BDF8; }

/* Нижняя юридическая секция */
.ac-footer-bottom {
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    font-size: 13px;
    position: relative;
    z-index: 5;
}

.f-bottom-legal { display: flex; flex-direction: column; gap: 4px; color: #64748B; font-weight: 600; min-width: 280px; }
.f-ogrn-text { font-size: 11px; }

.f-bottom-links { display: flex; flex-direction: column; gap: 10px; max-width: 680px; text-align: right; }
.f-policy-row { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.f-policy-row a { color: #94A3B8; font-weight: 600; transition: color 0.2s; }
.f-policy-row a:hover { color: #38BDF8; }
.f-legal-dot { color: rgba(255,255,255,0.1); }
.f-oferta-text { font-size: 11px; color: #475569; line-height: 1.5; text-align: justify; }

/* Адаптивность */
@media (max-width: 991px) {
    .ac-footer-top { flex-direction: column; min-height: auto; }
    .ac-footer-map-card, .ac-footer-map-wrap { width: 100%; }
    .ac-footer-map-wrap { height: 300px; }
    .ac-footer-main { grid-template-columns: 1fr; gap: 35px; padding-bottom: 40px; }
    .ac-footer-bottom { flex-direction: column; gap: 25px; }
    .f-bottom-links { text-align: left; }
    .f-policy-row { justify-content: flex-start; flex-wrap: wrap; gap: 8px 12px; }
    .f-legal-dot { display: none; }
}

@media (max-width: 768px) {
    .ac-footer-dark { padding: 50px 0 30px 0; }
    .ac-footer-map-card { padding: 30px 20px; }
    .map-card-title { font-size: 20px; }
    .f-phone-link { font-size: 18px; }
}
/* ==========================================================================
   ОБНОВЛЕННЫЙ УВЕЛИЧЕННЫЙ ВИДЖЕТ СВЯЗИ С СТА И ЕДИНЫМ СТИЛЕМ
   ========================================================================== */
.contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Контейнер триггера (кнопка + надпись) */
.widget-trigger-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

/* Красивая надпись перед кнопкой (CTA) */
.widget-cta-tag {
    background: #111827;
    color: #F8FAFC;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Новые увеличенные размеры главной кнопки */
.widget-main-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 28px rgba(0, 198, 255, 0.45);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.widget-main-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: widgetPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes widgetPulse {
    to { box-shadow: 0 0 0 24px rgba(0, 198, 255, 0); opacity: 0; transform: scale(1.15); }
}

.widget-icon-open, .widget-icon-close {
    width: 30px;
    height: 30px;
    position: absolute;
    transition: all 0.3s ease;
}

.widget-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Анимация триггера при открытии */
.contact-widget.is-open .widget-icon-open { opacity: 0; transform: rotate(90deg) scale(0.5); }
.contact-widget.is-open .widget-icon-close { opacity: 1; transform: rotate(0) scale(1); }
.contact-widget.is-open .widget-main-btn::before { animation: none; }
.contact-widget.is-open .widget-cta-tag { background: #EF4444; color: #fff; }

/* Увеличенное меню вылетающих кнопок */
.widget-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
    position: absolute;
    bottom: 100%;
    right: 6px; /* Идеальное выравнивание по оси кнопки */
    pointer-events: none;
}

/* Увеличенные вылетающие кнопки */
.widget-item {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    opacity: 0;
    transform: translateY(25px) scale(0.7);
}

.widget-item svg, .widget-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

/* МАГИЯ ОКРАШИВАНИЯ: Делаем белые иконки сине-голубыми в цвет дизайна */
.widget-item.style-brand-icon img {
    /* Секрет в brightness(0) в самом начале — он делает белую иконку черной, а затем остальные фильтры красят её в синий */
    filter: brightness(0) saturate(100%) invert(36%) sepia(85%) saturate(2259%) hue-rotate(205deg) brightness(101%) contrast(106%) drop-shadow(0px 2px 4px rgba(0, 114, 255, 0.2));
}

.widget-item:hover {
    background: #111827;
    transform: scale(1.12) !important;
}

/* При наведении фон становится темным, поэтому возвращаем иконке чисто белый цвет */
.widget-item.style-brand-icon:hover img,
.contact-widget.is-open .widget-item.style-brand-icon:hover img {
    filter: brightness(0) invert(1);
}

.contact-widget.is-open .widget-menu { pointer-events: auto; }
.contact-widget.is-open .widget-item { opacity: 1; transform: translateY(0) scale(1); }

/* Плавный ступенчатый вылет */
.contact-widget.is-open .widget-item:nth-child(4) { transition-delay: 0.0s; }
.contact-widget.is-open .widget-item:nth-child(3) { transition-delay: 0.04s; }
.contact-widget.is-open .widget-item:nth-child(2) { transition-delay: 0.08s; }
.contact-widget.is-open .widget-item:nth-child(1) { transition-delay: 0.12s; }

/* Адаптивность под мобилки */
@media (max-width: 768px) {
    .contact-widget { bottom: 20px; right: 20px; }
    .widget-main-btn { width: 62px; height: 62px; }
    .widget-item { width: 52px; height: 52px; }
    .widget-menu { right: 5px; gap: 12px; }
    .widget-cta-tag { font-size: 12px; padding: 8px 14px; }
}
/* ==========================================================================
   WOW-БЛОК С КОНВЕРСИЕЙ: ИНТЕРАКТИВНЫЙ СИМУЛЯТОР (ПРЕМИУМ ВЕРСИЯ)
   ========================================================================== */
.climate-simulator-section {
    padding: 100px 0;
    background: #F8FAFC;
    overflow: hidden;
    position: relative;
}

.glow-sim-1 { top: 0; left: -10%; width: 500px; height: 500px; background: rgba(0, 114, 255, 0.05); }

.ac-sim-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 5;
}

.ac-sim-text-content { flex: 1; max-width: 520px; }
.ac-sim-visual { flex: 1.1; width: 100%; }

.sim-wrapper {
    position: relative;
    width: 100%;
    background: #111827;
    border-radius: 28px;
    padding: 60px 40px 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: all 0.5s ease;
    
    --sim-color: #10B981;
    --sim-bg: rgba(16, 185, 129, 0.1);
    --sim-air-speed: 2.5s;
}

.sim-wrapper[data-mode="cold"] {
    --sim-color: #00C6FF;
    --sim-bg: rgba(0, 198, 255, 0.15);
    --sim-air-speed: 1.2s;
    box-shadow: 0 0 60px rgba(0, 198, 255, 0.2);
}

.sim-wrapper[data-mode="hot"] {
    --sim-color: #FF512F;
    --sim-bg: rgba(255, 81, 47, 0.15);
    --sim-air-speed: 2s;
    box-shadow: 0 0 60px rgba(255, 81, 47, 0.2);
}

.sim-background {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 30%, var(--sim-bg) 0%, transparent 60%);
    z-index: 1;
    transition: background 0.8s ease;
}

.sim-ac-unit { position: relative; z-index: 2; max-width: 380px; margin: 0 auto 60px; }
.ac-svg-body { width: 100%; height: auto; transition: var(--transition); }

/* Реалистичный воздух с помощью CSS-маски (плавное растворение снизу) */
.sim-air-streams {
    position: absolute;
    top: 95px; left: 50%;
    transform: translateX(-50%);
    width: 240px; height: 140px;
    display: flex; justify-content: space-evenly;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
}

.air-line {
    width: 12px; height: 80%; 
    background: var(--sim-color);
    border-radius: 20px; 
    filter: blur(6px);
    animation: blowSmooth var(--sim-air-speed) infinite ease-in-out;
    opacity: 0;
    transition: background 0.5s ease;
}

.line-1 { animation-delay: 0.1s; height: 80%; width: 14px; }
.line-2 { animation-delay: 0.4s; height: 100%; width: 10px; }
.line-3 { animation-delay: 0.2s; height: 90%; width: 16px; }
.line-4 { animation-delay: 0.5s; height: 75%; width: 12px; }
.line-5 { animation-delay: 0.3s; height: 85%; width: 15px; }

@keyframes blowSmooth {
    0% { transform: translateY(-10px); opacity: 0; }
    30% { opacity: 0.85; }
    100% { transform: translateY(60px); opacity: 0; }
}

.sim-control-panel {
    position: relative; z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 24px; padding: 30px; text-align: center;
}

.sim-status {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    color: var(--sim-color); font-size: 14px; font-weight: 800; 
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px;
    transition: color 0.5s ease;
}

.status-icon-wrap { display: flex; align-items: center; }

/* Премиальный дизайн ползунка */
.sim-slider-container { 
    display: flex; align-items: center; justify-content: center; gap: 15px; 
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-icon { display: flex; align-items: center; }

.custom-temp-slider {
    -webkit-appearance: none; width: 100%; max-width: 250px; height: 6px;
    background: rgba(255, 255, 255, 0.15); border-radius: 10px; outline: none;
}

.custom-temp-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 26px; height: 26px; border-radius: 50%;
    background: #ffffff; /* Белая серединка */
    border: 6px solid var(--sim-color); /* Цветная окантовка */
    cursor: pointer;
    box-shadow: 0 0 15px var(--sim-color);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.1s;
}
.custom-temp-slider::-webkit-slider-thumb:active { transform: scale(1.15); }

.sim-current-temp { font-size: 44px; font-weight: 900; color: #fff; text-shadow: 0 0 20px var(--sim-color); transition: text-shadow 0.5s ease; line-height: 1; }

/* =======================================================
   ЖЕСТКИЙ ФИКС ДЛЯ ТЕЛЕФОНОВ (ЧТОБЫ НЕ СЛИПАЛОСЬ) 
   ======================================================= */
@media (max-width: 991px) {
    .ac-sim-layout { flex-direction: column; gap: 0; }
    .ac-sim-text-content { 
        max-width: 100%; 
        margin-bottom: 45px; /* Отодвинули текст от темного блока */
    }
}

@media (max-width: 768px) {
    .climate-simulator-section { padding: 60px 0; }
    .sim-wrapper { padding: 40px 20px 30px; border-radius: 20px; }
    .sim-slider-container { padding: 12px 15px; }
    .sim-current-temp { font-size: 38px; }
}