/* ДАКТОР — modern dealer landing (Rolf-inspired layout, own branding) */

:root {
  --bg: #f4f5f7;
  --bg-soft: #eceef2;
  --surface: #ffffff;
  --ink: #121417;
  --ink-muted: #5c6570;
  --line: #dde1e6;
  --brand: #c8102e;
  --brand-hover: #a50d25;
  --brand-soft: rgba(200, 16, 46, 0.08);
  --dark: #0e1114;
  --dark-2: #1a1f24;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 12px 40px rgba(14, 17, 20, 0.12);
  --container: 1180px;
  --header-h: 72px;
  --font: 'Haval', 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s;
}

.btn:hover {
  background: var(--brand-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

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

.btn--dark {
  background: var(--dark);
}

.btn--dark:hover {
  background: #000;
}

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

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--surface);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__haval {
  width: 92px;
  height: auto;
}

.brand__daktor {
  width: 128px;
  height: auto;
}

.brand__divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

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

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--ink);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--brand);
}

.m_btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.m_btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.m_btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.m_btn.active span:nth-child(2) {
  opacity: 0;
}

.m_btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.88) 0%, rgba(8, 10, 12, 0.55) 48%, rgba(8, 10, 12, 0.25) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.2) 0%, rgba(8, 10, 12, 0.75) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 110px 0 64px;
  align-items: end;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--brand);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero h1 span {
  color: #ff6b7d;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 42ch;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
}

.hero__list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hero__list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

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

.hero-form {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  animation: riseIn 0.8s var(--ease) both;
}

.hero-form h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.hero-form p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 14px;
}

/* Forms */
.form-group {
  margin-bottom: 12px;
}

.form-control,
.field {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.field:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(18, 20, 23, 0.08);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6570' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.agree_field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.agree_field input {
  margin-top: 2px;
  accent-color: var(--brand);
}

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

.range_block {
  padding: 8px 0 4px;
}

.input_range_title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

.input_range_title strong {
  color: var(--ink);
  font-weight: 600;
}

input[type='range'] {
  width: 100%;
  accent-color: var(--brand);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--dark);
  color: #fff;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section__eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.section__title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section__desc {
  margin: 10px 0 0;
  max-width: 52ch;
  color: var(--ink-muted);
}

.section--dark .section__desc {
  color: rgba(255, 255, 255, 0.7);
}

/* Model highlights (ASC-style slogans) */
.highlights-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.highlights-rail article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  min-height: 110px;
  transition: border-color 0.25s, transform 0.35s var(--ease);
}

.highlights-rail article:hover {
  border-color: #c5cad1;
  transform: translateY(-3px);
}

.highlights-rail h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.highlights-rail p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.4;
}

/* Offer strip */
.offer-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.offer-strip__item {
  background: var(--surface);
  padding: 22px 20px;
}

.offer-strip__item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 600;
}

.offer-strip__item span {
  color: var(--ink-muted);
  font-size: 14px;
}

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

.model-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.model-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 80%, rgba(200, 16, 46, 0.08), transparent 55%),
    linear-gradient(180deg, #f8f9fb, #e8ebf0);
  display: grid;
  place-items: center;
  padding: 18px;
}

.model-card__media img {
  width: min(100%, 320px);
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
  transition: transform 0.45s var(--ease);
}

.model-card:hover .model-card__media img {
  transform: scale(1.04) translateY(-4px);
}

.model-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.model-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.model-card__name {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.model-card__benefit {
  margin: 0;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
}

.model-card__meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.model-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

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

.service-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -2;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.15), rgba(8, 10, 12, 0.82));
  z-index: -1;
}

.service-card--credit {
  background: url('../img/credit_img2.jpg') center/cover;
}

.service-card--tradein {
  background: url('../img/bg.webp') center/cover;
}

.service-card--corp {
  background: url('../img/banner.jpg') center/cover;
}

.service-card--test {
  background: url('../img/testdrive_bg.jpg') center/cover;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
}

.service-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

/* Split panels */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.panel--media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 0;
  border: 0;
}

.panel--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel--media .panel__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.panel--media .panel__caption h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 500;
}

.panel--media .panel__caption p {
  margin: 0;
  opacity: 0.9;
}

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.adv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s;
}

.adv-card:hover {
  border-color: #c5cad1;
}

.adv-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.adv-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.adv-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
}

.review-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.review-card__name {
  margin: 0;
  font-weight: 600;
}

.review-card__meta {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.review-card__stars {
  color: #e6a700;
  letter-spacing: 1px;
  font-size: 14px;
}

.review-card__text {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.rating-banner strong {
  font-size: 28px;
  color: var(--brand);
}

/* About / SEO */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.about-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--ink-muted);
}

.about-copy h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--ink-muted);
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h2 {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 500;
}

.contact-row {
  margin-bottom: 16px;
}

.contact-row span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--ink-muted);
}

.contact-row a,
.contact-row strong {
  font-size: 20px;
  font-weight: 600;
}

.map-frame {
  border: 0;
  border-radius: var(--radius-lg);
  width: 100%;
  min-height: 360px;
  background: var(--bg-soft);
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

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

.footer-legal {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
}

.footer-legal p {
  margin: 0 0 10px;
}

.footer-copy {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* Modal */
#form_popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 12, 0.62);
}

#form_popup.is-open,
#form_popup[style*='block'] {
  display: flex !important;
}

.popup_container {
  position: relative;
  width: min(100%, 420px);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.popup_container .close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-muted);
}

.popup_container .form_title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
}

.popup_container .form_subtitle {
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-size: 14px;
}

/* Toast overrides already in fonts.css */
#site-toast {
  border-radius: 10px;
}

/* Animations */
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile */
@media (max-width: 1100px) {
  .models-grid,
  .reviews-grid,
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .offer-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }

  .hero__content,
  .split,
  .about-grid,
  .contacts-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  .m_btn {
    display: inline-flex;
  }

  .header-contacts .btn {
    display: none;
  }

  .brand__daktor {
    width: 96px;
  }

  .brand__haval {
    width: 72px;
  }

  .site-header.menu-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 88px 0 36px;
  }

  .hero h1 {
    max-width: none;
  }

  .offer-strip {
    margin-top: 24px;
    grid-template-columns: 1fr;
  }

  .models-grid,
  .reviews-grid,
  .adv-grid,
  .services-grid,
  .highlights-rail {
    grid-template-columns: 1fr;
  }

  .model-card__actions {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .panel--media {
    min-height: 240px;
  }

  .map-frame {
    min-height: 280px;
  }
}

body.popup-open {
  overflow: hidden;
}

/* Blog & model detail pages */
.nav a.is-active { color: var(--brand); }

.page-hero {
  padding: 48px 0 24px;
  background: linear-gradient(180deg, #fff, var(--bg));
}

.page-hero .section__title { margin-bottom: 10px; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 14px 0 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.breadcrumbs__link {
  color: var(--ink-muted);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.breadcrumbs__link:hover {
  color: var(--brand);
  border-bottom-color: rgba(200, 16, 46, 0.35);
}

.breadcrumbs__current {
  color: var(--ink);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(52vw, 420px);
}

.breadcrumbs__sep {
  margin: 0 10px;
  color: var(--line);
  font-weight: 400;
}

.page-hero--model {
  padding-top: 28px;
}

.article-page {
  padding-top: 28px;
}

.model-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.model-hero__media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.model-hero__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.model-price {
  font-size: 22px;
  margin: 16px 0 0;
}

.model-price strong { color: var(--brand); font-size: 28px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.blog-card__body {
  padding: 18px 18px 22px;
  display: grid;
  gap: 10px;
}

.blog-card__body time {
  color: var(--ink-muted);
  font-size: 13px;
}

.blog-card__body h2,
.blog-card__body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.blog-card__body p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.data-table th {
  background: var(--bg-soft);
  color: var(--ink-muted);
  font-weight: 600;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.specs-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.specs-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.specs-card dl { margin: 0; display: grid; gap: 8px; }
.specs-card dl > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.specs-card dt { color: var(--ink-muted); }
.specs-card dd { margin: 0; font-weight: 600; }

.prose { max-width: 820px; line-height: 1.65; }
.prose h2 { margin: 0 0 12px; font-size: 28px; font-weight: 500; }
.prose p { margin: 0 0 14px; color: var(--ink); }

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: linear-gradient(160deg, #121417, #2a3138);
  color: #fff;
  border-radius: var(--radius-lg);
}

.cta-banner h2 { margin: 0 0 8px; font-size: 24px; font-weight: 500; }
.cta-banner p { margin: 0; color: rgba(255,255,255,.75); }

.article-wrap { max-width: 860px; }
.article-date { display: block; color: var(--ink-muted); margin: 8px 0 24px; }
.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--line);
}
.article-cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.article-content :where(h2,h3) { margin: 28px 0 10px; }
.article-content p { margin: 0 0 14px; }

.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.muted { color: var(--ink-muted); }
.small { font-size: 12px; }

@media (max-width: 960px) {
  .model-hero,
  .blog-grid,
  .specs-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
