/* ============================================================
   APEX AUTO CELJE — Swiss Editorial v3
   Barlow Condensed · Barlow · Sharp · Typographic
   ============================================================ */

/* --- Screen reader only ------------------------------------ */
.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;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 300ms ease;
  overflow-x: hidden;
}
body.loaded { opacity: 1; }

img, video { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font:inherit; }
address { font-style:normal; }

/* --- Tokens ------------------------------------------------ */
:root {
  --c-white:   #FFFFFF;
  --c-off:     #F6F5F3;
  --c-light:   #E8E7E5;
  --c-mid:     #ADADAB;
  --c-text:    #0F0F0F;
  --c-black:   #050505;
  --c-dark:    #111111;
  --c-red:     #BB0A21;
  --c-red-dk:  #8C0718;
  --c-inv:     #F6F5F3;

  --f-display: 'Barlow Condensed', sans-serif;
  --f-body:    'Barlow', sans-serif;

  --t-display: clamp(42px, 6.5vw, 100px);
  --t-h1:      clamp(42px, 6vw, 88px);
  --t-h2:      clamp(30px, 4vw, 56px);
  --t-h3:      clamp(20px, 2.2vw, 30px);
  --t-body:    clamp(14px, 1.1vw, 16px);
  --t-label:   clamp(10px, 0.9vw, 11px);

  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 7rem;
  --sp-2xl: 11rem;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-base: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 68px;
  --wrap:  1480px;
}

/* --- Container --------------------------------------------- */
.wrap {
  width:100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

/* --- Sections ---------------------------------------------- */
.band         { padding-block: clamp(4rem, 8vw, 9rem); }
.band--sm     { padding-block: clamp(2rem, 4vw, 4rem); }
.band--white  { background: var(--c-white); }
.band--off    { background: var(--c-off); }
.band--dark   { background: var(--c-dark); color: var(--c-inv); }
.band--black  { background: var(--c-black); color: var(--c-inv); }

/* --- Reveal: opacity only (no slide) ----------------------- */
.fade {
  opacity: 0;
  transition: opacity 800ms var(--ease);
}
.fade.in { opacity: 1; }
.fade[data-d="1"] { transition-delay:  80ms; }
.fade[data-d="2"] { transition-delay: 160ms; }
.fade[data-d="3"] { transition-delay: 240ms; }
.fade[data-d="4"] { transition-delay: 320ms; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  transition: background var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--c-light);
}
.nav--page {
  background: var(--c-white);
  border-color: var(--c-light);
}

.nav__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

/* Logo */
.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}
.nav__logo-main {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.26em;
  line-height: 1;
  color: var(--c-inv);
  transition: color var(--t-fast);
}
.nav--scrolled .nav__logo-main,
.nav--page     .nav__logo-main { color: var(--c-text); }

.nav__logo-sub {
  font-family: var(--f-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246,245,243,0.45);
  transition: color var(--t-fast);
}
.nav--scrolled .nav__logo-sub,
.nav--page     .nav__logo-sub { color: var(--c-mid); }

/* Links */
.nav__body {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.nav__link {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246,245,243,0.88);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--c-red);
  transition: width var(--t-base);
}
.nav__link:hover          { color: var(--c-inv); }
.nav__link:hover::after   { width: 100%; }
.nav__link--on::after     { width: 100%; }
.nav__link--on            { color: var(--c-inv); }

.nav--scrolled .nav__link,
.nav--page     .nav__link { color: var(--c-mid); text-shadow: none; }
.nav--scrolled .nav__link:hover,
.nav--page     .nav__link:hover { color: var(--c-text); }
.nav--scrolled .nav__link--on,
.nav--page     .nav__link--on { color: var(--c-text); }

/* Actions */
.nav__actions { display:flex; align-items:center; gap: var(--sp-md); }

/* Lang */
.lang {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.3);
  overflow: hidden;
}
.lang__btn {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  padding: 5px 10px;
  min-height: 28px;
  transition: color var(--t-fast), background var(--t-fast);
}
.lang__btn:first-child { border-right: 1px solid rgba(255,255,255,0.3); }
.lang__btn--on { color: #fff; background: rgba(255,255,255,0.14); }
.lang__btn:not(.lang__btn--on):hover { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.07); }
.lang__sep { display: none; }

.nav--scrolled .lang,
.nav--page     .lang { border-color: var(--c-light); }
.nav--scrolled .lang__btn:first-child,
.nav--page     .lang__btn:first-child { border-color: var(--c-light); }
.nav--scrolled .lang__btn,
.nav--page     .lang__btn { color: var(--c-mid); }
.nav--scrolled .lang__btn--on,
.nav--page     .lang__btn--on { color: var(--c-text); background: var(--c-off); }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px 8px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--c-inv);
  transition: transform var(--t-base), opacity var(--t-fast), background var(--t-fast);
}
.nav--scrolled .nav__burger span,
.nav--page     .nav__burger span { background: var(--c-text); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity:0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* lang switching animation */
.lang-switching { opacity:0; transition:opacity 150ms ease; }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 32px;
  min-height: 48px;
  white-space: nowrap;
  border-radius: 0;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:focus-visible { outline: 2px solid var(--c-red); outline-offset:3px; }

.btn--red {
  background: var(--c-red);
  color: #fff;
  border: 1px solid var(--c-red);
}
.btn--red:hover { background: var(--c-red-dk); border-color: var(--c-red-dk); }

.btn--black {
  background: var(--c-black);
  color: var(--c-inv);
  border: 1px solid var(--c-black);
}
.btn--black:hover { background: #000; border-color: #000; }

.btn--line {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.38);
}
.btn--line:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.btn--line-dk {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-light);
}
.btn--line-dk:hover { border-color: var(--c-text); }

.btn--sm  { padding:10px 22px; min-height:40px; font-size:10px; }
.btn--lg  { padding:18px 42px; }

/* ============================================================
   HERO — SPLIT SCREEN 50/50
   ============================================================ */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}

/* Left: dark text panel */
.hero-split__left {
  background: var(--c-black);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--nav-h) + clamp(3rem,6vw,6rem)) clamp(1.5rem,5vw,5rem) clamp(2rem,4vw,4rem);
  position: relative;
  overflow: hidden;
}
/* Thin red top bar */
.hero-split__left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-red);
}

.hero-split__eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: var(--sp-sm);
  display: block;
}

.hero-split__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--t-display);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: var(--sp-md);
}

.hero-split__rule {
  width: 48px; height: 1px;
  background: var(--c-red);
  margin-bottom: var(--sp-md);
}

.hero-split__sub {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-h3);
  color: rgba(255,255,255,0.52);
  line-height: 1.5;
  max-width: 440px;
  margin-bottom: var(--sp-lg);
}

.hero-split__ctas { display:flex; flex-wrap:wrap; gap:10px; }

/* Right: full-bleed photo */
.hero-split__right {
  position: relative;
  overflow: hidden;
}
.hero-split__right img {
  width:100%; height:100%;
  object-fit: cover;
}
/* Left gradient to blend with dark panel */
.hero-split__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,5,5,0.35) 0%, transparent 35%);
  z-index: 1;
}
/* Top gradient so nav text is readable over the image */
.hero-split__right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  z-index: 1;
}

/* Page hero (light, for subpages) */
.hero-page {
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid var(--c-light);
}
.hero-page__eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red);
  display: block;
  margin-bottom: var(--sp-sm);
}
.hero-page__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--t-h1);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--c-text);
}
.hero-page__sub {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-h3);
  color: var(--c-mid);
  margin-top: var(--sp-sm);
  max-width: 560px;
  line-height: 1.5;
}

/* ============================================================
   SECTION LABELS & HEADINGS
   ============================================================ */
.label {
  display: block;
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 14px;
}
.band--dark  .label,
.band--black .label { color: var(--c-red); }

.hdg {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 0.94;
  letter-spacing: 0.02em;
  color: var(--c-text);
}
.band--dark  .hdg,
.band--black .hdg { color: #fff; }

.hdg--xl { font-size: var(--t-h1); font-weight:900; }

.hdg-group { margin-bottom: clamp(3rem, 6vw, 6rem); }

/* ============================================================
   STATS BAR — separate metric cards
   ============================================================ */
.stats-bar {
  background: var(--c-off);
  border-top: 1px solid var(--c-light);
  border-bottom: 1px solid var(--c-light);
  padding-block: clamp(3rem, 5vw, 5rem);
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}
.stat {
  background: var(--c-white);
  border: 1px solid var(--c-light);
  text-align: center;
  padding: clamp(1.5rem, 2.5vw, 2.5rem) clamp(1rem, 2vw, 2rem);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.stat:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.stat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--c-red);
}

.stat__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  color: var(--c-text);
  display: block;
  letter-spacing: -0.01em;
}
.stat__num--red { color: var(--c-red); }
.stat__lbl {
  display: block;
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-top: 10px;
}

/* ============================================================
   MODEL ROWS — full-width photo bands (index.php)
   ============================================================ */
.model-rows { display: flex; flex-direction: column; }

.model-row {
  position: relative;
  height: clamp(320px, 50vw, 560px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.model-row + .model-row {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.model-row__bg {
  position: absolute;
  inset: 0;
}
.model-row__bg img {
  width:100%; height:100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.model-row:hover .model-row__bg img { transform: scale(1.04); }

.model-row__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.80) 0%,
    rgba(5,5,5,0.20) 50%,
    transparent 100%
  );
}

.model-row__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-md);
}

.model-row__info {}
.model-row__cat {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-red);
  display: block;
  margin-bottom: 6px;
}
.model-row__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: #fff;
}
.model-row__engine {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  display: block;
}

.model-row__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}
.model-row__price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 36px);
  color: #fff;
  white-space: nowrap;
}
.model-row__price small {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  margin-right: 4px;
}
.model-row__actions { display:flex; gap:8px; }

/* ============================================================
   MODEL GRID — asymmetric (modeli.php)
   ============================================================ */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-light);
  border: 1px solid var(--c-light);
}

.model-item {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
}
/* Every 4th item (pattern: large-small / small-large) */
.model-item:nth-child(4n+1),
.model-item:nth-child(4n+2) { aspect-ratio: auto; }
.model-item:nth-child(4n+1) { grid-column: span 1; aspect-ratio: 3/2; }

.model-item__img {
  position: absolute;
  inset: 0;
}
.model-item__img img {
  width:100%; height:100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.model-item:hover .model-item__img img { transform: scale(1.05); }

.model-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.78) 0%,
    rgba(5,5,5,0.10) 55%,
    transparent 100%
  );
  transition: background var(--t-base);
}
.model-item:hover .model-item__overlay {
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.90) 0%,
    rgba(5,5,5,0.22) 55%,
    transparent 100%
  );
}

.model-item__body {
  position: relative;
  z-index: 2;
  padding: clamp(1.2rem, 2.5vw, 2.5rem);
  width: 100%;
}
.model-item__badge {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-red);
  padding: 4px 10px;
  margin-bottom: 10px;
}
.model-item__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 44px);
  color: #fff;
  line-height: 0.92;
  letter-spacing: 0.02em;
}
.model-item__sub {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-top: 5px;
}
.model-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.model-item__price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 28px);
  color: #fff;
}
.model-item__cta {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: color var(--t-fast), border-color var(--t-fast);
  padding-bottom: 1px;
}
.model-item:hover .model-item__cta {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

/* ============================================================
   USED CARS LIST (rabljeni.php)
   ============================================================ */
.used-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--c-light);
  border: 1px solid var(--c-light);
}

.used-item {
  display: grid;
  grid-template-columns: 380px 1fr auto;
  background: var(--c-white);
  min-height: 200px;
  transition: background var(--t-fast);
}
.used-item:hover { background: var(--c-off); }

.used-item__img {
  overflow: hidden;
  position: relative;
}
.used-item__img img {
  width:100%; height:100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.used-item:hover .used-item__img img { transform: scale(1.04); }

.used-item__body {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.used-item__badge {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-red);
  padding: 4px 10px;
  margin-bottom: var(--sp-sm);
  align-self: flex-start;
}
.used-item__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 36px);
  color: var(--c-text);
  line-height: 1;
  letter-spacing: 0.02em;
}
.used-item__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--sp-sm);
}
.chip {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--c-mid);
  border: 1px solid var(--c-light);
  padding: 4px 12px;
}

.used-item__right {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  border-left: 1px solid var(--c-light);
  min-width: 200px;
}
.used-item__price {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 44px);
  color: var(--c-text);
  letter-spacing: 0.01em;
  text-align: right;
}
.used-item__actions { display:flex; flex-direction:column; gap:8px; align-items:flex-end; }

/* Filter bar */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--c-light);
}
.filter-row select {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text);
  background: var(--c-white);
  border: none;
  border-right: 1px solid var(--c-light);
  padding: 14px 36px 14px 16px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex: 1;
  min-width: 160px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ADADAB' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: background-color var(--t-fast);
}
.filter-row select:last-child { border-right: none; }
.filter-row select:hover { background-color: var(--c-off); }

/* ============================================================
   SERVICES — numbered accordion (storitve.php)
   ============================================================ */
.accord { border-top: 1px solid var(--c-light); }
.accord-item { border-bottom: 1px solid var(--c-light); }

.accord-hd {
  width: 100%;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: var(--sp-md);
  padding: clamp(1.2rem, 2.5vw, 2.2rem) 0;
  cursor: pointer;
  transition: color var(--t-fast);
}
.accord-hd:hover .accord-hd__title { color: var(--c-red); }

.accord-hd__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--c-light);
  line-height: 1;
  letter-spacing: 0.04em;
  transition: color var(--t-fast);
}
.accord-item.open .accord-hd__num { color: var(--c-red); }

.accord-hd__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: 0.04em;
  color: var(--c-text);
  text-align: left;
  transition: color var(--t-fast);
}
.accord-item.open .accord-hd__title { color: var(--c-red); }

.accord-hd__arrow {
  width: 28px; height: 28px;
  border: 1px solid var(--c-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-base);
}
.accord-item.open .accord-hd__arrow {
  background: var(--c-red);
  border-color: var(--c-red);
  transform: rotate(45deg);
}
.accord-hd__arrow svg { width:12px; height:12px; }
.accord-item.open .accord-hd__arrow svg { stroke: #fff; }

.accord-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms var(--ease);
}
.accord-item.open .accord-body { grid-template-rows: 1fr; }
.accord-body__inner {
  overflow: hidden;
}
.accord-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.accord-content__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.accord-content__img img { width:100%; height:100%; object-fit:cover; }
.accord-content__text {}
.accord-content__copy {
  font-size: var(--t-body);
  color: var(--c-mid);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

/* highlight boxes (financiranje) */
.hl-row {
  display: flex;
  gap: 0;
  margin-bottom: var(--sp-lg);
  border: 1px solid var(--c-light);
}
.hl-box {
  flex: 1;
  padding: var(--sp-sm) var(--sp-md);
  text-align: center;
  border-right: 1px solid var(--c-light);
}
.hl-box:last-child { border-right:none; }
.hl-box__val {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--c-red);
  display: block;
}
.hl-box__lbl {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mid);
  display: block;
  margin-top: 2px;
}

/* services list (servis) */
.svc-list { display:flex; flex-direction:column; }
.svc-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding-block: 14px;
  border-bottom: 1px solid var(--c-light);
  font-size: var(--t-body);
  color: var(--c-mid);
  letter-spacing: 0.04em;
}
.svc-list li::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--c-red);
  flex-shrink: 0;
}

/* booking form (inside accordion) */
.book-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}
.book-form .fg--full { grid-column: 1 / -1; }

/* ============================================================
   FORM GROUPS — animated
   ============================================================ */
.fg {
  position: relative;
  padding-top: 24px;
}
.fg label {
  position: absolute;
  top: 24px; left: 0;
  font-family: var(--f-body);
  font-size: var(--t-body);
  font-weight: 400;
  color: var(--c-mid);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--t-base), color var(--t-base);
}
.fg input,
.fg textarea,
.fg select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-light);
  padding: 8px 0 11px;
  font-family: var(--f-body);
  font-size: var(--t-body);
  color: var(--c-text);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--t-fast);
}
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ADADAB' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 18px;
  cursor: pointer;
}
.fg select option { background:#fff; color: var(--c-text); }
.fg textarea { resize:none; min-height:110px; }

.fg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--c-red);
  transition: width 280ms var(--ease);
}
.fg:focus-within::after { width: 100%; }
.fg:focus-within input,
.fg:focus-within textarea,
.fg:focus-within select { border-color: transparent; }
.fg:focus-within label,
.fg.filled label {
  transform: translateY(-21px) scale(0.75);
  color: var(--c-red);
}
.fg.filled label { color: var(--c-mid); }

/* ============================================================
   TESTIMONIALS — horizontal list
   ============================================================ */
.testi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--c-light);
}
.testi-item {
  padding: clamp(2rem, 3.5vw, 3.5rem);
  border-right: 1px solid var(--c-light);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.testi-item:last-child { border-right: none; }
.testi-item__stars { color: var(--c-red); font-size: 13px; letter-spacing: 2px; }
.testi-item__quote {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--c-text);
  line-height: 1.75;
  flex: 1;
}
.testi-item__author {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mid);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--c-light);
}

/* Models all-CTA row */
.models-cta-row {
  display: block;
  background: var(--c-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: background var(--t-fast);
}
.models-cta-row:hover { background: #1a1a1a; }
.models-cta-row__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding-block: clamp(1.2rem, 2vw, 1.8rem);
}
.models-cta-row__label {
  display: block;
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 3px;
}
.models-cta-row__title {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: 0.08em;
  color: #fff;
}
.models-cta-row__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 12px 24px;
  white-space: nowrap;
  transition: border-color var(--t-fast), background var(--t-fast);
  flex-shrink: 0;
}
.models-cta-row:hover .models-cta-row__btn {
  border-color: var(--c-red);
  background: var(--c-red);
}

/* Section divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  max-width: var(--wrap);
  margin-inline: auto;
}
.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--c-light);
}
.section-divider__label {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-mid);
  white-space: nowrap;
}

/* ============================================================
   PREOWNED DARK STRIP
   ============================================================ */
.po-strip {
  background: var(--c-black);
  padding-block: clamp(4rem, 7vw, 8rem);
}
.po-strip__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.po-strip__img {
  overflow: hidden;
  aspect-ratio: 3/2;
}
.po-strip__img img { width:100%; height:100%; object-fit:cover; }
.po-strip__hdg { color: #fff; }
.po-strip__copy {
  font-size: var(--t-body);
  font-weight: 300;
  color: rgba(246,245,243,0.45);
  line-height: 1.8;
  margin-block: var(--sp-md);
}
.po-strip__nums {
  display: flex;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}
.po-num__val {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--c-red);
  line-height: 1;
  display: block;
}
.po-num__lbl {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,245,243,0.35);
  display: block;
  margin-top: 4px;
}

/* ============================================================
   CERTIFIED STRIP
   ============================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  border: 1px solid rgba(255,255,255,0.06);
}
.cert-item {
  padding: clamp(2rem, 3.5vw, 3.5rem);
  border-right: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.cert-item:last-child { border-right: none; }
.cert-item__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(52px, 7vw, 88px);
  color: var(--c-red);
  line-height: 1;
  display: block;
}
.cert-item__lbl {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,245,243,0.35);
  display: block;
  margin-top: 10px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--c-red);
  padding-block: clamp(3rem, 5vw, 5rem);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.cta-band__text {}
.cta-band__hdg {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: #fff;
}
.cta-band__sub {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-h3);
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}
.cta-band__actions { display:flex; gap:10px; flex-wrap:wrap; flex-shrink:0; }
.btn--white {
  background: #fff;
  color: var(--c-red);
  border: 1px solid #fff;
  font-weight: 700;
}
.btn--white:hover { background: rgba(255,255,255,0.9); }
.btn--line-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn--line-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}
.story-img { overflow:hidden; aspect-ratio:4/3; }
.story-img img { width:100%; height:100%; object-fit:cover; }

.story-quote {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--t-h2);
  line-height: 1.25;
  color: var(--c-text);
  margin-bottom: var(--sp-md);
  border-left: 3px solid var(--c-red);
  padding-left: var(--sp-md);
}
.story-body {
  font-size: var(--t-body);
  font-weight: 300;
  color: var(--c-mid);
  line-height: 1.85;
}

/* Team */
.team-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.team-member {
  background: var(--c-white);
  border: 1px solid var(--c-light);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.team-member:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.team-member__img {
  height: 220px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 60%, #222 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-member__img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(187,10,33,0.18) 0%, transparent 100%);
}
.team-member__initials {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 80px;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  user-select: none;
}
.team-member__body {
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border-top: 2px solid var(--c-red);
}
.team-member__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: 0.04em;
  color: var(--c-text);
}
.team-member__role {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-top: 4px;
  margin-bottom: var(--sp-sm);
}
.team-member__bio {
  font-size: var(--t-body);
  font-weight: 300;
  color: var(--c-mid);
  line-height: 1.7;
}

/* Values */
.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.value-item {
  padding: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 3vw, 3rem);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.value-item:last-child { border-right: none; }
.value-item__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 64px;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: var(--sp-sm);
}
.value-item__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: var(--sp-sm);
}
.value-item__desc {
  font-size: var(--t-body);
  font-weight: 300;
  color: rgba(246,245,243,0.68);
  line-height: 1.75;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}
.contact-lbl {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  display: block;
  margin-bottom: 6px;
}
.contact-val {
  font-size: var(--t-body);
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}
.contact-val a { transition: color var(--t-fast); }
.contact-val a:hover { color: var(--c-red); }

.map-box {
  border: 1px solid var(--c-light);
  height: 300px;
  overflow: hidden;
  margin-top: var(--sp-lg);
  position: relative;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(20%);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-block: clamp(4rem, 6vw, 7rem) var(--sp-md);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer__logo { text-decoration:none; display:inline-flex; flex-direction:column; gap:1px; margin-bottom: var(--sp-md); }
.footer__logo-main {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.3em;
  color: #fff;
  line-height: 1;
}
.footer__logo-sub {
  font-family: var(--f-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.footer__tag {
  font-size: var(--t-body);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 220px;
}
.footer__col-hd {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-md);
}
.footer__links { display:flex; flex-direction:column; gap:10px; }
.footer__links a {
  font-size: var(--t-body);
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: #fff; }
.footer__addr {
  font-size: var(--t-body);
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
}
.footer__addr a { color:rgba(255,255,255,0.55); transition: color var(--t-fast); }
.footer__addr a:hover { color:#fff; }
.footer__social { display:flex; gap:10px; margin-top: var(--sp-md); }
.footer__soc-btn {
  width:38px; height:38px;
  border: 1px solid rgba(255,255,255,0.25);
  display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,0.55);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.footer__soc-btn:hover { border-color: var(--c-red); color:#fff; }
.footer__btm {
  padding-top: var(--sp-md);
  text-align: center;
}
.footer__btm p {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split__right { height: 50vw; }
  .hero-split__left {
    min-height: 55vh;
    padding: calc(var(--nav-h) + clamp(2rem,4vw,4rem)) clamp(1.5rem,5vw,5rem) clamp(2rem,4vw,4rem);
  }
  .po-strip__layout { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .accord-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .model-grid { grid-template-columns: 1fr; }
  .model-item { aspect-ratio: 16/9 !important; }
  .model-item:nth-child(n) { grid-column: auto; }
  .testi-row { grid-template-columns: 1fr; }
  .testi-item { border-right:none; border-bottom: 1px solid var(--c-light); }
  .testi-item:last-child { border-bottom:none; }
  .team-row { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr; }
  .value-item { border-right:none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-item { border-right:none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hl-row { flex-direction: column; }
  .hl-box { border-right:none; border-bottom: 1px solid var(--c-light); }
  .book-form { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* ---- Nav ---- */
  .nav__burger { display:flex; }
  .nav__body {
    position: absolute;
    inset: var(--nav-h) 0 auto;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-inline: clamp(1.5rem, 5vw, 3rem);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 500ms var(--ease), padding var(--t-base);
    box-shadow: 0 16px 32px rgba(0,0,0,0.05);
  }
  .nav__body.open {
    max-height: 640px;
    pointer-events: auto;
    padding-block: var(--sp-sm) var(--sp-lg);
  }
  .nav__links { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .nav__links li { width:100%; }
  .nav__link {
    display:block;
    padding-block: 13px;
    border-bottom: 1px solid var(--c-light);
    color: var(--c-mid);
    font-size: 12px;
    text-shadow: none;
  }
  .nav__link--on { color: var(--c-text); }
  .nav__link::after { display:none; }
  .nav__actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: var(--sp-sm);
    margin-top: var(--sp-md);
  }
  /* Lang switcher inside white mobile menu */
  .nav__actions .lang { border-color: var(--c-light); }
  .nav__actions .lang__btn:first-child { border-color: var(--c-light); }
  .nav__actions .lang__btn { color: var(--c-mid); background: transparent; }
  .nav__actions .lang__btn--on { color: var(--c-text); background: var(--c-off); }

  /* ---- Hero ---- */
  .hero-split__left {
    min-height: 50vh;
    padding: calc(var(--nav-h) + 5rem) clamp(1.2rem,4vw,2.5rem) 2.5rem;
  }
  .hero-split__right { height: 56vw; }
  .hero-split__ctas { flex-direction:column; }
  .hero-split__ctas .btn { width:100%; justify-content:center; }

  /* ---- Stats ---- */
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }

  /* ---- Model rows ---- */
  .model-row { height: clamp(240px, 58vw, 360px); }
  .model-row__body { flex-direction: column; align-items: flex-start; }
  .model-row__right { align-items: flex-start; }

  /* ---- Models CTA row ---- */
  .models-cta-row__inner { flex-direction: column; align-items: flex-start; gap: var(--sp-sm); }
  .models-cta-row__btn { align-self: flex-start; }

  /* ---- Section divider ---- */
  .section-divider { padding-inline: clamp(1.2rem,4vw,2.5rem); }

  /* ---- Used cars ---- */
  .used-item { grid-template-columns: 1fr; }
  .used-item__img { height: 200px; }
  .used-item__right { border-left:none; border-top: 1px solid var(--c-light); align-items:flex-start; }

  /* ---- Accordion ---- */
  .accord-hd { grid-template-columns: 44px 1fr auto; gap: var(--sp-sm); }

  /* ---- Image hero (o nas) ---- */
  .hero-page--img { min-height: 50vh; }
  .hero-page--img__bg img { object-position: center top; }

  /* ---- Contact form rows ---- */
  .contact-form__row { grid-template-columns: 1fr !important; }

  /* ---- CTA band ---- */
  .cta-band__inner { flex-direction:column; }

  /* ---- Footer ---- */
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-lg); }

  /* ---- Filter ---- */
  .filter-row { flex-direction: column; }
  .filter-row select { border-right:none; border-bottom: 1px solid var(--c-light); }
  .filter-row select:last-child { border-bottom:none; }

  /* ---- Pre-owned strip ---- */
  .po-strip__nums { flex-direction:column; gap: var(--sp-md); }
}

/* Used car filter hide */
.used-item[hidden] { display: none; }

/* Date/time inputs: always float label */
.fg input[type="date"],
.fg input[type="time"] { padding-top: 4px; }
.fg:has(input[type="date"]) label,
.fg:has(input[type="time"]) label {
  transform: translateY(-21px) scale(0.75);
  color: var(--c-mid);
}

/* Hero page with background image */
.hero-page--img {
  position: relative;
  overflow: hidden;
  border-bottom: none;
  min-height: 65vh;
}
.hero-page--img__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-page--img__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-page--img__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
}
.hero-page--img__content {
  position: relative;
  z-index: 1;
}

@media print {
  .nav { display:none; }
  body { opacity:1; }
}

/* ============================================================
   LUXURY ADDITIONS
   ============================================================ */

/* Luxury Loader */
#apex-loader {
  position: fixed; inset: 0;
  background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .9s cubic-bezier(.16,1,.3,1), visibility .9s;
}
#apex-loader.apex-loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.apex-loader__inner {
  display: flex; flex-direction: column;
  align-items: center; position: relative;
}
.apex-loader__ring {
  width: 72px; height: 72px;
  border: 1px solid rgba(0,0,0,.08);
  border-top-color: var(--c-red);
  border-radius: 50%;
  animation: apexSpin 1.2s linear infinite;
  margin-bottom: 2rem;
}
.apex-loader__logo {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: .4em;
  text-indent: .4em;
  color: var(--c-black);
  animation: apexPulse 2s ease-in-out infinite;
}
.apex-loader__sub {
  font-family: var(--f-body);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-top: .8rem;
  opacity: 0;
  animation: apexFadeUp .6s 1s cubic-bezier(.16,1,.3,1) forwards;
}
.apex-loader__counter {
  position: fixed;
  bottom: 2.5rem;
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,0,0,.06);
  letter-spacing: .1em;
}
@keyframes apexSpin   { to { transform: rotate(360deg); } }
@keyframes apexPulse  { 0%,100%{opacity:.4} 50%{opacity:1} }
@keyframes apexFadeUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

/* Grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: .018;
  pointer-events: none;
  z-index: 9990;
}

/* Dark cinematic hero */
.hero-split {
  background: var(--c-black) !important;
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.hero-split::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(5,5,5,.95) 0%, rgba(5,5,5,.92) 35%, rgba(5,5,5,.5) 65%, rgba(5,5,5,.05) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-split__left {
  position: relative;
  z-index: 2;
  padding: clamp(7rem, 15vh, 12rem) clamp(1.5rem, 5vw, 5rem) clamp(5rem, 10vh, 8rem);
  max-width: 720px;
}
.hero-split__eyebrow { color: rgba(255,255,255,.5) !important; }
.hero-split__title   { color: #fff !important; text-shadow: 0 2px 40px rgba(0,0,0,.5); }
.hero-split__rule    { background: var(--c-red) !important; }
.hero-split__sub     { color: rgba(255,255,255,.75) !important; }
.hero-split__right {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}
.hero-split__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: brightness(.7) contrast(1.05);
}

/* Nav transparent over dark hero */
.nav:not(.nav--scrolled):not(.nav--page) {
  background: transparent !important;
  box-shadow: none !important;
}
.nav:not(.nav--scrolled):not(.nav--page) .nav__link,
.nav:not(.nav--scrolled):not(.nav--page) .nav__logo {
  color: #fff !important;
}
.nav:not(.nav--scrolled):not(.nav--page) .nav__burger span {
  background: #fff !important;
}

/* Spec bars on model row hover */
.model-row { position: relative; overflow: hidden; }
.model-spec-bars {
  display: none;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 2rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 100%);
  z-index: 3;
  flex-direction: column;
  gap: .6rem;
}
.model-row:hover .model-spec-bars {
  display: flex;
  animation: specBarIn .35s cubic-bezier(.16,1,.3,1) forwards;
}
.spec-bar-row { display: flex; align-items: center; gap: 1rem; }
.spec-bar-label {
  font-family: var(--f-display);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  min-width: 80px;
}
.spec-bar-track {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 1px;
  overflow: hidden;
}
.spec-bar-fill {
  height: 100%;
  background: var(--c-red);
  border-radius: 1px;
  width: 0;
  transition: width .9s cubic-bezier(.16,1,.3,1);
}
.model-row:hover .spec-bar-fill { width: var(--bar-w, 70%); }
.spec-bar-val {
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  min-width: 54px;
  text-align: right;
}
@keyframes specBarIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }

/* Luxury scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--c-black); }
::-webkit-scrollbar-thumb { background: var(--c-red); border-radius: 3px; }

/* Selection */
::selection { background: rgba(187,10,33,.25); color: #fff; }
