:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #13284b;
  --text: #1b2430;
  --muted: #6f7a88;
  --line: rgba(19, 40, 75, 0.1);
  --primary: #1f4f95;
  --primary-dark: #163a6f;
  --accent: #edf3fb;
  --success: #e4f3ea;
  --shadow: 0 18px 50px rgba(28, 45, 74, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f9fc 0%, #f2f5f9 100%);
}

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

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

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 20px 0 0;
}

.topbar,
.main-nav,
.quick-entry,
.intro-strip,
.filter-card,
.dual-showcase,
.about-section,
.contact-section,
.site-footer {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(19, 40, 75, 0.06);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-radius: 24px 24px 0 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-family: "Segoe UI", sans-serif;
  font-size: 22px;
  background: linear-gradient(145deg, #102745, #1d4f90 72%, #3a78c2);
}

.brand-cn,
.brand-en {
  margin: 0;
}

.brand-cn {
  font-weight: 800;
  letter-spacing: 1px;
}

.brand-en,
.topbar-meta,
.hero-text,
.section-kicker,
.panel-label,
.check-list,
.service-grid p,
.showcase-panel p,
.about-copy p,
.site-footer p,
.hero-points,
.intro-metrics span {
  color: var(--muted);
}

.brand-en {
  font-size: 12px;
  letter-spacing: 1.5px;
}

.topbar-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 22px 18px;
  border-radius: 0 0 24px 24px;
  border-top: none;
  position: sticky;
  top: 0;
  z-index: 20;
}

.main-nav a {
  font-weight: 500;
}

.main-nav a.is-current {
  color: var(--primary-dark);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-cta {
  margin-left: auto;
  padding: 12px 18px;
  background: var(--surface-strong);
  color: white;
}

.nav-cta.is-current {
  color: rgba(255, 255, 255, 0.98);
  background: linear-gradient(135deg, #204b8e, #2e69bd);
}

.nav-cta:hover,
.btn:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 42px 0 22px;
}

.hero-copy {
  padding: 26px 0 10px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.intro-strip h2,
.showcase-panel h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.1;
  color: #0f2136;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
}

.hero-text {
  max-width: 640px;
  margin: 20px 0 28px;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2b67bc);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--surface-strong);
  border-color: var(--line);
}

.home-hero .btn-secondary {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.hero-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 14px;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  padding: 28px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(88, 141, 223, 0.24), transparent 28%),
    radial-gradient(circle at bottom left, rgba(41, 82, 146, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(19, 40, 75, 0.97), rgba(24, 55, 102, 0.9));
  color: white;
  box-shadow: var(--shadow);
}

.floating-card {
  max-width: 320px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.floating-card p,
.floating-card h2 {
  margin: 0 0 12px;
}

.floating-card a {
  color: #ffd499;
  font-weight: 700;
}

.hero-grid {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-grid article,
.car-card,
.service-grid article,
.about-cards article {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-grid strong {
  font-size: 30px;
}

.home-hero,
.home-entry-board,
.home-news,
.home-brand-section,
.home-hot-models,
.home-source-columns {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(19, 40, 75, 0.06);
  box-shadow: var(--shadow);
  border-radius: 30px;
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
  min-height: 620px;
  padding: 60px 52px;
  margin-top: 54px;
  overflow: hidden;
  background: #f3f6fb center / cover no-repeat;
  color: white;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.12;
}

.home-hero .eyebrow,
.home-hero .hero-text {
  color: rgba(255, 255, 255, 0.76);
}

.home-hero .eyebrow {
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.home-hero-content {
  max-width: 920px;
}

.home-entry-board {
  margin-top: 46px;
}

.home-entry-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 40px;
  border: 1px solid rgba(19, 40, 75, 0.06);
  box-shadow: var(--shadow);
}

.home-entry-row + .home-entry-row {
  margin-top: 24px;
}

.entry-cell {
  min-height: 148px;
  padding: 38px 42px;
  background: rgba(255, 255, 255, 0.98);
  transition: background-color 180ms ease, transform 180ms ease;
}

.entry-cell + .entry-cell {
  border-left: 1px solid rgba(16, 35, 61, 0.05);
}

.entry-cell:hover {
  background: white;
  transform: translateY(-2px);
}

.entry-cell strong,
.news-grid h3,
.source-list h3 {
  display: block;
  margin-bottom: 10px;
  color: var(--surface-strong);
}

.entry-cell strong {
  font-size: 28px;
  margin-bottom: 18px;
}

.entry-cell span {
  display: block;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.home-news,
.home-brand-section,
.home-hot-models {
  padding: 52px;
}

.home-news,
.home-brand-section,
.home-hot-models,
.home-source-columns {
  margin-top: 28px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.news-grid article {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  overflow: hidden;
}

.news-card-link {
  display: block;
  color: inherit;
}

.news-copy {
  padding: 22px;
}

.news-thumb {
  overflow: hidden;
  height: 220px;
  background: #eef3f9;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-feature {
  background: linear-gradient(180deg, rgba(19, 40, 75, 0.98), rgba(26, 60, 112, 0.9));
}

.news-feature .news-copy {
  background: linear-gradient(180deg, rgba(19, 40, 75, 0.98), rgba(26, 60, 112, 0.9));
}

.news-feature h3,
.news-feature a {
  color: white;
}

.news-feature p,
.news-feature .news-date {
  color: rgba(255, 255, 255, 0.72);
}

.news-more {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 700;
}

.news-date {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 36px;
}

.brand-grid article,
.home-car-card,
.source-list article {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
}

.brand-logo-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(255, 255, 255, 1);
  overflow: hidden;
}

.brand-logo-card span {
  font-size: 12px;
  letter-spacing: 1.8px;
  color: var(--muted);
}

.brand-logo {
  display: grid;
  place-items: center;
  color: var(--surface-strong);
}

.brand-logo-image {
  width: 180px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-star,
.brand-roundel {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 3px solid rgba(19, 40, 75, 0.24);
  font-weight: 800;
}

.brand-star {
  position: relative;
  background:
    linear-gradient(rgba(19, 40, 75, 0.9), rgba(19, 40, 75, 0.9)) center 16px / 3px 34px no-repeat;
}

.brand-star::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 19px;
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: rgba(19, 40, 75, 0.9);
  transform-origin: center bottom;
  transform: rotate(60deg);
}

.brand-star::after {
  content: "";
  position: absolute;
  left: 39px;
  top: 19px;
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: rgba(19, 40, 75, 0.9);
  transform-origin: center bottom;
  transform: rotate(-60deg);
}

.brand-roundel {
  font-size: 24px;
}

.brand-rings {
  font-size: 40px;
  letter-spacing: -8px;
  font-weight: 800;
}

.brand-word {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand-word.red {
  color: #c83e33;
}

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

.home-car-card h3 {
  margin: 14px 0 12px;
  color: var(--surface-strong);
}

.home-car-photo {
  margin: -22px -22px 20px;
  height: 310px;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  background: #eaf0f8;
}

.home-car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-car-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.home-car-card strong {
  font-size: 28px;
  color: var(--surface-strong);
}

.home-source-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.source-column {
  padding: 44px;
  border-radius: 30px;
  background: rgba(255, 253, 250, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.performance-section {
  padding: 52px;
  border-radius: 30px;
  background: rgba(255, 253, 250, 0.84);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.performance-stat {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.performance-stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: 34px;
  color: var(--surface-strong);
}

.performance-stat span {
  color: var(--muted);
}

.achievement-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

#achievement-gallery-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.achievement-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.achievement-link {
  display: block;
  color: inherit;
}

.achievement-card h3 {
  margin: 16px 0 10px;
  color: var(--surface-strong);
}

.achievement-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.achievement-media {
  height: 260px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(219, 231, 245, 0.8), rgba(244, 241, 235, 0.95));
  border: 1px dashed rgba(16, 35, 61, 0.18);
  color: var(--surface-strong);
  font-weight: 700;
  overflow: hidden;
}

.achievement-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.source-list {
  display: grid;
  gap: 14px;
}

.source-list p {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.quick-entry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-radius: 28px;
  overflow: hidden;
}

.quick-entry a {
  padding: 26px;
  background: rgba(255, 255, 255, 0.7);
}

.quick-entry strong,
.showcase-panel h3,
.about-cards strong {
  display: block;
  margin-bottom: 10px;
  color: var(--surface-strong);
}

.section {
  padding: 116px 0 0;
}

.page-hero {
  padding: 52px 0 8px;
}

.compact-hero {
  max-width: 820px;
}

.compact-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  color: #0f2136;
}

.page-section {
  padding-top: 68px;
}

.inventory-page {
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 253, 250, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.inventory-page-photo {
  overflow: visible;
}

.inventory-switch {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: #f7f4ee;
}

.inventory-tab {
  flex: 1;
  padding: 18px 16px;
  border: none;
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.inventory-tab.is-active {
  color: var(--surface-strong);
  background: white;
}

.inventory-filters {
  padding: 8px 28px 0;
  background: white;
}

.filter-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.filter-title {
  font-weight: 700;
  color: var(--surface-strong);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter-pill.is-active {
  color: white;
  background: var(--surface-strong);
}

.inventory-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.inventory-filter-panel {
  padding: 26px 34px 18px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.photo-filter-row {
  grid-template-columns: 92px 1fr;
  padding: 16px 0;
}

#year-row[style*="none"] {
  display: none !important;
}

.selected-row {
  padding: 18px 0 6px;
  color: var(--muted);
}

.selected-row strong {
  color: var(--surface-strong);
}

.inventory-toolbar-photo {
  margin-top: 22px;
  border: 1px solid rgba(19, 40, 75, 0.06);
  border-radius: 22px;
}

.inventory-sortbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sort-link {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.sort-link.is-active {
  color: var(--primary);
  font-weight: 700;
}

.sort-link-cta {
  color: var(--primary);
  font-weight: 700;
}

.photo-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.photo-card {
  overflow: hidden;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo-card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9eef5;
}

.photo-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(19, 40, 75, 0.88);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.photo-card-body {
  padding: 18px 18px 20px;
}

.photo-card-body h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--surface-strong);
}

.photo-card-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.photo-card-desc {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.photo-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.photo-card-footer strong {
  font-size: 22px;
  color: var(--surface-strong);
}

.photo-card-footer a {
  color: var(--primary);
  font-weight: 700;
}

.admin-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.admin-page-stack {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

.admin-banner {
  display: grid;
  gap: 18px;
  padding: 30px 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(19, 40, 75, 0.98), rgba(44, 77, 128, 0.92));
  color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.admin-banner .section-kicker,
.admin-banner h2,
.admin-banner p {
  color: inherit;
}

.admin-banner .btn-secondary {
  color: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.admin-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.admin-auth-bar {
  display: grid;
  grid-template-columns: minmax(260px, 420px) auto;
  gap: 12px;
  align-items: end;
}

.admin-auth-bar label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.admin-auth-bar input {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.admin-auth-bar input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.admin-status {
  min-height: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.admin-status.is-success {
  color: #c5f2d5;
}

.admin-status.is-error {
  color: #ffd2c7;
}

.admin-editor,
.admin-list-wrap,
.admin-section {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(19, 40, 75, 0.06);
  box-shadow: var(--shadow);
}

.admin-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--surface-strong);
  font-weight: 600;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
}

.admin-form .full {
  grid-column: 1 / -1;
}

.image-preview-wrap {
  display: grid;
  gap: 10px;
}

.image-preview-label {
  color: var(--surface-strong);
  font-weight: 600;
}

.admin-image-preview {
  min-height: 240px;
  border-radius: 22px;
  border: 1px dashed rgba(19, 40, 75, 0.18);
  background: linear-gradient(180deg, #f9fbfe 0%, #f2f6fb 100%);
  color: var(--muted);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 18px;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.admin-card-grid {
  display: grid;
  gap: 16px;
}

.admin-car-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.admin-car-thumb {
  border-radius: 18px;
  overflow: hidden;
  background: #eef3f9;
  min-height: 130px;
}

.admin-car-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-car-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.admin-simple-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.admin-simple-image {
  margin: -22px -22px 18px;
  height: 200px;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  background: #eef3f9;
}

.admin-simple-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-simple-card.is-featured {
  background: linear-gradient(180deg, rgba(19, 40, 75, 0.98), rgba(26, 60, 112, 0.9));
}

.admin-simple-card.is-featured strong,
.admin-simple-card.is-featured p,
.admin-simple-card.is-featured span {
  color: white;
}

.admin-simple-card.is-featured .btn-secondary {
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.admin-simple-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}

.admin-simple-head strong {
  color: var(--surface-strong);
}

.admin-simple-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.news-detail-shell {
  margin-top: 32px;
}

.news-detail-card {
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(19, 40, 75, 0.06);
  box-shadow: var(--shadow);
}

.news-detail-image {
  height: 420px;
  background: #eef3f9;
}

.news-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-detail-content {
  padding: 42px;
}

.news-detail-content h1 {
  margin: 16px 0 18px;
  color: var(--surface-strong);
  line-height: 1.2;
  font-size: clamp(32px, 4vw, 48px);
}

.news-detail-summary {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.news-detail-body p {
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.9;
  font-size: 17px;
}

.news-detail-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.news-detail-empty {
  padding: 64px 32px;
  text-align: center;
}

.admin-car-head strong {
  color: var(--surface-strong);
}

.admin-car-head span,
.admin-car-body p {
  color: var(--muted);
}

.admin-car-body p {
  margin: 0 0 14px;
}

.admin-car-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-empty {
  padding: 28px;
  border-radius: 18px;
  background: #f7f9fc;
  color: var(--muted);
}

.inventory-summary {
  color: var(--muted);
}

.inventory-summary strong,
.inventory-summary span {
  color: var(--surface-strong);
}

.reset-btn {
  padding: 10px 18px;
}

.inventory-list {
  display: grid;
  gap: 16px;
  padding: 24px 28px 28px;
  background: linear-gradient(180deg, #fffdfa 0%, #f6f1e8 100%);
}

.inventory-item,
.inventory-empty {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
}

.inventory-item-main {
  flex: 1;
}

.inventory-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(187, 138, 60, 0.14);
  color: var(--primary-dark);
}

.inventory-meta {
  color: var(--muted);
  font-size: 14px;
}

.inventory-item h3,
.inventory-empty h3 {
  margin: 14px 0 10px;
  font-size: 28px;
  color: var(--surface-strong);
}

.inventory-item p,
.inventory-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.inventory-item-side {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
}

.inventory-item-side strong {
  font-size: 30px;
  color: var(--surface-strong);
}

.inventory-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.intro-strip,
.filter-card,
.showcase-panel,
.sell-car,
.owner-service,
.about-section,
.contact-section {
  border-radius: 30px;
}

.intro-strip {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
}

.intro-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-width: 48%;
}

.intro-metrics div {
  padding: 20px;
  border-radius: 24px;
  background: rgba(219, 231, 245, 0.45);
}

.intro-metrics strong {
  display: block;
  margin-bottom: 10px;
  font-size: 30px;
  color: var(--surface-strong);
}

.section-heading,
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 34px;
}

.section-heading p,
.panel-heading p {
  margin: 12px 0 0;
}

.tabs {
  display: flex;
  gap: 10px;
}

.tab {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.tab.is-active {
  background: var(--surface-strong);
  color: white;
}

.filter-card {
  padding: 24px;
}

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

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 14px;
  color: var(--muted);
}

.filter-group select {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
}

.search-btn {
  min-width: 180px;
}

.car-panel {
  display: none;
  margin-top: 26px;
}

.car-panel.is-visible {
  display: block;
}

.car-grid,
.service-grid,
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.car-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.car-card .badge,
.status-chip {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.car-card .badge {
  background: rgba(187, 138, 60, 0.14);
  color: var(--primary-dark);
}

.status-chip {
  background: var(--success);
  color: #2f6a3f;
}

.car-card h3,
.car-card p {
  margin: 14px 0 0;
}

.car-card p {
  color: var(--muted);
  line-height: 1.7;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.price-row strong {
  font-size: 26px;
  color: var(--surface-strong);
}

.dual-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-top: 42px;
}

.showcase-panel {
  padding: 40px;
  border-radius: 24px;
}

.showcase-panel.alt {
  background: linear-gradient(180deg, rgba(16, 35, 61, 0.96), rgba(16, 35, 61, 0.84));
  color: white;
  border-radius: 24px;
}

.showcase-panel.alt h2,
.showcase-panel.alt .section-kicker,
.showcase-panel.alt strong,
.showcase-panel.alt a {
  color: white;
}

.showcase-panel.alt p,
.showcase-panel.alt li {
  color: rgba(255, 255, 255, 0.92);
}

.highlight-list {
  display: grid;
  gap: 14px;
}

.highlight-list article,
.check-list li {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(219, 231, 245, 0.34);
}

.showcase-panel.alt .check-list li {
  background: rgba(255, 255, 255, 0.12);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.sell-car,
.owner-service,
.about-section,
.contact-section {
  padding: 46px;
}

.about-section,
.performance-section {
  margin-top: 42px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid label,
.contact-form {
  display: grid;
  gap: 10px;
}

.form-grid input,
.form-grid textarea,
.contact-form input,
.contact-form select {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.contact-form .full,
.lead-form .full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.form-status.is-success {
  color: #18794e;
}

.form-status.is-error {
  color: #b42318;
}

.text-link,
.panel-heading a {
  color: var(--primary-dark);
  font-weight: 700;
}

.service-grid article,
.about-cards article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}

.service-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.about-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
}

.about-copy p {
  line-height: 1.95;
  margin-bottom: 22px;
}

.about-cards {
  grid-template-columns: 1fr;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 84px;
}

.contact-form {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  align-content: start;
  min-width: 48%;
}

.lead-form {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 28px 32px;
  margin-bottom: 28px;
  border-radius: 28px;
}

@media (max-width: 980px) {
  .hero,
  .intro-strip,
  .dual-showcase,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
    display: grid;
  }

  .home-hero,
  .news-grid,
  .brand-grid,
  .home-car-grid,
  .home-source-columns,
  .home-entry-row,
  .performance-grid,
  .achievement-gallery,
  #achievement-gallery-list,
  .admin-layout,
  .photo-card-grid {
    grid-template-columns: 1fr;
  }

  .admin-auth-bar {
    grid-template-columns: 1fr;
  }

  .filter-row,
  .inventory-item,
  .admin-car-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .topbar,
  .main-nav,
  .section-heading,
  .panel-heading {
    flex-direction: column;
    align-items: start;
  }

  .nav-cta {
    margin-left: 0;
  }

  .filters,
  .car-grid,
  .service-grid,
  .form-grid,
  .site-footer,
  .contact-form,
  .intro-metrics,
  .lead-form,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .quick-entry {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 420px;
  }

  .hero-grid {
    position: static;
    margin-top: 18px;
  }

  .inventory-toolbar,
  .inventory-item-side {
    align-items: start;
  }

  .inventory-switch {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero h1 {
    font-size: 38px;
  }

  .topbar,
  .main-nav,
  .quick-entry a,
  .intro-strip,
  .filter-card,
  .showcase-panel,
  .sell-car,
  .owner-service,
  .about-section,
  .contact-section,
  .site-footer,
  .home-hero,
  .home-news,
  .home-brand-section,
  .home-hot-models,
  .source-column,
  .entry-cell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .entry-cell {
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .entry-cell + .entry-cell {
    border-left: none;
    border-top: 1px solid rgba(16, 35, 61, 0.05);
  }

.hero-grid article,
.hero-points {
  font-size: 13px;
}
}

/* Clean enterprise palette overrides */
.brand-star::before {
  content: "";
}

.topbar,
.main-nav,
.filter-card,
.dual-showcase,
.about-section,
.contact-section,
.site-footer,
.inventory-page,
.sell-car,
.owner-service,
.performance-section {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(19, 40, 75, 0.06);
}

.showcase-panel,
.source-column,
.performance-section {
  background: rgba(255, 255, 255, 0.98);
}

.showcase-panel.alt {
  background: linear-gradient(180deg, rgba(19, 40, 75, 0.98), rgba(26, 60, 112, 0.9));
}

.inventory-switch {
  background: #f2f6fb;
}

.inventory-list {
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
}

.inventory-item,
.inventory-empty,
.service-grid article,
.about-cards article,
.achievement-card,
.performance-stat {
  background: rgba(255, 255, 255, 0.98);
}

.home-car-card {
  padding: 0;
  overflow: hidden;
}

.home-car-visual {
  min-height: 180px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 3px;
  color: white;
}

.visual-blue {
  background: linear-gradient(135deg, #6c92cf, #305796);
}

.visual-silver {
  background: linear-gradient(135deg, #c1ccd8, #75869d);
}

.visual-dark {
  background: linear-gradient(135deg, #2f4563, #182742);
}

.home-car-card .badge,
.home-car-card h3,
.home-car-card p,
.home-car-card .home-car-footer {
  margin-left: 26px;
  margin-right: 26px;
}

.home-car-card h3 {
  margin-top: 16px;
  margin-bottom: 12px;
}

.home-car-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 26px;
}

.home-car-footer a {
  color: var(--primary);
  font-weight: 700;
}

.brand-logo-card {
  min-height: 176px;
  background: rgba(255, 255, 255, 1);
}

.brand-grid article,
.home-car-card,
.source-list article {
  background: rgba(255, 255, 255, 0.98);
}

.achievement-media {
  background: linear-gradient(135deg, rgba(237, 243, 251, 0.95), rgba(245, 248, 252, 0.98));
}
