@import url("https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800&display=swap");
:root {
  --green: #088b4c;
  --green-dark: #076a3c;
  --ink: #18241f;
  --muted: #77807b;
  --line: #e5eae6;
  --orange: #ed6945;
  --light: #f5f7f4;
  --radius: 16px;
  font-family: Onest, Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: #fff;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #83cea6;
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #9dd2b2;
  outline-offset: 1px;
  border-color: var(--green);
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}
h1 {
  font-size: 48px;
  line-height: 1.13;
  font-weight: 700;
}
h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}
h3 {
  font-size: 20px;
  font-weight: 600;
}
em {
  font-style: normal;
  color: var(--green);
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1.4px;
  white-space: nowrap;
}
.logo-dot {
  color: var(--green);
}
.logo-mark {
  position: absolute;
  top: 3px;
  left: -3px;
  width: 9px;
  height: 9px;
  background: linear-gradient(
    135deg,
    var(--orange) 0 30%,
    var(--green) 31% 70%,
    transparent 71%
  );
  transform: translate(-2px, -3px);
}
.desktop-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 18px;
  font-size: 13px;
  font-weight: 600;
}
.desktop-nav a {
  position: relative;
}
.desktop-nav a:hover {
  color: var(--green);
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s;
}
.desktop-nav a:hover:after {
  width: 100%;
}
.header-phone {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
}
.header-phone svg {
  width: 19px;
  color: var(--green);
}
.menu-toggle {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--green);
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.button:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
}
.button svg {
  width: 20px;
  height: 20px;
}
.button.secondary {
  background: white;
  border-color: #d6ddd7;
  color: var(--ink);
}
.button.secondary:hover {
  background: #eef5ef;
  border-color: #9db6a5;
}
.button.small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 12px;
}
.button.full {
  width: 100%;
  margin-top: 12px;
}
.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: normal;
  font-weight: 800;
  color: var(--green);
  line-height: 1.5;
}
.hero {
  overflow: hidden;
  background: linear-gradient(105deg, #f7f9f5 0%, #fafbf8 55%, #f0f5ed 100%);
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 580px;
  position: relative;
  align-items: center;
}
.hero-copy {
  padding: 58px 0 54px;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 26px;
}
.hero-eyebrow i,
.stock-label i,
.staff-identity i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 4px #e1eee3;
}
.hero h1 {
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 25px;
}
.hero-copy > p {
  font-size: 14px;
  line-height: 1.85;
  color: #6e7871;
  max-width: 350px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 28px;
}
.text-link {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  gap: 8px;
  align-items: center;
}
.text-link svg {
  width: 18px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 33px;
  font-size: 12px;
  color: #7b857d;
}
.hero-note svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}
.hero-visual {
  position: relative;
  height: 100%;
  min-width: 0;
}
.hero-stripe {
  position: absolute;
  width: 190px;
  height: 760px;
  background: linear-gradient(180deg, #dae7d5, #c2dac5);
  transform: rotate(39deg);
  right: 98px;
  top: -140px;
}
.hero-outline {
  position: absolute;
  width: 2px;
  height: 770px;
  background: var(--orange);
  transform: rotate(39deg);
  right: 297px;
  top: -138px;
}
.hero-word {
  position: absolute;
  top: 124px;
  left: 38px;
  letter-spacing: -0.06em;
  font-size: 112px;
  font-weight: 800;
  color: rgba(10, 83, 39, 0.055);
}
.hero-car {
  position: absolute;
  width: 770px;
  max-width: none;
  right: -100px;
  top: 100px;
  filter: drop-shadow(0 24px 18px rgba(27, 65, 31, 0.12));
  z-index: 1;
}
.hero-caption {
  position: absolute;
  right: 8px;
  bottom: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 7px 28px #19381907;
}
.hero-caption strong {
  font-size: 12px;
  display: block;
}
.hero-caption small {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.hero-caption-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #edf6ed;
  color: var(--green);
}
.hero-caption-icon svg {
  width: 19px;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 33px 0 38px;
  border-bottom: 1px solid var(--line);
  gap: 23px;
}
.service {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.service-icon {
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f6ef;
  color: var(--green);
  border-radius: 9px;
  flex-shrink: 0;
}
.service-icon svg {
  width: 21px;
}
.service h3 {
  font-size: 13px;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0 0 6px;
}
.service p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}
.service > svg {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #96a299;
  margin-top: 3px;
}
.catalog-section {
  padding: 68px 0 52px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 29px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 16px;
}
.count {
  font-size: 13px;
  letter-spacing: 0;
  background: #eef3ee;
  color: var(--green);
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
}
.section-note {
  font-size: 12px;
  line-height: 1.7;
  color: #8c948e;
}
.filter-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 22px;
  background: #f5f7f4;
  border: 1px solid #edf0eb;
  border-radius: 12px;
  padding: 23px 25px;
  position: relative;
}
.filter-panel label > span {
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 9px;
  color: #68756c;
}
.filter-panel select {
  width: 100%;
  height: 43px;
  border: 1px solid #dfe5de;
  background: #fff;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 12px;
  color: #26392c;
}
.filter-panel .button {
  align-self: end;
  min-height: 43px;
  padding: 10px 22px;
  font-size: 12px;
}
.filter-reset {
  position: absolute;
  right: 1px;
  bottom: -28px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 18px;
  color: #929992;
  font-size: 12px;
}
.catalog-meta > span:last-child {
  display: flex;
  gap: 8px;
  align-items: center;
}
.catalog-meta svg {
  width: 12px;
  transform: rotate(90deg);
}
.car-list {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.car-card {
  display: grid;
  grid-template-columns: 39% 61%;
  border: 1px solid #e0e6df;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.2s,
    border 0.2s;
}
.car-card:hover {
  border-color: #c4d2c4;
  box-shadow: 0 8px 30px #1c3a2110;
}
.car-image {
  min-height: 270px;
  position: relative;
  overflow: hidden;
  background: #f1f3ef;
}
.car-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.car-image:hover > img {
  transform: scale(1.035);
}
.photo-count {
  position: absolute;
  left: 17px;
  bottom: 16px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #fff;
  color: #59675d;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 8px #0001;
}
.car-info {
  padding: 24px 28px 21px;
}
.car-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.car-brand {
  font-size: 12px;
  color: #8a958d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: normal;
}
.stock-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.stock-label i {
  width: 5px;
  height: 5px;
  box-shadow: none;
}
.car-title {
  display: block;
  font-size: 25px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 19px;
}
.car-title:hover {
  color: var(--green);
}
.car-specs {
  display: flex;
  gap: 22px;
  margin-bottom: 17px;
  flex-wrap: wrap;
}
.car-specs small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #969e97;
  margin-bottom: 5px;
}
.car-specs strong {
  font-size: 12px;
  font-weight: 600;
}
.car-description {
  font-size: 12px;
  line-height: 1.8;
  color: #849087;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.car-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 19px;
  margin-top: 15px;
  border-top: 1px solid #edf0eb;
}
.car-price {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.detail-link {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}
.detail-link svg {
  width: 18px;
}
.load-more-wrap {
  text-align: center;
  margin-top: 29px;
}
.load-more-wrap .button {
  font-size: 12px;
  padding: 11px 26px;
  min-height: 45px;
}
.demo-note {
  font-size: 12px;
  color: #9aa299;
  text-align: center;
  margin-top: 20px;
}
.buyout-banner {
  background: #f2f6ef;
  border-radius: 16px;
  padding: 42px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  margin-bottom: 85px;
}
.buyout-banner .eyebrow {
  margin-bottom: 13px;
}
.buyout-banner h2 {
  font-size: 30px;
}
.buyout-banner p {
  font-size: 12px;
  color: #7d897f;
  margin: 16px 0 24px;
}
.buyout-banner .button {
  font-size: 12px;
  min-height: 45px;
}
.banner-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 30px;
  gap: 24px;
}
.banner-art > svg {
  width: 90px;
  height: 90px;
  color: var(--green);
  stroke-width: 2;
}
.banner-art > span {
  font-size: 65px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #aec9ad;
}
.banner-art em {
  color: var(--green);
}
.banner-art:before {
  content: "";
  width: 4px;
  height: 360px;
  position: absolute;
  right: -40px;
  background: var(--orange);
  transform: rotate(40deg);
}
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-bottom: 85px;
}
.contact-section .eyebrow {
  margin-bottom: 13px;
}
.contact-section h2 {
  font-size: 37px;
}
.contact-section p {
  font-size: 12px;
  line-height: 1.9;
  color: #7f8980;
  margin: 19px 0 26px;
}
.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-actions .button {
  padding: 12px 17px;
  min-height: 46px;
  font-size: 12px;
  gap: 9px;
}
.contact-card {
  border: 1px solid #e3e9e0;
  border-radius: 15px;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 23px 18px;
  align-self: center;
}
.contact-monogram {
  width: 58px;
  height: 58px;
  background: #eaf3e7;
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.contact-card small {
  font-size: 12px;
  color: #95a08f;
}
.contact-card h3 {
  font-size: 22px;
  margin: 4px 0 5px;
}
.contact-card a {
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
}
.contact-info {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: #7f897e;
}
.contact-info svg {
  width: 19px;
  color: #809777;
}
.contact-info:first-of-type {
  border-top: 1px solid var(--line);
  padding-top: 21px;
}
.footer {
  border-top: 1px solid var(--line);
  background: #fbfcfa;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  padding-top: 43px;
  padding-bottom: 40px;
  gap: 50px;
}
.footer .logo {
  font-size: 27px;
}
.footer p {
  font-size: 12px;
  line-height: 1.8;
  color: #99a094;
  margin-top: 14px;
}
.footer-top > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-top .eyebrow {
  font-size: 12px;
  color: #8d9887;
  margin-bottom: 5px;
}
.footer-top a:not(.logo) {
  font-size: 12px;
  font-weight: 600;
}
.footer-top .footer-phone {
  font-size: 18px !important;
  color: var(--green);
  letter-spacing: -0.02em;
}
.footer-top span:not(.eyebrow, .logo-mark, .logo-dot) {
  font-size: 12px;
  color: #8d9887;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  padding-bottom: 21px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #a0a69c;
}
.footer-bottom a:hover {
  color: var(--green);
}
.loading-screen {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: var(--muted);
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid #d8e7d6;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.empty-state {
  padding: 110px 0;
  text-align: center;
}
.empty-state > svg {
  width: 60px;
  height: 60px;
  color: #bed2bf;
  margin: 0 auto 25px;
}
.empty-state h1 {
  font-size: 32px;
}
.empty-state p {
  margin: 16px 0 30px;
  color: var(--muted);
  font-size: 13px;
}
.small-empty {
  padding: 65px 20px;
  border: 1px dashed var(--line);
  border-radius: 15px;
}
.small-empty h3 {
  font-size: 22px;
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 220px;
  color: #adc1ae;
  gap: 15px;
  font-size: 13px;
  background: #f3f6f0;
}
.photo-placeholder svg {
  width: 65px;
  height: 65px;
}
.staff-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  font-size: 12px;
}
.staff-inner > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.staff-inner button {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
}
.staff-inner svg {
  width: 16px;
  height: 16px;
}
.staff-identity {
  display: flex;
  gap: 9px;
  align-items: center;
}
.staff-identity small {
  color: var(--muted);
  margin-left: 5px;
}
#staff-bar:has(.staff-inner) {
  border-bottom: 1px solid #d9e6d6;
  background: #eff6ec;
}
.status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 12px;
}
.status-badge.draft {
  color: #9a7227;
}
.status-badge.archive {
  color: #777;
}
.card-staff-actions {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  font-size: 12px;
  color: var(--green);
}
.card-staff-actions button {
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.staff-page,
.settings-page {
  padding-top: 48px;
  padding-bottom: 70px;
  min-height: 65vh;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 25px;
  margin: 30px 0 25px;
  overflow: auto;
}
.tabs button {
  font-size: 12px;
  white-space: nowrap;
  padding: 10px 4px 15px;
  position: relative;
  color: var(--muted);
}
.tabs button.active {
  color: var(--green);
  font-weight: 700;
}
.tabs button.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green);
  height: 2px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.back-link svg {
  transform: rotate(180deg);
  width: 16px;
}
.detail-page {
  padding-top: 35px;
  padding-bottom: 75px;
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.detail-heading h1 {
  margin-top: 8px;
  font-size: 40px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 35px;
}
.gallery-main {
  border-radius: 13px;
  overflow: hidden;
  background: #f4f6f2;
}
.gallery-main button {
  width: 100%;
  padding: 0;
  position: relative;
}
.gallery-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-main button > span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #fff;
  padding: 10px 13px;
  border-radius: 5px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 15px #0002;
}
.gallery-main svg {
  width: 16px;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 13px 0;
}
.gallery-thumbs button {
  width: 90px;
  height: 66px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 7px;
  flex-shrink: 0;
}
.gallery-thumbs button.active {
  border-color: var(--green);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.detail-summary {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  position: sticky;
  top: 112px;
}
.detail-price {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.04em;
  display: block;
  margin: 11px 0 26px;
}
.detail-contact {
  background: #f4f7f0;
  border-radius: 9px;
  padding: 19px;
  margin-bottom: 27px;
}
.detail-contact p {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}
.detail-contact > span {
  font-size: 12px;
  color: var(--muted);
}
.detail-contact > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.detail-contact .messenger {
  padding: 10px;
}
.detail-contact .messenger span {
  display: none;
}
.detail-summary h3 {
  font-size: 18px;
}
.spec-table {
  margin: 13px 0 0;
}
.spec-table > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #eef1ea;
  padding: 13px 0;
  font-size: 12px;
  line-height: 1.6;
}
.spec-table dt {
  color: var(--muted);
}
.spec-table dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.private-label {
  display: block;
  color: var(--orange);
  font-size: 12px;
}
.detail-block {
  margin-top: 32px;
}
.detail-block h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.detail-block p {
  font-size: 13px;
  color: #6f7b71;
  line-height: 1.9;
}
.multiline {
  white-space: pre-line;
}
.video-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 12px;
  margin: 12px 0;
}
.detail-staff {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.detail-staff .button {
  font-size: 12px;
  padding: 12px;
}
.mobile-contact-bar {
  display: none;
}
.initial-detail {
  padding: 45px 0;
}
.initial-detail p {
  margin: 25px 0;
}
.login-page {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 90px;
  align-items: center;
  min-height: 650px;
  padding-top: 50px;
  padding-bottom: 70px;
}
.login-intro h1 {
  font-size: 43px;
  margin: 18px 0 25px;
}
.login-intro p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  max-width: 360px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  background: #fff;
}
.panel h2 {
  font-size: 23px;
  margin-bottom: 21px;
}
.panel h3 {
  margin-bottom: 15px;
}
.panel > p,
.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.panel label,
.login-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 19px;
  color: #5c6c60;
}
.panel input:not([type="checkbox"], [type="file"], [type="hidden"]),
.panel select,
.panel textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  background: #fcfdfb;
  border: 1px solid #dce4d9;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ink);
  margin-top: 8px;
  min-height: 45px;
}
.panel textarea {
  resize: vertical;
  line-height: 1.7;
}
.form-symbol {
  display: inline-flex;
  width: 44px;
  height: 44px;
  background: #eef5e9;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--green);
  margin-bottom: 23px;
}
.login-form > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 25px;
}
.login-form .button {
  width: 100%;
}
.login-form .back-link {
  display: flex;
  justify-content: center;
  margin: 23px 0 0;
}
.form-error {
  font-size: 12px !important;
  line-height: 1.8 !important;
  color: #bb4331 !important;
  margin-top: 15px !important;
  white-space: pre-line;
}
.form-error:empty {
  display: none;
}
.editor-page {
  padding-top: 30px;
  padding-bottom: 75px;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.editor-heading h1 {
  font-size: 35px;
  margin-top: 7px;
}
.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
  gap: 25px;
}
.editor-grid > div > .panel {
  margin-bottom: 22px;
}
.editor-sidebar {
  align-self: start;
  position: sticky;
  top: 110px;
}
.editor-sidebar h3 {
  margin-top: 12px;
}
.editor-sidebar p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 9px;
}
.save-state {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.save-state svg {
  width: 16px;
}
.save-state.saved {
  color: var(--green);
}
.save-state.saving,
.save-state.pending {
  color: #a18232;
}
.save-state.failed {
  color: #b13d2d;
  cursor: pointer;
  text-decoration: underline;
}
.required {
  color: var(--orange);
  margin-left: 3px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.panel-heading h2 {
  margin: 0;
}
.panel-heading > span {
  font-size: 12px;
  color: var(--muted);
}
.upload-area {
  padding: 30px !important;
  border: 1px dashed #bfd3b8;
  border-radius: 9px;
  text-align: center;
  background: #f7faf4;
  cursor: pointer;
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.upload-area svg {
  color: var(--green);
}
.upload-area strong {
  font-size: 13px;
}
.upload-area span {
  font-size: 12px;
  color: var(--muted);
}
.upload-area input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.editor-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.editor-photo {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.editor-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.photo-main {
  width: 100%;
  padding: 8px 4px;
  font-size: 12px;
  color: var(--muted);
}
.photo-main.active {
  background: #eaf4e6;
  color: var(--green);
  font-weight: 700;
}
.photo-controls {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.photo-controls button {
  padding: 9px 6px;
  font-size: 12px;
}
.photo-controls button:last-child {
  color: #a3594c;
}
.characteristic-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
}
.characteristic-field {
  position: relative;
  border-bottom: 1px solid #f0f2ed;
  margin-bottom: 18px;
  padding-bottom: 9px;
}
.characteristic-field > label:first-child {
  margin-bottom: 12px;
}
.visibility-toggle {
  display: flex !important;
  align-items: center;
  gap: 7px;
  font-size: 12px !important;
  color: var(--muted) !important;
  margin-bottom: 9px !important;
  font-weight: 400 !important;
}
.visibility-toggle input {
  accent-color: var(--green);
  width: 14px;
  height: 14px;
}
.remove-characteristic {
  position: absolute;
  right: 0;
  top: -5px;
  color: #96a18f;
  font-size: 20px;
  padding: 0 3px;
}
.add-characteristic {
  display: flex;
  gap: 12px;
  align-items: center;
}
.add-characteristic select {
  margin-top: 0 !important;
}
.add-characteristic .button {
  font-size: 12px;
  min-height: 45px;
  padding: 10px 14px;
}
.text-button {
  display: block;
  text-align: center;
  padding: 14px 0;
  width: 100%;
  font-size: 12px;
  color: var(--muted);
}
.danger {
  color: #b3493b;
}
.editor-tip {
  display: flex;
  gap: 10px;
  padding: 21px 10px;
}
.editor-tip svg {
  width: 20px;
  color: #86a273;
}
.editor-tip p {
  font-size: 12px;
  line-height: 1.9;
}
.settings-page h1 {
  font-size: 38px;
}
.settings-tab {
  max-width: 900px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
}
.service-edit {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  gap: 20px;
}
.settings-row strong {
  display: block;
  font-size: 13px;
}
.settings-row small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.subform {
  background: #f8faf5;
  margin-top: 25px;
  padding: 24px;
  border-radius: 10px;
}
.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 9px;
}
.checkbox-label input {
  accent-color: var(--green);
}
.credit-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  font-size: 12px;
}
.credit-row a {
  color: var(--green);
}
.credit-row p {
  margin: 10px 0;
  color: var(--muted);
}
.credit-row small {
  font-size: 12px;
  color: var(--muted);
}
.settings-page > p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 800px;
  margin: 25px 0;
}
#lightbox {
  position: fixed;
  inset: 0;
  max-width: 100vw;
  max-height: 100dvh;
  width: 100vw;
  height: 100dvh;
  background: rgba(10, 18, 13, 0.96);
  border: 0;
  padding: 65px 80px;
  color: #fff;
}
#lightbox::backdrop {
  background: #000d;
}
#lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox img {
  max-width: 100%;
  max-height: calc(100dvh - 130px);
  object-fit: contain;
}
.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}
.lightbox-close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 32px;
}
.lightbox-prev {
  position: absolute;
  left: 15px;
  font-size: 28px;
}
.lightbox-next {
  position: absolute;
  right: 15px;
  font-size: 28px;
}
.lightbox-counter {
  position: absolute;
  bottom: 23px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #163d26;
  color: white;
  box-shadow: 0 6px 30px #0002;
  border-radius: 9px;
  padding: 14px 22px;
  z-index: 100;
  font-size: 12px;
  max-width: 90%;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #843d32;
}
@media (min-width: 1500px) {
  .hero-car {
    width: 820px;
    right: -140px;
    top: 75px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 20px;
  }
  .desktop-nav {
    gap: 23px;
    margin-right: 0;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-inner {
    min-height: 540px;
  }
  .hero-car {
    width: 680px;
    right: -115px;
    top: 105px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .button {
    padding: 13px 17px;
    font-size: 12px;
  }
  .hero-caption {
    right: 0;
    bottom: 40px;
  }
  .hero-stripe {
    right: 55px;
  }
  .hero-outline {
    right: 254px;
  }
  .services {
    gap: 17px;
  }
  .service {
    gap: 9px;
  }
  .service > svg {
    display: none;
  }
  .car-specs {
    gap: 15px;
  }
  .car-info {
    padding: 22px;
  }
  .car-image {
    min-height: 250px;
  }
  .car-title {
    font-size: 23px;
  }
  .filter-panel {
    gap: 13px;
    padding: 20px;
  }
  .filter-panel .button {
    padding: 10px 15px;
  }
  .contact-section {
    gap: 40px;
  }
  .hero-copy > p {
    max-width: 310px;
  }
  .detail-grid {
    gap: 23px;
  }
  .detail-summary {
    padding: 23px;
  }
  .detail-price {
    font-size: 32px;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 73px;
    gap: 14px;
  }
  .logo {
    font-size: 27px;
  }
  .desktop-nav {
    display: none;
  }
  .header-phone {
    margin-left: auto;
    font-size: 12px;
    gap: 7px;
  }
  .header-phone svg {
    width: 17px;
  }
  .menu-toggle {
    display: flex;
    width: 30px;
  }
  .mobile-nav {
    border-top: 1px solid var(--line);
    padding: 15px 20px;
    display: flex;
    gap: 25px;
    font-size: 12px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 43px 0 0;
  }
  .hero h1 {
    font-size: 54px;
    max-width: 550px;
  }
  .hero h1 br:nth-of-type(1) {
    display: none;
  }
  .hero-copy > p {
    max-width: 440px;
    font-size: 12px;
  }
  .hero-eyebrow {
    margin-bottom: 20px;
    font-size: 12px;
  }
  .hero-actions {
    margin-top: 23px;
  }
  .hero-note {
    margin-top: 25px;
  }
  .hero-visual {
    height: 345px;
    margin-top: 0;
  }
  .hero-car {
    width: 620px;
    right: -45px;
    top: -21px;
  }
  .hero-stripe {
    height: 650px;
    width: 125px;
    right: 125px;
    top: -270px;
  }
  .hero-outline {
    height: 620px;
    right: 280px;
    top: -260px;
  }
  .hero-word {
    font-size: 90px;
    top: 70px;
    left: 30px;
  }
  .hero-caption {
    bottom: 23px;
    right: 0;
    padding: 12px 16px;
  }
  .services {
    grid-template-columns: 1fr 1fr;
    padding: 29px 0;
    gap: 26px;
  }
  .service h3 {
    font-size: 13px;
  }
  .service p {
    font-size: 12px;
  }
  .service-icon {
    width: 39px;
  }
  .catalog-section {
    padding-top: 47px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-note {
    display: none;
  }
  .filter-panel {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px;
  }
  .filter-panel .button {
    height: 43px;
  }
  .catalog-meta {
    font-size: 12px;
  }
  .car-card {
    grid-template-columns: 40% 60%;
  }
  .car-info {
    padding: 19px;
  }
  .car-title {
    font-size: 21px;
  }
  .car-specs {
    gap: 15px;
    margin-bottom: 12px;
  }
  .car-specs small {
    font-size: 12px;
  }
  .car-specs strong {
    font-size: 12px;
  }
  .car-specs > div:nth-child(5) {
    display: none;
  }
  .car-price {
    font-size: 22px;
  }
  .car-description {
    font-size: 12px;
  }
  .car-card-bottom {
    margin-top: 10px;
    padding-top: 14px;
  }
  .detail-link {
    gap: 10px;
    font-size: 12px;
  }
  .car-image {
    min-height: 270px;
  }
  .buyout-banner {
    padding: 32px;
    grid-template-columns: 1.6fr 1fr;
    margin-bottom: 55px;
  }
  .buyout-banner h2 {
    font-size: 26px;
  }
  .banner-art {
    padding-right: 0;
    gap: 12px;
  }
  .banner-art > svg {
    width: 55px;
  }
  .banner-art > span {
    font-size: 45px;
  }
  .contact-section {
    gap: 30px;
    padding-bottom: 50px;
  }
  .contact-section h2 {
    font-size: 30px;
  }
  .contact-card {
    padding: 23px;
    gap: 17px 13px;
    grid-template-columns: 45px 1fr;
  }
  .contact-monogram {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }
  .contact-card h3 {
    font-size: 20px;
  }
  .contact-card a {
    font-size: 12px;
  }
  .contact-actions .messenger span {
    display: none;
  }
  .footer-top {
    gap: 25px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .staff-inner {
    flex-wrap: wrap;
    gap: 13px;
  }
  .staff-inner > div {
    gap: 16px;
    flex-wrap: wrap;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-summary {
    position: static;
  }
  .detail-grid > aside {
    grid-row: 1;
  }
  .detail-contact > div {
    flex-wrap: nowrap;
  }
  .detail-contact .messenger span {
    display: inline;
  }
  .detail-summary {
    padding: 22px;
  }
  .detail-summary .spec-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .detail-contact {
    margin-bottom: 19px;
  }
  .detail-heading h1 {
    font-size: 32px;
  }
  .detail-price {
    font-size: 35px;
  }
  .detail-summary h3 {
    font-size: 17px;
  }
  .detail-staff {
    flex-direction: row;
  }
  .login-page {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    min-height: 590px;
  }
  .login-intro h1 {
    font-size: 32px;
  }
  .login-form {
    padding: 23px;
  }
  .login-form h2 {
    font-size: 22px;
  }
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .editor-sidebar {
    position: static;
  }
  .editor-heading h1 {
    font-size: 30px;
  }
  .editor-sidebar .panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .editor-sidebar .panel > * {
    flex-basis: 100%;
  }
  .editor-sidebar .panel > .button {
    flex-basis: calc(50% - 5px);
  }
  .editor-sidebar .panel > .text-button {
    flex-basis: calc(50% - 5px);
  }
  .editor-tip {
    max-width: 600px;
  }
  .staff-page h1 {
    font-size: 35px;
  }
}
@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    height: 67px;
  }
  .logo {
    font-size: 25px;
  }
  .header-phone {
    font-size: 12px;
  }
  .header-phone svg {
    display: none;
  }
  .hero-copy {
    padding-top: 32px;
  }
  .hero h1 {
    font-size: 44px;
    line-height: 1.12;
    margin-bottom: 18px;
  }
  .hero h1 br:nth-of-type(1) {
    display: block;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 310px;
    line-height: 1.9;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .button {
    font-size: 12px;
    min-height: 45px;
    padding: 11px 14px;
    gap: 10px;
  }
  .hero-actions .text-link {
    font-size: 12px;
    gap: 4px;
  }
  .hero-actions .text-link svg {
    width: 15px;
  }
  .hero-note {
    margin-top: 20px;
    font-size: 12px;
  }
  .hero-visual {
    height: 270px;
    margin-top: 8px;
  }
  .hero-car {
    width: 460px;
    right: -51px;
    top: -16px;
  }
  .hero-word {
    font-size: 64px;
    top: 40px;
    left: 15px;
  }
  .hero-stripe {
    width: 100px;
    right: 77px;
    top: -273px;
  }
  .hero-outline {
    right: 218px;
    top: -285px;
  }
  .hero-caption {
    padding: 10px 13px;
    bottom: 17px;
    border-radius: 8px;
  }
  .hero-caption strong {
    font-size: 12px;
  }
  .hero-caption small {
    font-size: 12px;
  }
  .hero-caption-icon {
    width: 29px;
    height: 29px;
  }
  .hero-caption-icon svg {
    width: 17px;
  }
  .services {
    gap: 23px 14px;
    padding: 25px 0;
  }
  .service {
    gap: 9px;
  }
  .service-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }
  .service-icon svg {
    width: 18px;
  }
  .service h3 {
    font-size: 12px;
  }
  .service p {
    font-size: 12px;
    line-height: 1.7;
  }
  .catalog-section {
    padding-top: 36px;
    padding-bottom: 30px;
  }
  .section-heading {
    margin-bottom: 23px;
  }
  .section-heading h2 {
    font-size: 25px;
    gap: 10px;
    letter-spacing: -0.02em;
  }
  .section-heading .eyebrow {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .count {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  .filter-panel {
    padding: 16px;
    gap: 13px 12px;
  }
  .filter-panel label > span {
    font-size: 12px;
    margin-bottom: 7px;
  }
  .filter-panel select {
    height: 40px;
    font-size: 12px;
    padding: 0 8px;
  }
  .filter-panel .button {
    font-size: 12px;
    min-height: 40px;
    height: 40px;
    padding: 10px 9px;
    gap: 6px;
  }
  .filter-panel .button svg {
    width: 15px;
  }
  .filter-reset {
    bottom: -24px;
    font-size: 12px;
  }
  .catalog-meta {
    margin-top: 30px;
    gap: 10px;
    font-size: 12px;
  }
  .catalog-meta svg {
    display: none;
  }
  .car-card {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }
  .car-image {
    height: 220px;
    min-height: 0;
  }
  .car-image > img {
    object-fit: cover;
  }
  .car-info {
    padding: 20px;
  }
  .car-title {
    font-size: 25px;
    margin-bottom: 17px;
  }
  .car-specs {
    gap: 20px;
    flex-wrap: wrap;
  }
  .car-specs > div:nth-child(5) {
    display: block;
  }
  .car-specs small {
    font-size: 12px;
  }
  .car-specs strong {
    font-size: 12px;
  }
  .car-description {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 15px;
    min-height: 0;
  }
  .car-card-bottom {
    padding-top: 16px;
    margin-top: 15px;
  }
  .car-price {
    font-size: 25px;
  }
  .detail-link {
    font-size: 12px;
  }
  .car-list {
    gap: 18px;
  }
  .demo-note {
    font-size: 12px;
    line-height: 1.7;
  }
  .buyout-banner {
    padding: 27px 23px;
    grid-template-columns: 1fr;
    margin-top: 10px;
    margin-bottom: 44px;
  }
  .buyout-banner .eyebrow {
    font-size: 12px;
  }
  .buyout-banner h2 {
    font-size: 26px;
  }
  .buyout-banner p {
    font-size: 12px;
    line-height: 1.9;
    max-width: 270px;
  }
  .buyout-banner .button {
    font-size: 12px;
    padding: 11px 13px;
  }
  .banner-art {
    position: absolute;
    right: -25px;
    bottom: -15px;
    opacity: 0.15;
    pointer-events: none;
  }
  .banner-art > span {
    font-size: 95px;
  }
  .banner-art > svg {
    display: none;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-bottom: 42px;
  }
  .contact-section h2 {
    font-size: 32px;
  }
  .contact-section .eyebrow {
    font-size: 12px;
  }
  .contact-section p {
    font-size: 12px;
    margin: 16px 0 23px;
  }
  .contact-actions .button {
    font-size: 12px;
    padding: 12px 15px;
  }
  .contact-actions .messenger span {
    display: block;
  }
  .contact-card {
    padding: 25px;
    grid-template-columns: 52px 1fr;
    gap: 21px 17px;
  }
  .contact-monogram {
    width: 52px;
    height: 52px;
    font-size: 17px;
  }
  .contact-card small {
    font-size: 12px;
  }
  .contact-card h3 {
    font-size: 22px;
  }
  .contact-card a {
    font-size: 13px;
  }
  .contact-info {
    font-size: 12px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 30px 0;
    gap: 25px;
  }
  .footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .footer-top > div:first-child p {
    margin-top: 0;
  }
  .footer .logo {
    font-size: 26px;
  }
  .footer-top .footer-phone {
    font-size: 14px !important;
  }
  .footer-top a:not(.logo) {
    font-size: 12px;
  }
  .footer-top span:not(.eyebrow, .logo-mark, .logo-dot) {
    font-size: 12px;
  }
  .footer-bottom {
    font-size: 12px;
    padding-bottom: 23px;
    gap: 13px;
  }
  .footer-bottom > span:first-child {
    margin-right: auto;
  }
  .staff-inner {
    font-size: 12px;
    padding: 12px 0;
    gap: 15px;
  }
  .staff-identity small {
    font-size: 12px;
  }
  .staff-inner > div {
    gap: 15px;
  }
  .staff-inner button,
  .staff-inner a {
    font-size: 12px;
  }
  .staff-page,
  .settings-page {
    padding-top: 30px;
  }
  .staff-page .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .staff-page h1 {
    font-size: 31px;
  }
  .staff-page .button {
    font-size: 12px;
    min-height: 43px;
    padding: 10px 15px;
  }
  .detail-page {
    padding-top: 24px;
    padding-bottom: 35px;
  }
  .detail-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .detail-heading h1 {
    font-size: 28px;
  }
  .detail-heading .stock-label {
    margin-top: 6px;
    white-space: nowrap;
    font-size: 12px;
  }
  .detail-summary .spec-table {
    display: block;
  }
  .detail-summary {
    padding: 22px;
  }
  .detail-price {
    font-size: 34px;
    margin-bottom: 20px;
  }
  .detail-contact .messenger span {
    display: none;
  }
  .detail-grid {
    gap: 24px;
  }
  .gallery-main img {
    aspect-ratio: 4/3;
  }
  .detail-block h2 {
    font-size: 23px;
  }
  .detail-block p {
    font-size: 12px;
  }
  .mobile-contact-bar {
    position: sticky;
    bottom: 0;
    background: #fffc;
    border-top: 1px solid var(--line);
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
    backdrop-filter: blur(15px);
  }
  .mobile-contact-bar .messenger span {
    display: none;
  }
  .mobile-contact-bar .button {
    font-size: 12px;
    min-height: 42px;
  }
  .mobile-contact-bar .messenger {
    padding: 10px 16px;
  }
  .detail-staff {
    flex-direction: column;
  }
  .login-page {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .login-intro h1 {
    font-size: 31px;
    margin: 14px 0;
  }
  .login-intro p {
    font-size: 12px;
    max-width: 300px;
  }
  .login-form {
    padding: 25px;
  }
  .login-form .form-symbol {
    display: none;
  }
  .editor-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .editor-heading h1 {
    font-size: 29px;
  }
  .editor-page {
    padding-top: 24px;
  }
  .panel {
    padding: 21px;
  }
  .panel h2 {
    font-size: 21px;
  }
  .panel-heading {
    flex-wrap: wrap;
    gap: 9px;
  }
  .characteristic-fields {
    grid-template-columns: 1fr;
  }
  .editor-photos {
    grid-template-columns: 1fr 1fr;
  }
  .upload-area {
    padding: 22px !important;
  }
  .add-characteristic {
    align-items: stretch;
    gap: 9px;
  }
  .add-characteristic .button {
    padding: 10px;
  }
  .add-characteristic .button svg {
    display: none;
  }
  .editor-sidebar .panel > .button {
    flex-basis: 100%;
  }
  .editor-sidebar .panel > .text-button {
    flex-basis: 100%;
  }
  .editor-sidebar .panel {
    gap: 0;
  }
  .settings-page h1 {
    font-size: 30px;
  }
  .tabs {
    gap: 22px;
    margin-top: 22px;
  }
  .tabs button {
    font-size: 12px;
  }
  .form-grid,
  .service-edit {
    grid-template-columns: 1fr;
  }
  .service-edit {
    gap: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 15px;
  }
  .settings-row .button {
    font-size: 12px;
    padding: 9px 10px;
  }
  .subform {
    padding: 17px;
  }
  .settings-row strong {
    font-size: 12px;
  }
  .settings-row small {
    font-size: 12px;
  }
  .settings-page > p {
    font-size: 12px;
  }
  .empty-state {
    padding: 70px 0;
  }
  .empty-state h1 {
    font-size: 27px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .empty-state .button {
    font-size: 12px;
    padding: 13px 18px;
  }
  #lightbox {
    padding: 60px 36px;
  }
  #lightbox img {
    max-height: calc(100dvh - 120px);
  }
  .lightbox-next {
    right: 0;
    width: 33px;
  }
  .lightbox-prev {
    left: 0;
    width: 33px;
  }
  #toast {
    bottom: 18px;
    font-size: 12px;
    width: max-content;
    max-width: calc(100% - 32px);
  }
}
@media (min-width: 801px) {
  .icon-button.menu-toggle {
    display: none;
  }
  .hero-car {
    width: 700px;
    right: -30px;
    top: 130px;
  }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .hero-car {
    width: 600px;
    right: -30px;
    top: 155px;
  }
}
@media (max-width: 520px) {
  .hero-car {
    width: calc(100% + 12px);
    right: -6px;
    top: 12px;
  }
  .hero-visual {
    overflow: hidden;
  }
  .hero-caption {
    bottom: 13px;
  }
}
@media (max-width: 800px) {
  .detail-grid > div {
    display: contents;
  }
  .detail-grid > div > .gallery-main {
    order: 1;
  }
  .detail-grid > div > .gallery-thumbs {
    order: 2;
  }
  .detail-grid > aside {
    grid-row: auto;
    order: 3;
  }
  .detail-grid > div > .detail-block {
    order: 4;
  }
}
@media (max-width: 520px) {
  .mobile-contact-bar {
    position: fixed;
    left: 0;
    width: 100%;
  }
  body:has(.mobile-contact-bar) {
    padding-bottom: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media (min-width: 801px) and (max-width: 1000px) {
  .hero h1 {
    font-size: 48px;
  }
  .hero-copy > p {
    max-width: 255px;
    font-size: 12px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hero-note {
    margin-top: 24px;
  }
  .hero-car {
    width: 520px;
    right: -20px;
    top: 160px;
  }
  .hero-caption {
    right: 0;
    bottom: 35px;
    padding: 12px 15px;
  }
}

/* Readable copy at every viewport, including compact mobile cards. */
.hero-copy > p,
.service p,
.car-description,
.buyout-banner p,
.contact-section p,
.detail-block p,
.detail-contact > span,
.login-intro p,
.panel > p,
.muted,
.editor-sidebar p,
.editor-tip p,
.footer-top p {
  font-size: 14px;
  line-height: 1.7;
}
.car-specs strong {
  font-size: 14px;
}
.car-description {
  min-height: 48px;
}
.car-brand {
  text-transform: none;
  letter-spacing: normal;
}
.lucide-icon {
  stroke-width: 2;
}
.icon-button .lucide-icon {
  width: 20px;
  height: 20px;
}
.photo-controls .lucide-icon,
.photo-main .lucide-icon,
.remove-characteristic .lucide-icon {
  width: 16px;
  height: 16px;
}
.footer-top a [data-icon] {
  display: inline-flex;
  margin-left: 5px;
}
.footer-top a .lucide-icon {
  width: 16px;
  height: 16px;
}

/* Complete generated hero scene with live, accessible text and controls. */
.hero--scene {
  background: #fff;
  isolation: isolate;
}
.hero-media-frame {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media {
  position: absolute;
  right: 0;
  top: 0;
  width: 56%;
  height: 100%;
  overflow: hidden;
}
.hero-scene {
  position: absolute;
  left: -55%;
  top: 50%;
  width: 155%;
  max-width: none;
  height: auto;
  transform: translateY(-60%);
}
.hero--scene .hero-inner {
  display: flex;
  min-height: 540px;
  align-items: center;
}
.hero--scene .hero-copy {
  width: 46%;
  padding: 62px 0 80px;
}
.hero--scene h1 {
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero--scene h1 br {
  display: block;
}
.hero--scene .hero-subtitle {
  color: var(--green);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  max-width: none;
  margin-bottom: 22px;
}
.hero--scene .hero-copy > p:not(.hero-subtitle) {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.7;
}
.hero--scene .hero-actions {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.hero--scene .hero-actions .button {
  min-height: 46px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .hero--scene .hero-inner {
    min-height: 500px;
  }
  .hero--scene .hero-actions {
    gap: 10px;
  }
  .hero--scene .hero-actions .button {
    padding: 12px 14px;
  }
  .hero--scene .hero-copy > p:not(.hero-subtitle) {
    max-width: 300px;
  }
}
@media (max-width: 700px) {
  .hero--scene .hero-inner {
    display: block;
    min-height: 660px;
    padding-bottom: 285px;
  }
  .hero--scene .hero-copy {
    width: 100%;
    padding: 32px 0 0;
  }
  .hero--scene h1 {
    font-size: 36px;
    max-width: 440px;
    margin-bottom: 14px;
  }
  .hero--scene .hero-subtitle {
    font-size: 19px;
    margin-bottom: 18px;
  }
  .hero--scene .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }
  .hero--scene .hero-actions .button {
    padding: 11px 14px;
    flex: 1;
  }
  .hero-media-frame {
    top: auto;
    bottom: 0;
    height: 300px;
    width: 100%;
  }
  .hero-media {
    width: 100%;
  }
  .hero-scene {
    width: 135%;
    left: -30%;
  }
}
@media (max-width: 360px) {
  .hero--scene h1 {
    font-size: 32px;
  }
  .hero--scene .hero-actions .button {
    padding-inline: 9px;
  }
}

/* Catalog labels and values keep the same readable size on every screen. */
.filter-panel label > span,
.filter-panel select,
.filter-panel option,
.car-specs small,
.car-specs strong,
.spec-table > div {
  font-size: 14px;
}

/* Native arrows ignore padding; a shared Lucide arrow keeps field insets equal. */
select,
.filter-panel select,
.panel select {
  --field-inset: 14px;
  appearance: none;
  -webkit-appearance: none;
  padding-left: var(--field-inset);
  padding-right: calc(var(--field-inset) + 16px + 12px);
  background-image: url("./static_icons_chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right var(--field-inset) center;
  background-size: 16px 16px;
}
select[multiple] {
  background-image: none;
  padding-right: var(--field-inset);
}

/* Compact listing: title, price, specification line, description, details. */
.car-card {
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
}
.car-info {
  padding: 22px 24px;
  min-width: 0;
}
.car-description,
.detail-link {
  font-size: 14px;
}
.car-price,
.detail-link {
  font-weight: 600;
}
.car-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.car-price {
  font-size: 20px;
  display: block;
  line-height: 1.5;
  margin-bottom: 10px;
}
.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 14px;
}
.car-specs > div:nth-child(5) {
  display: block;
}
.car-specs small,
.car-specs strong {
  font-size: 14px;
  font-weight: 400;
}
.car-description {
  font-weight: 400;
  line-height: 1.6;
  color: #68756c;
  margin: 0;
  min-height: 0;
  -webkit-line-clamp: 3;
}
.car-card-bottom {
  border-top: 0;
  padding-top: 0;
  margin-top: 12px;
  justify-content: flex-start;
}
.detail-link {
  gap: 8px;
  font-weight: 500;
}
@media (max-width: 520px) {
  .car-card {
    grid-template-columns: 1fr;
  }
  .car-info {
    padding: 18px;
  }
}
@media (forced-colors: active) {
  select,
  .filter-panel select,
  .panel select {
    appearance: auto;
    background-image: none;
  }
}

.budget-filter {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.budget-filter legend {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #68756c;
  margin-bottom: 9px;
  padding: 0;
}
.budget-fields {
  display: flex;
  gap: 8px;
}
.budget-fields label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 50%;
  height: 43px;
  padding: 0 10px;
  border: 1px solid #dfe5de;
  border-radius: 6px;
  background: white;
}
.budget-fields label > span {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  color: var(--muted);
}
.budget-fields input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  appearance: textfield;
}
.budget-fields input::-webkit-inner-spin-button,
.budget-fields input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.budget-slider {
  position: relative;
  height: 28px;
  margin: 6px 10px 0;
  --budget-from: 0%;
  --budget-to: 100%;
}
.budget-track {
  position: absolute;
  inset: 12px 0 auto;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    #dce4dd var(--budget-from),
    var(--green) var(--budget-from),
    var(--green) var(--budget-to),
    #dce4dd var(--budget-to)
  );
}
.budget-slider input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  appearance: none;
  pointer-events: none;
}
.budget-slider input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}
.budget-slider input::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  height: 18px;
  width: 18px;
  margin-top: -7px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: white;
  cursor: grab;
}
.budget-slider input::-moz-range-track {
  height: 4px;
  background: transparent;
}
.budget-slider input::-moz-range-thumb {
  pointer-events: auto;
  height: 14px;
  width: 14px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: white;
  cursor: grab;
}
.budget-slider input:focus-visible {
  outline: 0;
}
.budget-slider input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px #9dd2b2;
}
.budget-slider input:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px #9dd2b2;
}
.filter-panel {
  align-items: start;
  grid-template-columns: 1fr 1fr minmax(280px, 1.35fr) auto;
}
.filter-panel > .button {
  align-self: start;
  margin-top: 29px;
  height: 43px;
  min-height: 43px;
}
.filter-panel > label > span {
  line-height: 20px;
  margin-bottom: 9px;
}
.filter-panel select {
  height: 43px;
}
@media (max-width: 1000px) {
  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .budget-filter {
    grid-column: 1 / -1;
  }
  .filter-panel > .button {
    grid-column: 1 / -1;
    margin-top: 0;
    width: 100%;
  }
}
