/* ============================================================
   НЕ СПОТКНЕШЬСЯ — Укладка тротуарной плитки
   style.css — основные стили сайта
   ============================================================ */

/* ---------- CSS-переменные ---------- */
:root {
    --dark:          #0d1117;
    --dark2:         #141a24;
    --dark3:         #1c2433;
    --orange:        #e8641a;
    --orange2:       #ff7a2e;
    --gold:          #c9a84c;
    --white:         #ffffff;
    --light:         #e8e4dc;
    --gray:          #8a8e99;
    --gray2:         #555d6b;
    --border:        #1e2838;
    --font-head:     'Oswald', sans-serif;
    --font-body:     'PT Sans', sans-serif;
    --radius:        3px;
    --transition:    0.25s ease;
    --shadow:        0 8px 40px rgba(0,0,0,0.5);
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }

/* ---------- Скролл-бар ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ============================================================
   ХЕДЕР
   ============================================================ */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--orange);
    height: 72px;
}

.header-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Логотип */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}
.logo-img {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.logo-name span { color: var(--orange); }
.logo-sub {
    font-size: 10px;
    color: var(--gray);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Навигация */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}
.main-nav a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: #b0b8c8;
    padding: 8px 13px;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--orange);
    background: rgba(232,100,26,0.12);
}

/* Телефон в шапке */
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.header-phone {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
}
.header-phone:hover { color: var(--orange); }

/* Кнопки */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: var(--white);
    padding: 12px 28px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    transition: background var(--transition), transform 0.1s;
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--orange2);
    border-color: var(--orange2);
    transform: translateY(-1px);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--white);
    padding: 12px 28px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark);
}
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--orange);
    padding: 14px 40px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--white);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-white:hover {
    background: transparent;
    color: var(--white);
}

/* Бургер */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
    border-radius: 1px;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--dark2);
    border-bottom: 2px solid var(--orange);
    padding: 20px 24px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: #b0b8c8;
    padding: 12px 14px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover { color: var(--orange); background: rgba(232,100,26,0.1); }
.mobile-nav .mob-phone {
    margin-top: 12px;
    padding: 14px;
    background: var(--orange);
    color: var(--white);
    text-align: center;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--radius);
}

/* ============================================================
   ОБЩИЕ СТИЛИ СЕКЦИЙ
   ============================================================ */
.section-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 32px;
}
.section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-line {
    width: 50px;
    height: 3px;
    background: var(--orange);
    margin-bottom: 18px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 14px;
}
.section-title span { color: var(--orange); }
.section-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 48px;
}

/* ============================================================
   ГЕРОЙ — ГЛАВНЫЙ БАННЕР
   ============================================================ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Слайдер фонов */
.hero-slider {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.6s ease;
    will-change: opacity;
}
.hero-slide.active { opacity: 1; }

/* Оверлей */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(13,17,23,0.93) 0%,
        rgba(13,17,23,0.72) 50%,
        rgba(13,17,23,0.28) 100%
    );
    z-index: 1;
}
.hero-side-accent {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--orange);
    z-index: 2;
}

/* Контент */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 80px 32px 0;
}
.hero-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    margin-bottom: 22px;
    border-radius: 1px;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.0;
    margin-bottom: 18px;
    max-width: 680px;
}
.hero-title span { color: var(--orange); }
.hero-subtitle {
    font-size: 17px;
    color: #b8c0cc;
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.65;
}
.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    margin-bottom: 38px;
}
.hero-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--light);
}
.hero-check::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: var(--orange);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 11px;
    background-position: center;
}
.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Точки слайдера */
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.hero-dot.active {
    background: var(--orange);
    transform: scale(1.3);
}

/* ============================================================
   СТАТИСТИКА — ПОЛОСА
   ============================================================ */
#stats {
    background: var(--orange);
    padding: 26px 32px;
}
.stats-inner {
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: var(--font-head);
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.82);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}
.stat-sep {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.25);
}

/* ============================================================
   УСЛУГИ
   ============================================================ */
#services {
    padding: 90px 0;
    background: var(--dark2);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

/* Карточка услуги */
.service-card {
    background: var(--dark);
    position: relative;
    overflow: hidden;
    transition: background var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover { background: #16202e; }

/* Заглушка под картинку с анимацией */
.service-img-placeholder {
    position: relative;
    height: 200px;
    background: var(--dark3);
    overflow: hidden;
    flex-shrink: 0;
}
/* Анимированный фон-градиент при наведении */
.service-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark3) 0%, #243040 50%, var(--dark3) 100%);
    background-size: 200% 200%;
    animation: shimmer 3s ease infinite;
    transition: opacity var(--transition);
}
.service-card:hover .service-img-placeholder::before {
    background: linear-gradient(135deg, #1a2535 0%, #2a3a50 40%, rgba(232,100,26,0.15) 100%);
    animation: shimmerHover 2s ease infinite;
}
@keyframes shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes shimmerHover {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Иконка-заглушка по центру */
.service-img-placeholder::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 64px;
    height: 64px;
    border: 2px solid rgba(232,100,26,0.25);
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(232,100,26,0.4)' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E") no-repeat center / 28px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color var(--transition);
}
.service-card:hover .service-img-placeholder::after {
    transform: translate(-50%, -50%) scale(1.2);
    border-color: rgba(232,100,26,0.6);
}
/* Лейбл «Фото» на заглушке */
.img-placeholder-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1;
    transition: color var(--transition);
}
.service-card:hover .img-placeholder-label { color: rgba(232,100,26,0.5); }

/* Полоса снизу заглушки */
.service-img-placeholder .img-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover .img-line { transform: scaleX(1); }

/* Тело карточки */
.service-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-card h3 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}
.service-card:hover h3 { color: var(--orange); }
.service-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 14px;
}
.service-price {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--orange);
}
.service-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.service-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--orange);
    border: 1.5px solid var(--orange);
    border-radius: var(--radius);
    background: transparent;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.service-order-btn:hover {
    background: var(--orange);
    color: var(--white);
}

/* Левая полоса при hover */
.service-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--orange);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}
.service-card:hover::before { transform: scaleY(1); }

/* ============================================================
   ПОЧЕМУ МЫ
   ============================================================ */
#why {
    padding: 90px 0;
    background: var(--dark);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--dark2);
    padding: 32px 28px;
    border-top: 3px solid var(--orange);
    transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.why-num {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    color: rgba(232,100,26,0.35);
    -webkit-text-stroke: 1.5px var(--orange);
}
@supports not ((-webkit-text-stroke: 1px) or (text-stroke: 1px)) {
    .why-num { color: var(--orange); -webkit-text-stroke: 0; }
}
.why-card h3 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}
.why-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================================
   ГАЛЕРЕЯ ПРЕВЬЮ
   ============================================================ */
#gallery-preview {
    padding: 90px 0;
    background: var(--dark2);
}
.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 5px;
}
.preview-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--dark3);
}
.preview-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.preview-item:hover img { transform: scale(1.07); }
.preview-mask {
    position: absolute;
    inset: 0;
    background: rgba(232,100,26,0);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.preview-item:hover .preview-mask { background: rgba(232,100,26,0.2); }
.preview-zoom {
    width: 44px; height: 44px;
    border: 2px solid var(--white);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.3s, transform 0.3s;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35M11 8v6M8 11h6'/%3E%3C/svg%3E") no-repeat center / 18px;
}
.preview-item:hover .preview-zoom { opacity: 1; transform: scale(1); }
.gallery-more { text-align: center; margin-top: 40px; }

/* ============================================================
   ЭТАПЫ РАБОТЫ
   ============================================================ */
#process {
    padding: 90px 0;
    background: var(--dark);
}
.process-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-top: 10px;
}
.process-track::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), rgba(232,100,26,0.2));
}
.process-step {
    padding: 0 16px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.step-circle {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--dark2);
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}
.step-body { min-width: 0; }
.process-step:hover .step-circle {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.08);
}
.process-step h3 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.process-step p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.65;
}

/* ============================================================
   ОТЗЫВЫ
   Карточки вынесены в консолидированный блок .rev-* в самом
   конце файла — там же и вся адаптивность для них.
   ============================================================ */
#reviews {
    padding: 90px 0;
    background: var(--dark);
}

/* ============================================================
   КАЛЬКУЛЯТОР
   ============================================================ */
#calc {
    padding: 90px 0;
    background: var(--dark2);
}
.calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.calc-form-wrap {
    background: var(--dark);
    padding: 42px;
    border-top: 3px solid var(--orange);
}
.calc-form-wrap h3 {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}
.calc-form-wrap > p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray2);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 16px;
    font-size: 15px;
    color: var(--white);
    font-family: var(--font-body);
    transition: border-color var(--transition);
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-btn-full {
    width: 100%;
    padding: 15px;
    font-size: 15px;
}

/* Результат калькулятора */
.calc-result-box {
    margin-top: 22px;
    padding: 18px 20px;
    background: rgba(232,100,26,0.08);
    border-left: 3px solid var(--orange);
    min-height: 68px;
}
.calc-result-box p {
    font-family: var(--font-head);
    font-size: 17px;
    color: var(--white);
}
.calc-result-box small {
    font-size: 12px;
    color: var(--gray2);
    font-family: var(--font-body);
}

/* Правая колонка — прайс */
.calc-prices h3 {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
}
.price-list { }
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}
.price-row span:first-child { font-size: 15px; color: #b0b8c8; }
.price-row span:last-child {
    font-family: var(--font-head);
    font-size: 17px;
    color: var(--orange);
    font-weight: 600;
    white-space: nowrap;
    margin-left: 12px;
}
.calc-note {
    margin-top: 16px;
    font-size: 12px;
    color: var(--gray2);
    line-height: 1.6;
}
.calc-note strong { color: var(--orange); }

/* ============================================================
   CTA БЛОК
   ============================================================ */
#cta {
    padding: 80px 32px;
    background: var(--orange);
    text-align: center;
}
#cta h2 {
    font-family: var(--font-head);
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
}
#cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 30px;
}

/* ============================================================
   ФУТЕР
   ============================================================ */
#footer {
    background: #070a0f;
    border-top: 3px solid var(--orange);
    padding: 64px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .logo-name { font-size: 18px; }
.footer-brand .logo-sub { font-size: 9px; }
.footer-brand > p {
    margin-top: 16px;
    font-size: 14px;
    color: #505870;
    line-height: 1.75;
}
.footer-col h4 {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--orange);
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 14px;
    color: #50586a;
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }

/* Контактный блок в футере */
.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.fc-icon {
    width: 34px; height: 34px;
    min-width: 34px;
    background: rgba(232,100,26,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fc-icon svg { width: 15px; height: 15px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.fc-body { font-size: 13px; color: #505870; line-height: 1.5; }
.fc-body a {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-head);
    transition: color var(--transition);
}
.fc-body a:hover { color: var(--orange); }

/* Нижняя строка */
.footer-bottom {
    border-top: 1px solid #141921;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { font-size: 13px; color: #303848; }
.footer-bottom a { color: #404858; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }
/* SEO-текст для поисковых систем */
.footer-seo {
    font-size: 10px;
    color: #1a1f28;
    margin-top: 14px;
    line-height: 1.6;
}

/* ============================================================
   ЛАЙТБОКС
   ============================================================ */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.96);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 3px solid #1e2838;
    border-radius: var(--radius);
}
.lb-close {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 32px;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition), color var(--transition);
    background: none; border: none;
}
.lb-close:hover { opacity: 1; color: var(--orange); }
.lb-prev, .lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 16px;
    transition: color var(--transition);
    background: none; border: none;
    user-select: none;
}
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-prev:hover, .lb-next:hover { color: var(--orange); }
.lb-counter {
    position: absolute;
    bottom: 18px;
    left: 50%; transform: translateX(-50%);
    font-size: 13px;
    color: var(--gray);
    font-family: var(--font-head);
}

/* ============================================================
   СТРАНИЦА: ЗАГОЛОВОК (breadcrumb + h1)
   ============================================================ */
.page-banner {
    padding: 120px 0 56px;
    background: var(--dark2);
    border-bottom: 2px solid var(--border);
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 4px;
    background: var(--orange);
}
.breadcrumb {
    font-size: 12px;
    color: #404858;
    margin-bottom: 18px;
}
.breadcrumb a { color: #505870; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 8px; }
.page-h1 {
    font-family: var(--font-head);
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
}
.page-h1 span { color: var(--orange); }
.page-subtitle {
    font-size: 16px;
    color: var(--gray);
    max-width: 520px;
}

/* ============================================================
   СТРАНИЦА ГАЛЕРЕИ — мазонри
   ============================================================ */
#gallery-page { padding: 70px 0 80px; }
.masonry {
    columns: 4;
    column-gap: 7px;
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 7px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--dark3);
}
.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(232,100,26,0);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.masonry-item:hover .masonry-overlay { background: rgba(232,100,26,0.22); }
.masonry-zoom {
    width: 46px; height: 46px;
    border: 2px solid var(--white);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35M11 8v6M8 11h6'/%3E%3C/svg%3E") no-repeat center / 20px;
}
.masonry-item:hover .masonry-zoom { opacity: 1; transform: scale(1); }

/* ============================================================
   СТРАНИЦА ЦЕН — таблицы
   ============================================================ */
#prices-page { padding: 70px 0 80px; }
.price-section-title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    padding: 0 0 14px;
    border-bottom: 2px solid var(--orange);
    margin-bottom: 0;
}
.price-table-wrap { margin-bottom: 50px; }
.price-table {
    width: 100%;
    border-collapse: collapse;
}
.price-table thead tr { background: rgba(232,100,26,0.15); }
.price-table thead th {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--orange);
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(232,100,26,0.3);
}
.price-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.price-table tbody tr:hover { background: var(--dark2); }
.price-table td {
    padding: 13px 18px;
    font-size: 15px;
    color: #b0b8c8;
    vertical-align: middle;
}
.price-table td.unit { font-size: 12px; color: var(--gray2); white-space: nowrap; }
.price-table td.price-val {
    font-family: var(--font-head);
    font-size: 17px;
    color: var(--orange);
    font-weight: 600;
    white-space: nowrap;
}
.price-note-box {
    background: rgba(232,100,26,0.07);
    border-left: 3px solid var(--orange);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 40px;
}
.price-note-box strong { color: var(--orange); }
.discount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 50px;
}
.discount-card {
    background: var(--dark2);
    padding: 28px 24px;
    border-top: 3px solid var(--gold);
}
.discount-pct {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}
.discount-card h3 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}
.discount-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ============================================================
   СТРАНИЦА КОНТАКТОВ
   ============================================================ */
#contacts-page { padding: 70px 0 80px; }
.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}
.contact-cards-list { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
    background: var(--dark2);
    padding: 24px 22px;
    border-left: 4px solid var(--orange);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform var(--transition);
}
.contact-card:hover { transform: translateX(4px); }
.cc-icon {
    width: 42px; height: 42px; min-width: 42px;
    background: rgba(232,100,26,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.cc-icon svg { width: 18px; height: 18px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.cc-body h3 {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--orange);
    margin-bottom: 6px;
}
.cc-body a {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    display: block;
    line-height: 1.2;
    transition: color var(--transition);
}
.cc-body a:hover { color: var(--orange); }
.cc-body p { font-size: 13px; color: var(--gray); line-height: 1.6; margin-top: 4px; }

.contact-form-wrap {
    background: var(--dark2);
    padding: 40px;
    border-top: 3px solid var(--orange);
}
.contact-form-wrap h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
}
.contact-form-wrap > p { font-size: 14px; color: var(--gray); margin-bottom: 26px; }

/* Зоны работ */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 40px;
}
.zone-card {
    background: var(--dark2);
    padding: 18px 16px;
    border-bottom: 2px solid var(--border);
    transition: border-color var(--transition), transform var(--transition);
}
.zone-card:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
}
.zone-city {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
}
.zone-dist { font-size: 12px; color: var(--gray2); margin-top: 3px; }

/* ============================================================
   АДАПТИВ — TABLET 1024px
   ============================================================ */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-track { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .process-track::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contacts-layout { grid-template-columns: 1fr; }
    .discount-grid { grid-template-columns: repeat(3, 1fr); }
    .zones-grid { grid-template-columns: repeat(3, 1fr); }
    .masonry { columns: 3; }
    .preview-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: 200px 200px; }
    .preview-item:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ============================================================
   АДАПТИВ — MOBILE 768px
   ============================================================ */
@media (max-width: 768px) {
    /* Хедер */
    #header { height: 60px; }
    .header-inner { padding: 0 14px; gap: 10px; }
    .main-nav { display: none; }
    .header-phone { display: none; }
    .burger { display: flex; }
    .header-right { gap: 6px; }
    .mobile-nav.open { display: flex; }
    /* Логотип на мобиле */
    .logo-img { height: 32px; max-width: 140px; }
    .logo-name { font-size: 15px; letter-spacing: 1px; }
    .logo-sub { font-size: 8px; letter-spacing: 1.5px; }

    /* Герой */
    #hero { height: 92vh; min-height: 500px; }
    .hero-content { padding: 64px 18px 0; }
    .hero-title { font-size: clamp(34px, 9vw, 52px); }
    .hero-subtitle { font-size: 15px; }
    .hero-checks { gap: 10px 20px; }
    .hero-check { font-size: 13px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .hero-btns .btn-primary,
    .hero-btns .btn-secondary { width: 100%; text-align: center; padding: 14px 20px; }

    /* Статистика */
    #stats { padding: 20px 18px; }
    .stats-inner { gap: 12px 24px; }
    .stat-sep { display: none; }
    .stat-num { font-size: 28px; }

    /* Секции */
    .section-inner { padding: 0 18px; }
    #services { padding: 60px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .service-img-placeholder { height: 180px; }

    #why { padding: 60px 0; }
    .why-grid { grid-template-columns: 1fr; gap: 14px; }

    #reviews { padding: 60px 0; }

    #gallery-preview { padding: 60px 0; }
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 150px);
    }
    .preview-item:first-child { grid-column: span 2; grid-row: span 1; }

    #process { padding: 60px 0; }
    .process-track { grid-template-columns: 1fr; gap: 22px; position: relative; }
    .process-track::before { display: none; }
    .process-track::after {
        content: '';
        position: absolute;
        top: 27px; bottom: 27px; left: 27px;
        width: 2px;
        background: linear-gradient(to bottom, var(--orange), rgba(232,100,26,0.15));
        z-index: 0;
    }
    .process-step { display: flex; flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; padding: 0; }
    .step-circle { width: 54px; height: 54px; min-width: 54px; font-size: 18px; margin-bottom: 0; }
    .step-body {
        flex: 1 1 auto;
        background: var(--dark2);
        border-left: 3px solid var(--orange);
        border-radius: 6px;
        padding: 14px 16px;
    }
    .step-body h3 { margin-bottom: 6px; }

    #calc { padding: 60px 0; }
    .calc-layout { grid-template-columns: 1fr; gap: 32px; }
    .calc-form-wrap { padding: 26px 20px; }
    .form-row { grid-template-columns: 1fr; }

    /* CTA */
    #cta { padding: 60px 18px; }
    #cta .btn-white { width: 100%; max-width: 340px; }

    /* Футер */
    #footer { padding: 50px 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    /* Страницы */
    .page-banner { padding: 90px 0 40px; }
    #gallery-page { padding: 50px 0 60px; }
    .masonry { columns: 2; }
    #prices-page { padding: 50px 0 60px; }
    .discount-grid { grid-template-columns: 1fr; }
    #contacts-page { padding: 50px 0 60px; }
    .zones-grid { grid-template-columns: repeat(2, 1fr); }
    .price-table td, .price-table th { padding: 10px 12px; font-size: 13px; }
}

/* ============================================================
   АДАПТИВ — SMALL MOBILE 480px
   ============================================================ */
@media (max-width: 480px) {
    .hero-title { font-size: clamp(28px, 10vw, 42px); }
    .masonry { columns: 1; }
    .preview-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 180px);
    }
    .preview-item:first-child { grid-column: span 1; grid-row: span 1; }
    .zones-grid { grid-template-columns: 1fr 1fr; }
    .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 13px; }
    .section-title { font-size: clamp(22px, 7vw, 32px); }
    .stat-num { font-size: 24px; }
    .contact-form-wrap { padding: 20px 16px; }
}

/* ============================================================
   СОЦИАЛЬНЫЕ ССЫЛКИ В ФУТЕРЕ
   ============================================================ */
.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 14px;
    transition: color var(--transition);
}
.social-link:hover {
    color: var(--orange);
}
.social-link svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Изображения в карточках услуг */
.service-img-placeholder {
    position: relative;
    overflow: hidden;
}
.service-img-placeholder img {
    border-radius: var(--radius) var(--radius) 0 0;
}

/* Сообщения формы */
.form-error-msg {
    display: none;
    margin-top: 14px;
    padding: 14px 18px;
    background: rgba(220,50,50,0.12);
    border-left: 3px solid #dc3232;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #f08080;
}
.form-error-msg[hidden] { display: none; }
.form-error-msg.show    { display: block; }
.form-success-msg {
    display: none;
    margin-top: 14px;
    padding: 14px 18px;
    background: rgba(50,180,90,0.12);
    border-left: 3px solid #3db863;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #8ecfa0;
}
.form-success-msg[hidden] { display: none; }
.form-success-msg.show    { display: block; }
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 12px;
    color: var(--gray);
    line-height: 1.4;
}
.form-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--orange);
    cursor: pointer;
}
.form-consent a { color: var(--orange); text-decoration: none; }
.form-consent a:hover { text-decoration: underline; }

/* Блок «Бесплатная заявка» на главной */
.free-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,100,26,0.12);
    border: 1px solid rgba(232,100,26,0.35);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.free-form-badge::before { content: '★'; font-size: 11px; margin-right: 4px; }

@media (min-width: 768px) {
    .footer-social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ============================================================
   АДАПТИВ — SMALL MOBILE 380px
   ============================================================ */
@media (max-width: 380px) {
    .logo-img { height: 28px; max-width: 120px; }
    .logo-name { font-size: 13px; }
    .logo-sub { display: none; }
    .header-right .btn-primary { padding: 8px 12px; font-size: 11px; }
}

/* ============================================================
   ПАТЧ — ДИЗАЙН + АДАПТИВ (единый блок, без дублей)
   ============================================================ */

/* --- Улучшенные поля форм --- */
.form-group input,
.form-group select,
.form-group textarea {
    background: #0d1117;
    border: 1.5px solid #232b38;
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 15px;
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232,100,26,0.15);
    outline: none;
}
.form-group input::placeholder { color: #3a4255; }
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e8641a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-group select option { background: #141a24; }

/* --- Кнопка submit --- */
.btn-primary.form-btn-full {
    width: 100%;
    padding: 16px;
    font-size: 14px;
    letter-spacing: 1.5px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(232,100,26,0.3);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary.form-btn-full:hover {
    box-shadow: 0 6px 28px rgba(232,100,26,0.45);
    transform: translateY(-2px);
}
.btn-primary.form-btn-full:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
    box-shadow: none;
}

/* --- Сообщения формы: плавное появление --- */
.form-error-msg,
.form-success-msg {
    display: none;
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.form-error-msg.show,
.form-success-msg.show {
    opacity: 1;
    transform: translateY(0);
}
.form-error-msg {
    background: rgba(200,40,40,0.1);
    border-left: 3px solid #e05050;
    color: #f09090;
}
.form-success-msg {
    background: rgba(40,180,80,0.1);
    border-left: 3px solid #3db863;
    color: #7ed4a0;
}

/* --- Новая раскладка секции заявки (замена калькулятора) --- */
.calc-layout-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* --- Этапы работы: хитбоксы --- */
.process-step { pointer-events: none; }
.step-circle  { pointer-events: auto; position: relative; z-index: 1; }

/* ============================================================
   АДАПТИВ 1100px — планшет
   ============================================================ */
@media (max-width: 1100px) {
    .services-grid  { grid-template-columns: repeat(2, 1fr); }
    .why-grid       { grid-template-columns: repeat(2, 1fr); }
    .process-track  { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .process-track::before { display: none; }
    .process-connector { display: none; }
    .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contacts-layout { grid-template-columns: 1fr; }
    .discount-grid  { grid-template-columns: repeat(3, 1fr); }
    .zones-grid     { grid-template-columns: repeat(3, 1fr); }
    .masonry        { columns: 3; }
    .preview-grid   { grid-template-columns: repeat(3, 1fr); grid-template-rows: 200px 200px; }
    .preview-item:first-child { grid-column: span 2; grid-row: span 1; }
    .calc-layout-simple { gap: 32px; }
}

/* ============================================================
   АДАПТИВ 900px
   ============================================================ */
@media (max-width: 900px) {
    .calc-layout-simple {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ============================================================
   АДАПТИВ 768px — мобильный
   ============================================================ */
@media (max-width: 768px) {
    /* Хедер */
    #header         { height: 60px; }
    .header-inner   { padding: 0 14px; gap: 10px; }
    .main-nav       { display: none; }
    .header-phone   { display: none; }
    .burger         { display: flex; min-width: 44px; min-height: 44px; justify-content: center; }
    .header-right   { gap: 6px; }
    .logo-img       { height: 32px; max-width: 140px; }
    .logo-name      { font-size: 15px; letter-spacing: 1px; }
    .logo-sub       { font-size: 8px; letter-spacing: 1.5px; }

    /* Герой */
    #hero           { height: 92vh; min-height: 500px; }
    .hero-content   { padding: 64px 18px 0; }
    .hero-title     { font-size: clamp(32px, 9vw, 52px); }
    .hero-subtitle  { font-size: 15px; }
    .hero-checks    { gap: 10px 20px; }
    .hero-check     { font-size: 13px; }
    .hero-btns      { flex-direction: column; gap: 10px; }
    .hero-btns .btn-primary,
    .hero-btns .btn-secondary { width: 100%; text-align: center; padding: 14px 20px; }
    .hero-dots      { bottom: 20px; }

    /* Статистика */
    #stats          { padding: 20px 18px; }
    .stats-inner    { gap: 12px 24px; }
    .stat-sep       { display: none; }
    .stat-num       { font-size: 28px; }
    .stat-label     { font-size: 10px; }

    /* Секции */
    .section-inner  { padding: 0 18px; }
    #services       { padding: 50px 0; }
    #why            { padding: 50px 0; }
    #gallery-preview{ padding: 50px 0; }
    #process        { padding: 50px 0; }
    #calc           { padding: 50px 0; }
    .section-desc   { font-size: 15px; margin-bottom: 32px; }

    /* Услуги */
    .services-grid  { grid-template-columns: 1fr; }
    .service-body   { padding: 18px 18px 22px; }
    .service-card h3{ font-size: 16px; }
    .service-card p { font-size: 13px; }
    .service-price  { font-size: 19px; }

    /* Почему мы */
    .why-grid       { grid-template-columns: 1fr; gap: 14px; }
    .why-card       { padding: 24px 20px; }
    .why-num        { font-size: 38px; }

    /* Галерея превью */
    .preview-grid   {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 150px);
    }
    .preview-item:first-child { grid-column: span 2; grid-row: span 1; }

    /* Этапы */
    .process-track  { grid-template-columns: 1fr; gap: 22px; position: relative; }
    .process-connector { display: none; }
    .process-track::after {
        content: '';
        position: absolute;
        top: 27px; bottom: 27px; left: 27px;
        width: 2px;
        background: linear-gradient(to bottom, var(--orange), rgba(232,100,26,0.15));
        z-index: 0;
    }
    .process-step   { display: flex; flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; padding: 0; pointer-events: none; }
    .step-circle    { width: 54px; height: 54px; min-width: 54px; font-size: 18px; margin-bottom: 0; pointer-events: auto; }
    .step-body {
        flex: 1 1 auto;
        background: var(--dark2);
        border-left: 3px solid var(--orange);
        border-radius: 6px;
        padding: 14px 16px;
    }
    .step-body h3 { margin-bottom: 6px; }

    /* Форма заявки */
    .calc-layout-simple { grid-template-columns: 1fr; gap: 24px; }
    .contact-form-wrap  { padding: 22px 18px; }
    .form-row       { grid-template-columns: 1fr; gap: 0; }
    .calc-prices h3 { font-size: 20px; margin-bottom: 16px; }
    .price-row span:first-child { font-size: 14px; }
    .price-row span:last-child  { font-size: 15px; }

    /* CTA */
    #cta            { padding: 60px 18px; }
    #cta .btn-white { width: 100%; max-width: 340px; }

    /* Футер */
    #footer         { padding: 50px 0 20px; }
    .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom  { flex-direction: column; text-align: center; gap: 6px; }

    /* Страницы */
    .page-banner    { padding: 90px 0 40px; }
    #gallery-page   { padding: 50px 0 60px; }
    .masonry        { columns: 2; }
    #prices-page    { padding: 50px 0 60px; }
    .discount-grid  { grid-template-columns: 1fr; }
    #contacts-page  { padding: 50px 0 60px; }
    .zones-grid     { grid-template-columns: repeat(2, 1fr); }
    .price-table td,
    .price-table th { padding: 10px 12px; font-size: 13px; }

    /* Touch-friendly */
    .btn-primary, .btn-secondary, .btn-white {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================================
   АДАПТИВ 480px — маленький мобильный
   ============================================================ */
@media (max-width: 480px) {
    /* Герой */
    .hero-title     { font-size: clamp(28px, 10vw, 42px); }
    .hero-subtitle  { font-size: 14px; margin-bottom: 22px; }
    .hero-checks    { gap: 8px 14px; margin-bottom: 26px; }
    .hero-check     { font-size: 12px; }
    .hero-badge     { font-size: 10px; letter-spacing: 2px; padding: 5px 10px; }

    /* Этапы */
    .step-circle    { width: 48px; height: 48px; min-width: 48px; font-size: 16px; }
    .process-track::after { top: 24px; bottom: 24px; left: 24px; }

    /* Статистика */
    #stats          { padding: 16px 14px; }
    .stat-num       { font-size: 22px; }

    /* Галерея */
    .masonry        { columns: 1; }
    .preview-grid   { grid-template-columns: 1fr; grid-template-rows: repeat(8, 180px); }
    .preview-item:first-child { grid-column: span 1; grid-row: span 1; }

    /* Зоны, кнопки */
    .zones-grid     { grid-template-columns: 1fr 1fr; }
    .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 13px; }
    .section-title  { font-size: clamp(22px, 7vw, 32px); }

    /* Форма: font-size 16px предотвращает zoom на iOS */
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 16px; }
    .contact-form-wrap  { padding: 18px 14px; }
}

/* ============================================================
   АДАПТИВ 380px — очень маленький
   ============================================================ */
@media (max-width: 380px) {
    .logo-img       { height: 28px; max-width: 120px; }
    .logo-name      { font-size: 13px; }
    .logo-sub       { display: none; }
    .header-right .btn-primary { display: none; }
    .stat-num       { font-size: 20px; }
    .hero-title     { font-size: clamp(26px, 11vw, 38px); }
}

/* ============================================================
   ОБЩЕЕ
   ============================================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; -webkit-overflow-scrolling: touch; }

/* ============================================================
   ОТЗЫВЫ v2 — карточки, рейтинг-сводка, модалка «Оставить отзыв»
   Единственное место, где описан этот блок (сознательно в конце
   файла, чтобы не зависеть от старых .reviews-grid/.review-card
   выше и от порядка подключения style.css / инлайновых <style>).
   ============================================================ */
.rev-summary {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: -14px 0 36px;
}
.rev-summary-score { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--white); line-height: 1; }
.rev-summary-stars { color: var(--orange); font-size: 17px; letter-spacing: 2px; }
.rev-summary-count { color: var(--gray2); font-size: 14px; }

.rev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.rev-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-top: 3px solid var(--orange);
    border-radius: 4px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rev-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.35); }
.rev-card--extra { display: none; }
.rev-grid--expanded .rev-card--extra { display: flex; }

.rev-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.rev-avatar {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(232,100,26,0.14);
    color: var(--orange);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: flex; align-items: center; justify-content: center;
}
.rev-who { flex: 1 1 auto; min-width: 0; }
.rev-name { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--white); letter-spacing: 0.2px; }
.rev-meta { font-size: 12px; color: var(--gray2); margin-top: 2px; }
.rev-stars { color: var(--orange); font-size: 13px; letter-spacing: 1px; flex-shrink: 0; white-space: nowrap; margin-left: auto; padding-top: 2px; }
.rev-text { font-size: 15px; color: var(--light); line-height: 1.7; margin: 0; }

.rev-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ---------- Модалка «Оставить отзыв» ---------- */
.rev-modal {
    position: fixed; inset: 0; z-index: 300;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.rev-modal[hidden] { display: none; }
.rev-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.rev-modal-box {
    position: relative;
    background: var(--dark2);
    border: 1px solid var(--border);
    border-top: 3px solid var(--orange);
    border-radius: 4px;
    padding: 32px 28px 28px;
    max-width: 460px; width: 100%;
    max-height: 90vh; overflow-y: auto;
}
.rev-modal-box h3 { font-family: var(--font-head); color: var(--white); font-size: 21px; margin: 0 0 8px; }
.rev-modal-note { font-size: 13px; color: var(--gray2); line-height: 1.55; margin: 0 0 22px; }
.rev-modal-close {
    position: absolute; top: 12px; right: 12px;
    background: none; border: none; color: var(--gray);
    font-size: 20px; line-height: 1; padding: 8px;
}
.rev-modal-close:hover { color: var(--orange); }

.rev-field { display: block; margin-bottom: 16px; font-size: 13px; color: var(--gray); }
.rev-field input[type="text"], .rev-field textarea {
    width: 100%; margin-top: 6px;
    background: var(--dark); border: 1px solid var(--border); color: var(--white);
    padding: 11px 13px; font-family: var(--font-body); font-size: 16px; border-radius: 4px;
}
.rev-field textarea { resize: vertical; min-height: 90px; }
.rev-field input:focus, .rev-field textarea:focus { outline: none; border-color: var(--orange); }

.rev-rate { display: inline-flex; gap: 2px; margin-top: 8px; }
.rev-rate button {
    background: none; border: none; font-size: 27px; line-height: 1;
    color: var(--border); padding: 4px; transition: color 0.15s ease;
}
.rev-rate button.is-active { color: var(--orange); }

.rev-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray); margin-bottom: 20px; cursor: pointer; }
.rev-consent input { margin-top: 3px; flex-shrink: 0; }
.rev-consent a { color: var(--orange); }

.rev-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.rev-submit { width: 100%; text-align: center; }

@media (max-width: 1100px) {
    .rev-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .rev-grid { grid-template-columns: 1fr; gap: 14px; }
    .rev-card { padding: 22px 20px; }
    .rev-summary { margin-bottom: 26px; }
    .rev-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .rev-actions .btn-secondary, .rev-actions .btn-primary { text-align: center; }
    .rev-modal-box { padding: 26px 18px 22px; }
}

/* ============================================================
   КАЛЬКУЛЯТОР СТОИМОСТИ (.icalc-*)
   ============================================================ */
#calc { padding: 90px 0; background: var(--dark); }
.icalc-intro {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 640px;
    margin: -14px 0 36px;
}

.icalc-box {
    display: grid;
    grid-template-columns: 1fr 320px;
    background: var(--dark2);
    border-top: 4px solid var(--orange);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.icalc-controls {
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.icalc-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray2);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.icalc-field select {
    width: 100%;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 16px;
    font-size: 15px;
    color: var(--white);
    font-family: var(--font-body);
    cursor: pointer;
    appearance: none;
    transition: border-color var(--transition);
}
.icalc-field select:focus { outline: none; border-color: var(--orange); }

.icalc-qty-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}
.icalc-qty-head label { margin-bottom: 0; }
.icalc-qty-readout {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}
.icalc-qty-readout span#icalcUnit {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray2);
    margin-left: 3px;
}

.icalc-slider-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.icalc-step {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--dark);
    color: var(--orange);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition);
}
.icalc-step:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* Range input — сброс дефолтных стилей браузера и наш трек/бегунок */
.icalc-slider-row input[type="range"] {
    flex: 1 1 auto;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    cursor: pointer;
}
.icalc-slider-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--orange);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.icalc-slider-row input[type="range"]::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--orange);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.icalc-slider-row input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: transparent;
}

.icalc-result {
    padding: 44px 40px;
    background: rgba(232,100,26,0.06);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}
.icalc-result-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray2);
}
.icalc-result-price {
    font-family: var(--font-head);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    color: var(--orange);
    line-height: 1.1;
}
.icalc-result-note {
    font-size: 12px;
    color: var(--gray2);
    line-height: 1.5;
    margin-bottom: 8px;
}
.icalc-result-note strong { color: var(--gray); }
.icalc-order-btn { width: 100%; text-align: center; }

@media (max-width: 900px) {
    .icalc-box { grid-template-columns: 1fr; }
    .icalc-result { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 640px) {
    #calc { padding: 56px 0; }
    .icalc-controls { padding: 28px 22px; gap: 24px; }
    .icalc-result { padding: 28px 22px; }
    .icalc-result-price { font-size: 30px; }
}
