/* ==========================================================================
   БАЗОВЫЕ ПЕРЕМЕННЫЕ И СБРОС СТИЛЕЙ
   ========================================================================== */
:root {
    --blue-dark: #144893;
    --blue-mid: #1E5BB5;
    --blue-light: #EFF6FF;
    --orange: #EE7A28;
    --orange-dark: #D96514;
    --orange-light: #FFF7ED;
    --slate-900: #0F172A;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --white: #FFFFFF;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background-color: var(--blue-dark);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hidden {
    display: none !important;
}

.nowrap {
    white-space: nowrap;
}

.max-w-md {
    max-width: 28rem;
}

.text-white { color: var(--white); }
.text-blue { color: var(--blue-dark); }
.text-orange { color: var(--orange); }

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 0.75rem;
}
@media (min-width: 420px) { .container { padding: 0 1rem; } }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Иконки */
.icon-sm { width: 0.95rem; height: 0.95rem; flex-shrink: 0; }
@media (min-width: 480px) { .icon-sm { width: 1rem; height: 1rem; } }
.icon-md { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-lg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }

/* ==========================================================================
   ШАПКА САЙТА И ЛОГОТИП ВАРИАНТ №6 (С АДАПТАЦИЕЙ ПОД УЗКИЕ МОБИЛЬНЫЕ ЭКРАНЫ)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    background-color: rgba(20, 72, 147, 0.96);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-bottom: 1px solid rgba(23, 37, 84, 0.4);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

#scrollProgress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--orange), #FDBA74);
    transition: width 0.1s ease-out;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    gap: 0.4rem;
    width: 100%;
}
@media (min-width: 420px) { .header-inner { gap: 0.65rem; } }
@media (min-width: 640px) { .header-inner { padding-top: 0.7rem; padding-bottom: 0.7rem; gap: 1rem; } }

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    flex-shrink: 1;
}
@media (min-width: 420px) { .logo-link { gap: 0.5rem; } }
@media (min-width: 640px) { .logo-link { gap: 0.8rem; flex-shrink: 0; } }

.brand-bar-logo {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
@media (min-width: 390px) { .brand-bar-logo { width: 2rem; height: 2rem; } }
@media (min-width: 480px) { .brand-bar-logo { width: 2.35rem; height: 2.35rem; } }
@media (min-width: 640px) { .brand-bar-logo { width: 2.75rem; height: 2.75rem; } }

.group:hover .brand-bar-logo {
    transform: scale(1.05);
}

.brand-bar-wordmark {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}
@media (min-width: 375px) { .brand-bar-wordmark { font-size: 0.92rem; letter-spacing: 0.02em; } }
@media (min-width: 420px) { .brand-bar-wordmark { font-size: 1.02rem; } }
@media (min-width: 480px) { .brand-bar-wordmark { font-size: 1.15rem; letter-spacing: 0.03em; } }
@media (min-width: 640px) { .brand-bar-wordmark { font-size: 1.35rem; } }

.brand-bar-gear-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 1px;
    color: var(--orange);
}

.brand-bar-gear {
    width: 0.78rem;
    height: 0.78rem;
}
@media (min-width: 375px) { .brand-bar-gear { width: 0.88rem; height: 0.88rem; } }
@media (min-width: 420px) { .brand-bar-gear { width: 0.96rem; height: 0.96rem; } }
@media (min-width: 480px) { .brand-bar-gear { width: 1.08rem; height: 1.08rem; } }
@media (min-width: 640px) { .brand-bar-gear { width: 1.28rem; height: 1.28rem; } }

.logo-gear {
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.group:hover .logo-gear {
    transform: rotate(180deg);
}

.main-nav {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #DBEAFE;
    white-space: nowrap;
}
@media (min-width: 1024px) { .main-nav { display: flex; } }

.nav-link {
    position: relative;
    padding: 6px 2px;
    transition: color 0.25s ease, transform 0.15s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--orange);
    border-radius: 9999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:active { transform: scale(0.95); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}
@media (min-width: 420px) { .header-actions { gap: 0.6rem; } }
@media (min-width: 640px) { .header-actions { gap: 1rem; } }

.header-phone-box {
    display: none;
    flex-direction: column;
    align-items: flex-end;
}
@media (min-width: 768px) { .header-phone-box { display: flex; } }

.header-phone-num {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    transition: color 0.2s ease;
}
.header-phone-num:hover { color: var(--orange); }

/* Индикатор рабочего / нерабочего времени */
.header-schedule {
    font-size: 0.6875rem;
    color: #6EE7B7;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
    margin-top: 2px;
    transition: color 0.3s ease;
}
.header-schedule.is-closed,
.mobile-nav-schedule.is-closed {
    color: #FCA5A5 !important;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: #34D399;
    animation: pulseDot 2s infinite;
    flex-shrink: 0;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ==========================================================================
   МОБИЛЬНОЕ БУРГЕР-МЕНЮ (ПОВЕРХ СТРАНИЦЫ, БЕЗ ИЗМЕНЕНИЯ ВЫСОТЫ ШАПКИ)
   ========================================================================== */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
@media (min-width: 480px) {
    .burger-btn {
        width: 2.625rem;
        height: 2.625rem;
        gap: 5px;
        border-radius: 0.75rem;
    }
}
.burger-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.burger-btn:active {
    transform: scale(0.95);
}
@media (min-width: 1024px) {
    .burger-btn { display: none; }
}

.burger-line {
    display: block;
    width: 1.1rem;
    height: 2px;
    background-color: var(--white);
    border-radius: 9999px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
@media (min-width: 480px) {
    .burger-line { width: 1.25rem; }
}

.burger-btn.is-open .burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.burger-btn.is-open .burger-line:nth-child(2) {
    opacity: 0;
}
.burger-btn.is-open .burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
@media (min-width: 480px) {
    .burger-btn.is-open .burger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .burger-btn.is-open .burger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

.mobile-nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 0;
    overflow: hidden;
    background-color: #103A78;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 32px -8px rgba(15, 23, 42, 0.45);
    transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-nav-panel.is-open {
    max-height: 26rem;
}
@media (min-width: 1024px) {
    .mobile-nav-panel { display: none !important; }
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
}

.mobile-nav-link {
    padding: 0.75rem 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-link::after {
    content: '→';
    color: var(--orange);
    font-weight: 700;
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: #FDBA74;
    padding-left: 0.75rem;
}

.mobile-nav-footer {
    margin-top: 0.875rem;
    padding: 0.75rem 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
@media (min-width: 768px) {
    .mobile-nav-footer { display: none; }
}

.mobile-nav-phone {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--white);
}
.mobile-nav-schedule {
    font-size: 0.75rem;
    color: #6EE7B7;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

/* ==========================================================================
   КНОПКИ И ТАКТИЛЬНЫЕ ЭФФЕКТЫ
   ========================================================================== */
.btn-press {
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease,
                background-color 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease;
}
.btn-press:active {
    transform: scale(0.96) !important;
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    animation: shimmerSweep 4s infinite ease-in-out;
    pointer-events: none;
}
@keyframes shimmerSweep {
    0%, 60% { left: -75%; }
    100% { left: 135%; }
}

.btn-orange-sm {
    background-color: var(--orange);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.5rem 0.6rem;
    border-radius: 0.65rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}
@media (min-width: 420px) {
    .btn-orange-sm {
        font-size: 0.78rem;
        padding: 0.55rem 0.75rem;
        gap: 0.4rem;
    }
}
@media (min-width: 640px) {
    .btn-orange-sm {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
        border-radius: 0.75rem;
        gap: 0.5rem;
    }
}
.btn-orange-sm:hover { background-color: #EA580C; transform: scale(1.03); }

@media (max-width: 350px) {
    .btn-orange-sm .icon-sm { display: none; }
    .btn-orange-sm { padding: 0.48rem 0.5rem; font-size: 0.68rem; }
    .brand-bar-logo { width: 1.55rem; height: 1.55rem; }
    .brand-bar-wordmark { font-size: 0.76rem; }
    .brand-bar-gear { width: 0.72rem; height: 0.72rem; }
}

.btn-orange-md {
    background-color: var(--orange);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(238, 122, 40, 0.25);
    white-space: nowrap;
    display: inline-block;
}
.btn-orange-md:hover { background-color: #EA580C; transform: translateY(-2px); }

.btn-orange-lg {
    background-color: var(--orange);
    color: var(--white);
    font-weight: 600;
    padding: 1rem 1.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px -5px rgba(238, 122, 40, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
}
.btn-orange-lg:hover { background-color: #EA580C; transform: translateY(-2px); }

.btn-white-lg {
    background-color: var(--white);
    color: var(--slate-900);
    font-weight: 600;
    padding: 1rem 1.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    white-space: nowrap;
    display: inline-block;
}
.btn-white-lg:hover { background-color: var(--slate-50); border-color: #CBD5E1; transform: translateY(-2px); }

.btn-gray-md {
    background-color: var(--slate-100);
    color: var(--slate-900);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
}
.btn-gray-md:hover { background-color: var(--slate-200); transform: translateY(-2px); }

/* ==========================================================================
   ГЛАВНЫЙ ЭКРАН И ГЛАВНЫЙ ЛОГОТИП ВАРИАНТ №6 (HERO)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 2rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.8) 0%, var(--slate-50) 50%, var(--white) 100%);
}
@media (min-width: 1024px) { .hero-section { padding: 3.5rem 0 5rem; } }

.bg-blob {
    pointer-events: none;
    position: absolute;
    border-radius: 9999px;
    filter: blur(36px);
}
@media (min-width: 768px) {
    .bg-blob { filter: blur(64px); }
}
.blob-blue {
    top: -6rem;
    left: -6rem;
    width: 16rem;
    height: 16rem;
    background-color: rgba(59, 130, 246, 0.1);
}
.blob-orange {
    top: 7rem;
    right: 0;
    width: 18rem;
    height: 18rem;
    background-color: rgba(249, 115, 22, 0.1);
}
@media (min-width: 768px) {
    .blob-blue { width: 20rem; height: 20rem; }
    .blob-orange { width: 24rem; height: 24rem; }
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -14px) scale(1.06); }
}
@media (min-width: 768px) {
    .animate-blob { animation: floatBlob 9s ease-in-out infinite; }
    .animate-blob-delayed { animation: floatBlob 11s ease-in-out 3s infinite; }
}

.hero-container { position: relative; }

.hero-intro {
    max-width: 56rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: flex-start;
    align-self: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    background-color: var(--blue-light);
    border: 1px solid #DBEAFE;
    color: var(--blue-dark);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
}

.bounce-icon {
    margin-top: 2px;
    animation: bounceIcon 1.8s infinite;
}
@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.hero-h1 {
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.brand-hero-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    max-width: 100%;
    user-select: none;
}
@media (min-width: 480px) { .brand-hero-lockup { gap: 1rem; } }
@media (min-width: 768px) { .brand-hero-lockup { gap: 1.35rem; } }

.brand-hero-logo {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}
@media (min-width: 390px) { .brand-hero-logo { width: 3.1rem; height: 3.1rem; } }
@media (min-width: 480px) { .brand-hero-logo { width: 4.1rem; height: 4.1rem; } }
@media (min-width: 768px) { .brand-hero-logo { width: 5.25rem; height: 5.25rem; } }
@media (min-width: 1024px) { .brand-hero-logo { width: 5.75rem; height: 5.75rem; } }

.group:hover .brand-hero-logo {
    transform: scale(1.04);
}

.brand-hero-wordmark {
    display: inline-flex;
    align-items: center;
    font-size: 1.32rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
}
@media (min-width: 390px) { .brand-hero-wordmark { font-size: 1.6rem; letter-spacing: 0.02em; } }
@media (min-width: 480px) { .brand-hero-wordmark { font-size: 2.25rem; letter-spacing: 0.03em; } }
@media (min-width: 768px) { .brand-hero-wordmark { font-size: 3.25rem; } }
@media (min-width: 1024px) { .brand-hero-wordmark { font-size: 3.75rem; } }

.brand-hero-gear-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    color: var(--orange);
}

.brand-hero-gear {
    width: 1.24rem;
    height: 1.24rem;
}
@media (min-width: 390px) { .brand-hero-gear { width: 1.5rem; height: 1.5rem; } }
@media (min-width: 480px) { .brand-hero-gear { width: 2.1rem; height: 2.1rem; } }
@media (min-width: 768px) { .brand-hero-gear { width: 3rem; height: 3rem; } }
@media (min-width: 1024px) { .brand-hero-gear { width: 3.45rem; height: 3.45rem; } }

.hero-h1-sub {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
}
@media (min-width: 640px) { .hero-h1-sub { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero-h1-sub { font-size: 2.625rem; } }

.hero-lead {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.65;
    max-width: 48rem;
}
@media (min-width: 640px) { .hero-lead { font-size: 1.125rem; } }

/* ==========================================================================
   БЛОК КОНТАКТОВ И ОБНОВЛЁННАЯ КАРТА
   ========================================================================== */
.contacts-wrapper {
    scroll-margin-top: 6rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.contacts-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .contacts-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .contacts-left { grid-column: span 7 / span 7; }
    .contacts-right { grid-column: span 5 / span 5; }
}

.contacts-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacts-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .contacts-card {
        padding: 1.5rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon-box {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background-color: var(--blue-light);
    color: var(--blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-item:hover .contact-icon-box {
    background-color: var(--blue-dark);
    color: var(--white);
    transform: scale(1.06);
}

.contact-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
}

.contact-address-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-top: 2px;
    display: inline-block;
    transition: color 0.2s ease;
}
.contact-address-link:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.contact-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-top: 2px;
}

.contact-phone-link {
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-top: 2px;
    display: block;
    white-space: nowrap;
}
.contact-phone-link:hover { text-decoration: underline; }

.contact-note {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 2px;
}

.navigators-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.375rem;
}

.navigators-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.375rem;
}

.nav-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}
.nav-map-btn:hover { transform: translateY(-2px); }

.nav-yandex { background-color: #FFFBEB; color: #78350F; border: 1px solid #FDE68A; }
.nav-yandex:hover { background-color: #FEF3C7; }

.nav-google { background-color: var(--slate-100); color: var(--slate-900); border: 1px solid var(--slate-200); }
.nav-google:hover { background-color: var(--slate-200); }

.nav-2gis { background-color: #ECFDF5; color: #064E3B; border: 1px solid #A7F3D0; }
.nav-2gis:hover { background-color: #D1FAE5; }

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-frame-card {
    background-color: var(--white);
    padding: 0.75rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.map-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    padding: 0 0.25rem;
}

.map-card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue-dark);
}

.map-card-ext-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    white-space: nowrap;
    transition: color 0.2s ease;
}
.map-card-ext-link:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

.map-canvas {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: var(--slate-100);
}
@media (min-width: 640px) { .map-canvas { height: 320px; } }

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--slate-500);
    font-weight: 500;
}

/* Метка на Яндекс.Карте */
.profmaster-pin {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -100%);
    cursor: pointer;
    user-select: none;
}
.profmaster-pin-badge {
    background-color: var(--blue-dark);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 10px;
    border: 2px solid var(--white);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background-color 0.25s ease, transform 0.25s ease;
}
.profmaster-pin:hover .profmaster-pin-badge {
    background-color: var(--orange);
    transform: translateY(-3px) scale(1.03);
}
.profmaster-pin-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: var(--orange);
}
.profmaster-pin:hover .profmaster-pin-dot { background-color: var(--white); }
.profmaster-pin-title { font-size: 12px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.1; }
.profmaster-pin-sub { font-size: 10px; font-weight: 500; color: #DBEAFE; line-height: 1.1; margin-top: 2px; }
.profmaster-pin:hover .profmaster-pin-sub { color: var(--white); }
.profmaster-pin-arrow {
    width: 10px;
    height: 10px;
    background-color: var(--blue-dark);
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    margin-top: -6px;
    transition: background-color 0.25s ease;
}
.profmaster-pin:hover .profmaster-pin-arrow { background-color: var(--orange); }
.profmaster-pin-point-wrap {
    position: relative;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profmaster-pin-pulse {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background-color: rgba(238, 122, 40, 0.45);
    animation: pinPulse 2s infinite ease-out;
}
@keyframes pinPulse {
    0% { transform: scale(0.4); opacity: 0.9; }
    100% { transform: scale(1.5); opacity: 0; }
}
.profmaster-pin-point {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    background-color: var(--orange);
    border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   РАЗДЕЛИТЕЛИ И ОБЩИЕ СЕКЦИИ
   ========================================================================== */
.section-divider {
    position: relative;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, #CBD5E1 25%, #94A3B8 50%, #CBD5E1 75%, transparent 100%);
}
.section-divider::after {
    content: '';
    position: absolute;
    top: -1.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--blue-dark) 0%, var(--orange) 100%);
    box-shadow: 0 2px 10px rgba(20, 72, 147, 0.25);
}

.section-white {
    scroll-margin-top: 5.5rem;
    padding: 4rem 0;
    background-color: var(--white);
}
.section-gray {
    scroll-margin-top: 5.5rem;
    padding: 4rem 0;
    background-color: rgba(241, 245, 249, 0.85);
}
@media (min-width: 1024px) {
    .section-white, .section-gray { padding: 5rem 0; }
}

.section-header-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1rem;
}
@media (min-width: 768px) {
    .section-header-row {
        flex-direction: row;
        align-items: flex-end;
    }
}

.section-header-center {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }

.section-subtitle {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.section-subtitle-center {
    font-size: 1rem;
    color: var(--slate-600);
    margin-top: 0.75rem;
}

/* ==========================================================================
   БЛОК УСЛОВИЯ И СКИДКИ
   ========================================================================== */
.cards-grid-2 {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) { .cards-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.info-card {
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 640px) { .info-card { padding: 2rem; } }

.card-orange {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px -5px rgba(238, 122, 40, 0.25);
}
.card-blue {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px -5px rgba(20, 72, 147, 0.2);
}
.card-light {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.badge-white-alpha { background-color: rgba(255, 255, 255, 0.2); color: var(--white); }
.badge-blue { background-color: #DBEAFE; color: var(--blue-dark); }
.badge-orange { background-color: #FFEDD5; color: var(--orange); }

.card-title-white { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.75rem; line-height: 1.3; }
.card-title-dark { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.75rem; line-height: 1.3; }
@media (min-width: 640px) {
    .card-title-white, .card-title-dark { font-size: 1.5rem; }
}

.card-text-orange { color: #FFF7ED; font-size: 0.9375rem; line-height: 1.6; }
.card-text-blue { color: #DBEAFE; font-size: 0.9375rem; line-height: 1.6; }
.card-text-dark { color: var(--slate-600); font-size: 0.9375rem; line-height: 1.6; }

.card-footer-white {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}
.card-footer-blue {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-dark);
}
.card-footer-blue-light {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    color: #DBEAFE;
}
.card-footnote {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 0.75rem;
    color: var(--slate-600);
    line-height: 1.55;
}
.bold-dark { font-weight: 600; color: var(--slate-900); }

/* ==========================================================================
   БЛОК СИМПТОМОВ
   ========================================================================== */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
}
@media (min-width: 640px) { .symptoms-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }

.symptom-btn {
    text-align: left;
    padding: 1rem;
    border-radius: 1rem;
    background-color: var(--white);
    border: 2px solid var(--slate-200);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.25s ease,
                background-color 0.25s ease,
                box-shadow 0.25s ease;
}
@media (min-width: 640px) { .symptom-btn { padding: 1.25rem; } }
.symptom-btn:hover { border-color: var(--orange); transform: translateY(-3px); }
.symptom-btn:active { transform: scale(0.97) !important; }

.symptom-btn-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.symptom-icon {
    font-size: 1.75rem;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.symptom-btn:hover .symptom-icon,
.symptom-active .symptom-icon { transform: scale(1.16) rotate(-4deg); }

.symptom-check {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background-color: var(--orange);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.symptom-active {
    border-color: var(--orange) !important;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%) !important;
    box-shadow: 0 10px 24px -4px rgba(238, 122, 40, 0.32), 0 0 0 2px rgba(238, 122, 40, 0.22);
    transform: translateY(-3px);
}
.symptom-active .symptom-check { opacity: 1; transform: scale(1); }

.symptom-btn-title { font-weight: 700; color: var(--slate-900); font-size: 0.9375rem; display: block; line-height: 1.3; }
.symptom-btn-sub { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.25rem; display: block; }

.symptom-detail-card {
    margin-top: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .symptom-detail-card { flex-direction: row; align-items: center; padding: 1.75rem; }
}

.symptom-detail-text {
    max-width: 42rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.symptom-badge-idle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue-dark);
}
.symptom-badge-active {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--orange);
}

.symptom-detail-title { font-size: 1.25rem; font-weight: 800; color: var(--slate-900); }
.symptom-detail-desc { font-size: 0.9375rem; color: var(--slate-600); line-height: 1.6; }

.symptom-action-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
    border-top: 1px solid var(--slate-100);
    padding-top: 1rem;
}
@media (min-width: 1024px) {
    .symptom-action-area {
        align-items: flex-end;
        border-top: none;
        padding-top: 0;
    }
    .symptom-price-wrap { text-align: right; }
}

.symptom-price-label { font-size: 0.75rem; color: var(--slate-500); display: block; }
.symptom-price-val { font-size: 1.5rem; font-weight: 800; color: var(--blue-dark); }
.symptom-btns-row { display: flex; flex-wrap: wrap; gap: 0.625rem; }

@keyframes pulseSwap {
    0% { opacity: 0.35; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}
.symptom-swap-anim { animation: pulseSwap 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

/* ==========================================================================
   ПРАЙС-ЛИСТ
   ========================================================================== */
.tabs-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 2.5rem;
}

.tab-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: var(--white);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.tab-btn:hover:not(.tab-active) { transform: translateY(-2px); background-color: var(--slate-100); }
.tab-btn:active { transform: scale(0.96); }

.tab-active {
    background-color: var(--blue-dark) !important;
    color: var(--white) !important;
    border-color: var(--blue-dark) !important;
    box-shadow: 0 8px 20px -4px rgba(20, 72, 147, 0.42);
    transform: translateY(-2px);
}

.price-table-card {
    background-color: var(--white);
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.price-table-head {
    padding: 1.5rem;
    background-color: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}
@media (min-width: 640px) {
    .price-table-head { flex-direction: row; align-items: center; }
}

.price-cat-title { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); }
.price-cat-desc { font-size: 0.875rem; color: var(--slate-500); margin-top: 2px; }

.warranty-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 0.5rem;
    background-color: var(--blue-light);
    color: var(--blue-dark);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.price-rows-wrap > div + div { border-top: 1px solid var(--slate-100); }

.price-row {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    transition: background-color 1.1s ease;
}
@media (min-width: 640px) {
    .price-row { flex-direction: row; align-items: center; }
}
.price-row:hover { background-color: var(--slate-50); }

.price-title { font-weight: 700; color: var(--slate-900); font-size: 1rem; transition: color 1.1s ease; }
.price-desc { font-size: 0.875rem; color: var(--slate-500); margin-top: 2px; transition: color 1.1s ease; }
.price-value { font-size: 1.125rem; font-weight: 800; color: var(--blue-dark); white-space: nowrap; transition: color 1.1s ease; }

@keyframes smoothPriceFade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.price-item-enter { opacity: 0; animation: smoothPriceFade 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.price-row.price-highlight { background-color: var(--orange) !important; }
.price-row.price-highlight .price-title { color: var(--white) !important; }
.price-row.price-highlight .price-desc { color: #FFF7ED !important; }
.price-row.price-highlight .price-value { color: var(--white) !important; }

/* ==========================================================================
   КАК МЫ РАБОТАЕМ И ПРИМЕРЫ ВЫПОЛНЕННЫХ РАБОТ (ДО И ПОСЛЕ)
   ========================================================================== */
.steps-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.step-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.step-num {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    color: var(--white);
    font-weight: 800;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}
.group:hover .step-num { transform: scale(1.1); }
.step-num-blue { background-color: var(--blue-dark); }
.step-num-orange { background-color: var(--orange); }

.step-title { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.step-text { font-size: 0.875rem; color: var(--slate-600); line-height: 1.6; }
.inline-phone-link { font-weight: 600; color: var(--blue-dark); white-space: nowrap; }
.inline-phone-link:hover { text-decoration: underline; }

.works-block {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--slate-200);
}
.works-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}
@media (min-width: 640px) { .works-heading { font-size: 1.875rem; } }

.works-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.work-card {
    background-color: var(--white);
    border-radius: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
@media (min-width: 640px) { .work-card { padding: 1.5rem; } }

.work-card-head {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--slate-100);
}
@media (min-width: 640px) { .work-card-head { flex-direction: row; align-items: center; } }

.work-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tag-orange { color: var(--orange); }
.tag-blue { color: var(--blue-dark); }

.work-title { font-size: 1.125rem; font-weight: 800; color: var(--slate-900); }
@media (min-width: 640px) { .work-title { font-size: 1.25rem; } }

.work-time-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    background-color: var(--slate-100);
    color: var(--slate-700);
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.before-after-grid {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .before-after-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .ba-col-before { grid-column: span 5 / span 5; }
    .ba-col-after { grid-column: span 7 / span 7; }
}

.ba-col-before, .ba-col-after {
    display: flex;
    flex-direction: column;
}

.ba-img-box {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--slate-100);
}
.ba-box-before { border: 1px solid var(--slate-200); }
.ba-box-after { border: 2px solid var(--blue-dark); box-shadow: 0 10px 24px -8px rgba(20, 72, 147, 0.22); }

.ba-img-before {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(25%);
    opacity: 0.92;
    transition: filter 0.3s ease;
}
.group:hover .ba-img-before { filter: grayscale(0%); }

.ba-img-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.group:hover .ba-img-after { transform: scale(1.03); }

.img-fallback-before, .img-fallback-after {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
}
.img-fallback-before { background-color: var(--slate-200); color: var(--slate-500); }
.img-fallback-after { background-color: var(--blue-light); color: var(--blue-dark); }

.ba-label-before {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    background-color: rgba(15, 23, 42, 0.82);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ba-label-after {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.875rem;
    border-radius: 0.5rem;
    background-color: #059669;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ba-caption-before { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.625rem; padding: 0 0.25rem; line-height: 1.5; }
.ba-caption-before strong { color: var(--slate-700); }

.ba-caption-after { font-size: 0.875rem; color: var(--slate-700); margin-top: 0.625rem; padding: 0 0.25rem; line-height: 1.5; }
.ba-caption-after strong { color: var(--blue-dark); }

/* ==========================================================================
   ОТЗЫВЫ И ПОДВАЛ (С БУФЕРНЫМ ОТСТУПОМ ДЛЯ ПЛАВАЮЩЕЙ КНОПКИ НА МОБИЛЬНЫХ)
   ========================================================================== */
.rating-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--slate-50);
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
}
.rating-score { font-size: 1.5rem; font-weight: 800; color: var(--slate-900); }
.rating-stars { color: #FBBF24; font-size: 0.875rem; }
.rating-note { font-size: 0.75rem; color: var(--slate-500); }

.reviews-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.review-card {
    background-color: var(--slate-50);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background-color: var(--blue-dark);
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.review-name { font-weight: 700; color: var(--slate-900); font-size: 0.875rem; }
.review-date { font-size: 0.75rem; color: var(--slate-500); }
.review-text { font-size: 0.875rem; color: var(--slate-700); line-height: 1.6; margin-bottom: 1rem; }
.review-service {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--blue-dark);
}

.site-footer {
    margin-top: 3.75rem;
    background-color: var(--blue-dark);
    color: var(--slate-200);
    padding: 2.5rem 0;
    border-top: 4px solid var(--orange);
}
@media (min-width: 768px) {
    .site-footer { margin-top: 1.5rem; }
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
@media (min-width: 768px) { .footer-top { flex-direction: row; } }

.footer-brand-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
@media (min-width: 768px) {
    .footer-brand-wrap { align-items: flex-start; }
}

.footer-brand-info { font-size: 0.75rem; color: #DBEAFE; text-align: center; }
@media (min-width: 768px) { .footer-brand-info { text-align: left; } }

.footer-contacts { display: flex; align-items: center; gap: 1.5rem; font-size: 0.875rem; }
.footer-phone { color: var(--white); font-weight: 700; }
.footer-phone:hover { color: var(--orange); }
.footer-cta { color: var(--orange); font-weight: 600; }
.footer-cta:hover { color: #FDBA74; }

.footer-legal {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    color: rgba(191, 219, 254, 0.85);
    line-height: 1.6;
}

/* ==========================================================================
   ПЛАВАЮЩИЕ КНОПКИ (СКРЫТЫ НА ПЕРВОМ ЭКРАНЕ + ПОДДЕРЖКА SAFE-AREA)
   ========================================================================== */
.floating-actions {
    position: fixed;
    right: 1.25rem;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s ease, bottom 0.12s ease-out;
}
.floating-actions.is-shown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: var(--white);
    color: var(--blue-dark);
    border: 1px solid var(--slate-200);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.scroll-top-btn:hover { background-color: var(--slate-100); transform: translateY(-4px); }

.floating-call-btn {
    background-color: var(--orange);
    color: var(--white);
    font-weight: 700;
    padding: 0.875rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 12px 24px -4px rgba(238, 122, 40, 0.45);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
}
.floating-call-btn:hover { background-color: #EA580C; transform: scale(1.05); }

/* ==========================================================================
   ВСПЛЫВАЮЩЕЕ МОДАЛЬНОЕ ОКНО О НЕРАБОЧЕМ ВРЕМЕНИ
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 26rem;
    background-color: var(--white);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    text-align: center;
    transform: translateY(14px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-backdrop.is-open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-x {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: var(--slate-100);
    color: var(--slate-600);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.modal-close-x:hover {
    background-color: var(--slate-200);
    color: var(--slate-900);
}

.modal-icon-badge {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background-color: var(--blue-light);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 0.65rem;
}

.modal-desc {
    font-size: 0.9375rem;
    color: var(--slate-700);
    line-height: 1.55;
    margin-bottom: 0.65rem;
}

.modal-subdesc {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.modal-btn-primary {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background-color: var(--blue-dark);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}
.modal-btn-primary:hover {
    background-color: var(--blue-mid);
}

.modal-btn-secondary {
    display: inline-block;
    padding: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-500);
    text-decoration: underline;
}
.modal-btn-secondary:hover {
    color: var(--orange);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-hover {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -10px rgba(20, 72, 147, 0.14);
}

/* ==========================================================================
   ЭКОНОМИЯ ЗАРЯДА И УЧЕТ СИСТЕМНЫХ НАСТРОЕК АНИМАЦИИ
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
