/* ============================================================
   DELTARENT — najem gradbene mehanizacije
   Svetel, moderen dizajn (inspiracija: messersi.it)
   ============================================================ */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --blue: #169FDB;
  --blue-2: #18B1F3;
  --blue-deep: #0E7CB0;
  --navy: #072540;
  --navy-2: #0B3050;
  --ink: #0D2B42;
  --body: #4B5D6E;
  --muted: #7E8FA1;
  --paper: #FFFFFF;
  --mist: #F4F6F8;
  --mist-2: #EBEFF3;
  --line: #E2E9F0;
  --yellow: #FFC400;
  --yellow-deep: #E6AF00;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(7, 37, 64, .07);
  --shadow: 0 14px 40px rgba(7, 37, 64, .12);
  --shadow-lg: 0 24px 70px rgba(7, 37, 64, .18);
  --font-head: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

/* overflow-x: clip (in ne hidden) — hidden na html/body bi pokvaril position: sticky (showcase) */
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--blue); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

::selection { background: var(--blue); color: #fff; }

/* ---------- 2. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .01em;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--body); }

/* ---------- 3. Layout utilities ---------- */
.container { width: min(1200px, 92vw); margin-inline: auto; }

.section { padding: clamp(64px, 9vw, 108px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--yellow); border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 3px; background: var(--yellow); border-radius: 2px; }

.section-head h2 { margin-bottom: 14px; }
.section-head .lead { max-width: 640px; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(22, 159, 219, .35); }
.btn--primary:hover { background: var(--blue-2); color: #fff; box-shadow: 0 14px 30px rgba(22, 159, 219, .45); }

.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px rgba(255, 196, 0, .35); }
.btn--yellow:hover { background: #ffd23e; color: var(--navy); }

.btn--ghost { border: 2px solid rgba(255, 255, 255, .65); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }

.btn--outline { border: 2px solid var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-deep); }

.btn--sm { padding: 10px 20px; font-size: .92rem; }

.text-link {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .98rem;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link::after { content: "→"; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translateX(5px); }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 104px;
  transition: height .3s;
}

/* Transparent state (over home hero) */
.page-home .site-header:not(.scrolled) {
  background: linear-gradient(180deg, rgba(4, 22, 38, .55), rgba(4, 22, 38, 0));
}
.page-home .site-header:not(.scrolled) .nav__link { color: rgba(255, 255, 255, .92); }
.page-home .site-header:not(.scrolled) .nav__link:hover { color: #fff; }
.page-home .site-header:not(.scrolled) .nav__link.active { color: var(--yellow); }
.page-home .site-header:not(.scrolled) .nav__link.active::after { background: var(--yellow); }

/* Solid state */
.site-header.scrolled, .page-sub .site-header {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled .header-inner, .page-sub .site-header .header-inner { height: 88px; }

/* Logotip + slogan (tagline) v glavi */
.brand-block { display: flex; align-items: center; gap: 16px; }

.brand {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  border-radius: 16px;
  padding: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.brand:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 10px 24px rgba(7, 37, 64, .28);
}
.brand__logo { display: block; width: 60px; height: 60px; }

.brand__tagline { display: flex; flex-direction: column; gap: 5px; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .04em;
  color: var(--navy);
  line-height: 1;
}
.brand__name b { color: var(--blue); font-weight: 700; }
.brand__slogan { font-size: .82rem; line-height: 1.35; color: var(--body); max-width: 230px; }
.page-home .site-header:not(.scrolled) .brand__name { color: #fff; }
.page-home .site-header:not(.scrolled) .brand__slogan { color: rgba(255, 255, 255, .85); }
@media (max-width: 1249px) { .brand__tagline { display: none; } }

.brand__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: .04em;
  color: var(--navy);
  line-height: 1;
  transition: color .3s;
}
.brand__text b { color: var(--blue); font-weight: 700; transition: color .3s; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav__link {
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  transition: color .25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--blue-deep); }
.nav__cta { margin-left: 6px; }

/* Spustni podmeni (Mehanizacija) */
.nav__item { position: relative; display: flex; align-items: center; gap: 4px; }
.nav__caret {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .25s, color .25s, transform .3s var(--ease);
}
.nav__caret svg { width: 15px; height: 15px; }
.nav__caret:hover { background: rgba(22, 159, 219, .12); color: var(--blue-deep); }
.nav__item.open .nav__caret { transform: rotate(180deg); }
.page-home .site-header:not(.scrolled) .nav__caret { color: rgba(255, 255, 255, .92); }
.page-home .site-header:not(.scrolled) .nav__caret:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 60;
}
/* mostiček za hover med povezavo in ploščo */
.nav__dropdown::before { content: ""; position: absolute; top: -14px; left: 0; width: 100%; height: 14px; }
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown,
.nav__item.open .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.nav__dropdown a svg { width: 17px; height: 17px; color: var(--blue); flex: none; }
.nav__dropdown a:hover { background: var(--mist); color: var(--blue-deep); }
.nav__dropdown a.active { background: rgba(22, 159, 219, .1); color: var(--blue-deep); }

/* Preklop jezikov SL/HR */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.page-home .site-header:not(.scrolled) .lang-switch { border-left-color: rgba(255, 255, 255, .25); }
.lang-switch a {
  width: 36px; height: 27px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: .55;
  transition: opacity .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.lang-switch a img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lang-switch a:hover { opacity: 1; transform: translateY(-1px); }
.lang-switch a.active { opacity: 1; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(22, 159, 219, .25); }
.lang-switch a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.nav-toggle { display: none; position: relative; z-index: 210; width: 44px; height: 44px; border-radius: 10px; }
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s, background .3s;
}
.page-home .site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 6. Home hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 170px 0 130px;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 24, 42, .88) 0%, rgba(4, 24, 42, .62) 34%, rgba(4, 24, 42, .18) 62%, rgba(4, 24, 42, .05) 100%),
    linear-gradient(0deg, rgba(4, 24, 42, .55) 0%, rgba(4, 24, 42, 0) 30%);
}
.hero__content { max-width: 640px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: .95rem;
  color: var(--yellow);
  margin-bottom: 20px;
}
.hero__eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--yellow); border-radius: 2px; }
.hero h1 { color: #fff; margin-bottom: 22px; text-shadow: 0 4px 30px rgba(0, 0, 0, .3); }
.hero h1 .accent { color: var(--yellow); }
.hero__lead { color: rgba(255, 255, 255, .92); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 540px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__badge {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: clamp(90px, 12vh, 130px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
}
.hero__badge svg { width: 40px; height: 40px; color: var(--blue); flex: none; }
.hero__badge strong { display: block; font-family: var(--font-head); text-transform: uppercase; color: var(--ink); font-size: 1.05rem; letter-spacing: .04em; }
.hero__badge span { font-size: .9rem; color: var(--body); }

/* ---------- 7. USP strip ---------- */
.usp {
  position: relative;
  z-index: 5;
  margin-top: -64px;
}
.usp__card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  overflow: hidden;
}
.usp__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 30px 28px;
  background: #fff;
  transition: background .3s;
}
.usp__item:hover { background: var(--mist); }
/* poudarjeni postavki (hitra dobava delov, evropsko poreklo) */
.usp__item--hl { background: linear-gradient(135deg, rgba(255, 196, 0, .10), rgba(255, 196, 0, .02) 60%); }
.usp__item--hl:hover { background: linear-gradient(135deg, rgba(255, 196, 0, .16), rgba(255, 196, 0, .05) 60%); }
.usp__item--hl svg { color: var(--yellow-deep); }
.usp__item svg { width: 40px; height: 40px; color: var(--blue); flex: none; margin-top: 2px; }
.usp__item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.usp__item p { font-size: .92rem; line-height: 1.5; }

/* ---------- 8. Machine cards (hover video) ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 6px 26px;
  margin-inline: -6px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}
.rail > * { scroll-snap-align: start; }

.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.machine-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.machine-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(22, 159, 219, .45);
}
.machine-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--mist-2);
}
.machine-card__media img,
.machine-card__media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.machine-card__media video { opacity: 0; transition: opacity .35s; }
.machine-card:hover .machine-card__media video { opacity: 1; }
.machine-card:hover .machine-card__media img { transform: scale(1.06); }
.machine-card:hover .machine-card__media video { transform: scale(1.03); }

.machine-card__play {
  position: absolute;
  top: 14px; right: 14px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: background .3s, color .3s, transform .3s;
  pointer-events: none;
}
.machine-card__play svg { width: 18px; height: 18px; margin-left: 2px; }
.machine-card:hover .machine-card__play { background: var(--yellow); transform: scale(1.08); }

.machine-card__tag {
  position: absolute;
  left: 14px; top: 14px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 999px;
}
.machine-card__tag--yellow { background: var(--yellow); color: var(--navy); }

.machine-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.machine-card__body h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.machine-card__body h3 small { font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .85rem; }
.machine-card__body p { font-size: .95rem; flex: 1; }
/* kompaktni specifikacijski seznam + gumb (vzorec po remons referenci) */
.machine-card__body .specs { margin: 0; border-top: 1px solid var(--line); }
.machine-card__body .specs li { padding: 8px 0; font-size: .88rem; }
.machine-card__body .btn { margin-top: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip strong { color: var(--blue-deep); }

/* ---------- 9. Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  box-shadow: var(--shadow-sm);
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 26, 45, .88) 8%, rgba(5, 26, 45, .25) 45%, rgba(5, 26, 45, .05) 70%);
  transition: background .4s;
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.cat-card__body h3 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.cat-card__body p { color: rgba(255, 255, 255, .85); font-size: .92rem; }
.cat-card__arrow {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .16);
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
  transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.cat-card__arrow svg { width: 20px; height: 20px; }
.cat-card:hover .cat-card__arrow { background: var(--yellow); border-color: var(--yellow); color: var(--navy); transform: rotate(-45deg); }

/* ---------- 10. Why us / stats (navy) ---------- */
.section--navy .section-head h2 { color: #fff; }
.section--navy .section-head .lead { color: rgba(255, 255, 255, .78); }
.section--navy .eyebrow { color: var(--blue-2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: background .3s, transform .35s var(--ease), border-color .3s;
}
.why-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-5px); border-color: rgba(24, 177, 243, .5); }
.why-card svg { width: 46px; height: 46px; color: var(--yellow); margin-bottom: 20px; }
.why-card h3 { color: #fff; margin-bottom: 12px; }
.why-card p { color: rgba(255, 255, 255, .75); font-size: .97rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(44px, 6vw, 70px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  color: var(--yellow);
  line-height: 1;
}
.stat__num sup { font-size: .5em; color: var(--blue-2); }
.stat__label { color: rgba(255, 255, 255, .75); font-size: .95rem; margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-head); }

/* ---------- 11. Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--blue);
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: .97rem; }
.step::after {
  content: "";
  position: absolute;
  top: 40px; right: -22px;
  width: 18px; height: 18px;
  border-top: 3px solid var(--yellow);
  border-right: 3px solid var(--yellow);
  transform: rotate(45deg);
  z-index: 2;
}
.step:last-child::after { display: none; }

/* ---------- 12. Split / about teaser ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue), var(--yellow));
  opacity: .18;
  z-index: -1;
}
.split__badge {
  position: absolute;
  left: -20px; bottom: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  max-width: 240px;
}
.split__badge strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--yellow); line-height: 1; }
.split__badge span { font-size: .88rem; color: rgba(255, 255, 255, .8); }

.checklist { margin: 22px 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.checklist svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }

/* ---------- 13. Services cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(22, 159, 219, .45); }
.service-card__ico {
  width: 62px; height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(22, 159, 219, .12), rgba(255, 196, 0, .16));
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.service-card__ico svg { width: 30px; height: 30px; color: var(--blue-deep); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: .93rem; }

/* ---------- 14. Fleet cards ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.fleet-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fleet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fleet-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.fleet-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fleet-card:hover .fleet-card__media img { transform: scale(1.05); }
.fleet-card__media .machine-card__tag { top: auto; bottom: 14px; }
.fleet-card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.fleet-card__body h3 { margin-bottom: 8px; }
.fleet-card__body > p { font-size: .96rem; margin-bottom: 18px; }

.specs { border-top: 1px solid var(--line); margin-bottom: 22px; }
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.specs li span { color: var(--muted); }
.specs li strong { color: var(--ink); font-weight: 600; text-align: right; }
.fleet-card .btn { margin-top: auto; }

/* ---------- 15. Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card:hover::before { transform: scaleX(1); }
.value-card svg { width: 42px; height: 42px; color: var(--blue); margin-bottom: 18px; }
.value-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.value-card p { font-size: .93rem; }

/* ---------- 16. Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 26, 45, .55), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 18, 32, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox__btn {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .25s, transform .25s;
}
.lightbox__btn:hover { background: var(--blue); transform: scale(1.06); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 26px; right: 26px; }
.lightbox__prev { left: 26px; }
.lightbox__next { right: 26px; }

/* ---------- 17. Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  background:
    linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 55%, var(--blue-2) 100%);
  padding: 190px 0 84px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(6, 38, 63, .35), transparent 60%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 380px; height: 380px;
  border: 44px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 18px;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .7; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero .lead { color: rgba(255, 255, 255, .92); max-width: 640px; }
.page-hero__underline { width: 74px; height: 5px; background: var(--yellow); border-radius: 3px; margin-top: 26px; }

/* ---------- 18. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq details[open] { border-color: rgba(22, 159, 219, .5); box-shadow: var(--shadow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072540' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq .faq__answer { padding: 0 26px 22px; }

/* ---------- 19. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: clamp(44px, 6vw, 64px);
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(22, 159, 219, .45); }
.contact-card svg { width: 40px; height: 40px; color: var(--blue); margin: 0 auto 16px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: .97rem; word-break: break-word; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 46px);
}
.form-card h2 { margin-bottom: 8px; }
.form-card > p { margin-bottom: 26px; font-size: .98rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--mist);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 159, 219, .16);
}
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.map-card iframe { flex: 1; width: 100%; border: 0; filter: saturate(.9); }
.map-card__bar {
  background: var(--navy);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
}
.map-card__bar svg { width: 20px; height: 20px; color: var(--yellow); flex: none; }

/* ---------- 20. CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(1000px 500px at 12% -30%, rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(115deg, var(--navy) 20%, var(--navy-2) 60%, #10456d 100%);
  padding: clamp(64px, 8vw, 100px) 0;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  border: 60px solid rgba(255, 196, 0, .1);
  border-radius: 50%;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band h2 .accent { color: var(--yellow); }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 520px; }
.cta-band__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); }
.site-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 56px);
  padding: clamp(56px, 7vw, 84px) 0 clamp(40px, 5vw, 60px);
}
.site-footer .brand__text { color: #fff; font-size: 1.7rem; }
.site-footer .brand__text b { color: var(--yellow); }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { width: 46px; height: auto; }
.site-footer__about { font-size: .95rem; margin-bottom: 22px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: .12em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--yellow); border-radius: 2px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: .96rem; transition: color .25s, padding-left .25s; }
.footer-links a:hover { color: var(--yellow); padding-left: 5px; }
.footer-contact { display: grid; gap: 14px; font-size: .96rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 19px; height: 19px; color: var(--yellow); flex: none; margin-top: 4px; }
.footer-contact a { color: rgba(255, 255, 255, .85); }
.footer-contact a:hover { color: var(--yellow); }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .88rem;
}
.site-footer__bottom a { color: rgba(255, 255, 255, .6); }
.site-footer__bottom a:hover { color: var(--yellow); }

/* ---------- 22. To top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(22, 159, 219, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- 22b. Instagram strip (nadomestek za feed) ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ig-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ig-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7, 37, 64, .55), rgba(7, 37, 64, 0) 55%);
  opacity: 0;
  transition: opacity .3s;
}
.ig-tile__ico {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s, transform .3s var(--ease);
}
.ig-tile__ico svg { width: 16px; height: 16px; }
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile:hover::after { opacity: 1; }
.ig-tile:hover .ig-tile__ico { opacity: 1; transform: none; }

/* ---------- 23. Razno ---------- */
.notice-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 196, 0, .14);
  border: 1px solid rgba(230, 175, 0, .45);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .92rem;
  font-weight: 500;
}
.notice-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-deep); flex: none; }
.section-head .notice-chip { margin-top: 18px; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: 96px; }

/* ---------- 23b. Kategorije v 4 stolpcih (prodajni program) ---------- */
.cat-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-grid--4 .cat-card__body { padding: 18px; }
.cat-grid--4 .cat-card__body h3 { font-size: 1.08rem; }
.cat-grid--4 .cat-card__body p { font-size: .84rem; }

/* ---------- 23c. Showcase (najem — menjava strojev ob scrollu) ---------- */
.showcase { padding-top: clamp(48px, 6vw, 76px); }
.showcase__track { position: relative; height: calc(var(--panels, 3) * var(--panel, 92vh)); }
.showcase__stage {
  position: sticky;
  top: 104px;
  height: calc(92vh - 104px);
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(230px, 290px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.showcase__menu { display: flex; flex-direction: column; gap: 12px; }
.showcase__model {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  /* hover zamakne vsebino (padding), ne pa gumba — translateX bi v
     scroll-kontejnerju menuja sprožil vodoravni scrollbar */
  transition: border-color .3s, box-shadow .3s, padding-left .3s var(--ease);
}
.showcase__model:hover { border-color: rgba(22, 159, 219, .5); padding-left: 24px; }
.showcase__model.active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 159, 219, .16), var(--shadow); }
.showcase__model-idx {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
  line-height: 1;
  flex: none;
}
.showcase__model.active .showcase__model-idx { color: var(--blue); }
.showcase__model-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
}
.showcase__model.active .showcase__model-name { color: var(--blue-deep); }
.showcase__model-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .84rem;
  color: var(--muted);
  margin-top: 2px;
}
.showcase__visual {
  position: relative;
  align-self: stretch; /* zapolni celotno višino odra (ne plava na sredini) */
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 420px at 70% 20%, rgba(22, 159, 219, .08), transparent 60%),
    radial-gradient(700px 500px at 15% 90%, rgba(255, 196, 0, .07), transparent 55%),
    var(--mist-2);
  overflow: hidden;
}
.showcase__img {
  position: absolute;
  top: 22px;
  left: 39%;
  width: calc(61% - 22px);
  height: calc(100% - 44px);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(18px) scale(.99);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.showcase__img.active { opacity: 1; transform: none; }
.showcase__data {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: min(300px, 40%);
}
.showcase__data-inner {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.showcase__data-inner.active { opacity: 1; visibility: visible; transform: none; position: relative; }
.showcase__tag {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.showcase__data-inner h3 { font-size: 1.3rem; margin-bottom: 10px; }
.showcase__data-inner .specs { margin: 0 0 14px; border-top: 1px solid var(--line); }
.showcase__data-inner .specs li { padding: 7px 0; font-size: .86rem; }


/* ---------- 23d. Showcase — katalog prodaje (N modelov na stran) ---------- */
.showcase--catalog .showcase__img {
  left: 24px;
  width: calc(100% - 48px);
  object-fit: contain; /* izrez produkta cel viden na gradientnem ozadju */
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.showcase__menu { max-height: 100%; overflow-y: auto; overflow-x: clip; scrollbar-width: thin; overscroll-behavior: contain; }
.showcase__menu--compact .showcase__model { padding: 8px 14px; gap: 11px; border-radius: 11px; }
.showcase__menu--compact .showcase__model:hover { padding-left: 20px; }
.showcase__menu--compact .showcase__model-idx { font-size: .95rem; -webkit-text-stroke: 1px var(--blue); }
.showcase__menu--compact .showcase__model-name { font-size: .9rem; letter-spacing: .03em; }
.showcase__menu--compact .showcase__model-sub { display: none; }

/* ---------- 24. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 25. Responsive ---------- */
@media (max-width: 1080px) {
  .usp__card { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .showcase__stage { grid-template-columns: minmax(200px, 240px) 1fr; gap: 20px; top: 100px; height: calc(92vh - 100px); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    /* backdrop-filter na glavi ujame fixed potomce (nosilec = glava, 88 px)
       → brez eksplicitne višine se vsebina menija izlije na zaslon */
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: rgba(7, 37, 64, .98);
    backdrop-filter: blur(8px);
    transform: translateY(-100%);
    transition: transform .45s var(--ease);
    z-index: 200;
    overflow: hidden auto;
  }
  .nav.open { transform: none; }
  .nav__link { color: #fff !important; font-size: 1.5rem; }
  .nav__link::after { background: var(--yellow); }
  .nav__cta { margin-left: 0; }
  .nav-toggle { display: block; }

  /* manjši logotip na mobilnem */
  .brand { padding: 5px; border-radius: 14px; }
  .brand__logo { width: 46px; height: 46px; }

  /* podmeni Mehanizacija: vedno razprt, kazalec skrit */
  .nav__item { flex-direction: column; gap: 14px; }
  .nav__caret { display: none; }
  .nav__dropdown {
    position: static;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .nav__dropdown::before { display: none; }
  .nav__dropdown a { color: rgba(255, 255, 255, .78); font-size: 1.05rem; padding: 0; }
  .nav__dropdown a svg { color: var(--blue-2); }
  .nav__dropdown a::before { content: "—"; color: var(--blue-2); margin-right: 2px; }
  .nav__dropdown a:hover { background: transparent; color: var(--yellow); }
  .nav__dropdown a.active { background: transparent; color: var(--yellow); }

  /* preklop jezikov v mobilnem meniju */
  .lang-switch { margin: 14px 0 0; padding-left: 0; border-left: 0; gap: 12px; }
  .lang-switch a { width: 44px; height: 33px; }

  /* showcase na mobilnem: slika z okencem zgoraj, menu kot vodoravni čipi */
  .showcase__track { height: calc(var(--panels, 3) * 80vh); }
  .showcase__stage {
    display: flex;
    flex-direction: column-reverse;
    gap: 14px;
    top: 96px;
    height: auto;
    /* oder napolni zaslon, da med lepljenjem pod njim ni praznine */
    min-height: calc(100vh - 96px);
    min-height: calc(100svh - 96px);
    padding-bottom: 10px;
  }
  .showcase__menu {
    flex: none;
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--blue) transparent;
  }
  .showcase__model { flex: 1 0 auto; white-space: nowrap; padding: 10px 14px; }
  .showcase__menu .showcase__model:hover { transform: none; padding-left: 14px; }
  .showcase__model-sub { display: none; }
  .showcase__visual { aspect-ratio: auto; flex: 1 1 auto; min-height: 220px; }
  .showcase__img { top: 12px; left: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
  .showcase__data { top: 12px; left: 12px; width: min(250px, 62%); }
  .showcase__data-inner { padding: 14px 16px 16px; }
  .showcase__data-inner h3 { font-size: 1.12rem; }
  .showcase__data-inner .specs li { padding: 6px 0; font-size: .8rem; }

  /* katalog prodaje na mobilnem — po vzorcu messersi.it: slike strojev scrollajo
     skozi zaslon, okence s podatki je fiksno (levo zgoraj, rahlo prosojno) in
     ob scrollu samo zamenja vsebino */
  .showcase--catalog .showcase__menu { display: none; }
  .showcase--catalog .showcase__track { height: auto; }
  .showcase--catalog .showcase__stage {
    display: block;
    position: static;
    top: auto;
    height: auto;
    min-height: 0;
    padding-bottom: 0;
  }
  .showcase--catalog .showcase__visual { aspect-ratio: auto; flex: none; margin-bottom: 8px; }
  .showcase--catalog .showcase__img {
    position: static;
    display: block;
    width: 100%;
    height: 62vh;
    height: 62svh;
    min-height: 330px;
    object-fit: contain;
    object-position: center 45%;
    margin-bottom: 14px;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .showcase--catalog .showcase__data {
    position: fixed;
    top: 100px; /* 88 px glava + 12 px zamik */
    left: 12px;
    width: min(280px, 72%);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
  }
  .showcase--catalog .showcase__data.on { opacity: 1; pointer-events: auto; }
  .showcase--catalog .showcase__data-inner {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(10px);
  }

  .split, .split--rev { grid-template-columns: 1fr; }
  .split__badge { left: 14px; }
  .steps, .fleet-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .steps { max-width: 560px; margin-inline: auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .usp { margin-top: -44px; }
  .usp__card { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .services-grid, .values-grid, .contact-grid, .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1fr; gap: 36px; }
  .cta-band__actions .btn { width: 100%; }
  .lightbox { padding: 18px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .rail { grid-auto-columns: minmax(270px, 86vw); }
}
