/* ===============================
   AutoSkolMSK — Premium Dark Theme
   =============================== */

:root {
    --bg: #0a0a0b;
    --bg-2: #060607;
    --surface: #141416;
    --surface-2: #1c1c1f;
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f0f0f2;
    --text-muted: #9a9aa2;
    --text-dim: #6a6a72;
    --accent: #dc2626;
    --accent-2: #f05252;
    --accent-3: #a31616;
    --wa: #25d366;
    --tg: #2aabee;
    --success: #2ee6a6;
    --danger: #ff5166;
    --glow-blue: #3a1414;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius: 18px;
    --radius-sm: 10px;
    --container: 1240px;
    --transition: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.1s ease-out;
}

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

html {
    scroll-behavior: auto;
    scroll-padding-top: 120px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(220, 38, 38, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(58, 20, 20, 0.08) 0%, transparent 50%);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    position: relative;
    min-height: 100vh;
}

body.no-scroll { overflow: hidden; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ===== Background ===== */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    transform: translateZ(0);
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(180px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    transform: translateZ(0);
}

.bg-glow-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
    top: 100px; right: -250px;
    opacity: 0.2;
    animation: float1 25s ease-in-out infinite;
}

.bg-glow-2 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 65%);
    bottom: -300px; left: -300px;
    opacity: 0.25;
    animation: float2 30s ease-in-out infinite;
}

@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-80px, 60px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, -80px); } }

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 16px 0;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(10, 10, 11, 0.7);
    border-bottom: 1px solid var(--glass-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}


.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.logo__text {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #f05252 0%, #dc2626 50%, #a31616 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header__phone {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    padding: 8px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--glass);
    transition: all 0.2s;
}
.header__phone:hover {
    border-color: var(--accent);
    background: rgba(220, 38, 38, 0.14);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.header__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.header__social svg { width: 20px; height: 20px; }
.header__social--wa  { background: #25d366; }
.header__social--tg  { background: #2aabee; }
.header__social--sms { background: linear-gradient(135deg, #f05252, #dc2626); }
.header__social:hover { transform: scale(1.12); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); }

.logo__spin {
    animation: logoSpin 6s linear infinite;
    flex-shrink: 0;
}
@keyframes logoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Marquee ===== */
.marquee {
    background: rgba(220, 38, 38, 0.07);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 49;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
}
.marquee__text {
    display: inline-block;
    padding: 7px 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--marquee-color, var(--text-muted));
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--glass);
    transition: all var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}

.nav__link:hover {
    color: #fff;
    border-color: var(--accent);
    background: rgba(220, 38, 38, 0.14);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}

.header__phone svg { width: 14px; height: 14px; fill: currentColor; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: translateY(0) scale(0.98); }

.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 24px -8px rgba(220, 38, 38, 0.6), 0 0 18px rgba(220, 38, 38, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px -10px rgba(220, 38, 38, 0.7), 0 0 28px rgba(220, 38, 38, 0.5);
}

.btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: var(--border-strong);
    backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
}

.btn--tg {
    background: #2aabee;
    color: #fff;
}

.btn--tg:hover {
    background: #1d94d4;
    transform: translateY(-2px);
}

.icon-tg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.btn--lg .icon-tg { width: 22px; height: 22px; }

/* ===== Burger ===== */
.burger {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ===== Mobile menu ===== */
.mmenu {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
    transition: visibility 0s linear 0.4s;
}

.mmenu.is-open { visibility: visible; transition: visibility 0s; }

.mmenu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mmenu.is-open .mmenu__backdrop { opacity: 1; }

.mmenu__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    max-width: 380px;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mmenu.is-open .mmenu__panel { transform: translateX(0); }

.mmenu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
}

.mmenu__close {
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mmenu__close svg { width: 18px; height: 18px; fill: currentColor; }

.mmenu__nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mmenu__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.mmenu__link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-strong);
}

.mmenu__ico { font-size: 24px; }

.mmenu__text { display: flex; flex-direction: column; gap: 2px; }

.mmenu__text b {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.mmenu__text small {
    font-size: 12px;
    color: var(--text-dim);
}

.mmenu__foot {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== Hero ===== */
.hero {
    padding: 80px 0 50px;
    position: relative;
}

.hero__inner {
    max-width: 940px;
    text-align: center;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 12px var(--success);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero__title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: clamp(22px, 3.2vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #fff;
}

.gradient-text {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.hero__text {
    font-size: clamp(13px, 1.1vw, 15px);
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.hero__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 780px;
    margin: 0 auto 44px;
}

.feature {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 18px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(220, 38, 38, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.06);
}

.feature__ico { font-size: 24px; margin-bottom: 8px; }
.feature__text { font-size: 13px; color: var(--text-muted); }
.feature__text b { color: var(--text); font-weight: 600; }

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 32px;
    padding: 20px 32px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero__stat {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

.hero__stat-num {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
    padding: 70px 0;
    position: relative;
}

.section--alt {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.015) 50%, transparent 100%);
}

.section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-2);
    text-transform: uppercase;
    margin-bottom: 10px;
    padding: 5px 12px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section__title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #fff;
}

h1.section__title--h1 {
    font-size: clamp(28px, 3.5vw, 44px);
    margin: 0 0 16px;
}

.section__desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

.service:hover::before { transform: scaleX(1); }

.service__ico {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.16), rgba(240, 82, 82, 0.06));
    border: 1px solid rgba(220, 38, 38, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.service__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service__text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}

.service__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.service__price {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service__cta {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.service__cta:hover { color: var(--accent-2); }

/* ===== Process ===== */
.process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.process__step {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    transition: all var(--transition);
}

.process__step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-strong);
    transform: translateY(-3px);
}

.process__num {
    font-family: 'Unbounded', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    opacity: 0.85;
}

.process__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.process__text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Prices ===== */
.prices {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.price-row:last-child { border-bottom: none; }

.price-row:hover { background: rgba(255, 255, 255, 0.02); }

.price-row__name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.price-row__name small {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 3px;
    font-weight: 400;
}

.price-row__value {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

/* ===== Aqua ===== */
.aqua {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.aqua__left .section__tag { margin-bottom: 16px; }
.aqua__left .section__title { text-align: left; font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 20px; }

.aqua__lead {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.aqua__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.aqua__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
}

.aqua__dot {
    flex-shrink: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.55);
}

.aqua__card {
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aqua__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(220, 38, 38, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(163, 22, 22, 0.14) 0%, transparent 50%);
    pointer-events: none;
}

.aqua__card > * { position: relative; z-index: 1; }

.aqua__ico {
    font-size: 64px;
    margin-bottom: 12px;
}

.aqua__price {
    font-family: 'Unbounded', sans-serif;
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.aqua__hint { font-size: 14px; color: var(--text-muted); }

.aqua__divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.aqua__stat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.aqua__stat > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aqua__stat b {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.aqua__stat small { font-size: 12px; color: var(--text-dim); }

/* ===== CTA ===== */
.cta {
    padding: 70px 0;
}

.cta__card {
    position: relative;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border-strong);
    border-radius: 28px;
    padding: 70px 50px;
    overflow: hidden;
    text-align: center;
}

.cta__pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(220, 38, 38, 0.28) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(163, 22, 22, 0.22) 0%, transparent 40%);
    pointer-events: none;
}

.cta__content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }

.cta__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(220, 38, 38, 0.14);
    border: 1px solid rgba(220, 38, 38, 0.32);
    border-radius: 999px;
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
}

.cta__title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: clamp(26px, 3.8vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta__text {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FAQ ===== */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq__item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq__item:hover { border-color: rgba(220, 38, 38, 0.15); }

.faq__item[open] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 4px 24px rgba(220, 38, 38, 0.05);
}

.faq__q {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-right: 4px;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
    content: '+';
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--accent-2);
    transition: transform var(--transition);
}

.faq__item[open] .faq__q::after {
    content: '−';
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border-color: transparent;
}

.faq__a {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 18px;
    align-items: stretch;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-content: start;
}

.contact-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 22px;
    transition: all var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 38, 38, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.06);
}

.contact-card:nth-child(1),
.contact-card:nth-child(2),
.contact-card:nth-child(5) { grid-column: 1 / -1; }

.contact-card__ico { font-size: 24px; margin-bottom: 10px; }

.contact-card__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    margin-bottom: 6px;
    font-weight: 500;
}

.contact-card__value {
    font-family: 'Unbounded', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

a.contact-card__value:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-card__hint {
    font-size: 13px;
    color: var(--text-dim);
}

/* Form */
.contact-form {
    background: linear-gradient(180deg, rgba(15, 20, 36, 0.8) 0%, rgba(21, 27, 46, 0.6) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.contact-form__title {
    grid-column: 1 / -1;
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-form__sub {
    grid-column: 1 / -1;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: -8px;
    margin-bottom: 4px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }

.field__label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.field__label span { color: var(--accent-2); }

.field__input {
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: all var(--transition);
    outline: none;
    width: 100%;
}

.field__input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16);
}

.field__input::placeholder { color: var(--text-dim); }

select.field__input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239aa3b5' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.field__textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.field__error {
    font-size: 12px;
    color: var(--danger);
    min-height: 14px;
}

.field__check { margin-top: 4px; }

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    user-select: none;
}

.checkbox input { display: none; }

.checkbox__mark {
    width: 18px; height: 18px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.checkbox__mark::after {
    content: '';
    width: 10px; height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M13.854 3.354a.5.5 0 0 0-.708-.708L6 9.793 2.854 6.646a.5.5 0 1 0-.708.708l3.5 3.5a.5.5 0 0 0 .708 0l7.5-7.5z'/%3E%3C/svg%3E") center/contain no-repeat;
    transform: scale(0);
    transition: transform var(--transition);
}

.checkbox input:checked + .checkbox__mark {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
}

.checkbox input:checked + .checkbox__mark::after { transform: scale(1); }

.contact-form__submit {
    grid-column: 1 / -1;
    width: 100%;
}

.contact-form__note {
    grid-column: 1 / -1;
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
    line-height: 1.5;
}

/* ===== Map ===== */
.map {
    padding: 40px 0 80px;
}

.map__frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
}

.map__frame iframe {
    display: block;
    filter: invert(0.9) hue-rotate(180deg) saturate(0.7);
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    background: rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.footer__brand { display: flex; flex-direction: column; gap: 8px; }

.footer__tagline {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 300px;
}

.footer__links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__link {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__link:hover { color: var(--text); }

.footer__social {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.social-btn {
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all var(--transition);
}

.social-btn svg { width: 18px; height: 18px; fill: currentColor; }

.social-btn:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border-color: transparent;
    transform: translateY(-3px);
    color: #fff;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-dim);
    flex-wrap: wrap;
}

.link {
    color: var(--accent-2);
    transition: color var(--transition);
    font-weight: 500;
}

.link:hover { color: var(--accent); }

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 120px);
    padding: 14px 22px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: none;
}

.toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.toast.is-error {
    background: rgba(255, 81, 102, 0.15);
    border-color: rgba(255, 81, 102, 0.4);
    color: #ffb3bd;
}

.toast__ico {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery__grid { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .aqua { grid-template-columns: 1fr; gap: 28px; }
    .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .footer__brand { align-items: center; }
    .footer__tagline { margin: 0 auto; }
    .footer__social { justify-content: center; }
}

@media (max-width: 768px) {
    .nav, .header__phone, .header__cta, .header__social { display: none; }
    .logo__text { font-size: 14px; }
    .burger { display: inline-flex; }
    .hero { padding: 40px 0 30px; }
    .section { padding: 40px 0; }
    .section__head { margin-bottom: 20px; }
    .section__title { font-size: clamp(20px, 5vw, 28px); margin-bottom: 10px; }
    .section__desc { font-size: 13px; line-height: 1.5; }
    .section__tag { font-size: 10px; padding: 4px 10px; margin-bottom: 10px; }
    .hero__features { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .feature { padding: 12px 10px; }
    .feature__ico { font-size: 18px; margin-bottom: 4px; }
    .feature__text { font-size: 11px; }
    .hero__stats { gap: 14px; padding: 12px 14px; }
    .hero__stat-num { font-size: 18px; }
    .hero__stat { font-size: 11px; }
    .btn { padding: 10px 18px; font-size: 13px; gap: 6px; }
    .btn--lg { padding: 12px 20px; font-size: 13px; }
    .btn--lg .icon-tg { width: 16px; height: 16px; }
    .hero__actions { gap: 8px; }
    .services-grid { grid-template-columns: 1fr; gap: 10px; }
    .gallery__tab { padding: 8px 14px; font-size: 12px; }
    .gallery__tabs { gap: 6px; margin-bottom: 16px; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .gallery__more { font-size: 12px; min-width: 160px; margin-top: 14px; }
    .ba-wrap { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .faq__item { padding: 12px 14px; }
    .faq__q { font-size: 13px; gap: 10px; }
    .faq__q::after { width: 22px; height: 22px; font-size: 13px; }
    .faq__a { font-size: 12px; padding-top: 10px; margin-top: 10px; }
    .calc { padding: 16px; gap: 14px; }
    .calc__opt { padding: 10px 12px; font-size: 12px; min-width: 80px; }
    .calc__label { font-size: 11px; }
    .calc__range-val { font-size: 13px; min-width: 50px; }
    .calc__result { padding: 16px; gap: 12px; }
    .calc__price { font-size: clamp(28px, 6vw, 36px); }
    .calc__details { font-size: 11px; }
    .calc__cta { font-size: 13px; padding: 10px 16px; }
    .contact-info { grid-template-columns: 1fr; gap: 10px; }
    .contact-card { padding: 14px; }
    .contact-card:nth-child(n) { grid-column: auto; }
    .contact-form { grid-template-columns: 1fr; padding: 16px; gap: 10px; }
    .contact-form__title { font-size: 16px; }
    .contact-form__sub { font-size: 12px; }
    .contact-form input, .contact-form textarea, .contact-form select { font-size: 13px; padding: 10px 12px; }
    .contact-form__submit { font-size: 13px; padding: 10px 16px; }
    .price-row { padding: 12px 14px; }
    .aqua__card { padding: 18px; }
    .aqua__stat { grid-template-columns: 1fr; gap: 8px; }
    .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero__features { grid-template-columns: 1fr 1fr; gap: 6px; }
    .hero__stats { flex-direction: column; gap: 8px; padding: 10px 12px; }
    .hero__actions .btn { width: 100%; }
    .btn--lg { padding: 10px 16px; font-size: 12px; }
    .calc__opt { min-width: 70px; padding: 8px 8px; font-size: 11px; }
    .calc__options { gap: 6px; }
    .ba-wrap { grid-template-columns: 1fr; gap: 8px; }
    .gallery__grid { gap: 4px; }
    .section { padding: 30px 0; }
    .section__title { font-size: clamp(18px, 5vw, 24px); }
}


/* ===== SEO block ===== */
.section--seo {
    background: linear-gradient(180deg, transparent 0%, rgba(220, 38, 38, 0.03) 50%, transparent 100%);
}

.seo-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.seo-article {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 24px;
    padding: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
    scroll-margin-top: 90px;
}

.seo-article:hover { border-color: var(--border-strong); }

.seo-article:target {
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.seo-article__num {
    font-family: 'Unbounded', sans-serif;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
}

.seo-article__body { display: flex; flex-direction: column; gap: 14px; }

.seo-article__meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.seo-article__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.16), rgba(240, 82, 82, 0.06));
    border: 1px solid rgba(220, 38, 38, 0.28);
    font-size: 22px;
}

.seo-article__price {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.32);
    color: var(--accent-2);
}

.seo-article__h {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--text);
}

.seo-article__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seo-article__text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.seo-keys {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    align-items: center;
}

.seo-keys__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-right: 6px;
}

.seo-keys__item {
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    white-space: nowrap;
}

.seo-article__cta {
    align-self: flex-start;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .seo-article {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 14px;
    }
    .seo-article__num { font-size: 40px; }
}


/* ===== Gallery (наши работы) ===== */
.gallery__tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gallery__tab {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}

.gallery__tab:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.gallery__tab.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px -6px rgba(220, 38, 38, 0.45);
}

.gallery__album { display: none; }
.gallery__album.is-active { display: block; }

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.gallery__more {
    display: block;
    margin: 24px auto 0;
    min-width: 220px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition-fast);
    position: relative;
    z-index: 1;
}

.gallery-item:hover {
    border-color: rgba(220, 38, 38, 0.4);
}

.gallery-item__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface-2), var(--bg-2));
}

.gallery-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Фото в галерее статичны — без увеличения при наведении */

.gallery__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 3;
    backdrop-filter: blur(8px);
    color: #fff;
}

.gallery__badge--before {
    background: rgba(255, 81, 102, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery__badge--after {
    background: rgba(46, 230, 166, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #062e1e;
}

.gallery-item__caption {
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--surface);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.gallery-item__caption--empty {
    color: var(--text-dim);
    font-weight: 400;
    font-size: 12px;
    font-style: italic;
}

.gallery__empty {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
}

.gallery__empty-ico { font-size: 48px; margin-bottom: 14px; opacity: 0.5; }
.gallery__empty-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.gallery__empty-text { font-size: 14px; max-width: 420px; margin: 0 auto; line-height: 1.5; }

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
}

.lightbox__inner {
    position: absolute;
    inset: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    pointer-events: none;
}

.lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
}

.lightbox.is-open .lightbox__img { transform: scale(1); }

.lightbox__caption {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    pointer-events: auto;
    max-width: 90vw;
}

.lightbox__caption:empty { display: none; }

.lightbox__close {
    position: absolute;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-strong);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    z-index: 2;
    transition: all var(--transition-fast);
    backdrop-filter: blur(8px);
}

.lightbox__close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

/* ===== Reviews ===== */
.reviews__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 24px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.reviews__rating {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reviews__score {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.reviews__stars {
    color: #ffc541;
    font-size: 20px;
    letter-spacing: 2px;
}

.reviews__count {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.reviews__note {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.5;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all var(--transition-fast);
}

.review:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.review__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.review__meta { flex: 1; min-width: 0; }

.review__name {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.review__date {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

.review__stars {
    color: #ffc541;
    font-size: 13px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.review__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.reviews__actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .reviews__summary { flex-direction: column; align-items: flex-start; gap: 16px; text-align: left; padding: 20px; }
    .reviews__score { font-size: 32px; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-item__caption { padding: 10px 12px; font-size: 12px; min-height: 38px; }
    .lightbox__inner { inset: 30px 12px 12px; }
    .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
}

/* ===== Top contact bar (sticky messengers) ===== */
.topbar {
    position: relative;
    z-index: 60;
    background: rgba(10, 10, 11, 0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
}
.topbar__brand {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #f05252 0%, #dc2626 50%, #a31616 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.topbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.topbar__social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    transition: color 0.2s;
    font-size: 13px;
    font-weight: 500;
}
.topbar__social:hover { color: var(--text); }
.topbar__social--phone {
    color: var(--text);
    font-weight: 600;
}
@media (max-width: 640px) {
    .topbar__brand { font-size: 13px; }
    .topbar__social--phone span { display: none; }
}

/* WhatsApp button modifier */
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fbf5b; transform: translateY(-2px); }

/* Hero urgency note */
.hero__urgency {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(163, 22, 22, 0.1);
    border: 1px solid rgba(163, 22, 22, 0.28);
    color: #ffcfae;
    font-size: 13px;
}
.hero__urgency .pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-3);
    box-shadow: 0 0 14px var(--accent-3);
    animation: pulse 1.6s ease-in-out infinite;
}

/* ===== Trust block (Почему нам доверяют) ===== */
.trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}
.trust__item {
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.trust__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(220, 38, 38,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}
.trust__item:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.trust__item:hover::before { opacity: 1; }
.trust__num {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    position: relative;
}
.trust__label {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 4px;
    position: relative;
}
.trust__hint { font-size: 12px; color: var(--text-dim); position: relative; }

.trust-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.trust-extra__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-muted);
}
.trust-extra__ico {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(220, 38, 38,0.18), rgba(163, 22, 22,0.1));
    border: 1px solid rgba(220, 38, 38,0.3);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.trust-extra__item b { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
    .trust { grid-template-columns: repeat(2, 1fr); }
    .trust-extra { grid-template-columns: 1fr; }
}

/* ===== Before/After slider ===== */
.ba-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.ba-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow: hidden;
}
.ba-card__body {
    padding: 12px 14px 14px;
}
.ba-card__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 5px;
}
.ba-card__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.ba {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    user-select: none;
    touch-action: pan-y;
    aspect-ratio: 4/3;
}
.ba__img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.ba__after-wrap {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    overflow: hidden;
    width: 50%;
    will-change: width;
}
.ba__after-wrap .ba__img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; width: var(--ba-w, 100%);
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.ba__label {
    position: absolute;
    top: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(8px);
    z-index: 3;
}
.ba__label--before { left: 14px; background: rgba(255, 81, 102, 0.85); color: #fff; }
.ba__label--after { right: 14px; background: rgba(46, 230, 166, 0.85); color: #062e1e; }
.ba__handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    transform: translateX(-50%);
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(220, 38, 38,0.6);
}
.ba__handle::after {
    content: '⇆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 3px rgba(255,255,255,0.1);
}
.ba__range {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
    margin: 0;
}
.ba__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    z-index: 3;
    pointer-events: none;
}
@media (max-width: 1024px) { .ba-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ba-wrap { grid-template-columns: 1fr; } }

/* ===== Плавающие кнопки связи (моб.) ===== */
.fab {
    position: fixed;
    right: 16px;
    bottom: 18px;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 60;
}
.fab__btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.fab__btn:active { transform: scale(0.92); }
.fab__btn--wa { background: var(--wa); }
.fab__btn--tg { background: var(--tg); }
.fab__btn--call {
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    animation: fabPulse 2s ease-in-out infinite;
}
@keyframes fabPulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,0.4), 0 0 0 0 rgba(220, 38, 38,0.5); }
    50% { box-shadow: 0 8px 22px rgba(0,0,0,0.4), 0 0 0 10px rgba(220, 38, 38,0); }
}
@media (max-width: 860px) {
    .fab { display: flex; }
}

/* ===== Calculator ===== */
.calc {
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: stretch;
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.calc::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(220, 38, 38,0.18) 0%, transparent 50%);
    pointer-events: none;
}
.calc > * { position: relative; z-index: 1; }
.calc__form { display: flex; flex-direction: column; gap: 18px; }
.calc__group { display: flex; flex-direction: column; gap: 10px; }
.calc__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.calc__options { display: flex; gap: 8px; flex-wrap: wrap; }
.calc__opt {
    flex: 1;
    min-width: 120px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}
.calc__opt:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.calc__opt.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(220, 38, 38,0.5);
}
.calc__range-row { display: flex; align-items: center; gap: 14px; }
.calc__range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    outline: none;
}
.calc__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(220, 38, 38,0.5);
}
.calc__range::-moz-range-thumb {
    width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
}
.calc__range-val {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 16px;
    min-width: 70px;
    text-align: right;
    color: var(--text);
}
.calc__result {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    text-align: center;
}
.calc__result-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.calc__price {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.2s ease;
}
.calc__price-from { font-size: 0.4em; color: var(--text-dim); font-weight: 500; }
.calc__details { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.calc__cta { width: 100%; }
@media (max-width: 768px) {
    .calc { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
    .calc__opt { min-width: 80px; }
}

/* ===== Videos ===== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.video-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.video-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.video-card__media {
    position: relative;
    aspect-ratio: 9 / 16;
    background: var(--bg-2);
    overflow: hidden;
}
.video-card__media video,
.video-card__media iframe {
    width: 100%; height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
}
.video-card__caption {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}
.video-card__caption small {
    display: block;
    color: var(--text-dim);
    font-weight: 400;
    font-size: 12px;
    margin-top: 4px;
}
.videos__empty {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
}

/* Floating chat actions */
.float-chat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-chat a {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.4);
    transition: transform var(--transition-fast), filter var(--transition-fast);
}
.float-chat a:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.08); }
.float-chat a svg { width: 26px; height: 26px; fill: currentColor; }
.float-chat .fc-wa { background: var(--wa); }
.float-chat .fc-tg { background: var(--tg); }
.float-chat .fc-call { background: linear-gradient(135deg, var(--accent), var(--accent-3)); }

/* ===== SEO content block ===== */
.seo-content {
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.seo-content h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 22px 0 10px;
    letter-spacing: -0.01em;
    color: var(--text);
}
.seo-content h3:first-child { margin-top: 0; }
.seo-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}
.seo-content ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 14px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 18px;
}
.seo-content ul li {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}
.seo-content ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
}
.seo-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.seo-cloud a, .seo-cloud span {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--transition-fast);
    text-decoration: none;
}
.seo-cloud a:hover {
    background: rgba(220, 38, 38,0.1);
    border-color: rgba(220, 38, 38,0.4);
    color: var(--text);
}
@media (max-width: 768px) {
    .seo-content { padding: 24px; }
    .seo-content ul { grid-template-columns: 1fr; }
}

/* Section variant: dark deeper */
.section--dark {
    background:
        radial-gradient(circle at 0% 0%, rgba(220, 38, 38,0.06) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(163, 22, 22,0.05) 0%, transparent 50%);
}
