:root {
  color-scheme: dark;
  --bg: #0b0e11;
  --panel: #12171d;
  --panel-2: #181f27;
  --text: #f5f7fa;
  --muted: #a0adbd;
  --accent: #d9ff38;
  --border: #252d36;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }

.top {
  min-height: 72px;
  padding: 17px max(28px, calc((100% - var(--max))/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(11,14,17,.96);
}
.brand {
  flex-shrink: 0;
  font-weight: 900;
  letter-spacing: .045em;
  font-size: 19px;
}
.brand span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .035em;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav > a { color: #c0c9d4; font-size: 13px; transition: color .2s; }
.nav > a:hover, .text-link:hover { color: var(--accent); }
.nav .contact-link {
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 28px;
  padding: 9px 17px;
  margin-left: 10px;
  font-weight: 750;
}
.contact-link span { margin-left: 8px; }

main { max-width: var(--max); margin: 0 auto; padding: 0 24px 65px; }
.hero {
  min-height: 535px;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  isolation: isolate;
  padding: 45px 24px 42px;
}
.hero-copy { position: relative; z-index: 2; max-width: 690px; }
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  margin: 0 0 15px;
}
h1 {
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.03;
  letter-spacing: -.045em;
  margin: 0 0 20px;
  font-weight: 850;
}
h1 span { display: block; }
.hero-description {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 26px;
}
.hero-points { display: flex; gap: 0; margin: 0 0 27px; }
.hero-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-right: 1px solid #39414a;
  color: #c8d0db;
  font-size: 13px;
  line-height: 1.45;
}
.hero-point:first-child { padding-left: 0; }
.hero-point:last-child { border-right: 0; }
.point-icon { color: var(--accent); font-size: 28px; line-height: 1; }

.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0 -24px 0 33%;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11,14,17,.75) 9%, rgba(11,14,17,.08) 47%, rgba(11,14,17,.08) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%, rgba(11,14,17,.1) 100%),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1800&q=85") center 55% / cover no-repeat;
}
.visual-tag {
  position: absolute;
  top: 35px;
  right: 35px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(17,21,27,.8);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  padding: 13px 16px;
  backdrop-filter: blur(12px);
}
.tag-dot, .status-dot {
  width: 8px; height: 8px; flex: 0 0 8px;
  border-radius: 50%; background: var(--accent);
}
.visual-tag strong { display: block; font-size: 13px; }
.visual-tag small { display: block; color: var(--muted); font-size: 11px; }
.visual-caption {
  position: absolute; bottom: 28px; right: 28px;
  display: flex; gap: 22px; color: #c2ccd7; font-size: 10px; letter-spacing: .09em;
}
.hero-bottom-line { position: absolute; bottom: 0; left: 24px; right: 24px; height: 1px; background: var(--border); }

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 49px;
  padding: 0 20px;
  background: var(--accent);
  color: #14190c;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 850;
  transition: transform .2s, filter .2s;
}
.hero-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
.hero-cta span { font-size: 19px; }

.filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  max-width: 730px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(16,21,27,.94);
}
.filters label { display: grid; gap: 6px; flex: 1; min-width: 125px; }
.filters label > span { color: var(--muted); font-size: 11px; }
.filters select {
  width: 100%; min-width: 0; height: 42px;
  padding: 0 10px; color: var(--text);
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 7px;
}
.filters button {
  height: 42px; padding: 0 15px;
  border: 0; border-radius: 7px; background: var(--accent);
  color: #14190c; font-weight: 850; cursor: pointer;
}
.filters button span { margin-left: 8px; font-size: 18px; }

.advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 15px;
  background: linear-gradient(125deg, #10151a, #0d1115);
  padding: 26px 8px;
}
.advantage { padding: 0 25px; border-right: 1px solid var(--border); }
.advantage:last-child { border-right: 0; }
.adv-icon { display: block; color: var(--accent); font-size: 29px; margin-bottom: 8px; }
.advantage h3 { font-size: 15px; margin: 0 0 5px; }
.advantage p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }

.catalog-section { padding: 58px 0 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 15px; }
.section-heading .eyebrow { margin-bottom: 7px; }
h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.025em; margin: 0; }
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  color: #c8d0dc; background: #171d23; border: 1px solid var(--border);
  border-radius: 25px; padding: 8px 13px; font-size: 12px; white-space: nowrap;
}
.status-dot { width: 7px; height: 7px; flex-basis: 7px; }
.catalog-intro { color: var(--muted); margin: 10px 0 24px; }

.launch-panel {
  min-height: 205px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: radial-gradient(ellipse at 100% 50%, #202a32 0%, #151b21 42%, #11161b 100%);
}
.launch-symbol {
  flex: 0 0 58px; height: 58px; display: grid; place-items: center;
  border: 1px solid #3c4a30; border-radius: 13px; color: var(--accent); font-size: 29px;
  background: rgba(217,255,56,.04);
}
.launch-copy { position: relative; z-index: 1; max-width: 560px; }
.launch-copy h3 { margin: 0 0 8px; font-size: 22px; }
.launch-copy p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.text-link { color: var(--accent); font-size: 13px; font-weight: 750; }
.text-link span { margin-left: 7px; font-size: 17px; }
.launch-decoration {
  position: absolute; right: -12px; bottom: -45px;
  color: rgba(255,255,255,.025); font-size: clamp(75px, 15vw, 190px);
  font-weight: 950; letter-spacing: -.08em; line-height: 1;
  pointer-events: none;
}

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.no-photo { aspect-ratio: 16/10; display: grid; place-items: center; color: var(--muted); }
.card-body { padding: 18px; }
.card h3 { font-size: 19px; margin: 0 0 13px; }
.specs { display: flex; flex-wrap: wrap; gap: 7px; }
.specs span { background: #252c36; padding: 5px 8px; border-radius: 6px; font-size: 12px; }
.price { font-size: 19px; font-weight: 800; }
.disclaimer { color: var(--muted); font-size: 12px; }
.empty { color: var(--muted); }

.about-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 45px;
  align-items: center; padding: 55px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.about-section .eyebrow { margin-bottom: 10px; }
.about-section h2 span { color: var(--muted); }
.about-section > p { max-width: 530px; color: var(--muted); margin: 0; }

.contact-panel {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: 35px 0 15px;
}
.contact-panel .eyebrow { margin-bottom: 8px; }
.contact-panel h2 { font-size: clamp(25px, 3vw, 34px); }
.contact-panel p:last-child { color: var(--muted); font-size: 14px; margin-bottom: 0; }

.footer {
  border-top: 1px solid var(--border);
  padding: 27px max(24px, calc((100% - var(--max))/2));
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px;
}
.footer .brand { font-size: 16px; }
.footer .brand span { font-size: 10px; }
.footer > p { color: var(--muted); font-size: 12px; margin: 0; }
.footer .footer-note { width: 100%; padding-top: 12px; border-top: 1px solid var(--border); font-size: 11px; }

@media (min-width: 1500px) {
  .hero { min-height: 560px; }
}
@media (max-width: 1050px) {
  .top { padding-left: 24px; padding-right: 24px; }
  .nav { gap: 14px; }
  .nav > a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; min-height: 540px; }
  .hero-copy { max-width: 650px; }
  .hero-visual { left: 22%; opacity: .75; }
  .hero-copy { text-shadow: 0 1px 15px rgba(0,0,0,.25); }
  .advantages { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 25px; }
  .advantage:nth-child(2) { border-right: 0; }
  .advantage:nth-child(3), .advantage:nth-child(4) { padding-top: 20px; border-top: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .top { align-items: flex-start; flex-direction: column; gap: 13px; padding: 17px 18px; }
  .brand { font-size: 17px; }
  .brand span { font-size: 10px; }
  .nav { width: 100%; flex-wrap: wrap; gap: 10px 17px; }
  .nav > a { font-size: 12px; }
  .nav .contact-link { margin-left: 0; padding: 6px 12px; }
  main { padding: 0 16px 42px; }
  .hero { min-height: auto; padding: 52px 2px 25px; display: block; }
  .hero-visual { inset: 0 -16px 0 0; opacity: .38; background-position: 58% center; }
  .hero-copy { max-width: 100%; }
  h1 { font-size: clamp(39px, 10vw, 58px); }
  .hero-description { font-size: 16px; max-width: 430px; }
  .hero-points { gap: 0; margin-top: 25px; }
  .hero-point { padding: 0 10px; gap: 7px; font-size: 11px; }
  .hero-point:first-child { padding-left: 0; }
  .point-icon { font-size: 23px; }
  .visual-tag { top: auto; bottom: 20px; right: 12px; padding: 9px 12px; }
  .visual-caption { display: none; }
  .hero-bottom-line { left: 0; right: 0; }
  .filters { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .filters label { min-width: 0; }
  .filters button { width: 100%; }
  .hero-cta { margin-top: 4px; }
  .advantages { grid-template-columns: 1fr; padding: 8px 18px; }
  .advantage, .advantage:nth-child(2), .advantage:nth-child(3), .advantage:nth-child(4) {
    padding: 18px 0; border-right: 0; border-top: 1px solid var(--border);
  }
  .advantage:first-child { border-top: 0; }
  .adv-icon { margin-bottom: 2px; }
  .catalog-section { padding-top: 42px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .launch-panel { padding: 22px; align-items: flex-start; gap: 15px; }
  .launch-symbol { flex-basis: 42px; height: 42px; }
  .launch-copy h3 { font-size: 19px; }
  .launch-decoration { font-size: 90px; bottom: -18px; }
  .grid { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; gap: 17px; padding: 38px 0; }
  .contact-panel { align-items: flex-start; flex-direction: column; gap: 15px; padding-top: 28px; }
  .lead-dialog { width: calc(100% - 20px); max-height: 90dvh; padding: 20px 17px; border-radius: 12px; margin: auto; }
  .footer { padding: 24px 18px; align-items: flex-start; flex-direction: column; }
  .footer .footer-note { line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Карточки каталога — компактная сетка */
.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 13px;
  background: #11161b;
  transition: border-color .2s, transform .2s;
}

.card:hover {
  border-color: #48533a;
  transform: translateY(-3px);
}

.card > img,
.card > .no-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #171d23;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 19px;
}

.card h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.025em;
  margin: 0 0 16px;
}

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

.specs span {
  display: block;
  padding: 8px 10px;
  border: 1px solid #252d36;
  border-radius: 7px;
  background: #191f26;
  color: #cbd4df;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-trim { margin: 10px 0 0; color: #cbd4df; font-size: 12px; line-height: 1.5; }
.card-trim span { display: block; margin-bottom: 3px; color: #87939f; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }

.listing-code {
  margin: 10px 0 0;
  color: #8995a4;
  font-size: 12px;
}

.listing-code strong {
  color: #cbd4df;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.manager-page {
  max-width: 760px;
  min-height: 75vh;
  margin: 0 auto;
  padding: 56px 20px;
}

.manager-panel {
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #11161b;
}

.manager-panel h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 40px);
}

.manager-intro, .manager-result > p {
  color: #9ba7b5;
  line-height: 1.6;
}

.manager-search { margin-top: 24px; }
.manager-search label { display: block; margin-bottom: 8px; color: #cbd4df; font-size: 13px; }
.manager-search-row { display: flex; gap: 10px; }
.manager-search-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #343d47;
  border-radius: 7px;
  background: #0b0e11;
  color: #f2f5f8;
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.manager-search-row button {
  padding: 12px 18px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #11161b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.manager-message { color: #f0b36b; }
.manager-result { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.manager-result h2 { margin: 0; font-size: 21px; }
.manager-source-link { color: var(--accent); font-weight: 700; overflow-wrap: anywhere; }
.manager-url { overflow-wrap: anywhere; font-size: 13px; }
.manager-settings { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); }
.manager-settings h2 { margin: 0 0 8px; font-size: 20px; }
.manager-settings .manager-intro { margin: 0 0 16px; }
.manager-settings .manager-intro strong { color: var(--accent); }
.manager-api-key-form { margin-top: 18px; }
.manager-api-key-form label { display: block; margin-bottom: 8px; color: #cbd4df; font-size: 13px; }
.manager-key-status { color: var(--accent); font-size: 13px; }
.manager-photo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.manager-photo-actions form { margin: 0; }
.manager-photo-tools button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(215,243,106,.38);
  border-radius: 7px;
  background: rgba(215,243,106,.1);
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.manager-photo-tools button:hover:not(:disabled) { background: rgba(215,243,106,.18); }
.manager-photo-tools button:disabled { cursor: wait; opacity: .65; }
.manager-photo-tools .manager-photo-retry { border-color: rgba(157,174,190,.32); background: rgba(157,174,190,.07); color: #cbd4df; }
.manager-photo-tools .manager-photo-retry:hover:not(:disabled) { background: rgba(157,174,190,.14); }
.manager-photo-status { margin: 16px 0 8px; color: #dce3eb; line-height: 1.5; }
.manager-photo-stage { margin: 8px 0; color: #dce3eb; font-size: 13px; font-weight: 700; }
.manager-photo-progress-row { display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: center; gap: 12px; }
.manager-photo-percent { color: #dce3eb; font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.manager-photo-progress { display: block; width: 100%; height: 10px; overflow: hidden; border: 0; border-radius: 8px; background: #252d35; accent-color: var(--accent); }
.manager-photo-progress::-webkit-progress-bar { border-radius: 8px; background: #252d35; }
.manager-photo-progress::-webkit-progress-value { border-radius: 8px; background: var(--accent); }
.manager-photo-progress::-moz-progress-bar { border-radius: 8px; background: var(--accent); }
.manager-photo-counts, .manager-photo-backup { margin: 8px 0 0; color: #9ba7b5; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.manager-photo-errors { margin: 6px 0 0; color: #eab879; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.manager-back-link { display: inline-flex; align-items: center; min-height: 42px; margin-top: 8px; padding: 0 14px; border: 1px solid rgba(215,243,106,.32); border-radius: 8px; background: rgba(215,243,106,.06); color: var(--accent); font-size: 13px; font-weight: 700; transition: background .18s, border-color .18s; }
.manager-back-link:hover { border-color: rgba(215,243,106,.58); background: rgba(215,243,106,.12); }
.manager-back-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.card-contact-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.contact-open-button { border: 0; cursor: pointer; font: inherit; }
.lead-dialog {
  width: min(520px, calc(100% - 28px)); max-width: 520px; max-height: min(88dvh, 760px);
  box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain;
  padding: 25px; border: 1px solid #343d47; border-radius: 14px;
  background: #11161b; color: #f2f5f8; box-shadow: 0 24px 80px #000a;
}
.lead-dialog::backdrop { background: #05080bd9; backdrop-filter: blur(3px); }
.lead-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.lead-dialog-head .eyebrow { margin: 0 0 7px; }
.lead-dialog-head h2 { margin: 0; font-size: clamp(22px, 5vw, 28px); }
.lead-dialog-close { flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid #343d47; border-radius: 50%; background: transparent; color: #f2f5f8; font-size: 25px; cursor: pointer; }
.lead-dialog .lead-form { margin-top: 16px; }
.lead-dialog .lead-form button { justify-self: stretch; }
.lead-dialog-car { margin: 8px 0 0; color: var(--accent); font-size: 13px; }
.lead-form { display: grid; gap: 12px; margin-top: 12px; }
.lead-form > label:not(.lead-consent) { display: grid; gap: 6px; color: #cbd4df; font-size: 12px; }
.lead-form input:not([type="checkbox"]), .lead-form textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #343d47;
  border-radius: 7px;
  background: #0b0e11;
  color: #f2f5f8;
  font: inherit;
}
.lead-form textarea { resize: vertical; }
.lead-consent { display: flex; align-items: flex-start; gap: 9px; color: #9ba7b5; font-size: 11px; line-height: 1.5; }
.lead-consent input { flex: 0 0 auto; margin-top: 2px; }
.lead-consent a, .manager-intro a { color: var(--accent); }
.lead-form button {
  justify-self: start;
  padding: 12px 18px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #11161b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lead-feedback { color: #f0b36b; font-size: 13px; }
.lead-feedback.success { color: var(--accent); }
.lead-form-note { color: #9ba7b5; font-size: 13px; }
.lead-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.lead-inbox { display: grid; gap: 14px; margin-top: 22px; }
.lead-inbox-item { padding: 17px; border: 1px solid #303943; border-radius: 9px; background: #0b0e11; }
.lead-inbox-heading { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; }
.lead-inbox-heading h2 { margin: 0; font-size: 18px; }
.lead-inbox-heading time { color: #8995a4; font-size: 11px; }
.lead-inbox-item p { margin: 9px 0 0; color: #cbd4df; font-size: 13px; overflow-wrap: anywhere; }
.lead-inbox-item a { color: var(--accent); }
.lead-inbox-message { white-space: pre-wrap; }
.privacy-page h2 { margin: 24px 0 6px; font-size: 19px; }
.privacy-page p { color: #cbd4df; line-height: 1.65; }
.privacy-page a { color: var(--accent); }

@media (max-width: 520px) {
  .manager-page { padding: 24px 4px; }
  .manager-search-row { flex-direction: column; }
  .manager-search-row button { width: 100%; }
  .lead-inbox-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .lead-form button { width: 100%; }
}

.price-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 20px;
}

.price-label {
  color: #8995a4;
  font-size: 12px;
}

.card .price {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 750;
  color: var(--accent);
}

.price-breakdown {
  margin-top: 12px;
  min-width: 0;
  border-top: 1px solid #252d36;
  color: #cbd4df;
}

.price-breakdown summary {
  width: fit-content;
  padding: 12px 0 4px;
  color: #d9e2ec;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.price-breakdown summary:hover { color: var(--accent); }
.price-breakdown summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.price-breakdown-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}

.price-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
}

.price-breakdown-row dt { color: #9ba7b5; overflow-wrap: anywhere; }
.price-breakdown-row dd { flex: 0 0 auto; margin: 0; color: #e7edf4; text-align: right; white-space: nowrap; }
.price-breakdown-total { padding-top: 9px; border-top: 1px solid #303943; font-weight: 750; }
.price-breakdown-total dt, .price-breakdown-total dd { color: var(--accent); }
.price-breakdown-note { margin: 12px 0 0; color: #8995a4; font-size: 11px; line-height: 1.5; }

.catalog-disclaimer {
  max-width: 850px;
  margin: 18px 0 0;
  color: #8995a4;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card-body { padding: 16px; }
  .card h3 { font-size: 19px; }
  .price-breakdown-row { gap: 8px; font-size: 11px; }
}

.photo-viewer{display:none;position:fixed;inset:0;z-index:99999;align-items:center;justify-content:center;background:rgba(0,0,0,.94);padding:60px 76px;box-sizing:border-box}
.photo-viewer.is-open{display:flex}
.photo-viewer-image{display:block;max-width:100%;max-height:calc(100vh - 120px);width:auto;height:auto;object-fit:contain;border-radius:4px;user-select:none;-webkit-user-drag:none}
.photo-viewer button{position:absolute;display:flex;align-items:center;justify-content:center;border:0;color:#fff;background:rgba(255,255,255,.14);cursor:pointer}
.photo-viewer button:hover{background:rgba(255,255,255,.28)}
.photo-viewer-close{top:18px;right:22px;width:48px;height:48px;border-radius:50%;font-size:36px;line-height:1}
.photo-viewer-prev,.photo-viewer-next{top:50%;transform:translateY(-50%);width:52px;height:72px;border-radius:10px;font-size:54px;line-height:1}
.photo-viewer-prev{left:14px}
.photo-viewer-next{right:14px}
.photo-viewer-counter{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);color:#fff;font-size:15px;font-weight:500}
@media(max-width:600px){.photo-viewer{padding:60px 44px}.photo-viewer-image{max-height:calc(100dvh - 140px)}.photo-viewer-prev,.photo-viewer-next{width:38px;height:58px;font-size:42px}.photo-viewer-prev{left:3px}.photo-viewer-next{right:3px}.photo-viewer-close{top:10px;right:10px;width:42px;height:42px}}


/* Compact, easier to scan catalog filters */
.filters.filters-advanced {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  max-width: 650px;
  gap: 12px;
  padding: 18px;
}
.filters.filters-advanced > label { min-width: 0; }
.filters.filters-advanced > label:nth-child(-n+2) > span {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.filters.filters-advanced select,
.filters.filters-advanced input { height: 46px; }
.filter-more { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 10px; }
.filter-more summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.filter-more summary span { float: right; }
.filter-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 14px; }
.filter-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.filter-actions a { color: var(--muted); font-size: 13px; }
@media (max-width: 720px) {
  .filters.filters-advanced { grid-template-columns: 1fr 1fr; max-width: none; }
  .filter-more-grid { grid-template-columns: 1fr 1fr; }
  .filter-actions { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
}
@media (max-width: 420px) {
  .filters.filters-advanced, .filter-more-grid { grid-template-columns: 1fr; }
}

/* Catalog search: clear primary controls with optional specification filters. */
.catalog-filters {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 18px !important;
  max-width: none !important;
  margin: 18px 0 30px;
  padding: 23px !important;
  border-color: #303a44;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #151b21 0%, #10151a 100%);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .17);
}
.filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.filter-heading > div { display: grid; gap: 3px; }
.filter-kicker { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.filter-heading strong { font-size: 16px; letter-spacing: -.015em; }
.filter-results { flex: 0 0 auto; padding: 7px 11px; border: 1px solid #323c46; border-radius: 999px; color: #d9ff38; background: #1a2228; font-size: 12px; font-weight: 750; }
.filter-main-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1.1fr; align-items: end; gap: 12px; }
.catalog-filters .filter-main-grid > label,
.catalog-filters .filter-more-grid > label { display: grid; gap: 7px; min-width: 0; }
.catalog-filters .filter-main-grid > label > span,
.catalog-filters .filter-more-grid > label > span,
.filter-price-range legend { color: #c2ccd7; font-size: 12px; font-weight: 650; }
.catalog-filters select,
.catalog-filters input { width: 100%; height: 47px; min-width: 0; padding: 0 13px; border: 1px solid #303a44; border-radius: 9px; outline: none; background: #0e1318; color: var(--text); font: inherit; font-size: 14px; transition: border-color .18s, box-shadow .18s, background .18s; }
.catalog-filters select:focus,
.catalog-filters input:focus { border-color: var(--accent); background: #11181d; box-shadow: 0 0 0 3px rgba(217, 255, 56, .1); }
.catalog-filters select:disabled { opacity: .5; cursor: not-allowed; }
.filter-price-range { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-price-range legend { margin-bottom: 7px; }
.filter-price-range > div { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.filter-price-range label { min-width: 0; }
.filter-price-range input::placeholder,
.catalog-filters input::placeholder { color: #738092; }
.range-separator { color: #778392; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.catalog-filters .filter-more { border-top: 1px solid #29323b; padding-top: 15px; }
.catalog-filters .filter-more summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; color: #dce3ec; cursor: pointer; font-size: 13px; font-weight: 700; }
.catalog-filters .filter-more summary::-webkit-details-marker { display: none; }
.filter-more-action { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 550; }
.filter-more-action b { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid #37414a; border-radius: 50%; color: var(--accent); font-size: 16px; font-weight: 500; transition: transform .18s; }
.filter-more[open] .filter-more-action b { transform: rotate(45deg); }
.catalog-filters .filter-more-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 16px; }
.catalog-filters .filter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.catalog-filters .filter-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; padding: 0 19px; border-radius: 9px; background: var(--accent); color: #14190c; font-size: 14px; font-weight: 850; transition: transform .18s, filter .18s; }
.catalog-filters .filter-actions button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.catalog-filters .filter-actions button span { margin: 0; font-size: 19px; }
.catalog-filters .filter-actions a { color: #c3ccd6; font-size: 13px; text-decoration: underline; text-decoration-color: #56616c; text-underline-offset: 3px; }
.catalog-filters .filter-actions a:hover { color: var(--accent); }
.filter-actions-hint { margin-left: auto; color: #8693a1; font-size: 11px; }
.catalog-intro { margin-bottom: 14px; }

.top { flex-wrap: wrap; gap: 9px 28px; }
.header-rates { order: 3; flex: 1 0 100%; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px 20px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .07); color: #d3dbe4; font-size: 12px; line-height: 1.4; }
.rates-caption { display: inline-flex; align-items: center; gap: 8px; margin-right: 3px; color: #9aa7b5; font-size: 11px; font-weight: 650; }
.rates-caption i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(217, 255, 56, .45); }
.rate-item { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rate-item b { margin-right: 4px; color: var(--accent); font-size: 10px; letter-spacing: .04em; }
.rates-updated { margin-left: 2px; color: #778492; font-size: 10px; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .filter-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-filters .filter-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-actions-hint { flex-basis: 100%; margin-left: 0; }
}
@media (max-width: 600px) {
  .catalog-filters { gap: 15px !important; margin: 15px 0 24px; padding: 17px !important; }
  .filter-heading { align-items: flex-start; }
  .filter-heading strong { font-size: 14px; }
  .filter-results { padding: 6px 9px; font-size: 11px; }
  .filter-main-grid,
  .catalog-filters .filter-more-grid { grid-template-columns: 1fr; }
  .filter-actions { align-items: stretch !important; text-align: center; gap: 12px !important; }
  .catalog-filters .filter-actions button { width: 100%; }
  .filter-actions-hint { display: none; }
}

@media (max-width: 720px) {
  .header-rates { order: 2; justify-content: flex-start; gap: 8px 14px; padding-top: 11px; }
  .nav { order: 3; }
  .rates-caption { flex-basis: 100%; }
  .rates-updated { margin-left: 0; }
}
@media (max-width: 420px) {
  .header-rates { column-gap: 12px; }
  .rates-updated { flex-basis: 100%; }
}

/* SKYNET catalog refresh: premium automotive surfaces, clearer hierarchy,
   and larger, more forgiving touch targets. */
:root {
  --bg: #090c0f;
  --panel: #11171c;
  --panel-2: #192127;
  --text: #f4f6f3;
  --muted: #a1adb4;
  --accent: #d7f36a;
  --border: #273139;
  --max: 1480px;
}

body {
  background:
    radial-gradient(ellipse at 83% 8%, rgba(112, 137, 67, .09), transparent 32rem),
    var(--bg);
  letter-spacing: -.008em;
}

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  padding-top: 13px;
  padding-bottom: 13px;
  border-bottom-color: rgba(255,255,255,.09);
  background: rgba(9,12,15,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand { font-size: 21px; letter-spacing: .08em; }
.brand span { margin-left: 7px; letter-spacing: .08em; }
.nav { gap: clamp(12px, 1.7vw, 25px); }
.nav > a { color: #d0d7d9; font-size: 13px; }
.nav > a:hover { color: var(--accent); }
.nav .contact-link {
  padding: 10px 17px;
  border-color: rgba(215,243,106,.55);
  color: var(--accent);
  transition: background .2s, color .2s, transform .2s;
}
.nav .contact-link:hover { background: var(--accent); color: #11160c; transform: translateY(-1px); }
.header-rates { color: #e1e6e4; }

main { padding-bottom: 82px; }
.hero {
  min-height: min(680px, 70vw);
  padding: 68px 32px 60px;
}
.hero-copy { max-width: 650px; }
.hero .eyebrow { margin-bottom: 20px; color: var(--accent); }
h1 {
  max-width: 650px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .99;
  letter-spacing: -.065em;
}
h1 span { color: var(--accent); }
.hero-description { max-width: 475px; color: #c0c9ca; font-size: 18px; }
.hero-visual {
  inset: 0 -24px 0 24%;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(9,12,15,.88) 9%, rgba(9,12,15,.2) 51%, rgba(9,12,15,.02) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%, rgba(9,12,15,.12) 100%),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=2000&q=88") center 58% / cover no-repeat;
}
.visual-tag { border-radius: 12px; border-color: rgba(255,255,255,.18); background: rgba(12,17,19,.62); }
.hero-points { margin: 32px 0 30px; }
.hero-point { color: #e0e5e2; font-size: 13px; }
.point-icon { color: var(--accent); }
.hero-cta {
  min-height: 54px;
  padding: 0 23px;
  border-radius: 10px;
  background: var(--accent);
  box-shadow: 0 8px 28px rgba(215,243,106,.13);
  color: #11160c;
}
.hero-cta:focus-visible, .filter-actions button:focus-visible,
.contact-open-button:focus-visible, .card-contact-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.hero-bottom-line { left: 32px; right: 32px; background: rgba(255,255,255,.1); }

.advantages {
  overflow: hidden;
  padding: 28px 8px;
  border-color: rgba(255,255,255,.1);
  border-radius: 18px;
  background: linear-gradient(115deg, rgba(23,31,34,.95), rgba(14,19,22,.95));
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}
.advantage { padding: 0 28px; }
.adv-icon { color: var(--accent); }
.advantage h3 { font-size: 15px; letter-spacing: -.02em; }
.advantage p { max-width: 255px; color: #aab5b8; }

.catalog-section { padding-top: 78px; }
.section-heading { margin-bottom: 10px; }
.section-heading .eyebrow { font-size: 11px; }
h2 { letter-spacing: -.045em; }
.catalog-intro { margin: 12px 0 21px; color: #aab5b8; }
.catalog-filters {
  position: relative;
  gap: 20px !important;
  margin: 0 0 30px;
  padding: 24px !important;
  border-color: rgba(255,255,255,.11);
  border-radius: 17px !important;
  background: linear-gradient(135deg, rgba(22,30,34,.97), rgba(15,20,23,.97));
  box-shadow: 0 18px 48px rgba(0,0,0,.2);
}
.filter-heading strong { font-size: 17px; }
.filter-results { border-color: rgba(215,243,106,.25); background: rgba(215,243,106,.08); color: var(--accent); }
.catalog-filters select, .catalog-filters input {
  height: 50px;
  border-color: #354149;
  border-radius: 10px;
  background: #0d1215;
}
.catalog-filters select:hover, .catalog-filters input:hover { border-color: #657270; }
.catalog-filters select:focus, .catalog-filters input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(215,243,106,.12); }
.catalog-filters .filter-more { border-color: rgba(255,255,255,.1); }
.catalog-filters .filter-more summary { min-height: 38px; }
.filter-more-action b { border-color: rgba(215,243,106,.3); color: var(--accent); }
.catalog-filters .filter-actions button { min-height: 50px; border-radius: 10px; background: var(--accent); }
.catalog-filters .filter-actions a { min-height: 44px; display: inline-flex; align-items: center; }

.grid { gap: 22px; }
.card {
  border-color: rgba(255,255,255,.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #151c20, #101519);
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(215,243,106,.35);
  box-shadow: 0 22px 48px rgba(0,0,0,.27);
}
.car-gallery { position: relative; overflow: hidden; background: #182024; }
.car-gallery-image { transition: transform .5s ease; }
.card:hover .car-gallery-image { transform: scale(1.035); }
.card-share-button {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 42px; height: 42px; display: grid; place-items: center;
  padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  background: rgba(7,10,12,.68); color: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.card-share-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-share-button:hover { border-color: rgba(215,243,106,.65); background: rgba(215,243,106,.16); color: var(--accent); transform: translateY(-1px); }
.card-share-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.share-toast {
  position: fixed; z-index: 1000; left: 50%; bottom: 24px;
  max-width: calc(100vw - 32px); padding: 11px 16px;
  border: 1px solid rgba(215,243,106,.35); border-radius: 999px;
  background: #182024; color: #f1f5ed; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}
.share-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.card-favorite-button {
  position: absolute; top: 12px; right: 62px; z-index: 2;
  width: 42px; height: 42px; display: grid; place-items: center;
  padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  background: rgba(7,10,12,.68); color: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.card-favorite-button svg { width: 20px; height: 20px; fill: transparent; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-favorite-button:hover, .card-favorite-button.is-favorite { border-color: rgba(215,243,106,.65); background: rgba(215,243,106,.16); color: var(--accent); }
.card-favorite-button.is-favorite svg { fill: currentColor; }
.card-favorite-button:focus-visible, .favorites-trigger:focus-visible, .favorites-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.favorites-trigger {
  min-height: 38px; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 11px; border: 1px solid rgba(215,243,106,.28); border-radius: 999px;
  background: rgba(215,243,106,.06); color: #e4e9e6; font-size: 12px; font-weight: 650; cursor: pointer;
}
.favorites-trigger:hover { border-color: rgba(215,243,106,.65); color: var(--accent); }
.favorites-trigger svg { width: 15px; height: 15px; fill: currentColor; }
.favorites-count { min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 5px; border-radius: 999px; background: rgba(215,243,106,.16); color: var(--accent); font-size: 10px; font-variant-numeric: tabular-nums; }
.favorites-dialog { width: min(700px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: #11171b; color: var(--text); box-shadow: 0 28px 90px rgba(0,0,0,.5); }
.favorites-dialog::backdrop { background: rgba(3,6,8,.76); backdrop-filter: blur(5px); }
.favorites-panel { max-height: calc(100dvh - 32px); display: flex; flex-direction: column; padding: 21px; }
.favorites-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.09); }
.favorites-heading .eyebrow { margin: 0 0 4px; color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.favorites-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.favorites-heading h2 span { color: #87938f; font-size: 15px; font-weight: 550; }
.favorites-close { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.04); color: #e8ede8; font-size: 25px; line-height: 1; cursor: pointer; }
.favorites-empty { margin: 22px 0; color: #aeb9b5; font-size: 13px; }
.favorites-send-note { margin: 10px 0; color: #e6c87a; font-size: 11px; line-height: 1.45; }
.favorites-send-note[hidden] { display: none; }
.favorites-empty[hidden], .favorites-footer button[hidden] { display: none; }
.favorites-list { display: grid; gap: 10px; overflow: auto; overscroll-behavior: contain; padding: 15px 2px 5px 0; }
.favorite-item { display: grid; grid-template-columns: 96px minmax(0,1fr) 38px; align-items: center; gap: 13px; padding: 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.025); }
.favorite-item-photo { width: 96px; height: 70px; border-radius: 8px; object-fit: cover; background: #1a2226; }
.favorite-item-title { display: block; color: #f1f4f0; font-size: 14px; font-weight: 720; line-height: 1.3; }
.favorite-item-specs { margin: 4px 0; color: #9eaaa6; font-size: 11px; line-height: 1.45; }
.favorite-item-price { color: var(--accent); font-size: 12px; font-weight: 700; }
.favorite-item-open { display: inline-block; margin-top: 5px; color: #d6e2e1; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; }
.favorite-item-remove { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: transparent; color: #aab5b1; font-size: 18px; cursor: pointer; }
.favorite-item-remove:hover { border-color: rgba(255,120,120,.4); color: #ffaaa2; }
.favorites-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.08); }
.favorites-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.favorites-footer .favorites-share-button, .favorites-footer .favorites-send-button { min-height: 40px; padding: 0 13px; border-radius: 9px; font-size: 12px; font-weight: 700; }
.favorites-footer .favorites-share-button { border-color: rgba(215,243,106,.32); color: #e1e9df; }
.favorites-footer .favorites-send-button { border-color: var(--accent); background: var(--accent); color: #11160c; }
.favorites-footer .favorites-share-button:hover { border-color: var(--accent); color: var(--accent); }
.favorites-footer .favorites-send-button:hover { border-color: #e7ff8a; background: #e7ff8a; color: #11160c; }
.favorites-footer button:disabled { opacity: .42; cursor: not-allowed; }
.favorites-footer button { padding: 8px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: transparent; color: #aeb9b5; font-size: 11px; cursor: pointer; }
.favorites-footer > button:not(:disabled):hover { border-color: rgba(255,120,120,.4); color: #ffaaa2; }
.lead-inbox-favorites { margin-top: 10px; padding: 10px 12px; border: 1px solid rgba(215,243,106,.18); border-radius: 9px; background: rgba(215,243,106,.035); color: #dce4de; font-size: 12px; }
.lead-inbox-favorites ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.lead-inbox-favorites a { display: inline-flex; padding: 5px 8px; border: 1px solid rgba(215,243,106,.2); border-radius: 999px; color: var(--accent); font-size: 11px; }
.gallery-arrow {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(7,10,12,.64);
  color: #fff;
  backdrop-filter: blur(8px);
}
.gallery-count { padding: 5px 9px; border-radius: 20px; background: rgba(7,10,12,.65); backdrop-filter: blur(8px); }
.card-body { padding: 21px; }
.card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.card-title-row h3 { min-width: 0; margin: 0; font-size: 21px; letter-spacing: -.035em; }
.top-seller-badge { flex: 0 0 auto; display: inline-flex; align-items: center; margin-top: 2px; padding: 5px 8px; border: 1px solid rgba(215,243,106,.25); border-radius: 999px; background: rgba(215,243,106,.08); color: var(--accent); font-size: 10px; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.specs { gap: 8px; }
.specs span { padding: 8px 10px; border-color: rgba(255,255,255,.07); border-radius: 8px; background: #1b2429; color: #d1dad9; font-size: 12px; }
.listing-code { margin-top: 13px; }
.price-row { gap: 7px; padding-top: 23px; }
.price-label { color: #a1adae; font-size: 11px; }
.card .price { color: var(--accent); font-size: clamp(17px, 1.55vw, 21px); letter-spacing: -.035em; }
.price-breakdown { border-color: rgba(255,255,255,.1); }
.price-breakdown summary { padding: 13px 0 5px; }
.card-contact-link {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid rgba(215,243,106,.34);
  border-radius: 9px;
  background: rgba(215,243,106,.06);
  color: var(--accent);
  transition: background .18s, color .18s;
}
.card-contact-link:hover { background: var(--accent); color: #11160c; }
.catalog-disclaimer { margin-top: 24px; }

.about-section { margin-top: 56px; border-color: rgba(255,255,255,.1); }
.about-section h2 span { color: #99a6a6; }
.about-section > p { color: #aab5b8; line-height: 1.75; }
.contact-panel {
  margin-top: 24px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: radial-gradient(ellipse at 100% 0%, rgba(215,243,106,.1), transparent 50%), #11171b;
}
.contact-panel p:last-child { color: #aab5b8; }
.footer { border-color: rgba(255,255,255,.1); }
.footer .footer-note { border-color: rgba(255,255,255,.08); }

.lead-dialog { border-color: #3b474b; border-radius: 18px; background: #12191d; }
.lead-dialog-close { transition: background .18s, border-color .18s; }
.lead-dialog-close:hover { border-color: var(--accent); background: rgba(215,243,106,.1); }
.lead-form input:not([type="checkbox"]), .lead-form textarea { border-color: #354149; border-radius: 9px; }
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid rgba(215,243,106,.7); outline-offset: 1px; }
.lead-form button { min-height: 48px; border-radius: 9px; background: var(--accent); }

@media (max-width: 1050px) {
  .hero { min-height: 560px; padding-left: 20px; padding-right: 20px; }
  .hero-visual { left: 14%; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 150px; }
  .top { position: relative; gap: 12px; padding: 15px 18px; }
  .brand { font-size: 18px; }
  .brand span { font-size: 9px; }
  .nav { gap: 8px 15px; }
  .nav > a { min-height: 34px; display: inline-flex; align-items: center; }
  .nav .contact-link { min-height: 36px; padding: 4px 12px; }
  main { padding-bottom: 46px; }
  .hero { min-height: 490px; padding: 52px 2px 30px; }
  .hero-visual { inset: 0 -16px 0 -5px; opacity: .47; background-position: 60% center; }
  h1 { max-width: 540px; font-size: clamp(43px, 11vw, 64px); }
  .hero-description { max-width: 390px; font-size: 16px; }
  .hero-points { margin: 25px 0; }
  .hero-point { padding: 0 9px; font-size: 10px; }
  .point-icon { font-size: 22px; }
  .visual-tag { display: none; }
  .hero-bottom-line { left: 0; right: 0; }
  .advantages { border-radius: 14px; }
  .catalog-section { padding-top: 50px; }
  .catalog-filters { padding: 17px !important; border-radius: 14px !important; }
  .grid { gap: 16px; }
  .card { border-radius: 14px; }
  .card-body { padding: 17px; }
  .card .price { font-size: 20px; }
  .about-section { margin-top: 35px; }
  .contact-panel { padding: 22px; }
}
@media (max-width: 420px) {
  .hero { min-height: 465px; }
  .hero-points { align-items: flex-start; }
  .hero-point { gap: 5px; padding: 0 7px; }
  .hero-point span:last-child { font-size: 9px; }
  .header-rates { font-size: 11px; }
  .section-heading h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .car-gallery-image { transition: none !important; }
}

.catalog-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 14px;
  color: #9eaaad;
  font-size: 13px;
}
.catalog-results-bar strong { color: #e4e9e6; font-variant-numeric: tabular-nums; }
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(17,23,27,.76);
}
.pagination-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid #354149;
  border-radius: 9px;
  color: #e5eae7;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .18s, background .18s, color .18s;
}
.pagination-button:hover { border-color: rgba(215,243,106,.5); background: rgba(215,243,106,.08); color: var(--accent); }
.pagination-button.is-disabled { opacity: .38; }
.pagination-current { color: #e7ece8; font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.pagination-current i { padding: 0 5px; color: #778285; font-style: normal; }
@media (max-width: 520px) {
  .catalog-results-bar { align-items: flex-start; flex-direction: column; gap: 3px; font-size: 12px; }
  .favorites-trigger { margin-top: 6px; }
  .favorites-panel { padding: 16px; }
  .favorites-footer { align-items: stretch; flex-direction: column; }
  .favorites-actions { display: grid; grid-template-columns: 1fr; }
  .favorites-footer > button { align-self: flex-end; }
  .favorite-item { grid-template-columns: 66px minmax(0,1fr) 34px; gap: 9px; padding: 8px; }
  .favorite-item-photo { width: 66px; height: 62px; }
  .favorite-item-title { font-size: 12px; }
  .favorite-item-specs { font-size: 10px; }
  .favorite-item-remove { width: 32px; height: 32px; }
  .catalog-pagination { gap: 6px; padding: 9px; }
  .pagination-button { min-height: 44px; padding: 0 10px; font-size: 12px; }
  .pagination-next span { max-width: 115px; }
}

.catalog-load-more-wrap { display: flex; justify-content: center; margin-top: 26px; }
.catalog-load-more { border: 0; cursor: pointer; }
.catalog-load-more[hidden] { display: none; }
.grid > [hidden] { display: none !important; }

/* Gallery controls: quiet, aligned controls that keep the vehicle in focus. */
.car-gallery .gallery-arrow {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 12px;
  left: auto;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px;
  background: rgba(15,20,23,.68);
  color: rgba(255,255,255,.94);
  font-size: 0;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.car-gallery .gallery-arrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.car-gallery .gallery-prev { right: 112px; }
.car-gallery .gallery-prev::before { transform: rotate(-135deg); }
.car-gallery .gallery-next { right: 12px; }
.car-gallery .gallery-next::before { transform: rotate(45deg); }
.car-gallery .gallery-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.5);
  background: rgba(29,36,40,.84);
}
.car-gallery .gallery-arrow:focus-visible {
  outline: 2px solid rgba(255,255,255,.85);
  outline-offset: 2px;
}
.car-gallery .gallery-count {
  position: absolute;
  z-index: 2;
  right: 58px;
  bottom: 18px;
  display: grid;
  min-width: 48px;
  height: 30px;
  place-items: center;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  background: rgba(15,20,23,.68);
  color: rgba(255,255,255,.92);
  font-size: 11px;
  font-weight: 550;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.photo-viewer button.photo-viewer-prev,
.photo-viewer button.photo-viewer-next {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 13px;
  background: rgba(20,26,30,.58);
  color: rgba(255,255,255,.94);
  font-size: 0;
  box-shadow: 0 4px 18px rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.photo-viewer button.photo-viewer-prev::before,
.photo-viewer button.photo-viewer-next::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.photo-viewer button.photo-viewer-prev::before { transform: rotate(-135deg); }
.photo-viewer button.photo-viewer-next::before { transform: rotate(45deg); }
.photo-viewer button.photo-viewer-prev { left: 22px; }
.photo-viewer button.photo-viewer-next { right: 22px; }
.photo-viewer button.photo-viewer-prev:hover,
.photo-viewer button.photo-viewer-next:hover {
  border-color: rgba(255,255,255,.4);
  background: rgba(42,50,55,.78);
}
.photo-viewer button.photo-viewer-prev:focus-visible,
.photo-viewer button.photo-viewer-next:focus-visible {
  outline: 2px solid rgba(255,255,255,.85);
  outline-offset: 3px;
}
.photo-viewer-counter {
  bottom: 22px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(20,26,30,.58);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 600px) {
  .card-title-row { gap: 6px; }
  .top-seller-badge { padding: 4px 7px; font-size: 9px; }
  .car-gallery .gallery-arrow { width: 42px; height: 42px; bottom: 10px; }
  .car-gallery .gallery-prev { right: 108px; }
  .car-gallery .gallery-next { right: 10px; }
  .car-gallery .gallery-count { right: 54px; bottom: 16px; }
  .photo-viewer button.photo-viewer-prev,
  .photo-viewer button.photo-viewer-next { width: 42px; height: 42px; }
  .photo-viewer button.photo-viewer-prev { left: 10px; }
  .photo-viewer button.photo-viewer-next { right: 10px; }
  .photo-viewer-counter { bottom: 14px; }
}
/* Compact market snapshot above the vehicle catalog. */
.top-sales { margin: 38px 0 0; }
.top-sales-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.top-sales-heading .eyebrow { margin-bottom: 7px; font-size: 10px; }
.top-sales-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.1; }
.top-sales-period { flex: 0 0 auto; padding: 7px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #b7c1bd; font-size: 11px; }
.top-sales-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.top-sales-card { min-width: 0; padding: 21px 23px 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: linear-gradient(135deg, rgba(24,32,35,.96), rgba(15,20,23,.98)); box-shadow: 0 14px 38px rgba(0,0,0,.14); }
.top-sales-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.top-sales-card-heading h3 { margin: 0; font-size: 17px; font-weight: 730; letter-spacing: -.025em; }
.top-sales-card-heading > span { color: #83908c; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.top-sales-stats { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 0 15px; }
.top-sales-volume { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 7px; }
.top-sales-volume > strong { font-size: clamp(29px, 3vw, 39px); line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.top-sales-volume > span { color: #aab5b1; font-size: 12px; }
.top-sales-volume p { grid-column: 1 / -1; margin: 7px 0 0; color: #9eaaa6; font-size: 11px; }
.top-sales-growth { display: grid; justify-items: end; gap: 3px; padding: 8px 11px; border: 1px solid rgba(215,243,106,.2); border-radius: 10px; background: rgba(215,243,106,.055); }
.top-sales-growth strong { color: var(--accent); font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.top-sales-growth span { color: #aab5b1; font-size: 10px; }
.top-sales-list-title { margin: 0; padding: 12px 0 5px; border-top: 1px solid rgba(255,255,255,.08); color: #aeb9b5; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.top-sales-list { margin: 0; padding: 0; list-style: none; }
.top-sales-list li { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 36px; border-top: 1px solid rgba(255,255,255,.065); }
.top-sales-list li:first-child { border-top: 0; }
.top-sales-rank { color: #76827e; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.top-sales-model { min-width: 0; overflow: hidden; color: #dce2de; font-size: 12px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.top-sales-count { color: #e6ebe7; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.top-sales-count small { color: #899590; font-size: 9px; font-weight: 450; }
.top-sales-list .top-sales-first { min-height: 40px; }
.top-sales-first .top-sales-rank { color: var(--accent); }
.top-sales-first .top-sales-model, .top-sales-first .top-sales-count { color: #f0f4ed; }
@media (max-width: 900px) {
  .top-sales-card { padding-right: 17px; padding-left: 17px; }
  .top-sales-count small { display: none; }
}
@media (max-width: 720px) {
  .top-sales { margin-top: 30px; }
  .top-sales-heading { align-items: flex-start; }
  .top-sales-heading h2 { max-width: 470px; }
  .top-sales-grid { grid-template-columns: 1fr; gap: 12px; }
  .top-sales-card { padding: 16px 17px 12px; border-radius: 14px; }
  .top-sales-card-heading { padding-bottom: 11px; }
  .top-sales-stats { padding: 13px 0 11px; }
  .top-sales-volume > strong { font-size: 32px; }
  .top-sales-list li { min-height: 33px; }
  .top-sales-list .top-sales-first { min-height: 36px; }
  .top-sales-list-title { padding-top: 10px; }
}
@media (max-width: 420px) {
  .top-sales-heading { flex-direction: column; gap: 10px; }
  .top-sales-period { padding: 5px 9px; }
  .top-sales-card { padding-right: 13px; padding-left: 13px; }
  .top-sales-list li { grid-template-columns: 23px minmax(0, 1fr) auto; gap: 6px; }
  .top-sales-model, .top-sales-count { font-size: 11px; }
}

.vpn-stats-panel { max-width: 920px; }
.vpn-stats-status { margin: 14px 0; color: var(--accent); font-size: 13px; }
.vpn-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.vpn-stat-card { display: grid; gap: 10px; min-height: 88px; padding: 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.025); }
.vpn-stat-card span { color: #9eaaa6; font-size: 11px; }
.vpn-stat-card strong { color: #f1f4f0; font-size: 21px; font-variant-numeric: tabular-nums; }
.vpn-connections { margin-top: 24px; }
.vpn-table-wrap { overflow-x: auto; }
.vpn-connections-table { width: 100%; border-collapse: collapse; text-align: left; }
.vpn-connections-table th, .vpn-connections-table td { padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.vpn-connections-table th { color: #aab5b1; font-size: 11px; font-weight: 650; }
.vpn-connections-table td:last-child { width: 150px; color: var(--accent); font-variant-numeric: tabular-nums; }
.vpn-users-table th:nth-child(2), .vpn-users-table td:nth-child(2) { width: 110px; text-align: center; }
.vpn-users-table th:nth-child(n+3), .vpn-users-table td:nth-child(n+3) { width: 170px; text-align: right; font-variant-numeric: tabular-nums; }
.vpn-users-table td:first-child { color: #f1f4f0; font-weight: 650; }
.vpn-user-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.vpn-user-status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.vpn-user-status.is-online { color: #d7f36a; }
.vpn-user-status.is-offline { color: #9ba7a2; }
.vpn-user-status.is-unknown { color: #e5c16b; }
.vpn-stats-footnote, .vpn-stats-updated { margin: 15px 0 0; color: #9ba7a2; font-size: 12px; line-height: 1.55; }
@media (max-width: 720px) {
  .vpn-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .vpn-stats-grid { grid-template-columns: 1fr; }
}
