
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; max-width: 1280px; margin: 0 auto; padding: 20px; background: #f2f4f7; color: #222; }

header { text-align: center; margin-bottom: 24px; padding: 28px 20px; background: linear-gradient(135deg, #1a2a4a 0%, #2c5282 100%); border-radius: 14px; color: white; }
header h1 { margin: 0 0 6px; font-size: 1.9em; }
header p  { margin: 0; opacity: .8; font-size: 15px; }

.brand-nav { background: white; padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 2px 6px rgba(0,0,0,.05); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.brand-nav span { color: #888; font-size: 13px; font-weight: 700; }
.brand-nav a { font-size: 13px; color: #2563eb; text-decoration: none; padding: 4px 10px; border: 1px solid #dbeafe; border-radius: 20px; transition: background .15s; white-space: nowrap; }
.brand-nav a:hover { background: #dbeafe; }

.update-badge { display: inline-flex; align-items: center; gap: 6px; background: #ecfdf5; color: #15803d; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 18px; border: 1px solid #bbf7d0; }

.seo-intro { background: white; padding: 20px 24px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; color: #555; border-left: 4px solid #2563eb; line-height: 1.8; }
.seo-intro h2 { margin: 0 0 10px; font-size: 17px; color: #1a2a4a; }

.quiz-banner { background: linear-gradient(135deg, #1a2a4a 0%, #1d4ed8 100%); color: white; padding: 22px 28px; border-radius: 12px; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.quiz-banner h3 { margin: 0 0 4px; font-size: 18px; }
.quiz-banner p  { margin: 0; opacity: .85; font-size: 14px; }
.quiz-btn { background: #f59e0b; color: #1a2a4a; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .15s; }
.quiz-btn:hover { background: #d97706; }

.steps-block { background: white; padding: 28px; border-radius: 12px; margin-bottom: 22px; }
.steps-block h2 { margin: 0 0 20px; font-size: 18px; color: #1a2a4a; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num { background: #1d4ed8; color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.step-body h4 { margin: 0 0 4px; font-size: 14px; color: #1a2a4a; }
.step-body p  { margin: 0; font-size: 13px; color: #666; line-height: 1.5; }

.price-block { background: #f0fdf4; border: 1px solid #bbf7d0; padding: 20px 24px; border-radius: 12px; margin-bottom: 22px; }
.price-block h2 { margin: 0 0 10px; font-size: 17px; color: #166534; }
.price-block p  { margin: 0 0 10px; font-size: 14px; color: #15803d; line-height: 1.7; }
.price-block ul { margin: 0; padding-left: 0; list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.price-block li { background: #dcfce7; color: #166534; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }

.trust-block { background: white; padding: 24px 28px; border-radius: 12px; margin-bottom: 22px; }
.trust-block h2 { margin: 0 0 18px; font-size: 18px; color: #1a2a4a; }
.trust-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.trust-item { border-left: 3px solid #2563eb; padding: 10px 14px; background: #f8faff; border-radius: 0 8px 8px 0; }
.trust-item strong { display: block; font-size: 14px; color: #1a2a4a; margin-bottom: 4px; }
.trust-item span { font-size: 13px; color: #555; }

.china-vs-block { background: white; padding: 24px 28px; border-radius: 12px; margin-bottom: 22px; }
.china-vs-block h2 { margin: 0 0 14px; font-size: 18px; color: #1a2a4a; }
.china-vs-block p  { font-size: 14px; color: #555; line-height: 1.8; margin: 0 0 10px; }
.china-vs-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; }
.china-vs-table th { background: #1a2a4a; color: white; padding: 9px 14px; text-align: left; }
.china-vs-table td { padding: 9px 14px; border-bottom: 1px solid #f0f0f0; }
.china-vs-table tr:nth-child(even) td { background: #f8f9fa; }
.china-vs-table .yes { color: #16a34a; font-weight: 700; }
.china-vs-table .no  { color: #dc2626; }

.filters { background: white; padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; box-shadow: 0 2px 6px rgba(0,0,0,.05); position: sticky; top: 8px; z-index: 100; }
.filter-group { display: flex; flex-direction: column; }
.filter-group label { font-size: 11px; font-weight: 700; color: #888; margin-bottom: 4px; text-transform: uppercase; }
select, input[type=number] { padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; min-width: 150px; }
.btn-reset { padding: 8px 16px; background: #ef4444; color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 700; }
.btn-reset:hover { background: #dc2626; }

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

.card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.card > a.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex-grow: 1; }
.card img { width: 100%; height: 185px; object-fit: cover; }
.card-body { padding: 14px 16px; display: flex; flex-direction: column; flex-grow: 1; }
.badges { display: flex; gap: 5px; margin-bottom: 8px; flex-wrap: wrap; min-height: 22px; }
.badge { font-size: 10px; padding: 3px 8px; border-radius: 12px; color: white; font-weight: 700; text-transform: uppercase; }
.card h3 { margin: 0 0 4px; font-size: 15px; color: #1a2a4a; line-height: 1.3; }
.specs { color: #888; font-size: 12px; margin-bottom: 10px; }
.price { font-size: 20px; font-weight: 700; color: #dc2626; margin-top: auto; padding-top: 6px; }
.btn-tg { display: block; padding: 10px 16px; margin: 12px 16px 14px; background: #0088cc; color: white; text-align: center; text-decoration: none; border-radius: 8px; font-weight: 700; font-size: 13px; }
.btn-tg:hover { background: #006699; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.page-link { padding: 8px 14px; background: white; border: 1px solid #ddd; border-radius: 8px; text-decoration: none; color: #333; font-weight: 700; cursor: pointer; }
.page-link.active { background: #2563eb; color: white; border-color: #2563eb; }
.page-link:hover:not(.active) { background: #f0f4ff; }

.bottom-links { background: white; padding: 22px 26px; border-radius: 12px; margin-top: 30px; display: flex; gap: 40px; flex-wrap: wrap; }
.bottom-links h3 { margin: 0 0 12px; font-size: 15px; color: #1a2a4a; }
.bottom-links a { display: block; font-size: 13px; color: #2563eb; text-decoration: none; margin-bottom: 6px; }
.bottom-links a:hover { text-decoration: underline; }

.seo-footer { background: white; padding: 24px 28px; border-radius: 12px; margin-top: 30px; font-size: 13px; color: #666; line-height: 1.9; }
.seo-footer h3 { margin: 0 0 10px; font-size: 15px; color: #1a2a4a; }

.breadcrumb { font-size: 13px; margin-bottom: 18px; color: #888; }
.breadcrumb a { color: #2563eb; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.detail-wrap { max-width: 860px; margin: 0 auto; background: white; padding: 32px; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.detail-img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 10px; margin-bottom: 22px; background: #f8f9fa; }
.info-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.info-table tr:nth-child(even) td { background: #f8f9fa; }
.info-table td { padding: 11px 14px; font-size: 15px; border-bottom: 1px solid #f0f0f0; }
.info-table td:first-child { color: #666; width: 40%; }
.info-table td:last-child { font-weight: 700; color: #1a2a4a; }
.price-big { font-size: 28px; font-weight: 700; color: #dc2626; }
.detail-seo { margin-top: 24px; padding: 18px; background: #f8f9fa; border-radius: 10px; color: #555; font-size: 14px; line-height: 1.8; }
.detail-seo h2 { margin: 0 0 10px; font-size: 16px; color: #1a2a4a; }

.related { margin-top: 32px; }
.related h3 { font-size: 17px; color: #1a2a4a; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 12px; }
.related-card { background: #f8f9fa; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s; }
.related-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.related-card img { width: 100%; height: 120px; object-fit: cover; }
.related-card .rc-body { padding: 10px; }
.related-card h4 { margin: 0 0 4px; font-size: 12px; color: #1a2a4a; line-height: 1.3; }
.related-card .rc-price { font-size: 14px; font-weight: 700; color: #dc2626; }
.related-card .rc-specs { font-size: 11px; color: #999; margin-bottom: 2px; }

footer { text-align: center; margin-top: 48px; color: #aaa; font-size: 12px; border-top: 1px solid #e5e7eb; padding-top: 20px; }
footer a { color: #aaa; text-decoration: none; margin: 0 5px; }
footer a:hover { color: #2563eb; }

/* Шапка с кнопкой главной */
header { position: relative; }
.header-home { position: absolute; top: 14px; left: 18px; background: rgba(255,255,255,.15); color: white; text-decoration: none; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,.3); transition: background .15s; }
.header-home:hover { background: rgba(255,255,255,.28); }

/* Кнопка расчёта стоимости */
.calc-btn { display: inline-flex; align-items: center; gap: 8px; background: white; color: #1a2a4a; border: 2px solid #1a2a4a; padding: 11px 22px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 14px; transition: all .15s; cursor: pointer; }
.calc-btn:hover { background: #1a2a4a; color: white; }
.calc-banner { background: #fff7ed; border: 1px solid #fed7aa; padding: 18px 24px; border-radius: 12px; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.calc-banner-text h3 { margin: 0 0 4px; font-size: 16px; color: #9a3412; }
.calc-banner-text p  { margin: 0; font-size: 13px; color: #c2410c; }

/* Модальное окно калькулятора */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 999; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: white; border-radius: 14px; padding: 30px; max-width: 480px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,.2); position: relative; }
.modal h2 { margin: 0 0 20px; font-size: 20px; color: #1a2a4a; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 22px; cursor: pointer; color: #888; line-height: 1; }
.modal-close:hover { color: #222; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: #555; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .4px; }
.form-group input, .form-group select { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.calc-result { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 16px; margin-top: 16px; display: none; }
.calc-result .res-price { font-size: 26px; font-weight: 700; color: #15803d; }
.calc-result .res-note  { font-size: 12px; color: #666; margin-top: 6px; }
.btn-calc-submit { width: 100%; padding: 12px; background: #1d4ed8; color: white; border: none; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 4px; }
.btn-calc-submit:hover { background: #1e40af; }

.page-nav { display:flex; justify-content:center; gap:8px; margin-top:28px; flex-wrap:wrap; }
.page-nav a, .page-nav span { padding:8px 14px; background:white; border:1px solid #ddd; border-radius:8px; text-decoration:none; color:#333; font-weight:700; font-size:14px; }
.page-nav a:hover { background:#f0f4ff; border-color:#2563eb; color:#2563eb; }
.page-nav .current { background:#2563eb; color:white; border-color:#2563eb; }
.page-nav .dots { border:none; background:none; color:#aaa; padding:8px 4px; }

.reviews-block { background:white; padding:28px; border-radius:12px; margin-bottom:22px; }
.reviews-block h2 { margin:0 0 20px; font-size:18px; color:#1a2a4a; }
.reviews-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:16px; }
.review-card { background:#f8f9fa; border-radius:10px; padding:18px; border-left:3px solid #2563eb; }
.review-header { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.review-avatar { width:40px; height:40px; border-radius:50%; background:#1d4ed8; color:white; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; flex-shrink:0; }
.review-meta strong { display:block; font-size:14px; color:#1a2a4a; }
.review-meta span { font-size:12px; color:#888; }
.review-stars { color:#f59e0b; font-size:15px; margin-bottom:8px; }
.review-text { font-size:13px; color:#555; line-height:1.7; }
.review-car { font-size:12px; color:#2563eb; margin-top:8px; font-weight:600; }

.about-hero { background:linear-gradient(135deg,#1a2a4a 0%,#2c5282 100%); color:white; padding:40px 32px; border-radius:14px; margin-bottom:24px; }
.about-hero h1 { margin:0 0 10px; font-size:2em; }
.about-hero p  { margin:0; opacity:.85; font-size:15px; line-height:1.7; }
.about-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin-bottom:22px; }
.about-stat { background:white; border-radius:10px; padding:18px; text-align:center; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.about-stat .stat-num { font-size:2em; font-weight:700; color:#1d4ed8; line-height:1; }
.about-stat .stat-label { font-size:13px; color:#666; margin-top:4px; }
.about-section { background:white; border-radius:12px; padding:26px 28px; margin-bottom:20px; }
.about-section h2 { margin:0 0 14px; font-size:18px; color:#1a2a4a; }
.about-section p  { margin:0 0 12px; font-size:14px; color:#555; line-height:1.8; }
.about-team { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:16px; margin-top:16px; }
.team-card { background:#f8f9fa; border-radius:10px; padding:16px; text-align:center; }
.team-avatar { width:56px; height:56px; border-radius:50%; background:#1d4ed8; color:white; display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:700; margin:0 auto 10px; }
.team-card strong { display:block; font-size:14px; color:#1a2a4a; margin-bottom:3px; }
.team-card span { font-size:12px; color:#888; }
.about-contacts { background:#f0f9ff; border:1px solid #bae6fd; border-radius:12px; padding:22px 26px; margin-bottom:20px; }
.about-contacts h2 { margin:0 0 14px; color:#0c4a6e; }
.contact-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; font-size:15px; }
.contact-row a { color:#0369a1; text-decoration:none; font-weight:600; }

@media (max-width: 620px) {
    .filters { flex-direction: column; }
    select, input[type=number] { min-width: 100%; }
    .detail-wrap { padding: 16px; }
    .bottom-links { flex-direction: column; gap: 20px; }
    .quiz-banner { flex-direction: column; }
    .steps { grid-template-columns: 1fr; }
}
