/* ============================================================
   ПОДКЛЮЧЕНИЕ ЛОКАЛЬНЫХ ШРИФТОВ INTER
   ============================================================ */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: optional;
    src: url('/fonts/inter-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: optional;
    src: url('/fonts/inter-medium.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: optional;
    src: url('/fonts/inter-semibold.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    src: url('/fonts/inter-bold.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: optional;
    src: url('/fonts/inter-extrabold.woff2') format('woff2');
}

/* ============================================================
   ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ
   ============================================================ */
:root {
    --accent: #006063;
    --accent-light: #00838f;
    --accent-dark: #004a4d;
    --bg-body: #0d1117;
    --bg-card: #161b22;
    --bg-glass: rgba(255, 255, 255, 0.04);
    --text-primary: #ffffff;
    --text-secondary: #8899aa;
    --text-dark: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.06);
    --shadow-glow: 0 8px 32px rgba(0, 96, 99, 0.25);
    --radius: 1.25rem;
    --radius-sm: 0.75rem;
    --transition: 0.35s ease;
}

/* ============================================================
   СБРОС И БАЗОВЫЕ СТИЛИ
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    background: var(--bg-body);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100%;
}

/* ============================================================
   УТИЛИТЫ
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.bg-dark-section { background: var(--bg-body); }
.bg-dark-section\/50 { background: rgba(13, 17, 23, 0.7); }
.text-accent { color: var(--accent); }
.text-accent-light { color: var(--accent-light); }
.text-secondary { color: var(--text-secondary); }
.text-white { color: #fff; }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.text-white\/60 { color: rgba(255,255,255,0.6); }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }

.w-full { width: 100%; }
.w-auto { width: auto; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-24 { width: 6rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-md { max-width: 28rem; }

.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-auto { height: auto; }
.min-h-\[90vh\] { min-height: 90vh; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.border { border: 1px solid; }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }
.border-accent\/30 { border-color: rgba(0, 96, 99, 0.3); }
.border-b { border-bottom: 1px solid; }
.border-t { border-top: 1px solid; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.drop-shadow-xl { filter: drop-shadow(0 20px 13px rgba(0,0,0,0.03)) drop-shadow(0 8px 5px rgba(0,0,0,0.08)); }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgba(0,0,0,0.04)) drop-shadow(0 4px 3px rgba(0,0,0,0.1)); }

.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

.bg-black\/30 { background: rgba(0,0,0,0.3); }
.bg-black\/60 { background: rgba(0,0,0,0.6); }
.bg-black\/80 { background: rgba(0,0,0,0.8); }
.bg-white\/5 { background: rgba(255,255,255,0.05); }
.bg-white\/10 { background: rgba(255,255,255,0.1); }
.bg-accent\/20 { background: rgba(0, 96, 99, 0.2); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

.overflow-hidden { overflow: hidden; }
.whitespace-nowrap { white-space: nowrap; }
.cursor-pointer { cursor: pointer; }
.flex-shrink-0 { flex-shrink: 0; }
.list-none { list-style: none; }
.list-disc { list-style: disc; }
.list-inside { list-style-position: inside; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.col-span-2 { grid-column: span 2; }
.flex-1 { flex: 1; }

.transition {
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: underline;
}
a.no-underline:hover {
    text-decoration: none;
}

/* ============================================================
   АДАПТИВНЫЕ УТИЛИТЫ
   ============================================================ */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .sm\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .sm\:py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
    .sm\:p-8 { padding: 2rem; }
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
    .sm\:block { display: block; }
}
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:flex-nowrap { flex-wrap: nowrap; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:gap-2 { gap: 0.5rem; }
    .md\:gap-6 { gap: 1.5rem; }
    .md\:gap-8 { gap: 2rem; }
    .md\:space-x-2 > * + * { margin-left: 0.5rem; }
    .md\:space-x-3 > * + * { margin-left: 0.75rem; }
    .md\:space-x-4 > * + * { margin-left: 1rem; }
    .md\:py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
    .md\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:px-4 { padding-left: 1rem; padding-right: 1rem; }
    .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .md\:p-12 { padding: 3rem; }
    .md\:text-left { text-align: left; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .md\:h-10 { height: 2.5rem; }
    .md\:h-4 { height: 1rem; }
    .md\:h-8 { height: 2rem; }
    .md\:w-8 { width: 2rem; }
    .md\:mt-0 { margin-top: 0; }
    .md\:mb-14 { margin-bottom: 3.5rem; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .lg\:space-x-4 > * + * { margin-left: 1rem; }
}

/* ============================================================
   СТЕКЛЯННЫЕ КОМПОНЕНТЫ
   ============================================================ */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-color);
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.glass-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(0, 96, 99, 0.3);
    box-shadow: var(--shadow-glow);
}
.glass-header {
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    padding: 0.65rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.35s ease;
    box-shadow: 0 8px 24px -6px rgba(0, 96, 99, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -8px rgba(0, 96, 99, 0.50);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.65rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.35s ease;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.40);
}

/* ============================================================
   ШАПКА (БАЗОВАЯ)
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.header__left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
}
.header__logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.header__logo-text {
    font-weight: 700;
}
.header__logo-text .text-accent {
    color: var(--accent);
}

.header__geo {
    position: relative;
}
.geo-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.geo-trigger:hover {
    background: rgba(255,255,255,0.08);
}
.geo-trigger__chevron {
    font-size: 0.6rem;
    transition: transform 0.3s;
}
.geo-trigger.active .geo-trigger__chevron {
    transform: rotate(180deg);
}
.geo-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #161b22;
    border-radius: 0.8rem;
    padding: 1rem;
    min-width: 220px;
    z-index: 1001;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}
.geo-dropdown.active {
    display: block !important;
}
.geo-dropdown__search {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.05);
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.geo-dropdown__search::placeholder {
    color: var(--text-secondary);
}
.geo-dropdown__list {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}
.geo-dropdown__item {
    margin-bottom: 0.25rem;
}
.geo-dropdown__button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.geo-dropdown__button:hover {
    background: rgba(255,255,255,0.05);
}
.geo-dropdown__city {
    display: block;
    font-weight: 600;
}
.geo-dropdown__region {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.geo-dropdown__button[aria-current="location"] {
    background: rgba(0, 96, 99, 0.15);
    color: var(--accent-light);
}

.nav__list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav__link:hover {
    color: #fff;
}

.header__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.header__phone:hover {
    color: #fff;
}
.header__phone i {
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.header__phone:hover i {
    color: #fff;
}

.header__max {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.header__max:hover {
    color: #fff;
}

/* Иконка MAX в шапке – минимальные стили */
.header__max .header__max-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.header__worktime {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-right: 0.8rem;
}
.header__worktime i {
    color: var(--accent);
    font-size: 0.9rem;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}
.burger span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}
.burger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav {
    display: flex;
}
@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100dvh;
        background: rgba(13,17,23,0.98);
        backdrop-filter: blur(20px);
        padding: 5rem 1.5rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        flex-direction: column;
    }
    .nav.active {
        display: flex;
        right: 0;
    }
    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav__link {
        font-size: 1.1rem;
    }
    .burger {
        display: flex;
    }
    .header__container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .header__left {
        gap: 0.75rem;
    }
    .header__geo .geo-trigger__text {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .header__phone span {
        display: none;
    }
}

/* ============================================================
   КРЕСТИК ДЛЯ МОБИЛЬНОГО МЕНЮ
   ============================================================ */
.nav__close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    line-height: 1;
    z-index: 1001;
    transition: transform 0.3s;
}
.nav__close-icon {
    display: block;
    font-size: 2.2rem;
    color: #ffffff !important;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s;
}
.nav__close:hover .nav__close-icon {
    transform: rotate(90deg);
}
@media (min-width: 769px) {
    .nav__close {
        display: none !important;
    }
}

/* ============================================================
   ГЕРОЙ И КАЛЬКУЛЯТОР
   ============================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    overflow: hidden;
}
.hero__image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13,17,23,0.7);
    z-index: 1;
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem 1.5rem;
}
.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero__title .text-accent {
    color: var(--accent);
}
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.hero__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 2rem;
}
.hero__feature {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.hero__feature i {
    font-size: 1rem;
    width: 1.5rem;
    text-align: center;
    color: var(--accent);
}

.calculator {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}
.calculator__row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.calculator__row label {
    font-weight: 600;
    flex: 0 0 auto;
    min-width: 120px;
    text-align: left;
    color: var(--text-secondary);
}
.calculator__row input[type="range"] {
    flex: 2;
    min-width: 100px;
    accent-color: var(--accent);
    background: transparent;
}
.calculator__row select {
    flex: 1;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
}
.calculator__row select option {
    background: #161b22;
}
.calculator__row span {
    min-width: 2rem;
    font-weight: 700;
    color: var(--accent-light);
}
.calculator__result {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 0.8rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
}
.calculator__result strong {
    color: var(--accent);
}
.calculator__note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}
.calculator__actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.calculator__actions .btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
}
.calculator__actions .btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
}
@media (max-width: 640px) {
    .calculator {
        padding: 1rem;
        margin: 1rem 0;
    }
    .calculator__row {
        flex-direction: column;
        align-items: stretch;
    }
    .calculator__row label {
        min-width: auto;
    }
    .calculator__row input[type="range"] {
        width: 100%;
    }
    .calculator__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .calculator__actions .btn-primary,
    .calculator__actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   СЕКЦИИ
   ============================================================ */
.section {
    padding: 4rem 0;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: stretch;
}
.advantage {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.advantage:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 96, 99, 0.3);
}
.advantage__icon {
    font-size: 2.8rem;
    color: var(--accent);
    display: block;
    margin: 0 auto 1rem;
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
    border-radius: 50%;
    background: rgba(0, 96, 99, 0.08);
    transition: transform 0.3s, background 0.3s;
}
.advantage:hover .advantage__icon {
    transform: scale(1.08);
    background: rgba(0, 96, 99, 0.15);
}
.advantage__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    margin-top: 0.5rem;
}
.advantage__desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex: 1;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 96, 99, 0.3);
}
.service-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}
.service-card__desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.service-card__price {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.2rem;
}
.service-card .btn-secondary {
    margin-top: 0.5rem;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    padding: 1.5rem;
}
.review__stars i {
    font-size: 1.1rem;
    width: 1.3rem;
    text-align: center;
    color: #fbbf24;
}
.review__text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0.8rem;
}
.review__author {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

.faq__accordion {
    max-width: 700px;
    margin: 0 auto;
}
.faq__item {
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}
.faq__question {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}
.faq__item.active .faq__question::after {
    content: '−';
}
.faq__answer {
    display: none;
    padding: 0.5rem 0 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.faq__item.active .faq__answer {
    display: block;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact__item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.contact__item i {
    width: 1.8rem;
    font-size: 1.2rem;
    text-align: center;
    color: var(--accent);
}
.contact__item a {
    color: #fff;
}
.contact__item a:hover {
    color: var(--accent-light);
}
.contact__form input,
.contact__form textarea,
.contact__form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.contact__form textarea {
    min-height: 100px;
    resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus,
.contact__form select:focus {
    outline: none;
    border-color: var(--accent);
}
.contact__form select option {
    background: #161b22;
}
@media (max-width: 768px) {
    .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.3);
}
.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer a {
    color: var(--text-secondary);
    transition: color 0.2s;
}
.footer a:hover {
    color: #fff;
}
.footer__bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* ============================================================
   НИЖНИЙ БЛОК КНОПОК (cta-bottom)
   ============================================================ */
.cta-bottom {
    padding: 2.5rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.cta-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.cta-bottom__phone,
.cta-bottom__max {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    background: var(--accent);
    color: #fff;
    border: none;
}
.cta-bottom__phone:hover,
.cta-bottom__max:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: scale(1.02);
}

/* ============================================================
   МОБИЛЬНОЕ МЕНЮ – КНОПКИ
   ============================================================ */
.nav__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}
.nav__phone,
.nav__max {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    background: var(--accent);
    color: #ffffff;
    border: none;
}

/* ============================================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ФОРМЫ
   ============================================================ */
.form__group {
    margin-bottom: 1rem;
}
.form__group label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ============================================================
   АНИМАЦИИ
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   КНОПКА "НАВЕРХ"
   ============================================================ */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0, 96, 99, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#backToTop:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 40px rgba(0, 96, 99, 0.45);
}

/* ============================================================
   МОДАЛЬНОЕ ОКНО (не используется)
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay.active {
    display: flex;
}
.modal-container {
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}
.modal-container__close {
    float: right;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}
.modal-container__close:hover {
    color: #fff;
}
.modal-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}
.modal-container p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.modal-container input,
.modal-container select,
.modal-container textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.modal-container input:focus,
.modal-container select:focus,
.modal-container textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.modal-container .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   ОБЩАЯ АДАПТИВНОСТЬ
   ============================================================ */
@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .hero__title {
        font-size: 1.8rem;
    }
    .hero__features {
        gap: 0.5rem;
    }
    .hero__feature {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    .calculator {
        padding: 0.75rem;
    }
    .calculator__row {
        gap: 0.5rem;
    }
    .section {
        padding: 2.5rem 0;
    }
    .advantages__grid,
    .services__grid,
    .reviews__grid {
        grid-template-columns: 1fr;
    }
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .header__logo-text {
        font-size: 0.9rem;
    }
    .header__logo-img {
        width: 30px;
        height: 30px;
    }
    .header__worktime {
        display: none;
    }
    .header__max span {
        display: none;
    }
    .header__max .header__max-icon {
        width: 24px;
        height: 24px;
    }
    .cta-bottom__inner {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-bottom__phone,
    .cta-bottom__max {
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
    .nav__contacts {
        gap: 0.6rem;
    }
}
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding-top: 4.5rem;
    }
    .hero__content {
        padding: 1rem;
    }
    .header__max span {
        display: none !important;
    }
    .header__max .header__max-icon {
        margin-right: 0;
    }
}

/* ============================================================
   УМЕНЬШЕННЫЙ ГЕО-ВИДЖЕТ
   ============================================================ */
.geo-trigger {
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 999px;
}
.geo-trigger__icon i {
    font-size: 0.8rem;
}
.geo-trigger__text {
    font-size: 0.8rem;
}
.geo-trigger__chevron i {
    font-size: 0.6rem;
}

/* ============================================================
   СКРУГЛЕНИЕ ШАПКИ
   ============================================================ */
.header {
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   ИКОНКИ MAX (мобильное меню и нижний блок)
   ============================================================ */
.nav__max .nav__max-icon,
.cta-bottom__max .cta-bottom__icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ============================================================
   СКРЫВАЕМ КНОПКИ МОБИЛЬНОГО МЕНЮ НА ДЕСКТОПЕ
   ============================================================ */
@media (min-width: 769px) {
    .nav__contacts {
        display: none !important;
    }
}

/* ============================================================
   ВЫРАВНИВАНИЕ ШАПКИ ДЛЯ ПК (≥ 769px)
   ============================================================ */
@media (min-width: 769px) {
    .header__container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0.8rem 1.2rem;
        padding: 0 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
        min-height: 64px;
    }

    .header__left {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex: 0 1 auto;
        min-width: 0;
    }

    .header__logo {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        flex-shrink: 0;
    }
    .header__logo-img {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .header__logo-text {
        font-size: 1.2rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .header__geo {
        flex-shrink: 1;
        min-width: 0;
    }
    .geo-trigger {
        font-size: 0.85rem;
        padding: 0.25rem 0.7rem;
        gap: 0.3rem;
        white-space: nowrap;
    }
    .geo-trigger__text {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .header__right {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        flex: 0 1 auto;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .header__worktime {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .header__phone {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-secondary);
        text-decoration: none;
        white-space: nowrap;
        padding: 0.2rem 0.4rem;
        flex-shrink: 0;
    }
    .header__phone i {
        font-size: 1rem;
        color: var(--text-secondary);
        flex-shrink: 0;
    }
    .header__phone span {
        display: inline !important;
    }

    .header__max {
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--text-secondary);
        text-decoration: none;
        white-space: nowrap;
        padding: 0.2rem 0.4rem;
        flex-shrink: 0;
    }
    .header__max .header__max-icon {
        width: 18px;
        height: 18px;
        display: inline-block;
        vertical-align: middle;
        flex-shrink: 0;
    }
    .header__max span {
        display: none !important;
    }

    .burger {
        display: none !important;
    }

    @media (max-width: 1024px) {
        .header__container {
            gap: 0.5rem;
            padding: 0 1rem;
        }
        .header__left {
            gap: 0.6rem;
        }
        .geo-trigger__text {
            max-width: 90px;
        }
        .header__worktime {
            font-size: 0.7rem;
            padding: 0.1rem 0.4rem;
        }
        .header__phone {
            font-size: 0.85rem;
        }
        .header__max .header__max-icon {
            width: 16px;
            height: 16px;
        }
    }
}

/* ============================================================
   ПОЭТАПНАЯ АДАПТАЦИЯ ШАПКИ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ
   ============================================================ */

/* 1. При ширине ≤ 420px – скрываем кнопку MAX (освобождаем место) */
@media (max-width: 420px) {
    .header__max {
        display: none !important;
    }
    .header__right {
        gap: 0.3rem;
    }
}

/* 2. При ширине ≤ 375px – уменьшаем логотип, шрифт, гео-кнопку */
@media (max-width: 375px) {
    .header__logo-img {
        width: 26px !important;
        height: 26px !important;
    }
    .header__logo-text {
        font-size: 0.8rem !important;
    }
    .geo-trigger {
        font-size: 0.65rem !important;
        padding: 0.1rem 0.4rem !important;
    }
    .geo-trigger__text {
        max-width: 50px !important;
    }
    .header__phone i {
        font-size: 1rem !important;
    }
    .header__container {
        padding: 0 0.5rem !important;
    }
}

/* 3. При ширине ≤ 340px – скрываем иконку телефона */
@media (max-width: 340px) {
    .header__phone {
        display: none !important;
    }
    .header__right {
        gap: 0.2rem;
    }
}
/* ============================================================
   КАСТОМНЫЙ ЧЕКБОКС СОГЛАСИЯ
   ============================================================ */

/* Контейнер для чекбокса и текста */
.form__group .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-secondary);
    padding: 0.3rem 0;
}

/* Скрываем стандартный чекбокс */
.form__group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Кастомный квадрат для чекбокса */
.form__group .custom-checkbox {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* Галочка (скрыта по умолчанию) */
.form__group .custom-checkbox .checkmark {
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s ease;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

/* При checked – фон и галочка */
.form__group input[type="checkbox"]:checked + .custom-checkbox {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 96, 99, 0.2);
}

.form__group input[type="checkbox"]:checked + .custom-checkbox .checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Ховер и фокус */
.form__group input[type="checkbox"]:focus + .custom-checkbox {
    box-shadow: 0 0 0 3px rgba(0, 96, 99, 0.3);
    border-color: var(--accent-light);
}

.form__group .checkbox-wrapper:hover .custom-checkbox {
    border-color: var(--accent-light);
    background: rgba(255,255,255,0.08);
}

/* Текст лейбла */
.form__group .checkbox-label {
    user-select: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.form__group .checkbox-label a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.form__group .checkbox-label a:hover {
    color: #fff;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .form__group .checkbox-wrapper {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    .form__group .custom-checkbox {
        width: 20px;
        height: 20px;
    }
    .form__group .custom-checkbox .checkmark {
        font-size: 12px;
    }
}