@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/inter.woff2') format('woff2');
}
:root {
    /* Backgrounds */
    --bg-deep:    #020617;
    --bg-surface: #0a0f1e;
    --bg-card:    rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(15, 23, 42, 0.85);

    /* Accents */
    --accent:     #C8001F;
    --accent-2:   #7A0018;
    --accent-alt: #22c55e;
    --gold:       #eab308;

    /* Text */
    --text-1: #f9fafb;
    --text-2: #9ca3af;
    --text-3: #6b7280;

    /* Borders */
    --border:       rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);

    /* Gradients */
    --grad-accent:  linear-gradient(135deg, #F50038, #7A0018);
    --grad-gold:    linear-gradient(135deg, #eab308, #C8001F);
    --grad-bg:      radial-gradient(ellipse at 20% 50%, rgba(200, 0, 31, 0.12) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 60%),
                    radial-gradient(ellipse at 50% 80%, rgba(234, 179, 8, 0.06) 0%, transparent 60%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-accent: 0 0 40px rgba(200, 0, 31, 0.25);

    /* Blur / Glass */
    --glass-blur:   blur(18px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);

    /* Radius */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 32px;
    --r-full: 9999px;

    /* Spacing scale */
    --s-1:  4px;
    --s-2:  8px;
    --s-3:  12px;
    --s-4:  16px;
    --s-5:  20px;
    --s-6:  24px;
    --s-8:  32px;
    --s-10: 40px;
    --s-12: 48px;
    --s-16: 64px;
    --s-20: 80px;
    --s-24: 96px;

    /* Transitions */
    --t-fast:   0.15s ease;
    --t-normal: 0.25s ease;
    --t-slow:   0.4s ease;

    /* Layout */
    --container: 1200px;
    --container-sm: 800px;

    /* Typography */
    --font-base: 'Inter', system-ui, -apple-system, sans-serif;
    --fz-xs:   12px;
    --fz-sm:   14px;
    --fz-base: 16px;
    --fz-md:   18px;
    --fz-lg:   20px;
    --fz-xl:   24px;
    --fz-2xl:  30px;
    --fz-3xl:  36px;
    --fz-4xl:  48px;
    --fz-5xl:  56px;
    --fz-6xl:  72px;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    font-size: var(--fz-base);
    line-height: 1.6;
    color: var(--text-1);
    background-color: var(--bg-deep);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-1);
}

p {
    max-width: 70ch;
}

iframe {
    border: none;
}

[hidden] {
    display: none !important;
}
.h1 { font-size: var(--fz-5xl); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: var(--fz-3xl); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: var(--fz-xl); font-weight: 600; line-height: 1.3; }
.h4 { font-size: var(--fz-lg); font-weight: 600; line-height: 1.35; }

.text-gradient {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted { color: var(--text-2); }
.text-sm    { font-size: var(--fz-sm); }
.text-xs    { font-size: var(--fz-xs); }
.text-lg    { font-size: var(--fz-lg); }
.text-xl    { font-size: var(--fz-xl); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-size: var(--fz-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--s-4);
}

.section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: var(--r-full);
}

.section-title {
    font-size: var(--fz-3xl);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: var(--s-4);
}

.section-desc {
    font-size: var(--fz-md);
    color: var(--text-2);
    line-height: 1.7;
    max-width: 560px;
}

@media (max-width: 768px) {
    .h1 { font-size: var(--fz-4xl); }
    .h2 { font-size: var(--fz-2xl); }
    .section-title { font-size: var(--fz-2xl); }
}

@media (max-width: 480px) {
    .h1 { font-size: clamp(28px, 8vw, var(--fz-4xl)); }
    .section-title { font-size: var(--fz-xl); }
}
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--s-6);
}

/* ── Глобальная полоса курсов ЦБ ──────────────────────────────────────────── */
.rates-bar-global {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 89;
    background: rgba(2, 6, 23, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: var(--fz-xs);
    min-height: 36px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Десктоп — статичная строка */
.rates-bar__static {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px 20px;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--s-6);
    padding-block: 6px;
}

.rates-bar__ticker { display: none; }

.rates-bar__loading {
    color: var(--text-3);
    padding-inline: var(--s-6);
}

.rates-bar__label {
    color: var(--text-3);
    flex-shrink: 0;
}

.rates-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-2);
    white-space: nowrap;
}

.rates-bar__item strong {
    color: var(--text-1);
    font-weight: 700;
}

.rates-bar__flag { font-size: 13px; line-height: 1; }

.rates-bar--loaded { animation: fade-in-bar 0.4s ease; }

@keyframes fade-in-bar {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 480px) {
    .rates-bar-global { top: 64px; }
}

/* Планшеты и мобайл — бегущая строка */
@media (max-width: 1024px) {
    .rates-bar__static  { display: none; }
    .rates-bar__ticker  {
        display: block;
        width: 100%;
        overflow: hidden;
    }
    .rates-bar__track {
        display: inline-flex;
        gap: 28px;
        animation: ticker-scroll 22s linear infinite;
        will-change: transform;
    }
    .rates-bar__track:hover { animation-play-state: paused; }
    .rates-bar__track-set {
        display: inline-flex;
        align-items: center;
        gap: 28px;
        padding-right: 28px;
        padding-block: 7px;
    }
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.container--sm {
    max-width: var(--container-sm);
}

.section {
    padding-block: var(--s-24);
}

.section--sm {
    padding-block: var(--s-16);
}

.section--lg {
    padding-block: 120px;
}

.section__head {
    margin-bottom: var(--s-12);
}

.section__head--center {
    text-align: center;
}

.section__head--center .section-desc {
    margin-inline: auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--s-6);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.gap-6 { gap: var(--s-6); }
.gap-8 { gap: var(--s-8); }

.container--narrow {
    max-width: 860px;
}

/* Section head (title block above grids) */
.section-head {
    margin-bottom: var(--s-12);
    text-align: center;
}

.section-note {
    text-align: center;
    color: var(--text-3);
    font-size: var(--fz-sm);
    margin-top: var(--s-6);
    max-width: 680px;
    margin-inline: auto;
}

/* Stat cards (numbers highlight) */
.stat-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    padding: var(--s-8) var(--s-6);
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.stat-card__value {
    font-size: var(--fz-3xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #7A0018);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: var(--s-2);
}

.stat-card__label {
    font-size: var(--fz-sm);
    color: var(--text-2);
}

/* How-it-works steps (standalone page version) */
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 860px;
    margin-inline: auto;
    position: relative;
}

.how-steps::before {
    content: '';
    position: absolute;
    left: 39px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.how-step {
    display: flex;
    gap: var(--s-6);
    padding: var(--s-8) 0;
    border-bottom: 1px solid var(--border);
}

.how-step:last-child {
    border-bottom: none;
}

.how-step__num {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(200,0,31,.15), rgba(122,0,24,.15));
    border: 1px solid rgba(200,0,31,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fz-xl);
    font-weight: 800;
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.how-step__body {
    flex: 1;
    padding-top: var(--s-4);
}

.how-step__title {
    font-size: var(--fz-xl);
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: var(--s-3);
}

.how-step__text {
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: var(--s-4);
}

.how-step__details {
    display: flex;
    gap: var(--s-5);
    flex-wrap: wrap;
    font-size: var(--fz-sm);
    color: var(--text-3);
}

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

@media (max-width: 600px) {
    .how-steps::before { display: none; }
    .how-step { flex-direction: column; gap: var(--s-4); }
    .how-step__num { width: 56px; height: 56px; font-size: var(--fz-md); }
}

@media (max-width: 768px) {
    .container { padding-inline: var(--s-4); }
    .section   { padding-block: var(--s-16); }
    .section--lg { padding-block: var(--s-20); }
    .grid-3    { grid-template-columns: repeat(2, 1fr); }
    .grid-2    { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
}

/* About page layout */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--s-12);
    align-items: start;
}

.about-text h2 {
    font-size: var(--fz-2xl);
    font-weight: 700;
    color: var(--text-1);
    margin-top: var(--s-10);
    margin-bottom: var(--s-4);
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: var(--s-4);
}

.about-text ul {
    list-style: revert;
    padding-left: var(--s-6);
    color: var(--text-2);
    line-height: 1.7;
}

.about-text li {
    margin-bottom: var(--s-2);
}

.about-stats {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.about-stat {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    padding: var(--s-5) var(--s-6);
    text-align: center;
}

.about-stat__value {
    display: block;
    font-size: var(--fz-xl);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.about-stat__label {
    display: block;
    font-size: var(--fz-xs);
    color: var(--text-3);
    margin-top: var(--s-1);
}

/* Direction cards */
.direction-card {
    display: flex;
    gap: var(--s-6);
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    padding: var(--s-8);
    text-decoration: none;
    transition: border-color var(--t-normal), transform var(--t-normal);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.direction-card:hover {
    border-color: rgba(200, 0, 31, 0.3);
    transform: translateY(-4px);
}

.direction-card__flag {
    font-size: 48px;
    flex-shrink: 0;
    line-height: 1;
}

.direction-card__title {
    font-size: var(--fz-xl);
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: var(--s-3);
}

.direction-card__text {
    color: var(--text-2);
    font-size: var(--fz-sm);
    line-height: 1.6;
    margin-bottom: var(--s-4);
}

.direction-card__link {
    font-size: var(--fz-sm);
    font-weight: 700;
    color: var(--accent);
}

/* Value cards */
.value-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    padding: var(--s-8) var(--s-6);
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.value-card__icon {
    font-size: 36px;
    margin-bottom: var(--s-4);
}

.value-card__title {
    font-size: var(--fz-lg);
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: var(--s-3);
}

.value-card__text {
    font-size: var(--fz-sm);
    color: var(--text-2);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-stats {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .about-stat {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 600px) {
    .direction-card {
        flex-direction: column;
        gap: var(--s-4);
    }
}

/* Page hero — используется на всех внутренних страницах */
.page-hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: var(--s-16);
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 30% 50%, rgba(200, 0, 31, 0.08) 0%, transparent 60%);
}

.page-hero__title {
    font-size: clamp(var(--fz-3xl), 4vw, var(--fz-5xl));
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-4);
}

.page-hero__sub {
    font-size: var(--fz-md);
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: var(--s-6);
    max-width: 640px;
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: 140px;
        padding-bottom: var(--s-10);
    }
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background var(--t-normal), backdrop-filter var(--t-normal), border-color var(--t-normal);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: var(--s-8);
}

.nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav__logo-img {
    height: 62px;
    width: auto;
    display: block;
}

.nav__logo-img--footer {
    height: 48px;
    opacity: 0.9;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    flex: 1;
    justify-content: center;
}

.nav__link {
    padding: var(--s-2) var(--s-3);
    font-size: var(--fz-sm);
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--r-md);
    transition: color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
}

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

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    flex-shrink: 0;
}

.nav__phone {
    font-size: var(--fz-sm);
    font-weight: 600;
    color: var(--text-1);
    transition: color var(--t-fast);
}

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

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 4px;
}

.nav__burger-line {
    display: block;
    height: 2px;
    background: var(--text-1);
    border-radius: var(--r-full);
    transition: transform var(--t-normal), opacity var(--t-normal);
}

.nav__burger.open .nav__burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open .nav__burger-line:nth-child(2) { opacity: 0; }
.nav__burger.open .nav__burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav__mobile {
    display: none;
    position: fixed;
    inset: 76px 0 0 0;
    background: rgba(2, 6, 23, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--s-6);
    gap: var(--s-2);
    overflow-y: auto;
    z-index: 99;
    border-top: 1px solid var(--border);
}

.nav__mobile.open {
    display: flex;
}

.nav__mobile-link {
    display: block;
    padding: var(--s-4) var(--s-4);
    font-size: var(--fz-md);
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--r-md);
    transition: color var(--t-fast), background var(--t-fast);
}

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

.nav__mobile-divider {
    height: 1px;
    background: var(--border);
    margin-block: var(--s-2);
}

@media (max-width: 1024px) {
    .nav__menu { display: none; }
    .nav__phone { display: none; }
    .nav__burger { display: flex; }
}

@media (max-width: 480px) {
    .nav { height: 64px; }
    .nav__mobile { top: 64px; }
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: 14px 28px;
    font-size: var(--fz-base);
    font-weight: 600;
    border-radius: var(--r-full);
    transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
    white-space: nowrap;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--grad-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(200, 0, 31, 0.35);
}

.btn--primary:hover {
    box-shadow: 0 8px 30px rgba(200, 0, 31, 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--text-1);
    border: 1px solid var(--border-hover);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200, 0, 31, 0.06);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-1);
    border: 1px solid var(--border);
    backdrop-filter: var(--glass-blur);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn--sm {
    padding: 10px 20px;
    font-size: var(--fz-sm);
}

.btn--lg {
    padding: 18px 36px;
    font-size: var(--fz-md);
}

.btn--full { width: 100%; }

.btn--loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: border-color var(--t-normal), transform var(--t-normal), box-shadow var(--t-normal);
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card--padded {
    padding: var(--s-8);
}

.card--padded-sm {
    padding: var(--s-6);
}

/* Car card */
.car-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    overflow: hidden;
    transition: border-color var(--t-normal), transform var(--t-normal), box-shadow var(--t-normal);
}

.car-card:hover {
    border-color: rgba(200, 0, 31, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.car-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-surface);
}

.car-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.car-card:hover .car-card__image img {
    transform: scale(1.05);
}

.car-card__badge {
    position: absolute;
    top: var(--s-3);
    left: var(--s-3);
    padding: 4px 10px;
    background: var(--grad-accent);
    color: #fff;
    font-size: var(--fz-xs);
    font-weight: 700;
    border-radius: var(--r-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.car-card__body {
    padding: var(--s-5);
}

.car-card__title {
    font-size: var(--fz-lg);
    font-weight: 700;
    margin-bottom: var(--s-2);
}

.car-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-bottom: var(--s-4);
}

.car-card__spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--fz-sm);
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 3px 10px;
}

.car-card__price {
    font-size: var(--fz-xl);
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--s-4);
}

/* Service card */
.service-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    padding: var(--s-8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
    transition: border-color var(--t-normal), transform var(--t-normal);
}

.service-card:hover {
    border-color: rgba(200, 0, 31, 0.3);
    transform: translateY(-4px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-accent);
    opacity: 0;
    transition: opacity var(--t-normal);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r-md);
    background: rgba(200, 0, 31, 0.12);
    border: 1px solid rgba(200, 0, 31, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--s-5);
    font-size: 24px;
}

.service-card__icon--logo {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.service-card__icon--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card__icon--logo img.logo--dark {
    filter: brightness(0) invert(0.72);
}

.service-card__title {
    font-size: var(--fz-lg);
    font-weight: 700;
    margin-bottom: var(--s-3);
}

.service-card__desc {
    font-size: var(--fz-base);
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: var(--s-4);
}

.service-card__badge-free {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--r-full);
    font-size: var(--fz-xs);
    font-weight: 600;
    color: #4ade80;
    margin-top: auto;
}

.service-card__prices {
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
    font-size: var(--fz-sm);
    color: var(--text-3);
    margin-top: auto;
}

.service-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    margin-top: 0;
}

.service-card__list li {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: var(--fz-sm);
    color: var(--text-2);
}

.service-card__list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

/* Brand card */
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
    padding: var(--s-6);
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    text-decoration: none;
    transition: border-color var(--t-normal), transform var(--t-normal), background var(--t-normal);
    min-height: 120px;
}

.brand-card:hover {
    border-color: rgba(200, 0, 31, 0.35);
    background: rgba(200, 0, 31, 0.05);
    transform: translateY(-4px);
}

.brand-card__logo,
.brand-card__icon {
    height: 44px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity var(--t-normal), transform var(--t-normal);
}

.brand-card:hover .brand-card__logo,
.brand-card:hover .brand-card__icon {
    opacity: 1;
    transform: scale(1.08);
}

.brand-card__icon--dark {
    filter: brightness(0) invert(0.72);
}

.brand-card:hover .brand-card__icon--dark {
    filter: brightness(0) invert(0.9);
}

.brand-card__emoji {
    font-size: 32px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--t-normal);
}

.brand-card:hover .brand-card__emoji {
    opacity: 1;
}

.brand-card__name {
    font-size: var(--fz-sm);
    font-weight: 600;
    color: var(--text-2);
    transition: color var(--t-normal);
}

.brand-card:hover .brand-card__name {
    color: var(--accent);
}
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 112px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: blob-float 18s ease-in-out infinite;
}

.hero__blob--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 0, 31, 0.6) 0%, transparent 70%);
    top: -100px;
    left: -150px;
    animation-delay: 0s;
}

.hero__blob--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, transparent 70%);
    top: 20%;
    right: -100px;
    animation-delay: -6s;
}

.hero__blob--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.35) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation-delay: -12s;
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.05); }
    66%       { transform: translate(-15px, 25px) scale(0.97); }
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: 6px 14px;
    background: rgba(200, 0, 31, 0.1);
    border: 1px solid rgba(200, 0, 31, 0.25);
    border-radius: var(--r-full);
    font-size: var(--fz-sm);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--s-6);
}

.hero__tag-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
    font-size: clamp(36px, 5vw, var(--fz-5xl));
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-6);
}

.hero__sub {
    font-size: var(--fz-md);
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: var(--s-8);
    max-width: 560px;
}

.hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-4);
    margin-bottom: var(--s-12);
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-8);
}

.hero__stat-value {
    font-size: var(--fz-3xl);
    font-weight: 800;
    line-height: 1;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__stat-label {
    font-size: var(--fz-sm);
    color: var(--text-2);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding-block: 144px 80px; }
    .hero__blob--1 { width: 350px; height: 350px; }
    .hero__blob--2 { width: 300px; height: 300px; }
    .hero__blob--3 { width: 250px; height: 250px; }
    .hero__stats { gap: var(--s-6); }
}
.form {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.form__label {
    font-size: var(--fz-sm);
    font-weight: 500;
    color: var(--text-2);
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    font-size: var(--fz-base);
    color: var(--text-1);
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
    outline: none;
    -webkit-appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-3);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    border-color: rgba(200, 0, 31, 0.5);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(200, 0, 31, 0.1);
}

.form__input--error,
.form__textarea--error {
    border-color: rgba(220, 38, 38, 0.6);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form__select option {
    background: var(--bg-surface);
    color: var(--text-1);
}

.form__error {
    font-size: var(--fz-sm);
    color: #ef4444;
}

.form__honey {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

/* Чекбокс согласия на обработку ПД */
.form__consent {
    display: flex;
    align-items: flex-start;
    gap: var(--s-3);
    cursor: pointer;
    font-size: var(--fz-sm);
    color: var(--text-3);
    line-height: 1.5;
}

.form__consent a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form__consent-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* Inline form (hero / CTA) */
.form--inline {
    flex-direction: row;
    align-items: stretch;
}

.form--inline .form__input {
    flex: 1;
    border-radius: var(--r-full) 0 0 var(--r-full);
    border-right: none;
}

.form--inline .btn {
    border-radius: 0 var(--r-full) var(--r-full) 0;
    flex-shrink: 0;
}

svg.spin {
    animation: spin-svg 0.7s linear infinite;
    display: block;
}

@keyframes spin-svg {
    to { transform: rotate(360deg); }
}

/* Success state */
.form__success {
    text-align: center;
    padding: var(--s-8);
    animation: fade-in 0.4s ease;
}

.form__success-icon {
    width: 56px;
    height: 56px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--s-4);
    font-size: 24px;
}

.form__success-title {
    font-size: var(--fz-xl);
    font-weight: 700;
    margin-bottom: var(--s-2);
}

.form__success-text {
    font-size: var(--fz-base);
    color: var(--text-2);
    margin-bottom: var(--s-5);
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
    .form--inline {
        flex-direction: column;
    }
    .form--inline .form__input {
        border-radius: var(--r-full);
        border-right: 1px solid var(--border);
    }
    .form--inline .btn {
        border-radius: var(--r-full);
    }
}
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel__track-wrap {
    overflow: hidden;
    border-radius: var(--r-lg);
}

.carousel__track {
    display: flex;
    gap: var(--s-5);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel__slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
}

.carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-4);
    margin-top: var(--s-8);
}

.carousel__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    flex-shrink: 0;
}

.carousel__btn:hover {
    border-color: var(--accent);
    background: rgba(200, 0, 31, 0.1);
    transform: scale(1.05);
}

.carousel__btn:disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
}

.carousel__btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel__dots {
    display: flex;
    gap: var(--s-2);
    align-items: center;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-hover);
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast), width var(--t-normal);
    border: none;
}

.carousel__dot--active {
    background: var(--accent);
    width: 24px;
    border-radius: var(--r-full);
}

@media (max-width: 1024px) {
    .carousel__slide { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 600px) {
    .carousel__slide { flex: 0 0 calc(100% - 0px); }
    .carousel__track { gap: var(--s-4); }
}
.calculator {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-xl);
    padding: var(--s-10);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--grad-accent);
    opacity: 0.6;
}

.calculator__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4) var(--s-6);
    margin-bottom: var(--s-6);
}

.calculator__field {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.calculator__label {
    font-size: var(--fz-sm);
    font-weight: 500;
    color: var(--text-2);
}

.calculator__tabs {
    display: flex;
    gap: var(--s-2);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 4px;
}

.calculator__tab {
    flex: 1;
    padding: 10px;
    font-size: var(--fz-sm);
    font-weight: 600;
    color: var(--text-2);
    border-radius: calc(var(--r-md) - 2px);
    cursor: pointer;
    transition: all var(--t-fast);
    border: none;
    background: none;
    text-align: center;
}

.calculator__tab--active {
    background: var(--grad-accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.calculator__field {
    margin-bottom: var(--s-4);
}

.calculator__spacer {
    margin-bottom: var(--s-2);
}

/* Предупреждения */
.calculator__warn,
.calculator__info {
    border-radius: var(--r-md);
    padding: var(--s-3) var(--s-4);
    font-size: var(--fz-sm);
    margin-top: var(--s-3);
}

.calculator__warn {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    color: #ca8a04;
}

.calculator__info {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #0ea5e9;
}

/* Результат */
.calculator__result {
    background: rgba(200, 0, 31, 0.06);
    border: 1px solid rgba(200, 0, 31, 0.2);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    margin-top: var(--s-5);
    display: none;
    animation: fade-in 0.3s ease;
}

.calculator__result.visible {
    display: block;
}

/* Главный итог */
.calculator__total-main {
    text-align: center;
    margin-bottom: var(--s-5);
}

.calculator__result-label {
    font-size: var(--fz-sm);
    color: var(--text-2);
    margin-bottom: var(--s-2);
}

.calculator__result-value {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* Кнопка аккордеона */
.calculator__detail-toggle {
    display: block;
    width: 100%;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--s-3) var(--s-4);
    color: var(--text-2);
    font-size: var(--fz-sm);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all var(--t-fast);
    margin-bottom: var(--s-4);
}

.calculator__detail-toggle:hover {
    border-color: var(--accent);
    color: var(--text-1);
}

/* Таблица расшифровки */
.calculator__breakdown {
    margin-bottom: var(--s-4);
}

.calculator__breakdown-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fz-sm);
}

.calculator__breakdown-table td {
    padding: var(--s-2) var(--s-3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-2);
}

.calculator__breakdown-table td:last-child {
    text-align: right;
    color: var(--text-1);
    font-weight: 600;
    white-space: nowrap;
}

.calculator__breakdown-total td {
    padding-top: var(--s-3);
    color: var(--text-1) !important;
    font-size: var(--fz-md);
    border-bottom: none;
    border-top: 1px solid rgba(200,0,31,0.2);
}

/* Курсы и дисклеймер */
.calculator__rates-block {
    margin-bottom: var(--s-2);
}

.calculator__rates-note {
    font-size: var(--fz-xs);
    color: var(--text-3);
    margin-bottom: 4px;
}

.calculator__rates-note--atb {
    color: var(--accent);
    opacity: .75;
}

.calculator__result-note {
    font-size: var(--fz-xs);
    color: var(--text-3);
}

.calc-error {
    color: var(--accent);
    font-size: var(--fz-sm);
    margin-top: var(--s-2);
}

@media (max-width: 640px) {
    .calculator { padding: var(--s-6); }
    .calculator__grid { grid-template-columns: 1fr; }
}
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-2);
    font-size: var(--fz-sm);
    color: var(--text-3);
    padding-block: var(--s-4);
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.breadcrumbs__item::after {
    content: '/';
    color: var(--text-3);
}

.breadcrumbs__item:last-child::after {
    display: none;
}

.breadcrumbs__link {
    color: var(--text-2);
    transition: color var(--t-fast);
}

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

.breadcrumbs__current {
    color: var(--text-1);
}
.messenger-bar {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.messenger-bar__btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    position: relative;
}

.messenger-bar__btn:hover {
    transform: scale(1.1) translateX(-4px);
}

.messenger-bar__btn--wa  { background: #25D366; }
.messenger-bar__btn--tg  { background: #0088CC; }
.messenger-bar__btn--max { background: none; overflow: hidden; padding: 0; }

.messenger-bar__btn svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.messenger-bar__btn--max img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.messenger-bar__tooltip {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 6px 12px;
    font-size: var(--fz-xs);
    font-weight: 600;
    color: var(--text-1);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--t-fast);
}

.messenger-bar__btn:hover .messenger-bar__tooltip {
    opacity: 1;
}

/* Phone bubble */
.phone-bubble {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 90;
}

.phone-bubble__btn {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: 12px 20px;
    background: var(--grad-accent);
    border-radius: var(--r-full);
    color: #fff;
    text-decoration: none;
    font-size: var(--fz-sm);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(200, 0, 31, 0.4);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.phone-bubble__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 0, 31, 0.55);
}

.phone-bubble__btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .messenger-bar { right: 16px; bottom: 90px; }
    .messenger-bar__btn { width: 46px; height: 46px; }
    .phone-bubble { right: 16px; bottom: 24px; }
    .messenger-bar__tooltip { display: none; }
}
.site-footer {
    background: rgba(2, 6, 23, 0.9);
    border-top: 1px solid var(--border);
    padding-top: var(--s-16);
    padding-bottom: var(--s-8);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s-10);
    margin-bottom: var(--s-12);
}

.footer__brand-desc {
    font-size: var(--fz-sm);
    color: var(--text-2);
    line-height: 1.7;
    margin-top: var(--s-4);
    margin-bottom: var(--s-6);
    max-width: 280px;
}

.footer__messengers {
    display: flex;
    gap: var(--s-3);
}

.footer__messenger-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--t-fast), opacity var(--t-fast);
    opacity: 0.8;
}

.footer__messenger-btn:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.footer__messenger-btn--wa  { background: #25D366; }
.footer__messenger-btn--tg  { background: #0088CC; }
.footer__messenger-btn--max { background: none; overflow: hidden; padding: 0; }

.footer__messenger-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.footer__messenger-btn--max img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.footer__tg-channel {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    margin-top: var(--s-5);
    padding: 8px 14px;
    background: rgba(0, 136, 204, 0.12);
    border: 1px solid rgba(0, 136, 204, 0.25);
    border-radius: var(--r-full);
    font-size: var(--fz-sm);
    font-weight: 600;
    color: #3BAFE8;
    transition: background var(--t-fast), border-color var(--t-fast);
}

.footer__tg-channel:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: rgba(0, 136, 204, 0.45);
}

.footer__tg-channel svg {
    width: 16px;
    height: 16px;
    fill: #3BAFE8;
    flex-shrink: 0;
}

.footer__col-title {
    font-size: var(--fz-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: var(--s-5);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.footer__link {
    font-size: var(--fz-sm);
    color: var(--text-2);
    transition: color var(--t-fast);
}

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

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--s-3);
    font-size: var(--fz-sm);
    color: var(--text-2);
    margin-bottom: var(--s-3);
}

.footer__contact-icon {
    width: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.5;
}

.footer__contact-link {
    color: var(--text-2);
    transition: color var(--t-fast);
}

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

.footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--s-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--s-4);
}

.footer__copy {
    font-size: var(--fz-xs);
    color: var(--text-3);
}

.footer__bottom-links {
    display: flex;
    gap: var(--s-5);
}

.footer__bottom-link {
    font-size: var(--fz-xs);
    color: var(--text-3);
    transition: color var(--t-fast);
}

.footer__bottom-link:hover {
    color: var(--text-2);
}

@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .footer__grid { grid-template-columns: 1fr; gap: var(--s-8); }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}
.cta-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    background: var(--bg-card);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--s-16) var(--s-10);
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-bg);
    pointer-events: none;
}

.cta-section__title {
    font-size: clamp(var(--fz-2xl), 3vw, var(--fz-4xl));
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-4);
    position: relative;
    z-index: 1;
}

.cta-section__sub {
    font-size: var(--fz-md);
    color: var(--text-2);
    margin-bottom: var(--s-8);
    max-width: 480px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.cta-section__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--s-4);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .cta-section { padding: var(--s-10) var(--s-6); }
}
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.steps::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.step {
    display: flex;
    gap: var(--s-6);
    align-items: flex-start;
    padding: var(--s-6) 0;
    position: relative;
}

.step__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid rgba(200, 0, 31, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fz-lg);
    font-weight: 800;
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: border-color var(--t-normal), background var(--t-normal);
}

.step:hover .step__num {
    border-color: var(--accent);
    background: rgba(200, 0, 31, 0.1);
}

.step__body {
    padding-top: var(--s-3);
    flex: 1;
}

.step__title {
    font-size: var(--fz-lg);
    font-weight: 700;
    margin-bottom: var(--s-2);
}

.step__desc {
    font-size: var(--fz-base);
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: var(--s-2);
}

.step__hints {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: var(--s-2);
}

.step__hint {
    font-size: var(--fz-xs);
    color: var(--text-3);
}
.faq {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: border-color var(--t-fast);
}

.faq__item.open {
    border-color: rgba(200, 0, 31, 0.25);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding: var(--s-5) var(--s-6);
    cursor: pointer;
    font-size: var(--fz-base);
    font-weight: 600;
    color: var(--text-1);
    user-select: none;
    -webkit-user-select: none;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.faq__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--t-fast), transform var(--t-normal);
}

.faq__item.open .faq__icon {
    background: rgba(200, 0, 31, 0.15);
    transform: rotate(45deg);
}

.faq__icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-2);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.faq__item.open .faq__icon svg {
    stroke: var(--accent);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__answer-inner {
    padding: 0 var(--s-6) var(--s-5);
    font-size: var(--fz-base);
    color: var(--text-2);
    line-height: 1.8;
}
/* Stats bar */
.stats-bar {
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-bar__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stats-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--s-8) var(--s-6);
    text-align: center;
    position: relative;
}

.stats-bar__item + .stats-bar__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border);
}

.stats-bar__value {
    font-size: var(--fz-3xl);
    font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stats-bar__label {
    font-size: var(--fz-sm);
    color: var(--text-2);
}

/* Steps → /css/components/steps.css */

/* FAQ → /css/components/faq.css */

/* CTA → /css/components/cta.css */

/* Reviews */
.review-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    height: 100%;
}

.review-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: var(--s-4);
    color: var(--gold);
    font-size: var(--fz-sm);
}

.review-card__text {
    font-size: var(--fz-base);
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: var(--s-5);
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fz-base);
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.review-card__name {
    font-size: var(--fz-sm);
    font-weight: 700;
}

.review-card__meta {
    font-size: var(--fz-xs);
    color: var(--text-3);
    margin-top: 2px;
}

/* Calc + Contact two-column layout */
.calc-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8);
    align-items: stretch;
}

/* Калькулятор — flex-column чтобы тянулся по высоте */
.calculator {
    display: flex;
    flex-direction: column;
}

.calculator__spacer {
    flex: 1;
}

.calc-contact__sub {
    font-size: var(--fz-xl);
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: var(--s-2);
}

.calc-contact__hint {
    font-size: var(--fz-sm);
    color: var(--text-2);
    margin-bottom: var(--s-6);
}

.calc-contact__form {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    padding: var(--s-8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
}

.calc-contact__form .form {
    flex: 1;
}

/* Предупреждение про порог 151 л.с. */
.calc-power-warn {
    font-size: 12px;
    color: var(--gold);
    margin-top: var(--s-2);
    line-height: 1.4;
}

/* Ошибка калькулятора */
.calc-error {
    font-size: var(--fz-sm);
    color: var(--accent);
    margin-top: var(--s-3);
    text-align: center;
}

.form__success-actions {
    display: flex;
    gap: var(--s-3);
    margin-top: var(--s-5);
    justify-content: center;
}

@media (max-width: 900px) {
    .calc-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-bar__item + .stats-bar__item::before { display: none; }
    /* cta-section mobile padding → /css/components/cta.css */
}
/* page-hero базовые стили → css/layout.css */

/* Models grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--s-5);
}

.model-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: border-color var(--t-normal), transform var(--t-normal);
}

.model-card:hover {
    border-color: rgba(200, 0, 31, 0.3);
    transform: translateY(-4px);
}

.model-card__name {
    font-size: var(--fz-lg);
    font-weight: 700;
    margin-bottom: var(--s-2);
}

.model-card__type {
    font-size: var(--fz-sm);
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--s-4);
}

.model-card__price {
    font-size: var(--fz-xl);
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.model-card__price-label {
    font-size: var(--fz-xs);
    color: var(--text-3);
    margin-top: 2px;
}

/* Advantages list */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--s-5);
}

.advantage {
    display: flex;
    gap: var(--s-4);
    align-items: flex-start;
}

.advantage__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: rgba(200, 0, 31, 0.1);
    border: 1px solid rgba(200, 0, 31, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.advantage__title {
    font-size: var(--fz-base);
    font-weight: 700;
    margin-bottom: 4px;
}

.advantage__desc {
    font-size: var(--fz-sm);
    color: var(--text-2);
    line-height: 1.6;
}

/* Legal text (политика, согласие) */
.legal-text {
    color: var(--text-2);
    line-height: 1.8;
}
.legal-text h2 {
    font-size: var(--fz-lg);
    font-weight: 700;
    color: var(--text-1);
    margin: var(--s-8) 0 var(--s-3);
}
.legal-text p {
    margin-bottom: var(--s-4);
}
.legal-text ul {
    margin: 0 0 var(--s-4) var(--s-6);
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}
.legal-text li::marker {
    color: var(--accent);
}
.legal-text__updated {
    margin-top: var(--s-10);
    font-size: var(--fz-sm);
    color: var(--text-3);
}
.blog-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: border-color var(--t-normal), transform var(--t-normal);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(200, 0, 31, 0.3);
    transform: translateY(-4px);
}

.blog-card__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-surface);
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.blog-card:hover .blog-card__img img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: var(--s-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__category {
    display: inline-block;
    font-size: var(--fz-xs);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--s-3);
}

.blog-card__title {
    font-size: var(--fz-lg);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: var(--s-3);
    flex: 1;
    color: var(--text-1);
    transition: color var(--t-fast);
}

.blog-card:hover .blog-card__title {
    color: var(--accent);
}

.blog-card__excerpt {
    font-size: var(--fz-sm);
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: var(--s-4);
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    font-size: var(--fz-xs);
    color: var(--text-3);
}

/* Article content */
.article-body {
    max-width: 760px;
    margin: 0 auto;
    font-size: var(--fz-md);
    line-height: 1.8;
    color: var(--text-2);
}

.article-body h2 {
    font-size: var(--fz-2xl);
    font-weight: 700;
    color: var(--text-1);
    margin-top: var(--s-10);
    margin-bottom: var(--s-4);
    letter-spacing: -0.01em;
}

.article-body h3 {
    font-size: var(--fz-xl);
    font-weight: 600;
    color: var(--text-1);
    margin-top: var(--s-8);
    margin-bottom: var(--s-3);
}

.article-body p {
    margin-bottom: var(--s-5);
    max-width: none;
}

.article-body ul,
.article-body ol {
    list-style: revert;
    padding-left: var(--s-6);
    margin-bottom: var(--s-5);
}

.article-body li {
    margin-bottom: var(--s-2);
}

.article-body strong {
    color: var(--text-1);
    font-weight: 700;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--s-6);
    font-size: var(--fz-sm);
}

.article-body th,
.article-body td {
    padding: var(--s-3) var(--s-4);
    border: 1px solid var(--border);
    text-align: left;
}

.article-body th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-1);
    font-weight: 700;
}

.article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--text-1);
}

.article-body em {
    color: var(--text-3);
    font-style: italic;
}

/* Article meta in hero */
.page-hero__meta {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-size: var(--fz-sm);
    color: var(--text-3);
    margin-top: var(--s-4);
}

/* Lead paragraph */
.article-lead {
    font-size: var(--fz-lg);
    line-height: 1.7;
    color: var(--text-1);
    margin-bottom: var(--s-8);
    padding-bottom: var(--s-6);
    border-bottom: 1px solid var(--border);
}

/* Responsive table wrapper */
.article-table-wrap {
    overflow-x: auto;
    margin-bottom: var(--s-6);
    border-radius: var(--r-md);
    border: 1px solid var(--border);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fz-sm);
    margin-bottom: 0;
}

.article-table th,
.article-table td {
    padding: var(--s-3) var(--s-4);
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}

.article-table td:first-child {
    white-space: normal;
}

.article-table th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-1);
    font-weight: 700;
}

.article-table tr:last-child td {
    border-bottom: none;
}

.article-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Calculation breakdown block */
.article-calc {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: var(--s-6);
}

.article-calc__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--s-3) var(--s-5);
    border-bottom: 1px solid var(--border);
    font-size: var(--fz-sm);
    gap: var(--s-4);
}

.article-calc__row:last-child {
    border-bottom: none;
}

.article-calc__row span:last-child {
    font-weight: 700;
    color: var(--text-1);
    white-space: nowrap;
}

.article-calc__row--total {
    background: rgba(200, 0, 31, 0.08);
}

.article-calc__row--total span {
    color: var(--accent) !important;
    font-size: var(--fz-md);
}

.article-calc__row--result {
    background: rgba(34, 197, 94, 0.08);
}

.article-calc__row--result span {
    color: var(--accent-alt) !important;
    font-size: var(--fz-md);
}

/* Article navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: var(--s-4);
    margin-top: var(--s-10);
    padding-top: var(--s-8);
    border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
    .article-nav {
        flex-direction: column;
    }

    .article-calc__row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-1);
    }
}
