/* Базовый сброс и шрифты */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.5; font-size: 15px; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 14px; }

/* Общий контейнер */
.site-container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease; padding: 10px 18px; text-align: center; }
.btn-primary { background: #ea580c; color: #ffffff; }
.btn-primary:hover { background: #c2410c; }
.btn-outline { background: #ffffff; color: #0f172a; border-color: #cbd5e1; }
.btn-outline:hover { background: #f1f5f9; border-color: #94a3b8; }
.btn-block { width: 100%; }
.btn-large { padding: 14px 24px; font-size: 16px; }

/* Top-bar */
.top-bar { background: #0f172a; color: #94a3b8; font-size: 12px; border-bottom: 1px solid #1e293b; padding: 7px 0; }
.top-bar-flex { display: flex; align-items: center; justify-content: space-between; }
.top-bar-left { display: flex; align-items: center; gap: 20px; }
.top-bar-item { display: inline-flex; align-items: center; gap: 6px; }
.top-bar-right { display: flex; align-items: center; gap: 14px; }
.top-social-btn { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; transition: opacity 0.2s; }
.top-social-btn:hover { opacity: 0.85; }
.top-social-btn.tg { background: #0284c7; color: #ffffff; }
.top-social-btn.wa { background: #16a34a; color: #ffffff; }
.top-inn-badge { background: #1e293b; color: #e2e8f0; padding: 3px 8px; border-radius: 4px; font-size: 11px; letter-spacing: 0.5px; }

/* Главная шапка (Main Header) */
.main-header { background: #ffffff; border-bottom: 1px solid #e2e8f0; position: relative; z-index: 100; transition: box-shadow 0.25s; }
.main-header.is-sticky { position: fixed; top: 0; left: 0; width: 100%; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 36px; height: 36px; padding: 6px; flex-direction: column; justify-content: space-around; }
.mobile-toggle span { display: block; width: 100%; height: 2px; background: #0f172a; border-radius: 2px; }

/* Логотип */
.header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon-wrap { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-title { font-size: 21px; font-weight: 800; color: #0f172a; letter-spacing: 0.5px; line-height: 1.1; }
.logo-subtitle { font-size: 11px; color: #64748b; font-weight: 500; }

/* Контакты шапки */
.header-contacts { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: #0f172a; }
.header-phone:hover { color: #ea580c; }
.header-email { font-size: 12px; color: #64748b; margin-left: 26px; }

/* Поиск */
.header-search { flex: 1; max-width: 380px; }
.search-form { display: flex; align-items: center; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; }
.search-input { width: 100%; border: none; background: transparent; padding: 9px 12px; outline: none; color: #0f172a; }
.search-btn { background: #0f172a; color: #ffffff; border: none; padding: 9px 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.search-btn:hover { background: #ea580c; }

/* Кнопки шапки */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Навигация (Nav bar) */
.nav-bar { background: #0f172a; border-top: 1px solid #1e293b; }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-catalog-btn { display: inline-flex; align-items: center; gap: 8px; background: #ea580c; color: #ffffff; padding: 12px 18px; font-weight: 700; font-size: 14px; transition: background 0.2s; }
.nav-catalog-btn:hover { background: #c2410c; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu li a { display: block; padding: 12px 14px; color: #e2e8f0; font-size: 13px; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav-menu li a:hover { color: #ffffff; background: #1e293b; }

/* Баннер-слайдер (Hero Slider) */
.hero-slider-section { position: relative; background: #090d16; overflow: hidden; color: #ffffff; }
.slider-container { position: relative; min-height: 440px; }
.slide-item { display: none; padding: 48px 0; opacity: 0; transition: opacity 0.4s ease-in-out; }
.slide-item.active { display: block; opacity: 1; }
.slide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.slide-content { max-width: 580px; }
.slide-badge { display: inline-block; background: #ea580c; color: #ffffff; padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 14px; }
.slide-title { font-size: 34px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: #ffffff; }
.slide-title span { color: #f97316; }
.slide-desc { font-size: 16px; color: #cbd5e1; margin-bottom: 24px; line-height: 1.5; }
.slide-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.slide-feat-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #e2e8f0; }
.slide-feat-item svg { color: #22c55e; flex-shrink: 0; }
.slide-actions { display: flex; align-items: center; gap: 14px; }
.slide-visual { display: flex; align-items: center; justify-content: center; }
.visual-card { background: #1e293b; border: 1px solid #334155; border-radius: 16px; padding: 24px; width: 100%; max-width: 440px; box-shadow: 0 16px 32px rgba(0,0,0,0.4); }
.visual-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; border-bottom: 1px solid #334155; padding-bottom: 12px; }
.visual-price-big { font-size: 30px; font-weight: 800; color: #4ade80; }
.visual-price-label { font-size: 12px; color: #94a3b8; }
.visual-spec-list { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #cbd5e1; }
.visual-spec-row { display: flex; justify-content: space-between; border-bottom: 1px dashed #334155; padding-bottom: 4px; }
.visual-spec-val { font-weight: 600; color: #ffffff; }

/* Стрелки и точки слайдера */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15, 23, 42, 0.7); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: background 0.2s; }
.slider-arrow:hover { background: #ea580c; border-color: #ea580c; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.2s; }
.slider-dot.active { background: #ea580c; width: 26px; border-radius: 5px; }

/* 4 Плашки преимуществ под слайдером (как в референсе) */
.benefits-bar { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 22px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-item { display: flex; align-items: center; gap: 14px; }
.benefit-icon { width: 48px; height: 48px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; color: #ea580c; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-title { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.benefit-desc { font-size: 12px; color: #64748b; line-height: 1.3; }

/* Секция Каталога Услуг */
.catalog-section { padding: 48px 0; }
.section-header { text-align: center; margin-bottom: 32px; }
.section-title { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.section-subtitle { font-size: 15px; color: #64748b; max-width: 680px; margin: 0 auto; }

/* Табы каталога (Рубрикатор) */
.catalog-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tab-btn { background: #ffffff; border: 1px solid #cbd5e1; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #334155; cursor: pointer; transition: all 0.2s; }
.tab-btn:hover { background: #f1f5f9; border-color: #94a3b8; }
.tab-btn.active { background: #0f172a; color: #ffffff; border-color: #0f172a; }

/* Сетка карточек каталога */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08); border-color: #cbd5e1; }
.card-header-pic { background: #0f172a; height: 160px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card-badge { position: absolute; top: 12px; left: 12px; background: #ea580c; color: #ffffff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; z-index: 2; }
.card-badge.green { background: #16a34a; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 10px; line-height: 1.3; }
.card-desc { font-size: 13px; color: #64748b; margin-bottom: 16px; line-height: 1.45; }
.card-list { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #334155; margin-bottom: 18px; flex: 1; }
.card-list li { display: flex; align-items: flex-start; gap: 8px; }
.card-list li svg { color: #ea580c; flex-shrink: 0; margin-top: 3px; }
.card-footer { border-top: 1px solid #f1f5f9; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.card-price-wrap { display: flex; flex-direction: column; }
.card-price-label { font-size: 11px; color: #64748b; text-transform: uppercase; font-weight: 600; }
.card-price-val { font-size: 20px; font-weight: 800; color: #16a34a; }
.card-btn { background: #0f172a; color: #ffffff; padding: 8px 14px; font-size: 13px; font-weight: 600; border-radius: 6px; border: none; cursor: pointer; transition: background 0.2s; }
.card-btn:hover { background: #ea580c; }

/* Блок фото-оценки (Оценка по фото) */
.estimate-section { background: #0f172a; color: #ffffff; padding: 48px 0; margin: 24px 0; border-radius: 16px; }
.estimate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.estimate-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; color: #ffffff; }
.estimate-title span { color: #f97316; }
.estimate-desc { font-size: 15px; color: #cbd5e1; margin-bottom: 20px; line-height: 1.5; }
.estimate-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.estimate-step-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #e2e8f0; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: #ea580c; color: #ffffff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.estimate-box { background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 24px; }

/* Сводная таблица тарифов */
.tariffs-section { padding: 48px 0; }
.table-wrapper { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow-x: auto; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04); }
.tariffs-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.tariffs-table th { background: #0f172a; color: #ffffff; padding: 14px 18px; font-weight: 700; }
.tariffs-table td { padding: 14px 18px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.tariffs-table tr:hover td { background: #f8fafc; }
.tariffs-table .tariff-price { font-weight: 800; color: #16a34a; font-size: 15px; }

/* Блок О Компании и Реквизиты */
.company-section { padding: 48px 0; background: #ffffff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.company-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: flex-start; }
.company-text p { font-size: 15px; color: #334155; margin-bottom: 14px; line-height: 1.6; }
.company-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.co-badge { background: #f1f5f9; border: 1px solid #cbd5e1; padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #0f172a; display: inline-flex; align-items: center; gap: 6px; }
.co-badge svg { color: #ea580c; }
.official-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; }
.official-card-title { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 14px; border-bottom: 2px solid #ea580c; padding-bottom: 6px; }
.official-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #cbd5e1; font-size: 13px; }
.official-row .lbl { color: #64748b; }
.official-row .val { font-weight: 600; color: #0f172a; }

/* FAQ */
.faq-section { padding: 48px 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.faq-question { padding: 16px 20px; font-weight: 700; color: #0f172a; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-question:hover { color: #ea580c; }
.faq-answer { padding: 0 20px 16px; font-size: 14px; color: #475569; line-height: 1.5; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-question svg { transition: transform 0.2s; }

/* Подвал (Footer) */
.site-footer { background: #090d16; color: #94a3b8; font-size: 13px; }
.footer-top { padding: 48px 0 36px; border-bottom: 1px solid #1e293b; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-col-title, .footer-heading { color: #ffffff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-logo-title { font-size: 20px; font-weight: 800; color: #ffffff; display: block; margin-bottom: 4px; }
.footer-logo-sub { font-size: 12px; color: #64748b; display: block; margin-bottom: 16px; }
.requisites-box { background: #131b2e; border: 1px solid #1e293b; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; font-size: 12px; color: #cbd5e1; }
.req-row { margin-bottom: 4px; }
.req-row strong { color: #94a3b8; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: #94a3b8; transition: color 0.2s; font-size: 13px; }
.footer-links li a:hover { color: #ea580c; }
.footer-big-phone { font-size: 20px; font-weight: 800; color: #ffffff; display: block; margin-bottom: 4px; }
.footer-big-phone:hover { color: #ea580c; }
.footer-schedule { font-size: 12px; color: #22c55e; display: block; margin-bottom: 2px; }
.footer-email { font-size: 12px; color: #64748b; display: block; margin-bottom: 14px; }
.footer-payment-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pay-tag { background: #1e293b; color: #cbd5e1; font-size: 11px; padding: 4px 8px; border-radius: 4px; font-weight: 500; }
.footer-bottom { padding: 18px 0; background: #06090f; font-size: 12px; }
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.bottom-links { display: flex; gap: 16px; }
.bottom-links a:hover { color: #ffffff; }

/* Плавающие кнопки связи */
.floating-widget { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; box-shadow: 0 6px 18px rgba(0,0,0,0.25); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.float-btn:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.float-wa { background: #22c55e; }
.float-phone { background: #0f172a; border: 2px solid #ea580c; color: #ea580c; }

/* Модальное окно */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.75); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.modal-overlay.active { display: flex; }
.modal-window { background: #ffffff; border-radius: 14px; max-width: 520px; width: 100%; padding: 28px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; color: #64748b; }
.modal-close:hover { color: #0f172a; }
.modal-heading { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: #64748b; margin-bottom: 18px; }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 5px; }
.form-label .req { color: #ea580c; }
.form-input, .form-select, .form-textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 6px; padding: 10px 12px; font-size: 14px; color: #0f172a; outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #ea580c; }
.form-file { font-size: 12px; color: #64748b; }
.form-hint { display: block; font-size: 11px; color: #94a3b8; margin-top: 4px; }
.privacy-note { font-size: 11px; color: #94a3b8; text-align: center; margin-top: 8px; }
.modal-success { text-align: center; padding: 24px 0; }
.modal-success h4 { font-size: 20px; font-weight: 800; color: #0f172a; margin: 14px 0 8px; }
.modal-success p { font-size: 14px; color: #64748b; margin-bottom: 20px; }

/* Хлебные крошки (Breadcrumbs Schema.org) */
.breadcrumbs-nav { background: #f1f5f9; border-bottom: 1px solid #e2e8f0; padding: 10px 0; font-size: 13px; }
.breadcrumbs-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb-item { display: inline-flex; align-items: center; color: #64748b; }
.breadcrumb-item::after { content: "/"; margin-left: 8px; color: #cbd5e1; font-size: 12px; }
.breadcrumb-item:last-child::after { content: ""; margin: 0; }
.breadcrumb-item a { color: #475569; transition: color 0.15s; }
.breadcrumb-item a:hover { color: #ea580c; text-decoration: underline; }
.breadcrumb-item.current { color: #0f172a; font-weight: 600; }

/* Внутренние посадочные страницы услуг */
.inner-page-section { padding: 36px 0 60px; }
.page-header-box { background: #0f172a; color: #ffffff; border-radius: 14px; padding: 36px; margin-bottom: 32px; position: relative; overflow: hidden; }
.page-header-badge { display: inline-block; background: #ea580c; color: #ffffff; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.page-h1 { font-size: 32px; font-weight: 900; line-height: 1.25; margin-bottom: 14px; color: #ffffff; }
.page-lead { font-size: 16px; color: #cbd5e1; max-width: 780px; line-height: 1.5; margin-bottom: 22px; }
.page-header-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-price-pill { background: #1e293b; border: 1px solid #334155; padding: 10px 18px; border-radius: 8px; font-size: 18px; font-weight: 800; color: #4ade80; }

.inner-layout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: flex-start; }
.inner-main-col { display: flex; flex-direction: column; gap: 28px; }
.content-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03); }
.content-card-title { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 14px; line-height: 1.3; }
.content-text { font-size: 15px; color: #334155; line-height: 1.6; margin-bottom: 14px; }
.content-text:last-child { margin-bottom: 0; }

/* Реальная фотогалерея */
.real-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.gallery-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04); transition: transform 0.2s, box-shadow 0.2s; }
.gallery-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08); border-color: #cbd5e1; }
.gallery-img-box { width: 100%; height: 180px; overflow: hidden; background: #f1f5f9; }
.gallery-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-card:hover .gallery-img-box img { transform: scale(1.04); }
.gallery-caption { padding: 10px 12px; font-size: 12px; color: #475569; font-weight: 600; line-height: 1.35; }

/* Статистика кейса (Lucky Park) */
.case-stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.case-stat-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px; text-align: center; }
.case-stat-num { font-size: 24px; font-weight: 900; color: #ea580c; line-height: 1.1; margin-bottom: 4px; }
.case-stat-lbl { font-size: 12px; color: #64748b; font-weight: 500; }

/* Боковая колонка (Sidebar) */
.service-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 22px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04); }
.sidebar-title { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 14px; border-bottom: 2px solid #ea580c; padding-bottom: 6px; }
.sidebar-phone-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #0f172a; color: #ffffff; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: 800; margin-bottom: 10px; transition: background 0.2s; }
.sidebar-phone-btn:hover { background: #ea580c; }
.sidebar-note { font-size: 12px; color: #64748b; text-align: center; line-height: 1.4; }

/* ==============================================================
   АДАПТИВНОСТЬ (МЕДИА-ЗАПРОСЫ DESKTOP FIRST В ПОРЯДКЕ УБЫВАНИЯ)
   ============================================================== */

@media (max-width: 1200px) {
    .site-container { max-width: 980px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .site-container { max-width: 740px; }
    .slide-grid { grid-template-columns: 1fr; gap: 24px; }
    .slide-visual { display: none; }
    .estimate-grid { grid-template-columns: 1fr; gap: 24px; }
    .company-grid { grid-template-columns: 1fr; }
    .header-search { display: none; }
    .nav-menu { display: none; }
    .mobile-toggle { display: flex; }
    .header-inner { padding: 10px 16px; }
    .inner-layout-grid { grid-template-columns: 1fr; }
    .service-sidebar { position: static; }
    .case-stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .top-bar-flex { flex-direction: column; gap: 6px; align-items: flex-start; }
    .top-bar-right { width: 100%; justify-content: space-between; }
    .header-contacts { display: none; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .benefits-grid { grid-template-columns: 1fr; gap: 14px; }
    .slide-title { font-size: 24px; }
    .slide-desc { font-size: 14px; }
    .section-title { font-size: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .floating-widget { bottom: 16px; right: 16px; }
    .float-btn { width: 46px; height: 46px; }
    .real-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .page-h1 { font-size: 24px; }
    .page-header-box { padding: 24px 18px; }
}

@media (max-width: 480px) {
    .site-container { padding: 0 12px; }
    .logo-title { font-size: 18px; }
    .header-actions .btn-outline { display: none; }
    .header-actions .btn-primary { padding: 8px 12px; font-size: 13px; }
    .catalog-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
    .tab-btn { flex-shrink: 0; padding: 8px 12px; font-size: 13px; }
    .slide-actions { flex-direction: column; width: 100%; }
    .slide-actions .btn { width: 100%; }
    .real-gallery-grid { grid-template-columns: 1fr; }
    .case-stats-bar { grid-template-columns: 1fr; }
}
