:root {
    --primary: #4b83c3;
    --primary-dark: #3a68a0;
    --accent: #2dc475;
    --accent-dark: #22a25f;
    --bg-dark: #2c3e50;
    --bg-page: #f4f7fb;
    --text-white: #ffffff;
    --border: #e1e7f0;
    --text-muted: #666;
    --text-light: #888;
    --bg-subtle: #f9f9f9;
    --bg-card: #ffffff;
    --radius: 8px;
}

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

body {
    background-color: var(--bg-page);
    color: var(--bg-dark);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    line-height: 1.5;
}

/* Стили для уникальных классов из map.lua */
.top-info-panel-x {
    background: var(--bg-card);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    z-index: 100;
}

/* Header inner layout */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
}

/* Nav */
.menu-sc-list {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 64px;
}
.sc-link-item {
    display: flex;
    align-items: center;
    padding: 0 18px;
    text-decoration: none;
    color: var(--bg-dark);
    font-size: 0.95rem;
    font-weight: 500;
    height: 100%;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.sc-link-item:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(75,131,195,0.04);
}

/* Burger button — hidden on desktop */
.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}
.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bg-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand-anchor-v1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 14px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}
.breadcrumbs-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}
.breadcrumbs-item a {
    color: var(--primary);
    text-decoration: none;
}
.breadcrumbs-item a:hover {
    text-decoration: underline;
}
.breadcrumbs-item + .breadcrumbs-item::before {
    content: "/";
    margin: 0 8px;
    color: var(--border);
}
.breadcrumbs-item:last-child span {
    color: var(--bg-dark);
    font-weight: 500;
}

/* Error page */
.error-page {
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}
.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--border);
    margin-bottom: 10px;
}
.error-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 12px;
}
.error-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}
.error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-main-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.btn-cta-green {
    background: var(--accent);
    color: var(--text-white);
    padding: 14px 32px;
    border-radius: var(--radius);
    display: inline-block;
    transition: 0.3s;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.btn-cta-green:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.auto-card-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    margin-bottom: 20px;
}
.auto-card-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.price-tag-big {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 20px;
}

/* Layout & Common */
.section {
    padding: 60px 0;
}
/* Hero */
.hero {
    background: linear-gradient(180deg, #dce6f5 0%, var(--bg-page) 100%);
    padding: 80px 0 60px;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.hero-btn { padding: 12px 28px; font-size: 0.95rem; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.feature-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; }
.feature-desc { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Section count badge */
.section-count {
    display: inline-block;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Top Hub Cards (main page) */
.top-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}
.top-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px 20px;
    text-decoration: none;
    color: var(--bg-dark);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.top-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: var(--primary);
    text-decoration: none;
}
.top-hub-img-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.top-hub-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.top-hub-name {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}
.top-hub-meta {
    font-size: 0.85rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-top: 6px;
}
.top-hub-specs {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 10px;
    width: 100%;
}
.top-hub-spec {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}
.top-hub-spec strong {
    color: var(--bg-dark);
}

.bg-light {
    background: linear-gradient(180deg, #dce6f5 0%, var(--bg-page) 100%);
}
.bg-white {
    background: var(--bg-card);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center {
    text-align: center;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.grid-auto {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
    gap: 80px 40px; 
}

/* Flexible Cards */
.card-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}
.btn-full {
    display: block;
    text-align: center;
}
.margin-b-15 { margin-bottom: 15px; }
.margin-b-30 { margin-bottom: 30px; }
.pt-0 { padding-top: 0 !important; }
.pt-10 { padding-top: 10px !important; }
.pt-20 { padding-top: 20px !important; }
.pt-30 { padding-top: 30px !important; }
.subtitle { font-size: 1.2rem; color: var(--text-muted); }

a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auto-name-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 8px;
}

.params-grid-auto {
    display: flex;
    flex-direction: column;
}

/* Hubs (Cities & Operators) */
.hub-title {
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-dark);
}
.hub-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hub-item {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--bg-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.hub-item:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.hub-badge {
    padding: 15px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.hub-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(75,131,195,0.1);
    transform: translateY(-2px);
}

/* Detail Pages Layout */
.grid-main-sidebar {
    display: grid; 
    grid-template-columns: 1fr 300px; 
    gap: 40px;
}

.sticky-top {
    position: sticky;
    top: 20px;
}

.item-row {
    display: flex; 
    justify-content: space-between; 
    padding: 10px 0;
}
.border-b {
    border-bottom: 1px solid var(--border);
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.badge-sm {
    background: var(--bg-subtle);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Sections & Tabs */
.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.02);
}
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bg-dark);
    text-align: center;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px 20px;
}
.info-item {
    padding: 15px;
    background: var(--bg-subtle);
    border-radius: var(--radius);
}
.info-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}
.info-value {
    display: block;
    font-weight: 600;
    color: var(--bg-dark);
}

/* Contacts & Socials */
.contact-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f4f7fb;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
}
.social-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Prose */
.prose h2 { margin-top: 2rem; margin-bottom: 1rem; }
.prose ul { padding-left: 20px; margin: 15px 0; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--bg-dark); }

/* City Tags */
.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.city-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.city-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* Reference UI: FAQ Accordion */
.ref-accordion {
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    overflow: hidden;
}
.ref-accordion summary {
    padding: 22px 25px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--bg-dark);
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    transition: background 0.2s;
}
.ref-accordion summary:hover {
    background: #fdfdfd;
}
.ref-accordion summary::-webkit-details-marker {
    display: none;
}
.ref-accordion summary::after {
    content: '';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    transition: transform 0.3s;
}
.ref-accordion[open] summary::after {
    transform: translateY(-50%) rotate(-135deg);
}
.ref-accordion .ref-accordion-content {
    padding: 0 25px 25px 25px;
    border-top: 1px solid var(--bg-page);
    margin-top: 10px;
    padding-top: 20px;
    color: var(--text-muted);
}

.card-img-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Operator Logo */
.op-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 25px;
}
.op-logo-img {
    height: 64px;
    object-fit: contain;
}
.op-title {
    margin: 0;
    font-size: 34px;
}

/* Modern Promocode Widget */
.promo-grid-x {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px 20px;
    margin-top: 20px;
}
.promo-card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.promo-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
}
.promo-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: var(--bg-dark);
}
.promo-subtitle {
    margin: 0;
    font-size: 13px;
    color: #7f8c8d;
}
.promo-code-box-wrapper {
    position: relative;
}
.promo-code-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    min-width: 140px;
    justify-content: center;
}
.promo-code-box:hover {
    background: #f1f5f9;
    border-color: var(--primary);
}
.promo-code-box .code-text {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
    letter-spacing: 1px;
}
.copy-tooltip-x {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 10;
    white-space: nowrap;
}
.copy-tooltip-x::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--bg-dark);
}
.copy-tooltip-x.visible {
    opacity: 1;
    bottom: -45px;
}
.copy-btn-icon {
    color: #94a3b8;
    transition: color 0.2s;
}
.promo-code-box:hover .copy-btn-icon {
    color: var(--primary);
}

/* Footer Styles */
.footer-x {
    background-color: #1a1a1a;
    color: #cbd5e1;
    padding: 60px 0 30px;
    margin-top: 80px;
    font-size: 0.9rem;
}

.footer-grid-x {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand-col h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav-list a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Utilities */
.hub-all-link { color: var(--primary); font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.margin-t-20 { margin-top: 20px; }
.max-w-800 { max-width: 800px; }
.m-auto { margin: 0 auto; }
.flex-center-wrap { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 12px 32px; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; display: inline-block; text-decoration: none; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.is-hidden { display: none !important; }
.flex-sb-baseline { display: flex; justify-content: space-between; align-items: baseline; }
.margin-b-0 { margin-bottom: 0 !important; }
.feature-icon-circle { width: 60px; height: 60px; background: #ebf8ff; color: #3182ce; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 24px; }
.card-img-wrap-v2 { height: 90px; background: transparent; margin-bottom: 5px; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.badge-accent { background: #e3f2fd; color: #1976d2; }
.item-img-wrap { display: flex; justify-content: center; align-items: center; }
.item-h1 { margin-bottom: 30px; text-align: center; }
.item-img { max-width: 100%; height: auto; object-fit: contain; }
.item-specs-title { margin-top: 0; }
.hub-info-row { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.hub-info-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.hub-info-label { font-size: 0.85rem; color: var(--text-muted); }
.hub-info-name { font-weight: 700; font-size: 1.2rem; text-decoration: none; color: inherit; }
.hub-info-name:hover { color: var(--primary); }
.app-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.city-tag-more { border-style: dashed; background: transparent; color: var(--primary); }
.hub-specs-title { margin-top: 20px; }
.mini-card-link { text-decoration: none; color: inherit; display: block; text-align: center; }
.mini-card-name { font-weight: 600; font-size: 0.9rem; }
.app-buttons-col { display: flex; flex-direction: column; gap: 10px; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { text-decoration: none; }
.badge-wrap { margin-bottom: 6px; }
.show-more-wrap { text-align: center; margin-top: 20px; }
.geo-container { max-width: 1200px; }
.geo-info-grid { margin-top: 15px; }
.geo-promo-wrap { margin-top: 15px; }
.geo-items-wrap { margin-top: 20px; }
.geo-show-more { text-align: center; margin-top: 15px; }
.geo-apps-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; justify-content: center; }
.app-btn { display: inline-block; line-height: 0; }
.app-btn-img { height: 44px; width: auto; display: block; }
.geo-hub-footer { margin-top: 20px; text-align: right; }
.geo-zone-desc { margin-top: 20px; padding: 15px 18px; background: var(--bg-subtle); border-left: 3px solid var(--accent); border-radius: 6px; font-size: 0.95rem; color: var(--text-muted); }
.geo-map { width: 100%; height: 400px; background: #e9ecef; border-radius: 8px; margin-top: 12px; }

/* Hub Summary Cards (geo_page) */
.hub-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.hub-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hub-summary-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.hub-summary-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.hub-summary-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius);
}
.hub-summary-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bg-dark);
    text-decoration: none;
}
.hub-summary-title:hover {
    color: var(--primary);
    text-decoration: none;
}
.hub-summary-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hub-summary-spec {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-subtle);
    padding: 4px 10px;
    border-radius: 4px;
}

/* Items Mini Grid (hub_page, geo_page) */
.items-mini-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}
.items-mini-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.items-mini-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.items-mini-img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
}

.footer-bottom-x {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #64748b;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .footer-grid-x {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .footer-grid-x {
        grid-template-columns: 1fr;
    }
}


.footer-x p {
    line-height: 1.6;
    color: #94a3b8;
}

.footer-x h2, .footer-x h3 {
    letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 50px 0 40px; }
    .hero-main-title { font-size: 32px; }
    .hero-subtitle { font-size: 1rem; }
    .section { padding: 40px 0; }
    .section-card { padding: 20px; margin-bottom: 25px; }
    .grid-main-sidebar { grid-template-columns: 1fr; }
    .grid-auto { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 30px 15px; }
    .grid-2 { grid-template-columns: 1fr; gap: 25px; }
    .info-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .promo-grid-x { grid-template-columns: 1fr; }
    .promo-card-modern { flex-direction: column; gap: 15px; text-align: center; }
    .op-title { font-size: 24px; }
    .hub-title { font-size: 1.5rem; }
    .footer-bottom-x { flex-direction: column; text-align: center; }
    .top-hub-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .top-hub-img-wrap { width: 60px; height: 60px; }
    .top-hub-specs { display: none; }
    .features-grid { grid-template-columns: 1fr 1fr; }

    /* Mobile burger menu */
    .burger-btn { display: flex; }
    .menu-sc-list {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: var(--bg-card);
        height: auto;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 100;
        overflow-y: auto;
    }
    .menu-sc-list.menu-open { display: flex; }
    .menu-sc-list li { border-bottom: 1px solid var(--border); }
    .sc-link-item {
        height: auto;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .info-grid { grid-template-columns: 1fr; }
    .header-inner { padding: 0 12px; }
    .container { padding: 0 12px; }
    .sc-link-item { padding: 0 10px; font-size: 0.85rem; }
    .top-hub-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
}


/* Pricing block */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}
.pricing-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    text-align: center;
    border: 1px solid var(--border);
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.pricing-popular {
    border: 2px solid var(--accent);
    box-shadow: 0 4px 20px rgba(45,196,117,0.15);
    transform: scale(1.03);
}
.pricing-popular:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 20px;
    white-space: nowrap;
}
.pricing-logo {
    width: 72px; height: 72px; object-fit: contain;
    margin: 0 auto 14px; display: block; border-radius: 8px;
}
.pricing-name { font-size: 1.15rem; font-weight: 700; color: var(--bg-dark); margin: 0 0 8px; }
.pricing-desc { font-size: 0.87rem; color: var(--text-muted); margin: 0 0 16px; }
.pricing-price { margin-bottom: 20px; }
.pricing-amount { font-size: 2.2rem; font-weight: 800; color: var(--bg-dark); letter-spacing: -1px; }
.pricing-period { font-size: 0.88rem; color: var(--text-muted); }
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}
.pricing-features li {
    padding: 7px 0 7px 22px;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--bg-dark);
    position: relative;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Testimonials block */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 14px;
    left: 22px;
    font-size: 4rem;
    line-height: 1;
    color: rgba(45,196,117,0.2);
    font-family: Georgia, serif;
}
.testimonial-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.testimonial-text {
    font-size: 0.95rem;
    color: var(--bg-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--bg-dark); }
.testimonial-role { font-size: 0.82rem; color: var(--text-muted); }

/* ── Hero Service ─────────────────────────────────────────────────────────── */
.hero-wrapper { max-width: 760px; margin: 0 auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 16px; }
.hero-sub { font-size: 1rem; color: var(--text-muted); margin: 0 0 24px; }
.hero-btn-wrap { margin-top: 28px; }

/* Trust bar */
.trust-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin: 28px 0 0;
    padding: 20px 24px;
    background: rgba(255,255,255,0.7);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon { font-size: 1.5rem; line-height: 1; }
.trust-text { text-align: left; }
.trust-text strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); }
.trust-text span { font-size: 0.8rem; color: var(--text-muted); }

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: steps;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
}
.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 12px;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.step-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ── Tariffs ─────────────────────────────────────────────────────────────── */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    align-items: start;
}
.tariff-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tariff-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.tariff-highlighted {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37,99,235,0.12);
}
.tariff-header { border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.tariff-title { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin: 0 0 6px; }
.tariff-price { font-size: 0.9rem; color: var(--text-muted); }
.tariff-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.tariff-features li { font-size: 0.9rem; color: var(--text-muted); padding-left: 18px; position: relative; }
.tariff-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    text-align: center;
}
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* ── CTA section ─────────────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 70px 0;
}
.cta-section .section-title,
.cta-section .lead { color: #fff; }
.cta-section .section-title { margin-bottom: 12px; }
.cta-section .lead { opacity: 0.85; margin-bottom: 28px; }

/* ── FAQ list ────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }

/* ── Order Form ──────────────────────────────────────────────────────────── */
.order-form-section { background: var(--bg-light); }
.order-form-wrap {
    max-width: 720px;
    margin: 0 auto;
}
.order-form-frame-wrap {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background: var(--bg-card);
    padding: 32px;
}
.order-form-frame {
    width: 100%;
    min-height: 480px;
    border: none;
    display: block;
}

/* ── Offices & Map ───────────────────────────────────────────────────────── */
.offices-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    background: var(--bg-light);
    overflow: hidden;
}
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.offices-limited .office-card:nth-child(n+7) { display: none; }
.office-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.3s;
}
.office-card.office-highlighted { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.office-card-title { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin: 0; }
.office-card-row { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.office-card-row a { color: var(--primary); text-decoration: none; }
.map-balloon-btn { margin-top: 6px; padding: 4px 12px; background: var(--primary); color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 0.82rem; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .trust-bar { gap: 16px; padding: 16px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .tariffs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }
    .tariffs-grid { grid-template-columns: 1fr; }
    .hero-wrapper { text-align: left; }
    .trust-bar { justify-content: flex-start; }
}

/* ── Quiz ────────────────────────────────────────────────────────────────── */
.quiz-section { background: var(--bg-light); }
.quiz-wrap { max-width: 680px; margin: 0 auto; }
.quiz-progress-wrap { margin: 24px 0 32px; }
.quiz-step-label { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.quiz-progress-bg { height: 6px; background: var(--border-color); border-radius: 3px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width .3s ease; width: 0; }

.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step-title { font-size: 20px; font-weight: 600; margin-bottom: 20px; }

.quiz-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.quiz-option { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 2px solid var(--border-color); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.quiz-option:hover { border-color: var(--accent); background: var(--bg-white); }
.quiz-option input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.quiz-option:has(input:checked) { border-color: var(--accent); background: var(--bg-white); }

.quiz-nav { display: flex; gap: 12px; align-items: center; }
.quiz-nav-center { justify-content: center; margin-top: 24px; }

.quiz-result-inner { padding: 24px 0; }
.quiz-result-icon { font-size: 48px; margin-bottom: 12px; }
.quiz-suggested-tariff { font-size: 22px; font-weight: 700; color: var(--accent); margin: 12px 0; }
.quiz-result-sub { color: var(--text-muted); margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   MODERN REFRESH (2026-06) — мягкие тени, воздух, типографика.
   Блок намеренно в конце файла: переопределяет базовые компоненты по каскаду,
   исходные правила выше не тронуты (легко откатить — удалить этот блок).
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    --radius: 14px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(20,40,70,.04), 0 2px 8px rgba(20,40,70,.06);
    --shadow-md: 0 8px 24px rgba(20,40,70,.10);
    --shadow-lg: 0 18px 44px rgba(20,40,70,.14);
}

html { scroll-behavior: smooth; }
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1f2d3d;
    letter-spacing: -0.005em;
}

/* ── Header ─────────────────────────────────────────────────────────── */
.top-info-panel-x {
    position: sticky;
    top: 0;
    box-shadow: 0 1px 0 rgba(20,40,70,.06), 0 6px 24px rgba(20,40,70,.05);
}
.brand-anchor-v1 { letter-spacing: -.02em; display: inline-flex; align-items: center; }
.brand-anchor-v1::before {
    content: "";
    width: 28px; height: 28px;
    margin-right: 10px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: var(--shadow-sm);
}
.sc-link-item { font-weight: 600; border-bottom-width: 2px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 420px at 50% -140px, rgba(75,131,195,.20), transparent 70%),
        linear-gradient(180deg, #eaf1fb 0%, var(--bg-page) 100%);
    padding: 104px 0 92px;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(75,131,195,.12) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(900px 340px at 50% 0, #000, transparent 75%);
            mask-image: radial-gradient(900px 340px at 50% 0, #000, transparent 75%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-main-title {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: -.03em;
    max-width: 18ch;
    margin-left: auto; margin-right: auto;
    background: linear-gradient(135deg, #2b557f 0%, #4b83c3 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 1.18rem; color: #56697c; max-width: 600px; }
.hero-actions { gap: 14px; margin-top: 34px; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn-cta-green {
    border-radius: 12px;
    padding: 15px 32px;
    box-shadow: 0 8px 20px rgba(45,196,117,.28);
    letter-spacing: .005em;
}
.btn-cta-green:hover { box-shadow: 0 13px 28px rgba(45,196,117,.38); }

/* ── Sections & titles ──────────────────────────────────────────────── */
.section { padding: 76px 0; }
.section-title, .hub-title {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    letter-spacing: -.025em;
}
.section-count {
    background: #eef4fb;
    color: var(--primary-dark);
    border-radius: var(--radius-pill);
    padding: 3px 12px;
    font-weight: 600;
}

/* ── Cards: мягкие тени вместо волосяных бордюров ───────────────────── */
.feature-card, .top-hub-card, .pricing-card, .testimonial-card,
.hub-summary-card, .items-mini-card, .promo-card-modern, .auto-card-wrap,
.section-card, .step-card, .tariff-card, .office-card {
    border: 1px solid rgba(20,40,70,.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.feature-card:hover, .top-hub-card:hover, .hub-summary-card:hover,
.items-mini-card:hover, .auto-card-wrap:hover, .pricing-card:hover,
.testimonial-card:hover, .step-card:hover, .tariff-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(75,131,195,.28);
    transform: translateY(-4px);
}

/* ── Feature icon ───────────────────────────────────────────────────── */
.feature-icon-circle {
    width: 66px; height: 66px;
    background: linear-gradient(135deg, #eaf2fc, #d8e7fb);
    color: var(--primary-dark);
    box-shadow: inset 0 0 0 1px rgba(75,131,195,.14);
    font-size: 26px;
}

/* ── Catalog cards (города / компании / авто) ───────────────────────── */
.top-hub-card { padding: 26px 18px 22px; }
.top-hub-img-wrap {
    width: 96px; height: 96px;
    background: #f5f9fd;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
}
.top-hub-name { font-size: 1.02rem; }
.top-hub-meta { color: var(--accent-dark); }

/* Карточки-города без картинки — компактнее и по центру */
.top-hub-grid { gap: 16px; }

/* ── Чипы (города/теги на внутренних страницах) ─────────────────────── */
.hub-item, .city-tag {
    border-radius: var(--radius-pill);
    border-color: rgba(20,40,70,.08);
    box-shadow: var(--shadow-sm);
    padding: 11px 20px;
}
.hub-item:hover, .city-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.ref-accordion {
    border: 1px solid rgba(20,40,70,.06);
    box-shadow: var(--shadow-sm);
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer-x { background: #0f1b2d; }

/* ── Главная: точечная полировка ────────────────────────────────────── */
/* Hero чуть плотнее по вертикали */
.hero { padding: 84px 0 76px; }

/* Города — компактные чипы ТОЛЬКО для минимальных карточек (только название).
   Если у карточки есть specs/meta (как в нише ЭДО: офис, телефон, режим) —
   не трогаем, иначе текст наезжает. Важно: :has() нельзя вкладывать в :has(),
   поэтому используем цепочку соседних :not(:has()). */
.top-hub-grid:not(:has(.top-hub-img)):not(:has(.top-hub-specs)):not(:has(.top-hub-meta)) {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.top-hub-card:not(:has(.top-hub-img-wrap)):not(:has(.top-hub-specs)):not(:has(.top-hub-meta)) {
    flex-direction: row;
    justify-content: center;
    padding: 15px 16px;
}
.top-hub-card:not(:has(.top-hub-img-wrap)):not(:has(.top-hub-specs)):not(:has(.top-hub-meta)) .top-hub-name { font-size: 0.95rem; }

/* Авто — карточка с фото, но без цены (отличие от компаний) → крупное превью */
.top-hub-card:has(.top-hub-img-wrap):not(:has(.top-hub-meta)) .top-hub-img-wrap {
    width: 100%;
    height: 116px;
    background: #f5f9fd;
    border-radius: 14px;
    padding: 10px;
}
.top-hub-card:has(.top-hub-img-wrap):not(:has(.top-hub-meta)) {
    padding: 16px 16px 18px;
}

/* ── Листинги (card_grid: /towns, /brands, /auto) ───────────────────── */
/* Базовый row-gap был 80px — слишком много воздуха между рядами */
.grid-auto { gap: 30px 24px; }
/* Листинг городов — плотная сетка/компактные карточки ТОЛЬКО для минимальных
   карточек (название + кнопка). Если есть картинка, описание <p> или бейджи —
   не трогаем (ниши с богатыми карточками, напр. ЭДО). */
.grid-auto:not(:has(img)):not(:has(p)):not(:has(.badge-wrap)) {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}
.auto-card-wrap:not(:has(img)):not(:has(p)):not(:has(.badge-wrap)) { padding: 16px; margin-bottom: 0; }
.auto-card-wrap:not(:has(img)):not(:has(p)):not(:has(.badge-wrap)) .auto-name-heading { margin-bottom: 12px; font-size: 1rem; }
.auto-card-wrap:not(:has(img)):not(:has(p)):not(:has(.badge-wrap)) .btn-full { padding: 9px 14px; font-size: 0.85rem; }

/* ── Контентные страницы (about/contacts/privacy) ───────────────────── */
.prose { color: #3c4a59; line-height: 1.75; }
.prose p { margin: 0 0 16px; }
.content-plain-article { max-width: 780px; margin: 0 auto; }
.content-plain-title {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    text-align: left;
    margin: 0 0 18px;
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--primary-dark);
}
/* ═══════════════════════════════════════════════════════════════════════
   THEME_018 — «TERRA»: светлая тёплая editorial-тема. Кремовый фон, коралл +
   глубокая бирюза, крупные скругления, serif-заголовки Fraunces. По-журнальному.
   Self-contained identity-слой: переопределяет фундамент по каскаду.
   ═══════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ink:#231e17; --accent:#ef5a34; --accent-2:#0f6e63;
  --primary:#ef5a34; --primary-dark:#d8451f; --accent-dark:#d8451f;
  --bg-page:#f8f3ea; --bg-card:#fffdf8; --bg-subtle:#efe6d6; --border:#e8ddc9;
  --text-muted:#6f6453; --text-light:#938775;
  --radius:22px; --radius-pill:999px;
  --shadow-sm:0 2px 4px rgba(80,60,30,.04), 0 10px 26px rgba(80,60,30,.07);
  --shadow-md:0 20px 48px rgba(80,60,30,.13);
}
body{ background:var(--bg-page); color:var(--ink); font-family:'Inter',system-ui,sans-serif; }
h1,h2,h3,.section-title,.hub-title,.hero-main-title,.brand-anchor-v1,.pricing-amount,
.hsplit__title,.hstat__num,.t18-feat__title,.t18-cat__title,.t18-prod__title,.t18-h2,
.t18-faq__title,.t18-ghero__title{
  font-family:'Fraunces','Georgia',serif; font-weight:600; letter-spacing:-.01em; color:var(--ink);
}

/* ── Header ──────────────────────────────────────────────────────────── */
.top-info-panel-x{ background:rgba(248,243,234,.85); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); box-shadow:inset 0 -1px 0 var(--border); }
.brand-anchor-v1{ color:var(--ink); font-weight:700; }
.brand-anchor-v1::before{ width:26px;height:26px;border-radius:50% 50% 50% 4px;background:linear-gradient(135deg,var(--accent),#ff8a4c);box-shadow:0 6px 16px rgba(239,90,52,.35); }
.sc-link-item{ color:var(--ink); font-weight:600; border-bottom:none; }
.sc-link-item:hover{ color:var(--accent); background:transparent; }
.burger-btn span{ background:var(--ink); }

/* ── Кнопки (pill, тёплые) ──────────────────────────────────────────── */
.btn-cta-green,.hero-btn,.hsplit__btn{ background:var(--accent); color:#fff; border:none; border-radius:var(--radius-pill); padding:15px 32px; font-weight:700; box-shadow:0 10px 24px rgba(239,90,52,.26); text-transform:none; letter-spacing:0; }
.btn-cta-green:hover,.hero-btn:hover,.hsplit__btn:hover{ background:var(--accent-dark); transform:translateY(-2px); box-shadow:0 14px 30px rgba(239,90,52,.34); }
.btn-outline,.btn-secondary{ background:transparent; border:2px solid var(--ink); color:var(--ink); border-radius:var(--radius-pill); padding:13px 28px; font-weight:700; }
.btn-outline:hover,.btn-secondary:hover{ background:var(--ink); color:var(--bg-card); }
.btn-full{ background:transparent; color:var(--ink); border:2px solid var(--ink); border-radius:var(--radius-pill); }
.btn-full:hover{ background:var(--accent); color:#fff; border-color:var(--accent); }

/* ── Hero (hsplit): крупный serif-заголовок, тёплая консоль статов ──── */
.hsplit{ position:relative; overflow:hidden; background:
  radial-gradient(620px 460px at 88% 16%, rgba(15,110,99,.14), transparent 60%),
  radial-gradient(560px 420px at 8% 4%, rgba(239,90,52,.12), transparent 58%), var(--bg-page); }
.hsplit__inner{ max-width:1200px; margin:0 auto; padding:100px 20px 92px; display:grid; grid-template-columns:1.12fr .88fr; gap:56px; align-items:center; }
.hsplit__title{ font-size:clamp(42px,5.6vw,72px); line-height:1.02; color:var(--ink); margin:0 0 18px; -webkit-text-fill-color:var(--ink); }
.hsplit__sub{ font-size:1.2rem; color:var(--text-muted); max-width:520px; margin:0 0 30px; }
.hsplit__cta{ display:flex; flex-wrap:wrap; gap:14px; }
.hsplit__right{ background:var(--bg-card); border:1px solid var(--border); border-radius:26px; box-shadow:var(--shadow-md); padding:14px; }
.hstat{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px; text-decoration:none; border-radius:18px; transition:.16s; }
.hstat + .hstat{ border-top:1px solid var(--border); }
.hstat:hover{ background:var(--bg-subtle); }
.hstat__num{ font-size:clamp(30px,3vw,42px); color:var(--accent); line-height:1; }
.hstat__label{ color:var(--ink); font-weight:600; font-size:1rem; }
@media (max-width:860px){ .hsplit__inner{ grid-template-columns:1fr; gap:32px; } }

/* ── Секции/заголовки ───────────────────────────────────────────────── */
.section{ padding:82px 0; }
.section-title,.hub-title{ font-size:clamp(1.8rem,3.3vw,2.7rem); color:var(--ink); }
.section-count{ background:rgba(239,90,52,.12); color:var(--accent); border-radius:var(--radius-pill); padding:3px 13px; font-weight:700; }
.hero-main-title{ color:var(--ink); -webkit-text-fill-color:var(--ink); background:none; }
.subtitle,.lead,.hero-subtitle,.hero-sub{ color:var(--text-muted); }

/* ── Карточки: тёплые, крупно-скруглённые ───────────────────────────── */
.feature-card,.top-hub-card,.pricing-card,.testimonial-card,.hub-summary-card,.items-mini-card,
.promo-card-modern,.auto-card-wrap,.section-card,.step-card,.tariff-card,.office-card,.t18-feat__item,.t18-card,.t18-block,.t18-faq__item{
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-sm); color:var(--ink);
}
.feature-card:hover,.top-hub-card:hover,.hub-summary-card:hover,.items-mini-card:hover,
.auto-card-wrap:hover,.pricing-card:hover,.testimonial-card:hover,.step-card:hover,.tariff-card:hover{
  box-shadow:var(--shadow-md); border-color:var(--accent); transform:translateY(-5px);
}
.feature-icon-circle{ width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,#ffe3d6,#ffd0bd);color:var(--accent);font-size:26px;box-shadow:none; }

/* ── Каталог ─────────────────────────────────────────────────────────── */
.top-hub-card{ border-radius:24px; padding:14px 14px 18px; }
.top-hub-card:has(.top-hub-img-wrap) .top-hub-img-wrap{ width:100%;height:140px;background:var(--bg-subtle);border-radius:16px;padding:14px;margin-bottom:14px; }
.top-hub-name{ font-weight:700; color:var(--ink); }
.top-hub-meta{ color:var(--accent); font-weight:700; }

/* ── Чипы (pill) ─────────────────────────────────────────────────────── */
.hub-item,.city-tag{ background:var(--bg-card); border-radius:var(--radius-pill); border:1px solid var(--border); box-shadow:var(--shadow-sm); padding:11px 20px; font-weight:600; color:var(--ink); }
.hub-item:hover,.city-tag:hover{ background:var(--accent); color:#fff; border-color:var(--accent); transform:translateY(-2px); box-shadow:var(--shadow-md); }

/* ── Аккордеоны/FAQ (fallback) ──────────────────────────────────────── */
.ref-accordion{ background:var(--bg-card); border:1px solid var(--border); border-radius:18px; box-shadow:var(--shadow-sm); }
.ref-accordion summary{ color:var(--ink); }
.ref-accordion summary::after{ border-color:var(--accent); }
.ref-accordion-content{ color:var(--text-muted); }

/* ── Тарифы/отзывы ──────────────────────────────────────────────────── */
.pricing-popular{ border:2px solid var(--accent); box-shadow:0 12px 32px rgba(239,90,52,.18); }
.pricing-badge{ background:var(--accent); color:#fff; }
.pricing-features li::before,.tariff-features li::before{ color:var(--accent-2); }
.testimonial-card::before{ color:rgba(239,90,52,.2); }
.testimonial-avatar{ border-color:var(--accent); }
.testimonial-text{ color:var(--ink); }
.testimonial-role,.pricing-period,.pricing-desc{ color:var(--text-muted); }

/* ── CTA / футер (тёмная бирюза) ────────────────────────────────────── */
.cta-section{ background:linear-gradient(135deg,#0f6e63,#0b5249); border-radius:30px; margin:0 20px; }
.cta-section .section-title,.cta-section .lead{ color:#fff; }
.footer-x{ background:#231e17; box-shadow:none; }
.footer-nav-list a:hover{ color:#ff8a4c; }

/* ── Соц/контент ────────────────────────────────────────────────────── */
.social-btn{ background:var(--bg-subtle); color:var(--accent); }
.social-btn:hover{ background:var(--accent); color:#fff; }
.content-plain-title{ color:var(--ink); -webkit-text-fill-color:var(--ink); background:none; }
.prose{ color:#4a4234; line-height:1.78; }
.prose a{ color:var(--accent); }
.info-label{ color:var(--text-muted); }
.info-value,.info-item{ color:var(--ink); }

/* ═══════════════════════════════════════════════════════════════════════
   THEME_018 TERRA — собственная композиция (журнальная): обложка-hero,
   нумерованные строки, индекс-списки с линейками, spec-таблица, serif-FAQ.
   ═══════════════════════════════════════════════════════════════════════ */
.t18m-kick{ display:inline-block; font-size:.74rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--accent-2); }

/* ── COVER: журнальная обложка (заголовок во всю ширину + дека) ──────── */
.t18m-cover{ background:
  radial-gradient(620px 460px at 92% 14%, rgba(15,110,99,.12), transparent 60%),
  radial-gradient(520px 420px at 4% 0%, rgba(239,90,52,.10), transparent 58%), var(--bg-page); padding:90px 0 70px; }
.t18m-cover__wrap{ max-width:1180px; margin:0 auto; padding:0 20px; }
.t18m-cover__title{ font-family:'Fraunces','Georgia',serif; font-weight:600; font-size:clamp(48px,8vw,108px); line-height:.98; letter-spacing:-.02em; color:var(--ink); margin:16px 0 0; max-width:14ch; }
.t18m-cover__rule{ height:2px; background:var(--ink); margin:34px 0; opacity:.85; }
.t18m-cover__deck{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:end; }
.t18m-cover__lead{ font-size:1.32rem; line-height:1.5; color:var(--ink); margin:0; max-width:30ch; }
.t18m-cover__stats{ display:flex; flex-wrap:wrap; gap:36px; justify-content:flex-end; }
.t18m-cover__stat{ text-decoration:none; }
.t18m-cover__num{ display:block; font-family:'Fraunces',serif; font-weight:600; font-size:clamp(2.4rem,4vw,3.6rem); line-height:1; color:var(--accent); }
.t18m-cover__lbl{ display:block; font-size:.9rem; color:var(--text-muted); margin-top:4px; }
.t18m-cover__cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:38px; }
@media (max-width:760px){ .t18m-cover__deck{ grid-template-columns:1fr; gap:24px; align-items:start; } .t18m-cover__stats{ justify-content:flex-start; gap:28px; } }

/* ── NUM: нумерованные строки преимуществ с линейками ───────────────── */
.t18m-num{ padding:80px 0; }
.t18m-num__wrap{ max-width:1000px; margin:0 auto; padding:0 20px; }
.t18m-num__head{ margin-bottom:20px; }
.t18m-num__title{ font-family:'Fraunces',serif; font-weight:600; font-size:clamp(2rem,3.6vw,3rem); color:var(--ink); margin:10px 0 0; }
.t18m-num__list{ list-style:none; margin:24px 0 0; padding:0; border-top:1px solid var(--ink); }
.t18m-num__row{ display:grid; grid-template-columns:90px 1fr; gap:24px; padding:30px 0; border-bottom:1px solid var(--border); align-items:start; }
.t18m-num__no{ font-family:'Fraunces',serif; font-weight:600; font-size:2rem; color:var(--accent); line-height:1; }
.t18m-num__h{ display:flex; align-items:center; gap:12px; font-family:'Fraunces',serif; font-weight:600; font-size:1.5rem; color:var(--ink); margin:0 0 8px; }
.t18m-num__ic{ font-size:1.4rem; }
.t18m-num__d{ font-size:1.04rem; color:var(--text-muted); line-height:1.65; margin:0; max-width:60ch; }
@media (max-width:560px){ .t18m-num__row{ grid-template-columns:1fr; gap:8px; } }

/* ── IDX: индекс-список (как оглавление журнала) ────────────────────── */
.t18m-idx{ padding:48px 0; }
.t18m-idx--page{ padding-top:30px; }
.t18m-idx__wrap{ max-width:1100px; margin:0 auto; padding:0 20px; }
.t18m-idx__head{ display:flex; align-items:baseline; gap:14px; margin-bottom:18px; padding-bottom:14px; border-bottom:2px solid var(--ink); }
.t18m-idx__title{ font-family:'Fraunces',serif; font-weight:600; font-size:clamp(1.6rem,3vw,2.4rem); color:var(--ink); margin:0; }
.t18m-idx__count{ font-size:.9rem; font-weight:700; color:var(--accent); }
.t18m-idx__all{ margin-left:auto; flex:0 0 auto; color:var(--accent); font-weight:700; text-decoration:none; font-size:.95rem; }
/* без картинок (города) → колонки-индекс с линейками */
.t18m-idx__list{ columns:3; column-gap:40px; }
.t18m-idx__list .t18m-idx__item{ display:flex; align-items:baseline; gap:10px; break-inside:avoid; padding:11px 0; border-bottom:1px solid var(--border); text-decoration:none; color:var(--ink); }
.t18m-idx__list .t18m-idx__item:hover .t18m-idx__name{ color:var(--accent); }
.t18m-idx__name{ font-weight:600; transition:.14s; }
.t18m-idx__tag{ font-style:normal; font-weight:400; font-size:.8rem; color:var(--text-muted); }
.t18m-idx__meta{ margin-left:auto; color:var(--accent); font-weight:700; font-size:.9rem; }
/* с картинками (компании/авто) → крупные плитки */
.t18m-idx__list:has(.t18m-idx__thumb){ columns:auto; display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:22px; }
.t18m-idx__list:has(.t18m-idx__thumb) .t18m-idx__item{ flex-direction:column; align-items:stretch; gap:8px; border-bottom:none; padding:16px; background:var(--bg-card); border:1px solid var(--border); border-radius:22px; box-shadow:var(--shadow-sm); transition:.18s; }
.t18m-idx__list:has(.t18m-idx__thumb) .t18m-idx__item:hover{ box-shadow:var(--shadow-md); transform:translateY(-5px); border-color:var(--accent); }
.t18m-idx__thumb{ display:flex; align-items:center; justify-content:center; height:148px; background:var(--bg-subtle); border-radius:16px; padding:18px; }
.t18m-idx__thumb img{ max-width:100%; max-height:100%; object-fit:contain; }
.t18m-idx__list:has(.t18m-idx__thumb) .t18m-idx__name{ font-size:1.02rem; }
.t18m-idx__list:has(.t18m-idx__thumb) .t18m-idx__meta{ margin-left:0; }
.t18m-idx__more{ text-align:center; margin-top:34px; }
@media (max-width:900px){ .t18m-idx__list{ columns:2; } }
@media (max-width:560px){ .t18m-idx__list{ columns:1; } }

/* ── FAQ: serif-вопросы одной колонкой с линейками ──────────────────── */
.t18m-faq{ padding:84px 0; background:var(--bg-subtle); }
.t18m-faq__wrap{ max-width:880px; margin:0 auto; padding:0 20px; }
.t18m-faq__head{ margin-bottom:22px; }
.t18m-faq__title{ font-family:'Fraunces',serif; font-weight:600; font-size:clamp(2rem,3.4vw,2.9rem); color:var(--ink); margin:10px 0 0; }
.t18m-faq__list{ border-top:1px solid var(--ink); }
.t18m-faq__item{ border-bottom:1px solid var(--border); }
.t18m-faq__item summary{ display:flex; align-items:baseline; gap:18px; padding:24px 0; cursor:pointer; list-style:none; }
.t18m-faq__item summary::-webkit-details-marker{ display:none; }
.t18m-faq__no{ flex:0 0 auto; font-family:'Fraunces',serif; font-weight:600; color:var(--accent); font-size:1.1rem; }
.t18m-faq__q{ flex:1 1 auto; font-family:'Fraunces',serif; font-weight:600; font-size:1.3rem; color:var(--ink); }
.t18m-faq__ic{ flex:0 0 auto; width:24px; height:24px; position:relative; }
.t18m-faq__ic::before,.t18m-faq__ic::after{ content:""; position:absolute; left:50%; top:50%; width:14px; height:2px; background:var(--ink); transform:translate(-50%,-50%); }
.t18m-faq__ic::after{ transform:translate(-50%,-50%) rotate(90deg); transition:.2s; }
.t18m-faq__item[open] .t18m-faq__ic::after{ transform:translate(-50%,-50%) rotate(0); }
.t18m-faq__item[open] .t18m-faq__ic::before,.t18m-faq__item[open] .t18m-faq__ic::after{ background:var(--accent); }
.t18m-faq__a{ padding:0 0 26px 42px; color:var(--text-muted); line-height:1.7; font-size:1.04rem; }

/* ── FEATURE: журнальная страница товара (figure + spec-таблица) ─────── */
.t18m-feat{ padding:50px 0 70px; }
.t18m-feat__wrap{ max-width:840px; margin:0 auto; padding:0 20px; }
.t18m-feat__title{ font-family:'Fraunces',serif; font-weight:600; font-size:clamp(2.2rem,4.4vw,3.6rem); line-height:1.02; color:var(--ink); margin:14px 0 14px; }
.t18m-feat__byline{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--text-muted); font-weight:600; margin-bottom:8px; }
.t18m-feat__byline img{ width:30px; height:30px; border-radius:8px; object-fit:contain; background:#fff; border:1px solid var(--border); }
.t18m-feat__byline:hover{ color:var(--accent); }
.t18m-feat__fig{ margin:26px 0; }
.t18m-feat__fig img{ width:100%; max-height:420px; object-fit:contain; background:var(--bg-subtle); border-radius:24px; padding:30px; }
.t18m-feat__fig figcaption{ font-size:.86rem; color:var(--text-muted); margin-top:10px; font-style:italic; }
.t18m-feat__specs{ width:100%; border-collapse:collapse; margin:6px 0 30px; border-top:2px solid var(--ink); }
.t18m-feat__specs th,.t18m-feat__specs td{ text-align:left; padding:14px 4px; border-bottom:1px solid var(--border); }
.t18m-feat__specs th{ font-weight:600; color:var(--text-muted); width:42%; }
.t18m-feat__specs td{ font-weight:700; color:var(--ink); }
.t18m-feat__apps{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:30px; }
.t18m-feat__apps .app-btn-img{ height:46px; }
.t18m-feat__body{ margin-bottom:8px; }
.t18m-h2{ font-family:'Fraunces',serif; font-weight:600; font-size:1.7rem; color:var(--ink); margin:30px 0 14px; }
.t18m-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.t18m-chip{ display:inline-block; padding:9px 18px; border-radius:999px; background:var(--bg-subtle); color:var(--ink); text-decoration:none; font-weight:600; font-size:.92rem; transition:.15s; }
.t18m-chip:hover{ background:var(--accent); color:#fff; }
.t18m-chip--more{ background:transparent; border:1px dashed var(--accent); color:var(--accent); }

/* ── MASTHEAD (город) ───────────────────────────────────────────────── */
.t18m-mast{ background:var(--bg-subtle); padding:70px 0 56px; }
.t18m-mast__wrap{ max-width:1000px; margin:0 auto; padding:0 20px; }
.t18m-mast__title{ font-family:'Fraunces',serif; font-weight:600; font-size:clamp(2.4rem,5vw,4rem); line-height:1.0; color:var(--ink); margin:14px 0 0; max-width:18ch; }
.t18m-mast__note{ font-size:1.1rem; color:var(--text-muted); margin:0; }
.t18m-mast__note strong{ color:var(--accent); }
.t18m-gintro{ padding:40px 0 10px; }
.t18m-gintro__wrap{ max-width:1000px; margin:0 auto; padding:0 20px; }
.t18m-gintro__wrap .prose{ background:var(--bg-card); border:1px solid var(--border); border-radius:24px; box-shadow:var(--shadow-sm); padding:34px; }
