﻿:root {
  --ink: #10151a;
  --ink-2: #202a33;
  --paper: #f7f7f4;
  --white: #ffffff;
  --muted: #69737c;
  --line: #dfe4e8;
  --red: #c72a2e;
  --red-dark: #9e1f24;
  --teal: #0d6b70;
  --gold: #d49a37;
  --shadow: 0 20px 50px rgba(16, 21, 26, 0.14);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(12, 15, 18, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transform: translateY(0);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.28s ease;
}

.site-notice {
  position: fixed;
  top: 74px;
  right: 0;
  left: 0;
  z-index: 49;
  padding: 8px 20px;
  color: var(--white);
  background: rgba(199, 42, 46, 0.94);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.site-header.is-scrolled,
.nav-open .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(16, 21, 26, 0.08);
}

.site-header.is-scrolled .brand-mark,
.nav-open .site-header .brand-mark {
  filter: contrast(1.08) drop-shadow(0 5px 10px rgba(16, 21, 26, 0.14));
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.nav-shell {
  width: min(100% - 36px, 1360px);
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 70px;
  height: 42px;
  display: block;
  flex: 0 0 auto;
  background: url("../images/tonglihua-mark.png") center / contain no-repeat;
  border: 0;
  border-radius: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
  filter: brightness(1.16) contrast(1.1) drop-shadow(0 1px 1px rgba(255, 255, 255, 0.36)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-text strong {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-text small {
  color: currentColor;
  font-size: 10px;
  opacity: 0.72;
  letter-spacing: 1px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 26px 10px;
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 18px;
  left: 10px;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-mobile-actions {
  display: none;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-contact {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.header-tool,
.language-switch,
.account-button,
.auth-mini {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-tool {
  width: 42px;
  padding: 0;
}

.account-button {
  position: relative;
  width: 44px;
  padding: 0;
  border-radius: 50%;
}

.account-button.is-logged-in {
  border-color: rgba(255, 255, 255, 0.64);
}

.account-button [data-account-badge] {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}

.language-switch,
.auth-mini {
  padding: 0 13px;
}

.auth-register {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.header-tool:hover,
.language-switch:hover,
.account-button:hover,
.auth-mini:hover {
  transform: translateY(-1px);
}

.site-header.is-scrolled .header-contact,
.nav-open .header-contact {
  color: var(--white);
  background: var(--ink);
}

.site-header.is-scrolled .header-tool,
.site-header.is-scrolled .language-switch,
.site-header.is-scrolled .account-button,
.site-header.is-scrolled .auth-mini,
.nav-open .header-tool,
.nav-open .language-switch,
.nav-open .account-button,
.nav-open .auth-mini {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.site-header.is-scrolled .auth-register,
.nav-open .auth-register {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.header-contact svg,
.nav-toggle svg,
.btn svg,
.floating-contact svg,
.header-tool svg,
.account-button svg,
.language-switch svg {
  width: 18px;
  height: 18px;
}

.account-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 286px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(8, 12, 16, 0.24);
  backdrop-filter: blur(18px);
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.account-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.account-menu-head {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(13, 107, 112, 0.12), rgba(199, 42, 46, 0.1)),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.account-menu-head > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--red));
  border-radius: 50%;
  font-weight: 900;
}

.account-menu-head strong,
.account-menu-head small {
  display: block;
}

.account-menu-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.account-menu-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.account-menu-list {
  display: grid;
  padding: 8px;
}

.account-menu-list a,
.account-menu-list button {
  min-height: 44px;
  display: grid;
  grid-template-columns: 19px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.account-menu-list a:hover,
.account-menu-list button:hover {
  background: var(--paper);
}

.account-menu-list svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}

.hero,
.page-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(10, 14, 18, 0.78), rgba(10, 14, 18, 0.4) 52%, rgba(10, 14, 18, 0.18)),
    var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.page-hero {
  min-height: 540px;
}

.hero-carousel {
  isolation: isolate;
  background: var(--ink);
}

.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 6s ease;
}

.hero-carousel .hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-carousel .hero-inner {
  z-index: 2;
}

.hero-dots {
  position: absolute;
  right: max(20px, calc((100vw - var(--container)) / 2));
  bottom: 70px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dots button {
  width: 38px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.44);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 58px;
  background: var(--red);
}

.hero::after,
.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(0deg, rgba(247, 247, 244, 0.95), rgba(247, 247, 244, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 160px 0 76px;
}

.page-hero .hero-inner {
  padding-bottom: 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 1120px;
  font-size: clamp(38px, 5vw, 66px);
}

.title-line {
  display: block;
}

.hero-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-stats {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  padding: 22px;
  background: rgba(10, 14, 18, 0.28);
}

.hero-stats strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.home-metrics {
  margin-top: -1px;
  color: var(--white);
  background: var(--ink);
}

.home-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 18px 0;
}

.home-metrics-grid div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.home-metrics-grid strong {
  font-size: 30px;
  line-height: 1;
}

.home-metrics-grid span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--paper);
}

.section-white {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 107, 112, 0.3), transparent 34%),
    var(--ink);
}

.section-heading {
  display: grid;
  align-items: start;
  justify-items: start;
  gap: 8px;
  margin-bottom: 34px;
  text-align: left;
}

.section-heading > * {
  justify-self: start;
}

.section-heading span,
.cta-inner span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section-heading h2,
.split-layout h2,
.timeline-layout h2,
.contact-info h2,
.map-layout h2,
.cta-inner h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
  text-align: left;
}

.section-heading a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin-top: 4px;
}

.section-heading.inverted span,
.section-heading.inverted a,
.section-dark .eyebrow,
.cta-inner span {
  color: var(--gold);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.business-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  padding: 28px;
  color: var(--white);
  background-image:
    linear-gradient(180deg, rgba(10, 14, 18, 0.05), rgba(10, 14, 18, 0.78)),
    var(--card-image);
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enhanced-services .business-card {
  min-height: 360px;
  padding-top: 76px;
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(16, 21, 26, 0.18);
}

.business-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(199, 42, 46, 0.28), rgba(13, 107, 112, 0.18));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.business-card:hover::after {
  opacity: 1;
}

.service-number {
  position: absolute;
  top: 24px;
  left: 26px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.card-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transform: translate(8px, -8px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.business-card:hover .card-arrow {
  transform: translate(0, 0);
  opacity: 1;
  background: var(--red);
}

.business-card > * {
  position: relative;
  z-index: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--red);
  border-radius: 50%;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.business-card h3,
.solution-card h3,
.feature-item h3,
.process-step h3,
.service-grid h3,
.option-grid h3,
.value-grid h3,
.plan-grid h3,
.wide-steps h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  text-align: left;
}

.business-card p,
.solution-card p,
.feature-item p,
.process-step p,
.service-grid p,
.option-grid p,
.value-grid p,
.plan-grid p,
.wide-steps p {
  margin: 0;
  color: var(--muted);
}

.business-card p,
.process-step p,
.section-dark .section-copy,
.section-dark .service-grid p,
.section-dark .option-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.split-layout > div > h2,
.timeline-layout h2,
.contact-info h2,
.map-layout h2 {
  margin-bottom: 18px;
}

.section-copy {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.light-copy {
  color: rgba(255, 255, 255, 0.74);
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.feature-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
}

.feature-item > svg,
.service-grid article > svg,
.option-grid article > svg,
.value-grid article > svg,
.solution-card > svg,
.plan-grid article > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.image-panel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(10, 14, 18, 0.05), rgba(10, 14, 18, 0.44)),
    var(--panel-image);
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel.compact {
  min-height: 420px;
}

.panel-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 20px;
  color: var(--white);
  background: rgba(10, 14, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.panel-note strong,
.panel-note span {
  display: block;
}

.panel-note strong {
  font-size: 22px;
}

.panel-note span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  min-height: 238px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.process-step span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.solution-grid,
.service-grid,
.option-grid,
.value-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-grid,
.option-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card,
.service-grid article,
.option-grid article,
.value-grid article,
.plan-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section-white .solution-card,
.section-white .service-grid article,
.section-white .option-grid article,
.section-white .value-grid article,
.section-white .plan-grid article {
  background: #fbfbf9;
}

.solution-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.solution-card a {
  width: max-content;
  color: var(--red);
  font-weight: 800;
}

.service-grid article,
.option-grid article,
.value-grid article,
.plan-grid article {
  display: grid;
  gap: 14px;
}

.cta-band {
  padding: 54px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(199, 42, 46, 0.88), rgba(13, 107, 112, 0.88)),
    url("https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.cta-inner h2 {
  max-width: 760px;
  margin: 6px 0 0;
}

.cta-inner .btn-primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric-grid div {
  min-height: 180px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid strong {
  display: block;
  color: var(--red);
  font-size: 38px;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 16px;
  font-size: 20px;
  font-weight: 900;
}

.metric-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.timeline-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.timeline {
  display: grid;
  gap: 22px;
}

.timeline div {
  position: relative;
  padding-left: 32px;
}

.timeline div::before {
  position: absolute;
  top: 16px;
  bottom: -28px;
  left: 8px;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
}

.timeline div:last-child::before {
  display: none;
}

.timeline span {
  position: absolute;
  top: 8px;
  left: 0;
  width: 17px;
  height: 17px;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.timeline h3 {
  margin: 0;
  font-size: 22px;
}

.timeline p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.tag-cloud,
.mini-list,
.tip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-cloud span,
.mini-list span,
.tip-list span {
  padding: 9px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.inverted-list span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.check-panel,
.document-list {
  display: grid;
  gap: 14px;
}

.check-panel div,
.document-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.document-list div {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.check-panel svg,
.document-list svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.document-list svg {
  color: var(--gold);
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--white);
  background: var(--ink);
}

tr:last-child td {
  border-bottom: 0;
}

.checklist-grid,
.wide-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.checklist-grid div,
.wide-steps div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.wide-steps div {
  background: var(--white);
  border-color: var(--line);
}

.checklist-grid strong,
.wide-steps strong {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 15px;
}

.wide-steps strong {
  color: var(--red);
}

.checklist-grid span {
  font-size: 20px;
  font-weight: 900;
}

.route-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: center;
}

.route-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 21, 26, 0.08);
}

.route-steps span {
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
}

.route-steps svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex: 0 0 auto;
}

.plan-grid ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.contact-methods div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.contact-methods svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.compact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 107, 112, 0.12);
}

.detail-inquiry-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.detail-inquiry-form p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.detail-inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.detail-inquiry-form input,
.detail-inquiry-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  outline: 0;
}

.detail-inquiry-form input:focus,
.detail-inquiry-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 107, 112, 0.12);
}

.detail-inquiry-form .form-submit {
  min-height: 42px;
}

.form-submit {
  width: max-content;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note.is-success {
  color: var(--teal);
  font-weight: 800;
}

.map-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}

.map-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 21, 26, 0.82), rgba(16, 21, 26, 0.34)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 28px),
    linear-gradient(135deg, var(--teal), var(--ink));
  border-radius: 8px;
}

.map-card div {
  max-width: 420px;
  text-align: center;
}

.map-card svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  color: var(--gold);
}

.map-card h3 {
  margin: 0;
  font-size: 28px;
}

.map-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.vehicle-zone-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.vehicle-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px 0;
}

.vehicle-tabs a {
  min-width: 160px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
}

.vehicle-tabs a.is-active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.breadcrumb-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb-line strong {
  color: var(--ink);
}

.catalog-section {
  padding-top: 70px;
}

.catalog-heading {
  margin-bottom: 24px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.catalog-toolbar button {
  min-height: 40px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.catalog-toolbar button.is-active,
.catalog-toolbar button:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.catalog-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 21, 26, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(16, 21, 26, 0.15);
}

.catalog-image {
  position: relative;
  min-height: 230px;
  display: block;
  background-image: linear-gradient(180deg, rgba(10, 14, 18, 0.02), rgba(10, 14, 18, 0.18)), var(--car-image);
  background-position: center;
  background-size: cover;
}

.catalog-image span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.catalog-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.catalog-body h3 {
  min-height: 58px;
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  text-align: left;
}

.catalog-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.catalog-specs p {
  margin: 0;
  padding: 12px;
  background: var(--paper);
  border-radius: 6px;
}

.catalog-specs span,
.description-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-specs strong,
.description-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
}

.catalog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalog-actions a {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 900;
}

.catalog-actions a:first-child {
  color: var(--white);
  background: var(--red);
}

.catalog-actions a:last-child {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.used-detail-section {
  padding-top: 70px;
}

.used-product-section {
  padding-top: 76px;
}

.vehicle-search-band {
  display: flex;
  justify-content: flex-end;
  margin: -10px 0 24px;
}

.vehicle-search-band label {
  width: min(100%, 420px);
  min-height: 44px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #f7f8f8;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.vehicle-search-band svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.vehicle-search-band input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
}

.used-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
}

.used-product-card {
  overflow: hidden;
  background: #b8bbbe;
  border: 1px solid #cfd2d5;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(16, 21, 26, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.used-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 107, 112, 0.34);
  box-shadow: 0 28px 58px rgba(16, 21, 26, 0.16);
}

.used-product-image {
  position: relative;
  aspect-ratio: 1.45 / 1;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 36%, rgba(255,255,255,0.58), transparent 0 16%, transparent 17%),
    linear-gradient(155deg, transparent 0 38%, rgba(13,107,112,0.2) 39% 44%, transparent 45%),
    linear-gradient(0deg, rgba(255,255,255,0.0), rgba(255,255,255,0.0)),
    var(--car-image),
    linear-gradient(135deg, #edf1f2, #b9c0c4);
  background-position: center;
  background-size: cover;
  transition: transform 0.45s ease;
}

.used-product-image::before {
  position: absolute;
  right: 12%;
  bottom: 18%;
  left: 12%;
  height: 32%;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 82%, #24313a 0 10%, transparent 11%),
    radial-gradient(circle at 76% 82%, #24313a 0 10%, transparent 11%),
    linear-gradient(150deg, transparent 0 18%, rgba(255,255,255,0.9) 19% 28%, transparent 29%),
    linear-gradient(10deg, transparent 0 20%, rgba(13,107,112,0.78) 21% 67%, transparent 68%);
  border-radius: 44% 50% 18% 18%;
  opacity: 0.18;
}

.catalog-image.is-image-missing,
.used-product-image.is-image-missing,
.gallery-main.is-image-missing,
.gallery-thumbs button.is-image-missing,
.mini-vehicle-image.is-image-missing {
  background-image:
    radial-gradient(circle at 72% 26%, rgba(255,255,255,0.72), transparent 0 14%, transparent 15%),
    linear-gradient(150deg, transparent 0 36%, rgba(13,107,112,0.2) 37% 42%, transparent 43%),
    linear-gradient(135deg, #eef3f5 0%, #cad4da 56%, #adb9c1 100%);
}

.catalog-image.is-image-missing::before,
.used-product-image.is-image-missing::before,
.gallery-main.is-image-missing::before,
.gallery-thumbs button.is-image-missing::before,
.mini-vehicle-image.is-image-missing::before {
  position: absolute;
  right: 11%;
  bottom: 20%;
  left: 11%;
  height: 34%;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 82%, #24313a 0 9%, transparent 10%),
    radial-gradient(circle at 76% 82%, #24313a 0 9%, transparent 10%),
    linear-gradient(150deg, transparent 0 17%, rgba(255,255,255,0.92) 18% 29%, transparent 30%),
    linear-gradient(10deg, transparent 0 20%, rgba(13,107,112,0.78) 21% 68%, transparent 69%);
  border-radius: 44% 50% 18% 18%;
  opacity: 0.36;
}

.used-product-card:hover .used-product-image {
  transform: scale(1.035);
}

.used-product-body {
  display: grid;
  gap: 8px;
  padding: 17px 18px 20px;
  color: var(--white);
}

.used-product-body h3 {
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.used-product-body p {
  margin: 0;
  line-height: 1.35;
  font-size: 15px;
  font-weight: 700;
}

.used-product-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.used-product-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.used-product-actions a:hover {
  transform: translateY(-1px);
}

.used-product-actions a:first-child {
  color: var(--teal);
  background: var(--white);
  border: 2px solid var(--teal);
}

.used-product-actions a:last-child {
  color: var(--white);
  background: #07536a;
  border: 2px solid #07536a;
}

.used-product-actions svg {
  width: 16px;
  height: 16px;
}

.used-catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -4px 0 24px;
}

.catalog-intro {
  max-width: 860px;
  margin: -10px 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.used-catalog-tools label {
  min-height: 48px;
  width: min(100%, 420px);
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.used-catalog-tools svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.used-catalog-tools input {
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
}

.used-catalog-tools span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.catalog-pagination span {
  color: var(--muted);
  font-weight: 800;
}

.catalog-pagination nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-pagination button {
  min-width: 42px;
  min-height: 40px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
}

.catalog-pagination button.is-active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.catalog-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.vehicle-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.vehicle-gallery,
.detail-info-panel {
  min-width: 0;
}

.gallery-main {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(10, 14, 18, 0.05), rgba(10, 14, 18, 0.2)), var(--gallery-image);
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-main span {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(10, 14, 18, 0.64);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.gallery-thumbs button {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  background-image: var(--thumb-image);
  background-position: center;
  background-size: cover;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-thumbs button.is-active {
  border-color: var(--red);
}

.detail-info-panel {
  padding: 30px;
  background: #fbfbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-info-panel h2 {
  margin: 0 0 22px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.18;
  text-align: left;
}

.detail-spec-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-spec-list li,
.category-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-spec-list span,
.category-line span {
  color: var(--muted);
}

.detail-spec-list strong,
.category-line a {
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.contact-strip a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.contact-strip svg {
  width: 17px;
  height: 17px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-outline-dark {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.detail-copy {
  max-width: 980px;
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.9;
}

.detail-copy p {
  margin: 0 0 16px;
}

.detail-copy p:last-child {
  margin-bottom: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mini-vehicle-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-vehicle-image {
  display: block;
  position: relative;
  width: 100%;
  min-height: 160px;
  overflow: hidden;
  background-image: var(--car-image);
  background-position: center;
  background-size: cover;
}

.mini-vehicle-card div {
  padding: 16px;
}

.mini-vehicle-card > div h3,
.mini-vehicle-card > div p,
.mini-vehicle-card > div a {
  margin-right: 0;
  margin-left: 0;
}

.mini-vehicle-card > div h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
  text-align: left;
}

.mini-vehicle-card > div p {
  margin-top: 0;
  color: var(--muted);
}

.mini-vehicle-card > div a {
  display: inline-block;
  margin-bottom: 0;
  color: var(--red);
  font-weight: 900;
}

.overlay-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: start center;
  padding: 96px 20px 30px;
  background: rgba(8, 12, 16, 0.58);
  backdrop-filter: blur(12px);
}

.overlay-panel.is-open {
  display: grid;
}

.search-dialog,
.auth-dialog,
.inquiry-dialog {
  width: min(100%, 680px);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.overlay-head h2 {
  margin: 0;
  font-size: 22px;
}

.overlay-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.search-box {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.search-input-wrap {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-input-wrap input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
}

.search-results {
  display: grid;
  gap: 10px;
}

.search-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #fbfbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.search-results small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 400;
}

.auth-dialog {
  width: min(100%, 430px);
}

.inquiry-dialog {
  width: min(100%, 520px);
}

.inquiry-dialog .contact-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  outline: 0;
}

.auth-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 107, 112, 0.12);
}

.auth-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-switch button {
  padding: 0;
  color: var(--red);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.forum-section {
  padding-top: 76px;
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.forum-main,
.forum-publish-panel {
  min-width: 0;
}

.forum-toolbar {
  margin: -8px 0 24px;
}

.forum-compose-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 6px;
  font-weight: 900;
}

.forum-compose-toggle svg {
  width: 18px;
  height: 18px;
}

.forum-toolbar label {
  min-height: 48px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.forum-toolbar svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.forum-toolbar input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
}

.forum-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.forum-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 120px;
  padding: 22px;
  border: 1px dashed rgba(20, 72, 120, 0.24);
  border-radius: 8px;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(38, 139, 210, 0.08), rgba(255, 255, 255, 0.78));
}

.forum-empty svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex: 0 0 auto;
}

.forum-empty p {
  margin: 0;
}

.forum-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 21, 26, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.forum-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 107, 112, 0.34);
  box-shadow: 0 28px 56px rgba(16, 21, 26, 0.13);
}

.forum-card-image {
  position: relative;
  min-height: 210px;
  background-image:
    linear-gradient(180deg, rgba(10, 14, 18, 0.02), rgba(10, 14, 18, 0.46)),
    var(--car-image),
    linear-gradient(135deg, #eef3f5, #c6d2d8);
  background-position: center;
  background-size: cover;
}

.forum-card-image.is-image-missing {
  background-image:
    radial-gradient(circle at 72% 26%, rgba(255,255,255,0.72), transparent 0 14%, transparent 15%),
    linear-gradient(150deg, transparent 0 36%, rgba(13,107,112,0.2) 37% 42%, transparent 43%),
    linear-gradient(135deg, #eef3f5 0%, #cad4da 56%, #adb9c1 100%);
}

.forum-card-image.is-image-missing::before {
  position: absolute;
  right: 12%;
  bottom: 22%;
  left: 12%;
  height: 34%;
  content: "";
  background:
    radial-gradient(circle at 24% 82%, #24313a 0 9%, transparent 10%),
    radial-gradient(circle at 76% 82%, #24313a 0 9%, transparent 10%),
    linear-gradient(150deg, transparent 0 17%, rgba(255,255,255,0.92) 18% 29%, transparent 30%),
    linear-gradient(10deg, transparent 0 20%, rgba(13,107,112,0.78) 21% 68%, transparent 69%);
  border-radius: 44% 50% 18% 18%;
  opacity: 0.34;
}

.forum-card-image span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 10px;
  overflow: hidden;
  color: var(--white);
  background: rgba(10, 14, 18, 0.68);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forum-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.forum-author {
  display: flex;
  align-items: center;
  gap: 9px;
}

.forum-author span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--red));
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.forum-author small {
  color: var(--muted);
  font-weight: 800;
}

.forum-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  text-align: left;
}

.forum-card p {
  display: -webkit-box;
  min-height: 78px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.forum-publish-panel {
  margin: 0 0 24px;
  padding: 22px;
  background: #fbfbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.forum-publish-panel[hidden] {
  display: none;
}

.forum-publish-panel h2 {
  margin: 14px 0 16px;
  font-size: 24px;
}

.forum-auth-state {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  color: var(--teal);
  background: rgba(13, 107, 112, 0.08);
  border: 1px solid rgba(13, 107, 112, 0.16);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.forum-auth-state svg {
  width: 18px;
  height: 18px;
}

.forum-form {
  display: grid;
  gap: 13px;
}

.forum-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.forum-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
}

.forum-form input,
.forum-form textarea {
  width: 100%;
  padding: 11px 12px;
  background: var(--white);
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  outline: 0;
}

.forum-form textarea {
  resize: vertical;
}

.forum-form input:focus,
.forum-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 107, 112, 0.12);
}

.user-profile-panel {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(13, 107, 112, 0.1), rgba(199, 42, 46, 0.08)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.user-avatar-large {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--red));
  border-radius: 50%;
  font-size: 42px;
  font-weight: 900;
}

.user-profile-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  text-align: left;
}

.user-profile-panel p:last-child {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
}

.user-profile-form,
.user-center-card {
  margin-top: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.user-profile-form {
  display: grid;
  gap: 14px;
}

.user-profile-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.user-profile-form input {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.user-profile-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 107, 112, 0.12);
}

.user-center-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.user-center-grid a,
.user-center-grid button {
  min-height: 168px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 21, 26, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.user-center-grid a:hover,
.user-center-grid button:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(16, 21, 26, 0.13);
}

.user-center-grid svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
}

.user-center-grid strong {
  font-size: 19px;
}

.user-center-grid span {
  color: var(--muted);
}

.user-center-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 56px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.user-center-empty > svg {
  width: 44px;
  height: 44px;
  color: var(--teal);
}

.user-center-empty h2,
.user-center-empty p {
  margin: 0;
}

.user-center-empty p {
  max-width: 560px;
  color: var(--muted);
}

.user-center-records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.user-center-card-wide {
  grid-column: 1 / -1;
}

.user-center-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  text-align: left;
}

.user-record-list {
  display: grid;
  gap: 12px;
}

.user-record {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.user-record strong,
.user-record p,
.user-record span {
  margin: 0;
}

.user-record p,
.user-record span {
  color: var(--muted);
}

.user-forum-form {
  margin-top: 6px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0c1014;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 52px;
  padding: 58px 0 42px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-mark {
  width: 78px;
  height: 46px;
}

.site-footer p {
  max-width: 440px;
  margin: 18px 0 0;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  width: min(100% - 40px, var(--container));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(199, 42, 46, 0.32);
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 0;
    font-size: 13px;
  }

  .site-nav a {
    padding-right: 7px;
    padding-left: 7px;
  }

  .header-contact span {
    display: none;
  }

  .language-switch,
  .auth-mini {
    padding: 0 10px;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    padding: 10px 20px 28px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(16, 21, 26, 0.12);
    transform: translateY(-120%);
    transition: transform 0.2s ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav a::after {
    right: auto;
    bottom: 10px;
    left: 0;
    width: 32px;
  }

  .nav-mobile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 16px;
  }

  .nav-mobile-actions button {
    min-height: 44px;
    color: var(--white);
    background: var(--ink);
    border: 0;
    border-radius: 6px;
    font-weight: 900;
  }

  .hero,
  .page-hero {
    min-height: 620px;
  }

  .page-hero {
    min-height: 500px;
  }

  .hero-stats,
  .home-metrics-grid,
  .business-grid,
  .catalog-grid,
  .used-product-grid,
  .related-grid,
  .description-grid,
  .forum-post-grid,
  .forum-form-grid,
  .user-center-grid,
  .user-center-records,
  .process-grid,
  .solution-grid,
  .service-grid,
  .option-grid,
  .value-grid,
  .plan-grid,
  .checklist-grid,
  .wide-steps,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .timeline-layout,
  .route-panel,
  .contact-layout,
  .map-layout,
  .vehicle-detail-layout,
  .forum-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .forum-publish-panel {
    position: static;
  }

  .user-center-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-steps {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container,
  .hero-inner,
  .nav-shell,
  .footer-bottom {
    width: min(100% - 28px, var(--container));
  }

  .nav-shell {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  .brand-mark {
    width: 64px;
    height: 38px;
  }

  .footer-brand .brand-mark {
    width: 72px;
    height: 42px;
  }

  .brand {
    gap: 8px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .header-contact {
    display: none;
  }

  .auth-mini {
    display: none;
  }

  .language-switch {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-tool,
  .account-button,
  .nav-toggle {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .account-menu {
    right: 46px;
    width: min(286px, calc(100vw - 28px));
  }

  .hero,
  .page-hero {
    min-height: 610px;
    background-position: center;
  }

  .hero-inner {
    padding-top: 120px;
    padding-bottom: 52px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-stats,
  .home-metrics-grid,
  .business-grid,
  .catalog-grid,
  .used-product-grid,
  .related-grid,
  .description-grid,
  .user-center-records,
  .process-grid,
  .solution-grid,
  .service-grid,
  .option-grid,
  .value-grid,
  .plan-grid,
  .checklist-grid,
  .wide-steps,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 34px;
  }

  .hero-dots {
    right: auto;
    bottom: 36px;
    left: 14px;
  }

  .hero-dots button {
    width: 28px;
  }

  .hero-dots button.is-active {
    width: 44px;
  }

  .vehicle-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .vehicle-tabs a {
    min-width: 0;
  }

  .used-catalog-tools,
  .catalog-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .used-catalog-tools label {
    width: 100%;
  }

  .catalog-pagination nav {
    justify-content: flex-start;
  }

  .gallery-main {
    min-height: 360px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-info-panel {
    padding: 22px;
  }

  .contact-strip,
  .catalog-actions {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading,
  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-items: start;
  }

  .business-card {
    min-height: 360px;
  }

  .image-panel,
  .image-panel.compact {
    min-height: 330px;
  }

  .route-steps {
    display: grid;
  }

  .route-steps svg {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .contact-form {
    padding: 22px;
  }

  .compact-form-row {
    grid-template-columns: 1fr;
  }

  .forum-publish-panel {
    padding: 18px;
  }

  .forum-card-image {
    min-height: 190px;
  }

  .user-profile-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .user-avatar-large {
    width: 86px;
    height: 86px;
    font-size: 34px;
  }

  .form-submit {
    width: 100%;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}
