/* Vilnius Auto — naujo firminio stiliaus prototipas.
   Spalvos ir šriftas pagal „Vizualinio stiliaus gaires“ (Brandbook V1). */

:root {
  --red: #d12d28;
  --red-deep: #af2323;
  --ink: #0f0f0f;
  --ink-2: #181818;
  --ink-3: #242424;
  --paper: #f7f7f7;
  --white: #ffffff;
  --grey: #c3c3c3;
  --grey-text: #6b6b6b;
  --line: #e4e4e4;
  --line-dark: rgba(255, 255, 255, 0.1);

  --font: "Inter", system-ui, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --slant: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-feature-settings: "cv11", "ss01", "tnum";
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- Tipografija ---------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.display {
  font-size: clamp(44px, 8.4vw, 124px);
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.h-xl {
  font-size: clamp(34px, 5vw, 64px);
}

.h-lg {
  font-size: clamp(28px, 3.4vw, 44px);
}

.h-md {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--grey-text);
  max-width: 34em;
}

.on-dark .lead {
  color: rgba(255, 255, 255, 0.68);
}

.red {
  color: var(--red);
}

/* Trys horizontalūs „greičio“ brūkšniai — perimti iš žirgo simbolio. */
.speed {
  display: inline-block;
  flex: none;
  width: 34px;
  height: 11px;
  background:
    linear-gradient(90deg, transparent, var(--red)) 100% 0 / 100% 2px no-repeat,
    linear-gradient(90deg, transparent, var(--red)) 100% 50% / 72% 2px no-repeat,
    linear-gradient(90deg, transparent, var(--red)) 100% 100% / 46% 2px no-repeat;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.on-dark .eyebrow {
  color: #ff5a52;
}

/* ---------- Mygtukai ---------- */

.btn {
  --bg: var(--red);
  --fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  --bg: var(--red-deep);
}

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

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--dark {
  --bg: var(--ink);
}

.btn--dark:hover {
  --bg: var(--ink-3);
}

.btn--light {
  --bg: var(--white);
  --fg: var(--ink);
}

.btn--light:hover {
  --bg: var(--paper);
}

.btn--ghost {
  --bg: transparent;
  --fg: currentColor;
  clip-path: none;
  box-shadow: inset 0 0 0 1.5px currentColor;
  border-radius: var(--radius);
}

.btn--ghost:hover {
  --bg: rgba(127, 127, 127, 0.12);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

.link-arrow .arrow {
  transition: transform 0.3s var(--ease);
}

/* ---------- Prototipo juosta ---------- */

.proto-bar {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 7px 16px;
}

.proto-bar a {
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 6px;
}

/* ---------- Antraštė ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}

.site-header__row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  display: block;
  width: 214px;
  color: var(--red);
  flex: none;
}

.brand svg {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  position: relative;
  padding: 8px 11px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: skewX(-20deg);
}

.header-phone {
  display: flex;
  white-space: nowrap;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  font-size: 15px;
  font-weight: 700;
}

.header-phone small {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.site-header .btn {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  margin-left: auto;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -7px;
  width: 16px;
}

.burger span::after {
  top: 7px;
  width: 11px;
}

.mobile-nav {
  display: none;
}

@media (max-width: 1540px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1320px) {
  .nav a {
    padding: 8px 8px;
  }

  .site-header__row {
    gap: 20px;
  }
}

@media (max-width: 1180px) {
  .nav,
  .header-phone,
  .site-header .btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .brand {
    width: 172px;
  }

  .site-header__row {
    height: 64px;
  }

  .mobile-nav {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease);
  }

  .mobile-nav > div {
    overflow: hidden;
  }

  .site-header.is-open .mobile-nav {
    grid-template-rows: 1fr;
  }

  .mobile-nav nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0 24px;
  }

  .mobile-nav a {
    padding: 14px 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--line-dark);
  }

  .mobile-nav .btn {
    display: inline-flex;
    margin-top: 20px;
  }
}

/* ---------- Kelio gradientas (mesh) ---------- */

.road {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.road svg {
  position: absolute;
  width: 140%;
  height: 160%;
  left: -20%;
  top: -30%;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Pradinio „hero“ ---------- */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img {
  position: absolute;
  right: 0;
  top: 0;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 62%;
  filter: contrast(1.15) saturate(0.95) brightness(0.7);
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) both;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 30%, rgba(15, 15, 15, 0.85) 46%, rgba(15, 15, 15, 0.15) 75%, rgba(15, 15, 15, 0.5)),
    linear-gradient(0deg, var(--ink) 0, transparent 35%);
}

@keyframes heroZoom {
  from {
    transform: scale(1.16);
  }
  to {
    transform: scale(1.04);
  }
}

.hero__inner {
  position: relative;
  padding-top: clamp(56px, 9vw, 120px);
}

.hero__copy {
  max-width: 760px;
}

.hero__copy > * {
  animation: rise 0.9s var(--ease) both;
}

.hero__copy > *:nth-child(2) {
  animation-delay: 0.08s;
}

.hero__copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero h1 {
  margin: 22px 0 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
  letter-spacing: -0.06em;
  padding-right: 0.06em;
}

/* Paieškos skydelis */
.finder {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: rise 0.9s 0.24s var(--ease) both;
}

.finder::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 120px;
  height: 4px;
  background: var(--red);
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 16px 22px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
}

.field select,
.field input {
  width: 100%;
  border: 0;
  padding: 2px 22px 2px 0;
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.field select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d12d28' stroke-width='2' fill='none'/%3E%3C/svg%3E") right center no-repeat;
}

.field:focus-within {
  box-shadow: inset 0 -3px 0 var(--red);
}

.finder .btn {
  min-height: 100%;
  padding: 0 34px;
  clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
  font-size: 16px;
}

@media (max-width: 960px) {
  .finder {
    grid-template-columns: 1fr 1fr;
  }

  .field {
    border-bottom: 1px solid var(--line);
  }

  .field:nth-child(2n) {
    border-right: 0;
  }

  .finder .btn {
    grid-column: 1 / -1;
    min-height: 60px;
    clip-path: none;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  margin-top: clamp(48px, 7vw, 88px);
}

.hero-stats > div {
  padding: 26px 24px 30px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line-dark);
}

.hero-stats strong {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stats span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 760px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .hero__media img {
    width: 100%;
    opacity: 0.55;
  }
}

/* ---------- Sekcijos ---------- */

.section {
  padding: clamp(64px, 9vw, 128px) 0;
}

.section--tight {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section--dark {
  position: relative;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.section--white {
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head h2 {
  margin-top: 14px;
}

/* ---------- Kėbulo tipai ---------- */

.bodies {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ink);
}

.body-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 170px;
  padding: 22px 20px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: color 0.35s var(--ease);
  isolation: isolate;
}

.body-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}

.body-tile:hover {
  color: var(--white);
}

.body-tile:hover::before {
  transform: none;
}

.body-tile .num {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-text);
  font-style: italic;
}

.body-tile strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.body-tile .arrow {
  position: absolute;
  right: 18px;
  bottom: 22px;
  color: var(--red);
  transition: transform 0.35s var(--ease);
}

.body-tile:hover .arrow {
  transform: translateX(4px);
}

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

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

  .body-tile {
    min-height: 130px;
  }
}

/* ---------- Automobilio kortelė ---------- */

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

.cars--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

  .cars--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cars,
  .cars--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
}

@media (max-width: 520px) {
  .cars,
  .cars--3 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -18px rgba(15, 15, 15, 0.28);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-2);
}

.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}

.card__media img + img {
  opacity: 0;
}

.card:hover .card__media img:first-child {
  transform: scale(1.04);
}

.card:hover .card__media img + img {
  opacity: 1;
}

.card__tag {
  position: absolute;
  left: 0;
  top: 14px;
  z-index: 2;
  padding: 5px 14px 5px 12px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: italic;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.card__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 8px;
  background: rgba(15, 15, 15, 0.72);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  border-radius: 2px;
}

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

.card__title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.card__title small {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--grey-text);
}

.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--grey-text);
}

.card__specs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card__specs li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--grey);
  transform: skewX(-20deg);
  margin-left: -8px;
}

.card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.card__price strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.card__price span {
  font-size: 13px;
  color: var(--grey-text);
  text-align: right;
}

.card__price span b {
  color: var(--ink);
}

/* ---------- Pažadai ---------- */

.promises {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 0;
}

.promise {
  position: relative;
  padding: 32px 28px 36px;
  border-left: 1px solid var(--line-dark);
}

.promise .idx {
  display: block;
  font-size: 64px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  margin-bottom: 28px;
}

.promise h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.promise p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

@media (max-width: 1000px) {
  .promises {
    grid-template-columns: 1fr 1fr;
  }

  .promises > :first-child {
    grid-column: 1 / -1;
    margin-bottom: 24px;
  }

  .promise:nth-child(2) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .promises {
    grid-template-columns: 1fr;
  }

  .promise {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
    padding-left: 0;
  }
}

.horse-mark {
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: min(820px, 80vw);
  color: var(--red);
  opacity: 0.07;
  z-index: -1;
  pointer-events: none;
}

/* ---------- Pardavimo / užsakymo blokai ---------- */

.duo {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .duo {
    grid-template-columns: 1fr;
  }
}

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 4.5vw, 56px);
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.panel--red {
  background: var(--red);
  color: var(--white);
}

.panel--red .horse-mark {
  opacity: 1;
  color: var(--red);
  filter: drop-shadow(-22px 26px 22px rgba(70, 0, 0, 0.7)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.15));
  right: -10%;
  bottom: -18%;
  width: 640px;
}

.panel--white {
  background: var(--white);
}

.panel h2 {
  margin: 16px 0 14px;
}

.panel .lead {
  margin: 0 0 28px;
}

.panel--red .eyebrow {
  color: var(--white);
}

.panel--red .speed {
  filter: brightness(0) invert(1);
}

.panel--red .lead {
  color: rgba(255, 255, 255, 0.85);
}

.inline-form {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  background: var(--white);
  color: var(--ink);
  max-width: 640px;
}

.inline-form .field:nth-child(2) {
  border-right: 0;
}

.inline-form .field input {
  cursor: text;
  font-size: 16px;
}

.inline-form .field input::placeholder {
  color: #a9a9a9;
  font-weight: 600;
}

.inline-form .btn {
  min-height: 100%;
  clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 560px) {
  .inline-form {
    grid-template-columns: 1fr;
  }

  .inline-form .field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .inline-form .btn {
    min-height: 56px;
    clip-path: none;
  }
}

.steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  counter-reset: s;
}

.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.steps li::before {
  content: "0" counter(s);
  font-style: italic;
  font-weight: 800;
  color: var(--red);
}

/* ---------- Markių juosta ---------- */

.makes-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.makes-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.makes-marquee:hover .makes-marquee__track {
  animation-play-state: paused;
}

.makes-marquee a {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 13px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.04em;
  color: #cfcfcf;
  white-space: nowrap;
  transition: color 0.2s;
}

.makes-marquee a::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: skewX(-20deg);
}

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

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Salonas ---------- */

.showroom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.showroom__media {
  position: relative;
  overflow: hidden;
}

.showroom__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 80%;
}

.showroom__copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.contact-list {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}

.contact-list span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 4px;
}

.contact-list a,
.contact-list b {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-list a:hover {
  color: #ff5a52;
}

@media (max-width: 900px) {
  .showroom {
    grid-template-columns: 1fr;
  }

  .showroom__media {
    min-height: 300px;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- Poraštė ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  padding: 72px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}

.site-footer .brand {
  width: 220px;
  margin-bottom: 20px;
}

.site-footer h4 {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

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

.site-footer a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 860px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Kelio linija / trupiniai ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--grey-text);
  padding: 18px 0;
}

.crumbs a:hover {
  color: var(--red);
}

.crumbs span[aria-hidden] {
  color: var(--grey);
}

.on-dark .crumbs,
.crumbs.on-dark {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Kategorijos puslapis ---------- */

.cat-hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-bottom: clamp(36px, 5vw, 60px);
}

.cat-hero__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-top: clamp(24px, 4vw, 48px);
}

.cat-hero h1 {
  margin: 16px 0 18px;
}

.cat-count {
  text-align: right;
  line-height: 1;
}

.cat-count strong {
  display: block;
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
}

.cat-count span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
  .cat-hero__row {
    grid-template-columns: 1fr;
  }

  .cat-count {
    text-align: left;
  }
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 26px 0 4px;
  margin-top: 8px;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.chip small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.chip[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.chip[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.8);
}

.listing {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: clamp(64px, 8vw, 110px);
}

@media (max-width: 1000px) {
  .listing {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.filters {
  align-self: start;
  position: sticky;
  top: 100px;
}

.filters__group {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.filters__group:first-child {
  border-top: 2px solid var(--ink);
}

.filters__group h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 15px;
  cursor: pointer;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #bdbdbd;
  border-radius: 2px;
  display: grid;
  place-content: center;
  background: var(--white);
  cursor: pointer;
}

.check input:checked {
  background: var(--red);
  border-color: var(--red);
}

.check input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.check small {
  margin-left: auto;
  color: var(--grey-text);
  font-size: 13px;
}

.range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.range input,
.toolbar select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d6d6d6;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.range input:focus,
.toolbar select:focus {
  outline: 2px solid var(--red);
  outline-offset: -1px;
}

.filters-toggle {
  display: none;
}

@media (max-width: 1000px) {
  .filters {
    position: static;
    display: none;
  }

  .filters.is-open {
    display: block;
  }

  .filters-toggle {
    display: inline-flex;
  }
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.toolbar p {
  margin: 0;
  font-size: 15px;
  color: var(--grey-text);
}

.toolbar p b {
  color: var(--ink);
}

.toolbar select {
  width: auto;
  min-width: 200px;
}

.empty {
  padding: 60px 24px;
  text-align: center;
  background: var(--white);
  color: var(--grey-text);
}

.seo-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
}

.seo-text p {
  color: var(--grey-text);
  margin: 0 0 1em;
}

@media (max-width: 860px) {
  .seo-text {
    grid-template-columns: 1fr;
  }
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-content: center;
  font-size: 22px;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 20px;
  color: var(--grey-text);
  max-width: 60ch;
}

/* ---------- Skelbimo puslapis ---------- */

.car-top {
  background: var(--ink);
  color: var(--white);
}

.car-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 8px 0 28px;
}

.car-title h1 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.045em;
}

.car-title h1 small {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.car-title .ref {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  aspect-ratio: 2.35 / 1;
}

.gallery button {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ink-2);
}

.gallery button:first-child {
  grid-row: 1 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s;
}

.gallery button:hover img {
  transform: scale(1.04);
}

.gallery .more {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  background: rgba(15, 15, 15, 0.62);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    aspect-ratio: auto;
  }

  .gallery button:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery button:nth-child(n + 2) {
    aspect-ratio: 4 / 3;
  }

  .gallery button:nth-child(n + 4) {
    display: none;
  }
}

.car-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: clamp(32px, 4vw, 64px);
  padding-top: 48px;
  padding-bottom: clamp(64px, 8vw, 110px);
}

@media (max-width: 1060px) {
  .car-layout {
    grid-template-columns: 1fr;
  }
}

.key-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}

.key-specs div {
  padding: 20px 16px 22px 0;
  border-bottom: 1px solid var(--line);
}

.key-specs dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 6px;
}

.key-specs dd {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 560px) {
  .key-specs {
    grid-template-columns: 1fr 1fr;
  }
}

.block {
  margin-top: 56px;
}

.block > h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.included {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.included div {
  position: relative;
  padding: 22px 20px;
  background: var(--white);
  border-left: 3px solid var(--red);
}

.included b {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.included span {
  font-size: 14px;
  color: var(--grey-text);
}

@media (max-width: 640px) {
  .included {
    grid-template-columns: 1fr;
  }
}

.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  margin: 0;
}

.spec-table div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.spec-table dt {
  color: var(--grey-text);
}

.spec-table dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 640px) {
  .spec-table {
    grid-template-columns: 1fr;
  }
}

.features {
  columns: 2;
  column-gap: 40px;
}

.features section {
  break-inside: avoid;
  margin-bottom: 26px;
}

.features h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.features li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 15px;
  color: #3a3a3a;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 11px;
  height: 2px;
  background: var(--red);
  box-shadow: 3px -4px 0 -0.5px var(--red);
  transform: skewX(-20deg);
}

.features.is-collapsed {
  max-height: 420px;
  overflow: hidden;
  mask-image: linear-gradient(#000 70%, transparent);
}

@media (max-width: 640px) {
  .features {
    columns: 1;
  }
}

/* Kainos skydelis */
.buy-box {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--white);
  box-shadow: 0 24px 60px -24px rgba(15, 15, 15, 0.25);
}

.buy-box__price {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 28px 26px;
  background: var(--ink);
  color: var(--white);
}

.buy-box__price .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.buy-box__price strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.buy-box__price .lease {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

.buy-box__price .lease b {
  color: var(--white);
}

.buy-box__body {
  padding: 24px 28px 28px;
  display: grid;
  gap: 10px;
}

.buy-box__body .btn--ghost {
  color: var(--ink);
}

.seller {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0 2px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.seller__avatar {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  background: var(--ink);
  color: var(--red);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.seller__avatar svg {
  width: 30px;
}

.seller b {
  display: block;
  font-size: 15px;
}

.seller span {
  color: var(--grey-text);
}

.mobile-buy {
  display: none;
}

@media (max-width: 1060px) {
  .buy-box {
    position: static;
  }

  .mobile-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--ink);
    color: var(--white);
    transform: translateY(110%);
    transition: transform 0.4s var(--ease);
  }

  .mobile-buy.is-visible {
    transform: none;
  }

  .mobile-buy strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
  }

  .mobile-buy .btn {
    min-height: 46px;
    padding: 0 20px;
  }
}

/* Peržiūros langas */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  grid-template-rows: auto 1fr auto;
  background: rgba(10, 10, 10, 0.97);
  color: var(--white);
}

.lightbox.is-open {
  display: grid;
}

.lightbox__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 72px;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lb-btn {
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
}

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

.lightbox__stage .lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lb-prev {
  left: 14px;
}

.lb-next {
  right: 14px;
}

.lightbox__thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 14px 20px 20px;
}

.lightbox__thumbs button {
  flex: none;
  width: 92px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  opacity: 0.45;
  cursor: pointer;
  background: none;
}

.lightbox__thumbs button[aria-current="true"] {
  opacity: 1;
  outline: 2px solid var(--red);
}

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

@media (max-width: 640px) {
  .lightbox__stage {
    padding: 0;
  }
}

/* Slinkties animacija */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Rodyklė */
.arrow {
  display: inline-block;
  width: 18px;
  height: 12px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h16M11 1l5 5-5 5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h16M11 1l5 5-5 5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Prototipų rodyklė */
.proto-index {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 32px;
  padding: 40px var(--gutter);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.proto-index .brand {
  width: min(420px, 80vw);
  margin: 0 auto;
}

.proto-index nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- „Parduok“ blokas su 3 žingsnių forma (kaip live /parduok) ---------- */

.sell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
}

.sell .horse-mark {
  opacity: 1;
  color: var(--red);
  filter: drop-shadow(-22px 26px 22px rgba(70, 0, 0, 0.7));
  left: -12%;
  right: auto;
  bottom: -26%;
  width: 760px;
}

.sell__copy h2 {
  margin: 16px 0 16px;
}

.sell__copy .eyebrow {
  color: var(--white);
}

.sell__copy .speed {
  filter: brightness(0) invert(1);
}

.sell__copy .lead {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.sell__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0 32px;
  margin: 36px 0 0;
}

.sell__stats div {
  padding-top: 14px;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
}

.sell__stats dt {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  max-width: 12em;
}

.sell__stats dd {
  margin: 6px 0 0;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.sell__stats small {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

@media (max-width: 1000px) {
  .sell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sell__stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
  }

  .sell__stats div:last-child {
    grid-column: 1 / -1;
  }
}

.wizard {
  background: var(--white);
  color: var(--ink);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 30px 70px -20px rgba(60, 0, 0, 0.55);
}

.wizard__progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.wizard__progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 3px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: #9a9a9a;
  transition: border-color 0.3s, color 0.3s;
}

.wizard__progress b {
  font-style: italic;
  font-weight: 800;
}

.wizard__progress li.is-active,
.wizard__progress li.is-done {
  border-color: var(--red);
  color: var(--ink);
}

.wizard__progress li.is-done b {
  color: var(--red);
}

.wizard__step {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.wizard__step.is-active {
  display: block;
  animation: rise 0.45s var(--ease) both;
}

.wizard legend {
  padding: 0;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.wgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wgrid .wfield:first-child:nth-last-child(3) {
  grid-column: 1 / -1;
}

.wfield {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px 10px;
  border: 1.5px solid #dcdcdc;
  border-radius: var(--radius);
  cursor: text;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.wfield:focus-within {
  border-color: var(--ink);
}

.wfield.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(209, 45, 40, 0.15);
}

.wfield span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
}

.wfield input,
.wfield select,
.wfield textarea {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}

.wfield select {
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d12d28' stroke-width='2' fill='none'/%3E%3C/svg%3E") right center no-repeat;
  padding-right: 20px;
}

.wfield input::placeholder,
.wfield textarea::placeholder {
  color: #b0b0b0;
  font-weight: 500;
}

.wfield--wide {
  grid-column: 1 / -1;
}

.wfield--file {
  cursor: pointer;
}

.wfield--file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.wfield--file em {
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
}

.wradio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.wradio label {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1.5px solid #dcdcdc;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.wradio label:has(input:checked) {
  border-color: var(--red);
  background: #fff6f5;
}

.wradio input {
  accent-color: var(--red);
  margin: 3px 0 0;
}

.wradio b {
  display: block;
  font-size: 14.5px;
}

.wradio small {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--grey-text);
}

.wthumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.wthumbs img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
}

.wcheck {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--grey-text);
  cursor: pointer;
}

.wcheck input {
  accent-color: var(--red);
  margin-top: 3px;
  flex: none;
}

.wcheck.is-invalid {
  color: var(--red);
}

.wcheck a {
  text-decoration: underline;
}

.wizard__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.wback {
  border: 0;
  background: none;
  padding: 8px 0;
  font-weight: 700;
  color: var(--grey-text);
  cursor: pointer;
}

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

.wizard__done {
  padding: 24px 0 12px;
}

.wizard__done h3 {
  margin: 14px 0 8px;
  font-size: 28px;
}

.wizard__done p {
  margin: 0;
  color: var(--grey-text);
}

@media (max-width: 560px) {
  .wgrid,
  .wradio {
    grid-template-columns: 1fr;
  }

  .wizard__progress li {
    font-size: 11px;
  }
}

.panel--row {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: center;
}

.panel--row .steps {
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .panel--row {
    grid-template-columns: 1fr;
  }
}

/* ---------- VIN ---------- */

.car-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.vin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.vin[hidden] {
  display: none;
}

.vin span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff5a52;
}

.vin code,
.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.vin__copy {
  border: 0;
  border-radius: 2px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.vin__copy:hover {
  background: var(--red);
}

@media (max-width: 640px) {
  .car-meta {
    align-items: flex-start;
  }
}

/* =====================================================================
   Serverio generuojami puslapiai (OctoberCMS): papildomi elementai
   ===================================================================== */

.muted {
  color: var(--grey-text);
  font-weight: 500;
}

/* Kortelė: nuoroda per visą plotą, širdelė virš jos */
.card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card__link:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.card__fav {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.55);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease);
}

.card__fav svg,
.fav-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.card__fav:hover {
  transform: scale(1.08);
}

.card__fav[aria-pressed="true"],
.fav-btn[aria-pressed="true"] {
  color: var(--white);
}

.card__fav[aria-pressed="true"] {
  background: var(--red);
}

.card__fav[aria-pressed="true"] svg,
.fav-btn[aria-pressed="true"] svg {
  fill: currentColor;
}

.card__tag--dark {
  background: var(--ink);
}

.card__price s,
.old-price {
  display: block;
  font-size: 13px;
  color: var(--grey-text);
}

/* Antraštės širdelė */
.header-fav {
  position: relative;
  display: grid;
  place-content: center;
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, 0.8);
}

.header-fav:hover {
  color: var(--white);
}

.header-fav__n {
  position: absolute;
  right: 2px;
  top: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

@media (max-width: 1180px) {
  .header-fav {
    margin-left: auto;
  }

  .header-fav + .header-phone + .btn + .burger {
    margin-left: 0;
  }
}

/* Kategorijos antraštė su logotipu */
.cat-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cat-title__logo {
  flex: none;
  width: 80px;
  height: 56px;
  object-fit: contain;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius);
}

a.chip {
  text-decoration: none;
}

.chip[aria-current] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.chip[aria-current] small {
  color: rgba(255, 255, 255, 0.8);
}

/* Greiti filtrai */
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.qchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid #d6d6d6;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.qchip:hover {
  border-color: var(--ink);
}

.qchip[aria-current] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

/* Filtrų forma */
.filters fieldset.filters__group {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  min-width: 0;
}

.filters legend,
.filters__group h3 {
  padding: 0;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filters__group > select,
.range select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d6d6d6;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.check input[type="radio"] {
  border-radius: 50%;
}

.check input[type="radio"]:checked::after {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  transform: none;
}

.filters__actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

/* Combobox */
.typeahead {
  position: relative;
}

.typeahead input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1.5px solid #d6d6d6;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.typeahead input:focus {
  outline: none;
  border-color: var(--ink);
}

.typeahead__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  max-height: 340px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -12px rgba(15, 15, 15, 0.3);
}

.typeahead__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 3px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.typeahead__list li small {
  color: var(--grey-text);
  font-weight: 500;
}

.typeahead__list li:hover,
.typeahead__list li.is-active {
  background: var(--paper);
  color: var(--red);
}

.typeahead__none {
  color: var(--grey-text);
  cursor: default !important;
}

/* Paieška: įvedami laukai */
.field input::placeholder {
  color: var(--ink);
  opacity: 1;
}

.field input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (min-width: 961px) {
  .finder {
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  }
}

@media (max-width: 960px) {
  .finder .field:nth-child(5) {
    grid-column: 1 / -1;
    border-right: 0;
  }
}

/* Puslapiavimas */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 48px 0 8px;
}

.pager__n,
.pager__step,
.pager__gap {
  min-width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  padding: 0 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.pager__n,
.pager__step {
  background: var(--white);
  border: 1px solid var(--line);
}

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

.pager__n[aria-current] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.pager__gap {
  color: var(--grey-text);
}

/* Markių logotipai */
.brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.brand-tile {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px 12px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
  transition: border-color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brand-tile:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(15, 15, 15, 0.35);
}

.brand-tile img {
  width: 100px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 6px;
}

.brand-tile__ph {
  width: 60px;
  height: 60px;
  display: grid;
  place-content: center;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--paper);
  font-size: 26px;
  font-weight: 800;
  font-style: italic;
  color: var(--red);
}

.brand-tile b {
  font-size: 15px;
}

.brand-tile small {
  font-size: 12.5px;
  color: var(--grey-text);
}

/* Pranešimas apie naujus */
.alert-box {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 24px 40px;
  align-items: center;
  margin-top: 56px;
  padding: 32px clamp(20px, 3vw, 40px);
  background: var(--ink);
  color: var(--white);
}

.alert-box .eyebrow {
  color: #ff5a52;
}

.alert-box h2 {
  margin: 10px 0 8px;
}

.alert-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.alert-box__form {
  display: flex;
  background: var(--white);
}

.alert-box__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  color: var(--ink);
}

.alert-box__form .btn {
  clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
}

.alert-box .form-done {
  color: var(--white);
}

@media (max-width: 760px) {
  .alert-box {
    grid-template-columns: 1fr;
  }
}

.form-done {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  background: rgba(209, 45, 40, 0.06);
}

.form-done small {
  color: var(--grey-text);
}

/* Skelbimas: įsiminti */
.fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.fav-btn[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
}

/* VIN patikra */
.vin-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--ink);
  color: var(--white);
}

.vin-check__code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.vin-check__code span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff5a52;
}

.vin-check__code code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.vin-check__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.vin-check .link-arrow {
  color: var(--white);
}

/* Įmokos skaičiuoklė */
.calc {
  display: grid;
  grid-template-columns: 1fr minmax(0, 340px);
  gap: 24px;
  padding: 26px;
  background: var(--white);
}

.calc__inputs {
  display: grid;
  gap: 26px;
  align-content: center;
}

.calc__row {
  display: grid;
  gap: 10px;
}

.calc__row span {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-text);
}

.calc__row b {
  color: var(--ink);
}

.calc input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}

.calc__result {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--paper);
  border-left: 3px solid var(--red);
}

.calc__result > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-text);
}

.calc__result strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.calc__result small {
  font-size: 12px;
  line-height: 1.45;
  color: var(--grey-text);
}

.calc__result .btn {
  margin-top: 6px;
  justify-self: start;
}

@media (max-width: 760px) {
  .calc {
    grid-template-columns: 1fr;
  }
}

/* Bandomasis važiavimas */
.booking {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--white);
}

.booking__days,
.booking__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: var(--radius);
}

.booking__day input,
.booking__slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking__day span {
  display: grid;
  justify-items: center;
  min-width: 74px;
  padding: 10px 8px;
  border: 1.5px solid #d6d6d6;
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1.2;
}

.booking__day b {
  font-size: 22px;
  font-weight: 800;
}

.booking__day small {
  font-size: 11.5px;
  color: var(--grey-text);
}

.booking__slot span {
  display: inline-block;
  padding: 9px 14px;
  border: 1.5px solid #d6d6d6;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.booking__day input:checked + span,
.booking__slot input:checked + span {
  border-color: var(--red);
  background: #fff6f5;
  color: var(--red);
}

.booking__day input:focus-visible + span,
.booking__slot input:focus-visible + span {
  outline: 2px solid var(--ink);
}

.booking__slots.is-invalid,
.booking__days.is-invalid {
  box-shadow: 0 0 0 3px rgba(209, 45, 40, 0.25);
}

.booking__who {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: stretch;
}

@media (max-width: 640px) {
  .booking__who {
    grid-template-columns: 1fr;
  }
}

/* Kainos skydelis */
.drop-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px 4px 10px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.buy-box__price .old-price {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

.buy-box__price .lease a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.video-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 0 4px;
  font-size: 13px;
  color: var(--grey-text);
}

.video-call span {
  flex-basis: 100%;
}

.vc {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.vc--wa {
  background: #1fa855;
}

.vc--viber {
  background: #7360f2;
}

.vc:hover {
  filter: brightness(0.92);
}

/* Google atsiliepimai (Elfsight) */
.reviews .section-head {
  align-items: center;
}

.reviews__badge {
  width: 220px;
  height: 140px;
  border: 0;
}

.reviews__frame {
  overflow: hidden;
  height: 410px;
}

/* The carousel's own heading ("… su Motorhood") and summary row are cropped off;
   the rating is shown by the badge next to the title instead */
.reviews__frame iframe {
  display: block;
  width: 100%;
  height: 640px;
  margin-top: -205px;
  border: 0;
}

@media (max-width: 760px) {
  .reviews__badge {
    width: 200px;
    height: 130px;
  }

  .reviews__frame {
    height: 440px;
  }

  .reviews__frame iframe {
    margin-top: -230px;
    height: 700px;
  }
}

/* Galerija, kai nuotraukų mažiau nei penkios */
.gallery--1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.gallery--2 {
  grid-template-columns: 2fr 1fr;
}

.gallery--2 button:nth-child(2) {
  grid-row: 1 / 3;
}

.gallery--3 {
  grid-template-columns: 2fr 1fr;
}

.gallery--4 {
  grid-template-columns: 2fr 1fr 1fr;
}

.gallery--4 button:nth-child(4) {
  grid-column: 2 / 4;
}

.seller__avatar .seller-horse {
  width: 30px;
  height: auto;
}

/* =====================================================================
   Vidiniai puslapiai
   ===================================================================== */

.narrow {
  max-width: 880px;
}

.page-hero {
  padding-bottom: clamp(48px, 7vw, 96px);
}

.page-hero__copy {
  max-width: 820px;
  padding-top: clamp(24px, 4vw, 48px);
}

.page-hero__copy h1 {
  margin: 16px 0 18px;
}

.page-hero__actions {
  margin-top: 28px;
}

.page-hero__horse {
  position: absolute;
  right: -4%;
  bottom: -30%;
  width: min(760px, 70vw);
  color: var(--red);
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

.sell-page .crumbs {
  padding-top: 0;
}

/* Laiko juosta */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.timeline li {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 22px 6px 0;
}

.timeline li + li {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--red);
  transform: skewX(-20deg);
}

.timeline li + li::before {
  left: 22px;
}

.timeline b {
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.04em;
  color: var(--red);
}

.timeline span {
  color: var(--grey-text);
}

.timeline--dark {
  border-top-color: rgba(255, 255, 255, 0.4);
}

.timeline--dark li + li {
  border-left-color: var(--line-dark);
}

.timeline--dark span {
  color: rgba(255, 255, 255, 0.7);
}

/* Privalumai */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.benefits > div {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 26px 24px;
  background: var(--white);
  border-top: 3px solid var(--red);
}

.benefits b {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.benefits span {
  color: var(--grey-text);
}

.benefits--stack {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .benefits {
    grid-template-columns: 1fr;
  }
}

/* Mokestis */
.fee {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
}

.fee__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fee__card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}

.fee__card span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.fee__card strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.fee__card strong small {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.fee__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
}

@media (max-width: 900px) {
  .fee,
  .fee__cards {
    grid-template-columns: 1fr;
  }
}

/* Ataskaita */
.report {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}

.report > div {
  display: grid;
  gap: 6px;
  padding: 26px 20px 26px 0;
}

.report > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.report strong {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.report span {
  color: var(--grey-text);
}

.report--2 {
  grid-template-columns: 1fr 1fr;
}

.report--2 > div:nth-child(3) {
  padding-left: 0;
  border-left: 0;
}

.report--2 > div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .report {
    grid-template-columns: 1fr 1fr;
  }

  .report > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .report > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* Užsakymas, formos puslapiuose */
.order {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.order__info {
  display: grid;
  gap: 28px;
}

.order__form {
  padding: clamp(22px, 3vw, 36px);
  background: var(--white);
  box-shadow: 0 24px 60px -30px rgba(15, 15, 15, 0.25);
}

.order__form .h-md {
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .order {
    grid-template-columns: 1fr;
  }
}

/* Finansavimas */
.finance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.finance__card {
  padding: clamp(26px, 4vw, 44px);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.finance__card h2 {
  margin: 14px 0 22px;
}

.finance__card--dark {
  background: var(--ink);
  color: var(--white);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 8px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

.finance-calc {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .finance,
  .finance-calc {
    grid-template-columns: 1fr;
  }
}

/* Apie mus */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.about__text p {
  margin: 0 0 1em;
}

.about__text p:not(.lead) {
  color: var(--grey-text);
}

.about__tag {
  font-size: 26px;
  font-weight: 800;
  font-style: italic;
  color: var(--red) !important;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.member {
  display: grid;
  gap: 4px;
  padding: 0 0 22px;
  background: var(--paper);
}

.member img,
.member__ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 14px;
}

.member__ph {
  display: grid;
  place-content: center;
  background: var(--ink);
  color: var(--red);
}

.member__ph .member-horse {
  width: 120px;
}

.member h3,
.member span,
.member a {
  padding: 0 20px;
}

.member h3 {
  font-size: 19px;
}

.member__pos {
  font-size: 13px;
  color: var(--grey-text);
  margin-bottom: 6px;
}

.member a {
  font-size: 14.5px;
  font-weight: 600;
}

.member a:hover {
  color: var(--red);
}

/* Rekvizitai, kontaktai */
.requisites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.requisites .spec-table {
  margin-top: 16px;
}

.spec-table--1 {
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .requisites {
    grid-template-columns: 1fr;
  }
}

.contacts {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-list--light li {
  border-top-color: var(--line);
}

.contact-list--light span {
  color: var(--grey-text);
}

.contact-list--light a:hover {
  color: var(--red);
}

.contacts__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contacts__btns .vc {
  flex: 0 0 auto;
  padding: 14px 22px;
}

@media (max-width: 900px) {
  .contacts {
    grid-template-columns: 1fr;
  }
}

.map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.6) contrast(1.05);
}

/* DUK */
.faq--page details p,
.faq__a {
  margin: 0 0 20px;
  color: var(--grey-text);
  max-width: 68ch;
}

.faq__group {
  margin: 40px 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.faq__group:first-child {
  margin-top: 0;
}

/* Naujienos */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

@media (max-width: 900px) {
  .posts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .posts {
    grid-template-columns: 1fr;
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -18px rgba(15, 15, 15, 0.28);
}

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink-2);
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  display: grid;
  gap: 8px;
  padding: 18px 20px 22px;
}

.post-card time {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--grey-text);
}

.post-card h2 {
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.post-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--grey-text);
}

.article .crumbs {
  padding-top: 0;
}

.article__cover,
.article__video iframe {
  width: 100%;
  margin-bottom: 28px;
}

.article__video iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.article__body {
  font-size: 17px;
  line-height: 1.7;
}

.article__body img {
  height: auto;
}

.article__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 32px;
}

/* Grid stulpeliai negali būti platesni už ekraną (ilgi žodžiai, lentelės, juostos) */
.listing > *,
.car-layout > *,
.order > *,
.contacts > *,
.about > *,
.finance-calc > * {
  min-width: 0;
}

@media (max-width: 640px) {
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li,
  .timeline li + li {
    padding: 22px 0 18px 28px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline--dark li,
  .timeline--dark li + li {
    border-bottom-color: var(--line-dark);
  }

  .timeline li::before,
  .timeline li + li::before {
    top: 32px;
    left: 0;
  }
}

.display--slogan {
  font-size: clamp(40px, 6.6vw, 100px);
  max-width: 15ch;
}

.hero__copy:has(.display--slogan) {
  max-width: 1000px;
}

.hero-stats strong {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero-stats strong {
    font-size: clamp(20px, 5.6vw, 26px);
  }
}

/* ---------- Viršutinė juosta: salono adresas ---------- */
.topbar {
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.topbar__row {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar__addr {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.topbar__route {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.22);
}

.topbar__hours {
  opacity: 0.85;
}

.topbar__links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.topbar__proto {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .topbar__links,
  .topbar__hours {
    display: none;
  }

  .topbar__proto {
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .topbar__route {
    display: none;
  }
}

.mobile-nav__sub {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.7);
}

/* Filtrai: suskleidžiamos grupės */
.filters .fold {
  border-top: 1px solid var(--line);
  padding: 0;
}

.filters .fold summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.filters .fold summary::-webkit-details-marker {
  display: none;
}

.filters .fold summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--red);
}

.filters .fold[open] summary::after {
  content: "–";
}

.filters .fold summary small {
  margin-left: 6px;
  margin-right: auto;
  color: var(--red);
  letter-spacing: 0;
}

.filters .fold[open] {
  padding-bottom: 14px;
}

.check.is-empty {
  opacity: 0.45;
}

/* Nuomos kortelė */
.card__rent-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-text);
}

.card__price--rent strong small {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
}

.card__ask {
  font-size: 18px !important;
}

.rent-box {
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.06);
}

.rent-box span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Skelbimas: kopijavimas, VIN, paslaugos */
.copy-mini {
  margin-left: 6px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.75;
}

.copy-mini:hover {
  opacity: 1;
}

.key-specs__vin {
  grid-column: span 2;
}

.key-specs__vin dd {
  font-size: 17px !important;
  letter-spacing: 0.04em !important;
  word-break: break-all;
}

@media (max-width: 560px) {
  .key-specs__vin {
    grid-column: 1 / -1;
  }
}

.vin-check__form {
  display: flex;
  flex: 1 1 320px;
  max-width: 460px;
  background: var(--white);
}

.vin-check__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.vin-check__form .btn {
  min-height: 46px;
  clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
}

.vin-check .form-done {
  color: var(--white);
}

.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.extras__item {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px;
  background: var(--white);
}

.extras__item b small {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

.extras__item span {
  font-size: 14px;
  color: var(--grey-text);
}

.extras__item--wide {
  grid-column: 1 / -1;
  border-left: 3px solid var(--red);
}

.extras__plans {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.plan-chip {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white) !important;
  font-size: 13px !important;
  font-weight: 700;
}

@media (max-width: 760px) {
  .extras {
    grid-template-columns: 1fr;
  }
}

/* Paslaugos */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.plan {
  padding: 24px;
  background: var(--white);
  border-top: 3px solid var(--red);
}

.plan__name {
  display: block;
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.03em;
}

.plan dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.plan dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.plan dt {
  color: var(--grey-text);
}

.plan dd {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

.two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.service-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.service-row p {
  margin: 6px 0 0;
  color: var(--grey-text);
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 20px;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Atpirkimas */
.timeline--stack {
  grid-template-columns: 1fr;
}

.timeline--stack li,
.timeline--stack li + li {
  padding: 18px 0 14px 28px;
  border-left: 0;
  border-bottom: 1px solid var(--line);
}

.timeline--stack li::before,
.timeline--stack li + li::before {
  top: 28px;
  left: 0;
}

.timeline--stack b {
  font-size: 22px;
}

.note-box {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--white);
  border-left: 3px solid var(--red);
}

.note-box p {
  margin: 0;
}

.note-box a {
  color: var(--red);
  font-weight: 700;
}

.link-light {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Instagram */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.ig-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-2);
}

.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.3s;
}

.ig-tile:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

@media (max-width: 900px) {
  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sell__ctas {
  margin-top: 22px;
}

/* Formų klaidos ir siuntimas */
.field-error {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
  text-transform: none;
  letter-spacing: 0;
}

.form-alert {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  background: rgba(209, 45, 40, 0.08);
  font-weight: 600;
}

.btn.is-loading {
  opacity: 0.7;
  cursor: progress;
}
