/* ============================================================
   style.css – RemZona10 (полный набор стилей для главной)
   Версия: 2.0 (адаптирована под home.tsx)
   ============================================================ */

/* ---------- Переменные ---------- */
:root {
    --brand: #E63946;
    --brand-deep: #c62828;
    --brand-soft: rgba(230, 57, 70, 0.08);
    --ink: #0c0e12;
    --coal: #0c0e12;
    --steel: #6c757d;
    --mist: #f8f9fa;
    --line: #e9ecef;
    --gold: #f5b301;
    --ok: #28a745;
    --warn: #e67e22;
    --white: #ffffff;
    --font-display: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-plate: 'JetBrains Mono', 'Courier New', monospace;
}

/* ---------- Сброс ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-display);
    background: var(--mist);
    color: var(--ink);
    line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

/* ---------- Контейнер ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-red { background: var(--brand); color: #fff; }
.btn-red:hover { background: var(--brand-deep); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1a1c22; }
.btn-sm { padding: 0.3rem 0.8rem; font-size: 0.8rem; }
.btn-press { transition: transform 0.1s; }
.btn-press:active { transform: scale(0.96); }
.btn-pulse { animation: pulse 1.8s infinite; }
.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------- Анимации ---------- */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230,57,70,0.4); }
    70% { box-shadow: 0 0 0 12px rgba(230,57,70,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes dot-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.rz-blink { animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.rz-spin { animation: spin 0.8s linear infinite; }
.rz-pop { animation: pop 0.3s ease-out; }
@keyframes pop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.rz-bar { transition: width 0.6s ease; }

/* ---------- Карточки ---------- */
.card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: box-shadow 0.2s, transform 0.15s;
}
.card-hover:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* ---------- Формы ---------- */
.field {
    display: block;
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.field:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.15);
}
.field::placeholder { color: #adb5bd; }

/* ---------- Бейджи ---------- */
.badge-brand {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand);
}

/* ---------- Основные блоки главной ---------- */

/* HERO */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--coal);
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.4;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--coal) 0%, rgba(12,14,18,0.6) 80%, transparent 100%);
}
.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
    padding: 4rem 0 3rem;
    align-items: center;
}
.hero-text .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    padding: 0.25rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
}
.badge-dot { width: 8px; height: 8px; background: var(--brand); border-radius: 2px; display: inline-block; }
.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin: 1.2rem 0 0.8rem;
}
.brand-text { color: var(--brand); }
.hero-desc {
    max-width: 500px;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.8rem 0 2.2rem;
}
.icon-arrow, .icon-pin { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 450px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.2rem;
}
.hero-stats div span { display: block; font-size: 1.5rem; font-weight: 700; color: #fff; }
.hero-stats div { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* БЕГУЩАЯ СТРОКА */
.ticker-wrap {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: var(--brand);
    padding: 0.6rem 0;
    overflow: hidden;
}
.ticker {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
}
.icon-wrench { width: 14px; height: 14px; fill: none; stroke: rgba(255,255,255,0.6); stroke-width: 2; }

/* СЕЙЧАС СВОБОДНО */
.free-now {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 0;
}
.free-now-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.free-now-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
}
.dot-pulse {
    position: relative;
    width: 14px; height: 14px;
}
.dot-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--ok);
    animation: dot-pulse 1.5s infinite;
}
.dot-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(40,167,69,0.3);
    animation: dot-pulse 1.5s infinite;
}
.free-now-branches { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.9rem; color: var(--steel); }
.text-green { color: var(--ok); }
.text-warn { color: var(--warn); }
.icon-chevron { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* УСЛУГИ */
.services-section { background: var(--mist); padding: 4rem 0; }
.section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}
.section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand);
}
.section-head h2 { font-size: 2rem; font-weight: 800; margin: 0.2rem 0 0.4rem; }
.section-sub { color: var(--steel); max-width: 600px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
}
.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.service-icon {
    width: 48px; height: 48px;
    background: var(--brand-soft);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--brand);
}
.service-card h3 { font-size: 0.95rem; font-weight: 700; margin: 0.8rem 0 0.2rem; }
.service-card p { font-size: 0.8rem; color: var(--steel); margin: 0.2rem 0 0.6rem; flex: 1; }
.service-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.price { font-weight: 700; color: var(--brand); }
.duration { color: var(--steel); display: flex; align-items: center; gap: 0.2rem; }
.icon-clock { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.service-card.placeholder {
    border: 2px dashed rgba(12,14,18,0.15);
    background: transparent;
    justify-content: space-between;
}
.service-card.placeholder .service-icon { background: var(--ink); color: #fff; }
.btn-link { background: none; border: none; color: var(--brand); font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.services-note { font-size: 0.8rem; color: var(--steel); margin-top: 1.5rem; }

/* ДИАГНОСТИКА */
.diagnose-section { background: var(--mist); padding: 4rem 0; border-top: 1px solid var(--line); }
.diagnose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.diagnose-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.diagnose-card.dark {
    background: var(--coal);
    color: #fff;
    border-color: rgba(255,255,255,0.1);
}
.card-header { display: flex; justify-content: space-between; align-items: center; }
.btn-reset { background: none; border: none; color: var(--steel); font-weight: 700; font-size: 0.8rem; cursor: pointer; }
.quiz-progress { height: 4px; background: var(--line); border-radius: 2px; margin: 0.8rem 0; }
.quiz-progress .progress-bar { height: 100%; background: var(--brand); border-radius: 2px; transition: width 0.3s; }
.quiz-options { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.8rem 0; }
.quiz-option {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.quiz-option:hover { border-color: var(--brand); background: rgba(230,57,70,0.05); }
.quiz-picked { font-size: 0.8rem; color: var(--steel); margin-top: 0.5rem; }
.quiz-result { text-align: center; padding: 0.5rem 0; }
.quiz-result .result-icon { font-size: 2.5rem; }
.quiz-result .result-meta { display: flex; justify-content: center; gap: 1.5rem; font-weight: 700; margin: 0.5rem 0; }
.quiz-actions { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.seasonal-challenge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(245, 179, 1, 0.1);
    border: 1px solid rgba(245, 179, 1, 0.5);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    margin: 0.8rem 0;
}
.seasonal-challenge div { text-align: left; }
.seasonal-challenge p:first-child { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: #a16207; }
.seasonal-challenge p:last-child { font-size: 0.8rem; font-weight: 600; }
.seasonal-challenge button {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    cursor: pointer;
}
.seasonal-challenge button svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
.photo-upload-area {
    border: 2px dashed rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    margin: 1rem 0;
    cursor: pointer;
    transition: border-color 0.2s;
}
.photo-upload-area:hover { border-color: var(--brand); }
.btn-upload { background: none; border: none; color: #fff; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.btn-upload small { color: rgba(255,255,255,0.4); font-size: 0.7rem; }
#photo-preview { position: relative; margin: 1rem 0; }
#photo-preview img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 8px; }
.btn-replace { position: absolute; top: 8px; right: 8px; background: rgba(12,14,18,0.8); color: #fff; border: none; padding: 0.2rem 0.8rem; border-radius: 6px; font-size: 0.75rem; cursor: pointer; }
.estimate-result { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 1rem; text-align: center; }
.estimate-price { font-size: 1.6rem; font-weight: 700; }

/* КАК МЫ РАБОТАЕМ */
.how-it-works {
    background: var(--coal);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.how-it-works .section-head.light .section-kicker { color: var(--brand); }
.how-it-works .section-head.light h2 { color: #fff; }
.how-it-works .section-head.light .section-sub { color: rgba(255,255,255,0.55); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 2.5rem;
}
.step-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: background 0.2s;
}
.step-card:hover { background: rgba(255,255,255,0.07); }
.step-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.08);
    display: block;
    line-height: 1;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin: 0.8rem 0 0.2rem; }
.step-card p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.process-badge {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}
.process-badge ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.process-badge ul li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.process-badge ul li span {
    display: grid;
    place-items: center;
    width: 20px; height: 20px;
    background: rgba(230,57,70,0.2);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--brand);
}

/* ЭВАКУАТОР */
.tow-truck {
    background: var(--brand);
    padding: 2.5rem 0;
    color: #fff;
}
.tow-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: center;
}
.tow-icon svg { width: 48px; height: 48px; fill: none; stroke: rgba(255,255,255,0.8); stroke-width: 2; }
.tow-text h2 { font-size: 1.6rem; font-weight: 700; margin: 0.5rem 0 0.2rem; }
.tow-text p { opacity: 0.85; max-width: 450px; }
.tow-calc {
    background: #fff;
    color: var(--ink);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.3);
}
.calc-row label { display: flex; justify-content: space-between; font-weight: 600; }
.calc-row input[type="range"] { width: 100%; accent-color: var(--brand); }
.calc-result { display: flex; justify-content: space-between; font-weight: 600; padding: 0.5rem 0; }
.calc-result .price { font-size: 1.4rem; color: var(--brand); }

/* МАСТЕРА */
.masters-section { background: #fff; padding: 4rem 0; }
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--mist);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
}
.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.master-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 1.2rem;
    text-align: center;
    transition: box-shadow 0.2s;
}
.master-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.master-photo {
    position: relative;
    width: 86px; height: 86px;
    margin: 0 auto 0.5rem;
}
.master-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.master-rating {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--gold);
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
}
.master-card h3 { font-size: 1rem; margin: 0.2rem 0 0; }
.master-spec { color: var(--brand); font-weight: 600; font-size: 0.85rem; }
.master-meta { font-size: 0.8rem; color: var(--steel); }
.master-branch { font-size: 0.8rem; color: var(--steel); display: flex; justify-content: center; align-items: center; gap: 0.2rem; }

/* ФИЛИАЛЫ */
.branches-section { background: var(--mist); padding: 4rem 0; }
.branches-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 1.5rem;
}
.branch-map {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--line);
    overflow: hidden;
}
.map-svg { width: 100%; height: auto; display: block; }
.map-label {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--coal);
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pulse-dot { animation: dot-pulse 1.8s infinite; }
.branch-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.branch-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.branch-item.active {
    border-color: var(--brand);
    box-shadow: 0 6px 20px -12px rgba(230,57,70,0.3);
}
.branch-item:hover { border-color: #ced4da; }
.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.branch-header h3 { font-size: 1rem; margin: 0; }
.badge-fav { background: var(--brand-soft); color: var(--brand); padding: 0.1rem 0.6rem; border-radius: 4px; font-size: 0.7rem; font-weight: 700; }
.btn-fav { background: none; border: none; cursor: pointer; }
.btn-fav svg { width: 20px; height: 20px; fill: none; stroke: #ced4da; stroke-width: 2; transition: fill 0.2s; }
.btn-fav svg.filled { fill: var(--brand); stroke: var(--brand); }
.branch-item p { font-size: 0.85rem; color: var(--steel); margin: 0.2rem 0; }
.branch-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--steel); }
.branch-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; vertical-align: middle; }
.branch-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--line);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

/* ОТЗЫВЫ */
.reviews-section { background: #fff; padding: 4rem 0; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.review-card {
    background: var(--mist);
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}
.review-stars { color: var(--gold); font-size: 1.1rem; }
.review-card blockquote { font-size: 0.95rem; font-style: italic; margin: 0.5rem 0; flex: 1; }
.review-master {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    width: fit-content;
}
.review-master img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.review-reply {
    background: rgba(230,57,70,0.05);
    border-left: 3px solid var(--brand);
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 0 6px 6px 0;
}
.review-card figcaption { font-size: 0.75rem; color: var(--steel); border-top: 1px solid var(--line); padding-top: 0.5rem; margin-top: 0.5rem; }

/* БОНУСЫ */
.bonuses-section { background: var(--mist); padding: 4rem 0; }
.bonuses-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
}
.bonus-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.bonus-list li {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    margin-bottom: 0.5rem;
}
.bonus-amount { color: var(--brand); font-weight: 700; }
.level-card {
    background: var(--coal);
    color: #fff;
    padding: 1.5rem;
    border-radius: 16px;
}
.level-header { display: flex; justify-content: space-between; }
.level-item { margin: 1rem 0; }
.level-item .level-points { color: var(--brand); font-size: 0.75rem; }
.level-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-top: 0.2rem; }
.level-bar div { height: 100%; background: var(--brand); border-radius: 3px; }
.level-item:last-child .level-bar div { background: var(--gold); }
.level-note { font-size: 0.8rem; opacity: 0.6; margin-top: 1.5rem; }

/* ФИНАЛЬНЫЙ CTA */
.final-cta {
    background: var(--coal);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/hero-bg.jpg') center/cover;
    opacity: 0.2;
}
.cta-content { position: relative; max-width: 600px; margin: 0 auto; }
.cta-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand); font-weight: 700; }
.cta-content h2 { font-size: 2.2rem; font-weight: 800; margin: 0.5rem 0; }
.cta-content p { opacity: 0.7; margin-bottom: 1.5rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ========== КОМПОНЕНТ ТАБЛО ПОДЪЁМНИКОВ ========== */
.liftboard {
    background: rgba(12,14,18,0.8);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    overflow: hidden;
}
.liftboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.liftboard-live { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--brand); }
.liftboard-header p { font-size: 0.9rem; font-weight: 700; color: #fff; margin: 0; }
.liftboard-online {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(40,167,69,0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ok);
}
.dot-online {
    width: 8px; height: 8px;
    background: var(--ok);
    border-radius: 50%;
    display: inline-block;
    animation: dot-pulse 1.5s infinite;
}
.liftboard-tabs {
    display: flex;
    gap: 0.4rem;
    padding: 0.8rem 1.25rem 0.4rem;
}
.liftboard-tab {
    background: rgba(255,255,255,0.05);
    border: none;
    color: rgba(255,255,255,0.5);
    padding: 0.2rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.liftboard-tab:hover { color: #fff; }
.liftboard-tab.active {
    background: var(--brand);
    color: #fff;
}
.liftboard-list {
    padding: 0.8rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.liftboard-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: border-color 0.5s, background 0.5s;
}
.liftboard-item.free {
    border-color: rgba(40,167,69,0.3);
    background: rgba(40,167,69,0.05);
}
.liftboard-item.busy {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
}
.lift-icon {
    display: grid;
    place-items: center;
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
}
.liftboard-item.free .lift-icon {
    background: rgba(40,167,69,0.15);
    color: var(--ok);
}
.liftboard-item div { flex: 1; }
.liftboard-item div p:first-child {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    margin: 0;
}
.liftboard-item div p:last-child {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
}
.liftboard-item.free div p:last-child { color: var(--ok); }
.liftboard-item.busy div p:last-child { color: rgba(255,255,255,0.45); }
.lift-status {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}
.lift-status.open {
    background: rgba(40,167,69,0.2);
    color: var(--ok);
}
.lift-status.wait {
    background: transparent;
    color: rgba(255,255,255,0.35);
}
.liftboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.liftboard-footer p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
}
.liftboard-footer p strong { color: #fff; }
.liftboard-footer .btn-sm { font-size: 0.75rem; padding: 0.3rem 0.8rem; }

/* ---------- Адаптивность ---------- */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-liftboard { order: -1; }
    .diagnose-grid { grid-template-columns: 1fr; }
    .branches-grid { grid-template-columns: 1fr; }
    .bonuses-grid { grid-template-columns: 1fr; }
    .tow-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .masters-grid { grid-template-columns: 1fr 1fr; }
    .free-now-content { flex-direction: column; align-items: stretch; }
    .free-now-branches { justify-content: center; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .process-badge ul { flex-direction: column; gap: 0.4rem; }
    .tow-calc { width: 100%; }
    .branch-map { min-height: 200px; }
    .final-cta .cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .masters-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .btn { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
    .hero-text h1 { font-size: 1.8rem; }
}
/* ============================================================
   Дополнительные классы для полного соответствия home.tsx
   ============================================================ */

/* Полосы для фонов (stripes) */
.bg-stripes-dark {
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 8px);
}
.bg-stripes-red {
    background-image: repeating-linear-gradient(45deg, rgba(230,57,70,0.06) 0px, rgba(230,57,70,0.06) 2px, transparent 2px, transparent 8px);
}

/* Анимация пульсации для точек (rz-blink) */
.rz-blink {
    animation: rz-blink 1.5s infinite;
}
@keyframes rz-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Анимация появления (rz-pop) */
.rz-pop {
    animation: rz-pop 0.3s ease-out;
}
@keyframes rz-pop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Бегущая строка (rz-marquee) */
.rz-marquee {
    animation: rz-marquee 25s linear infinite;
}
@keyframes rz-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Спиннер (rz-spin) */
.rz-spin {
    animation: rz-spin 0.8s linear infinite;
}
@keyframes rz-spin {
    to { transform: rotate(360deg); }
}