/* ============================================================
   COMTRANS d.o.o. — osnovni slogi
   Barvna shema: #1B1B1D (črna), #F2760A (oranžna), #F4F4F5 (siva), bela
   ============================================================ */

/* ---------- Tipografija: Inter (samo-gostujoča variable pisava) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #1B1B1D;
  --black-soft: #26262a;
  --orange: #F2760A;
  --orange-dark: #d96407;
  --orange-light: #ffa14d;
  --gray: #F4F4F5;
  --gray-line: #e2e2e6;
  --text: #2a2a2e;
  --text-muted: #5f5f66;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(27, 27, 29, .08);
  --shadow-lg: 0 24px 60px rgba(27, 27, 29, .16);
  --maxw: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

::selection { background: var(--orange); color: var(--white); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--black); line-height: 1.12; font-weight: 800; }
h1 { font-size: clamp(2.05rem, 4.2vw, 3.1rem); letter-spacing: -.03em; margin-bottom: 1.3rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.02em; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; letter-spacing: -.01em; }

p { margin-bottom: 1rem; }

ul.clean { list-style: none; }
ul.checks { list-style: none; }
ul.checks li { padding-left: 1.7rem; position: relative; margin-bottom: .55rem; }
ul.checks li::before {
  content: "";
  position: absolute; left: 0; top: .42em;
  width: .85rem; height: .85rem;
  background: var(--orange);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.section { padding: 5rem 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--black); color: #d9d9de; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform-origin: left;
}

.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 62ch; }
.section--dark .lead { color: #b9b9c0; }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-block;
  padding: 1rem 1.9rem;
  border-radius: 8px;
  font-weight: 700; font-size: .85rem;
  letter-spacing: .07em; text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary::after {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .55s var(--ease);
  pointer-events: none;
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242, 118, 10, .35); }
.btn--primary:hover::after { left: 130%; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Glava ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(27, 27, 29, .1); }
.site-header .container {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
  transition: min-height .3s var(--ease);
}
.site-header.scrolled .container { min-height: 62px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { width: 192px; height: auto; transition: transform .3s var(--ease); }
.site-header.scrolled .brand img { transform: scale(.92); }
.brand:hover { text-decoration: none; }

/* vrstica napredka drsenja (doda jo main.js) */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 400;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}

.main-nav > ul { list-style: none; display: flex; align-items: center; gap: .25rem; }
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::after {
  content: "";
  position: absolute; left: .85rem; right: .85rem; bottom: .3rem;
  height: 2px; border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li > a:focus-visible::after,
.main-nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a {
  display: block; padding: .6rem .85rem;
  color: var(--black); font-weight: 600; font-size: .97rem;
  border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.main-nav a:hover { background: var(--gray); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--orange); }

/* spustni meni */
.has-sub { position: relative; }
.has-sub .caret { font-size: .75em; color: var(--orange); display: inline-block; transition: transform .25s var(--ease); }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  list-style: none;
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .5rem;
  display: flex; flex-direction: column; gap: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.sub a { white-space: nowrap; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-cta { margin-left: .5rem; }
.nav-cta .btn {
  padding: .58rem 1.3rem;
  border-radius: 999px;
  font-size: .76rem;
  letter-spacing: .09em;
}

/* jezikovno stikalo */
.lang-switch { margin-left: .5rem; padding-left: .9rem; border-left: 1px solid var(--gray-line); display: flex; gap: .15rem; align-items: center; }
.lang-switch a, .lang-switch span {
  padding: .3rem .5rem !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  color: var(--text-muted) !important;
  border-radius: 6px;
}
.lang-switch a:hover { color: var(--black) !important; }
.lang-switch a.active, .lang-switch span.active { color: var(--orange) !important; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 3px; margin: 5px 0;
  background: var(--black); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(27, 27, 29, .94) 22%, rgba(27, 27, 29, .72) 58%, rgba(27, 27, 29, .38) 100%),
    url("../img/truck2.jpg") center 38% / cover no-repeat,
    var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,118,10,.2), transparent 65%);
  pointer-events: none;
  animation: hero-glow 7s ease-in-out infinite;
}
@keyframes hero-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: .7; }
}
.hero .container {
  display: grid; grid-template-columns: minmax(0, 44rem); align-content: center;
  padding-top: 4.5rem; padding-bottom: 5.5rem;
  position: relative; z-index: 1;
  min-height: 76vh;
}
.hero h1 { color: var(--white); }
/* vstopna animacija hero vsebine ob nalaganju */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero .eyebrow, .hero h1, .hero .lead, .hero-actions, .hero-badges {
  animation: hero-in .8s var(--ease) both;
}
.hero h1 { animation-delay: .1s; }
.hero .lead { animation-delay: .22s; }
.hero-actions { animation-delay: .34s; }
.hero-badges { animation-delay: .46s; }
.hero .eyebrow::before {
  animation: eyebrow-line .8s var(--ease) .35s both;
}
@keyframes eyebrow-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: #c9c9d0; margin-bottom: 2rem; font-size: 1.1rem; max-width: 56ch; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 1.8rem; flex-wrap: wrap;
  margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .92rem; color: #b9b9c0;
}
.hero-badges > div + div { border-left: 1px solid rgba(255,255,255,.14); padding-left: 1.8rem; }
.hero-badges strong {
  display: block; color: var(--white); font-size: 1.5rem; font-weight: 800;
  letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 2;
  font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: #8b8b92;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.scroll-hint::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  animation: scroll-chev 1.8s ease-in-out infinite;
}
@keyframes scroll-chev {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: .4; }
}

/* ---------- Kartice produktov ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 2.1rem;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .tag {
  align-self: flex-start;
  background: var(--black); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.card .tag--orange { background: var(--orange); }
.card p { color: var(--text-muted); font-size: .97rem; flex: 1; }
.card .card-link { font-weight: 700; margin-top: .8rem; }
.card .card-link::after {
  content: " →";
  display: inline-block;
  transition: transform .25s var(--ease);
}
.card:hover .card-link::after { transform: translateX(5px); }
.card .card-ico {
  width: 46px; height: 46px;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.card .card-ico svg { width: 100%; height: 100%; }

.card--dark { background: var(--black); border-color: var(--black); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: #b9b9c0; }

/* ---------- Poudarki / lastnosti ---------- */
.feature {
  padding: 2rem 1.6rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.feature:hover { border-color: rgba(242, 118, 10, .5); background: rgba(242, 118, 10, .05); transform: translateY(-4px); }
.feature h3 { font-size: 1.1rem; color: var(--white); }
.feature p { font-size: .94rem; color: #b9b9c0; margin: 0; }
.feature .ico {
  width: 42px; height: 42px;
  color: var(--orange);
  margin-bottom: 1.1rem;
  transition: transform .35s var(--ease);
}
.feature .ico svg { width: 100%; height: 100%; }
.feature:hover .ico { transform: translateY(-3px) scale(1.08); }

/* svetla različica feature kartice (če je na beli/sivi podlagi) */
.section:not(.section--dark) .feature,
.section--gray .feature {
  background: var(--white);
  border-color: var(--gray-line);
}
.section:not(.section--dark) .feature h3,
.section--gray .feature h3 { color: var(--black); }
.section:not(.section--dark) .feature p,
.section--gray .feature p { color: var(--text-muted); }

/* ---------- CTA pas ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 85% 50%, rgba(242, 118, 10, .16), transparent 65%),
    var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 120% at 85% 50%, black 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 120% at 85% 50%, black 15%, transparent 70%);
  pointer-events: none;
}
.cta-band .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; padding-top: 3.6rem; padding-bottom: 3.6rem;
  position: relative;
}
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { margin: .4rem 0 0; color: #b9b9c0; }

/* ---------- Noga ---------- */
.site-footer { background: var(--black); color: #b9b9c0; font-size: .95rem; }
.site-footer .cols {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.site-footer img { width: 190px; margin-bottom: 1rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #b9b9c0; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.2rem 0; font-size: .85rem; color: #8b8b92;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ---------- Stran (podstrani) ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(242, 118, 10, .18), transparent 60%),
    var(--black);
  color: var(--white); padding: 3.2rem 0;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #b9b9c0; margin: 0; }
/* vstopna animacija glave podstrani */
.page-hero .breadcrumbs, .page-hero .eyebrow, .page-hero h1, .page-hero .lead {
  animation: hero-in .7s var(--ease) both;
}
.page-hero .eyebrow { animation-delay: .08s; }
.page-hero h1 { animation-delay: .16s; }
.page-hero .lead { animation-delay: .26s; }
.breadcrumbs { font-size: .85rem; margin-bottom: 1rem; color: #9a9aa2; }
.breadcrumbs a { color: #c9c9d0; }
.breadcrumbs span[aria-current] { color: var(--orange); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.split--center { align-items: center; }

.figure-card {
  background: var(--white); border: 1px solid var(--gray-line);
  border-radius: 14px; padding: 1rem; box-shadow: var(--shadow);
  overflow: hidden;
}
.figure-card figcaption { font-size: .85rem; color: var(--text-muted); padding-top: .7rem; text-align: center; }
.figure-card img, .gallery img { transition: transform .5s var(--ease); }
.figure-card:hover img, .gallery figure:hover img { transform: scale(1.04); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery figure {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: .8rem;
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.gallery figure:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.gallery figcaption { font-size: .82rem; color: var(--text-muted); padding-top: .6rem; }

/* cenik / paketi */
.price-card { text-align: left; position: relative; overflow: visible; }
.price-card::before { border-radius: 14px 14px 0 0; }
.price-card--featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.price-card .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 999px; white-space: nowrap;
}
.price-card ul { margin: 1rem 0 1.4rem; }

/* reference */
.ref-filter { margin-bottom: 1.6rem; }
.ref-filter input {
  width: 100%; max-width: 420px;
  padding: .9rem 1.05rem; font-size: 1rem;
  border: 1px solid var(--gray-line); border-radius: 8px; background: var(--gray);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.ref-filter input:focus {
  outline: none; border-color: var(--orange); background: var(--white);
  box-shadow: 0 0 0 4px rgba(242, 118, 10, .15);
}
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; list-style: none; }
.ref-grid li {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: 8px;
  padding: .65rem .95rem; font-size: .92rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.ref-grid li:hover { border-color: var(--orange); transform: translateY(-2px); }
.ref-note { margin-top: 1.4rem; color: var(--text-muted); font-size: .92rem; }
.ref-logo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1rem; list-style: none; margin-bottom: 3rem;
}
.ref-logo-card a, .ref-logo-card .ref-logo-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  height: 100%; min-height: 132px; box-sizing: border-box;
  background: linear-gradient(180deg, #ffffff 0%, #fafafc 100%);
  border: 1px solid var(--gray-line);
  border-top: 3px solid var(--orange);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(27, 27, 29, .05);
  padding: 1.1rem .9rem .9rem; text-align: center; color: inherit; text-decoration: none;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ref-logo-card img { height: 52px; max-width: 100%; width: auto; object-fit: contain; }
.ref-logo-card .ref-name { font-size: .82rem; line-height: 1.35; color: var(--text-muted); transition: color .2s var(--ease); }
.ref-logo-card a:hover, .ref-logo-card .ref-logo-inner:hover {
  border-color: var(--orange); border-top-color: var(--orange-dark);
  transform: translateY(-3px); box-shadow: 0 12px 28px rgba(242, 118, 10, .16);
}
.ref-logo-card a:hover .ref-name, .ref-logo-card .ref-logo-inner:hover .ref-name { color: var(--orange); }
.ref-subtitle { margin: 0 0 1.2rem; font-size: 1.35rem; }
.ref-highlight {
  margin-top: 2.6rem; background: var(--gray);
  border-left: 4px solid var(--orange); border-radius: 8px;
  padding: 1.2rem 1.4rem; font-size: .95rem;
}
.ref-highlight p { margin: 0; }
.map-embed {
  margin-top: 1.8rem; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gray-line); box-shadow: var(--shadow);
}
.map-embed iframe { display: block; width: 100%; height: 480px; border: 0; }

/* drseči trak referenc na domači strani */
.ref-slider {
  overflow: hidden; margin-top: 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ref-slider-track {
  display: flex; width: max-content;
  will-change: transform;
  animation: ref-scroll 55s linear infinite;
}
.ref-slider-set { display: flex; gap: 1rem; padding-right: 1rem; }
.ref-slider .ref-logo-card { width: 190px; flex: none; }
.ref-slider:hover .ref-slider-track { animation-play-state: paused; }
@keyframes ref-scroll { to { transform: translateX(-50%); } }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-box {
  background:
    radial-gradient(400px 240px at 90% 0%, rgba(242, 118, 10, .14), transparent 65%),
    var(--black);
  color: #d9d9de; border-radius: 14px; padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, .08);
}
.contact-box h3 { color: var(--white); }
.contact-box a { color: var(--orange); font-weight: 600; }
.contact-box dl { margin-top: 1rem; }
.contact-box dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: #8b8b92; margin-top: 1.2rem; }
.contact-box dd { margin: .15rem 0 0; font-size: 1.05rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ico { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: .2rem; }
.contact-item .ico svg { width: 100%; height: 100%; }
.contact-item .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: #8b8b92; }
.contact-item .val { font-size: 1.05rem; color: var(--white); }

form.inquiry { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1.05rem; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--gray-line); border-radius: 8px; background: var(--gray);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfcfd6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background: var(--white);
  box-shadow: 0 0 0 4px rgba(242, 118, 10, .15);
}
.field textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .6rem; font-size: .88rem; color: var(--text-muted); align-items: flex-start; }
.consent input { margin-top: .3rem; }

.form-msg { border-radius: 8px; padding: 1rem 1.2rem; font-weight: 600; display: none; }
.form-msg--ok { background: #e6f6ec; color: #177245; border: 1px solid #b8e6c9; }
.form-msg--err { background: #fdeceb; color: #b3261e; border: 1px solid #f5c6c2; }
.form-msg.show { display: block; }

/* cookie pas */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--black); color: #d9d9de;
  padding: 1rem 0; font-size: .9rem;
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-bar .container { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.cookie-bar p { margin: 0; flex: 1; min-width: 260px; }
.cookie-bar a { color: var(--orange); }

/* pomožne */
.text-center { text-align: center; }
.lead--center { margin-left: auto; margin-right: auto; }
.footer-logo {
  background: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-block;
  width: auto;
  max-width: 210px;
}
.footer-credit a { color: #c9c9d0; font-weight: 600; }
.footer-credit a:hover { color: var(--orange); text-decoration: none; }

/* ---------- Animacije ob drsenju (reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: var(--white); padding: .7rem 1.2rem; z-index: 300;
}
.skip-link:focus { left: 0; }

/* ---------- Odzivnost ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .gallery, .ref-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-line);
    padding: .8rem 1.25rem 1.4rem;
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .main-nav a { padding: .75rem .9rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
  .sub a { color: var(--text-muted); font-weight: 500; }
  .has-sub .caret { display: none; }
  .nav-cta { margin: .8rem 0 0; }
  .nav-cta .btn { display: block; text-align: center; }
  .lang-switch { margin: .8rem 0 0; padding: .8rem 0 0; border-left: 0; border-top: 1px solid var(--gray-line); }
  .lang-switch a { padding: .5rem .6rem !important; }

  .section { padding: 3.2rem 0; }
  .hero { background-position: center 38%; background-size: cover; }
  .hero .container { min-height: 0; padding-top: 3.4rem; padding-bottom: 4.2rem; }
  .scroll-hint { display: none; }
  .hero-badges > div + div { border-left: 0; padding-left: 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery, .ref-grid { grid-template-columns: 1fr; }
  .ref-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-slider .ref-logo-card { width: 160px; }
  .map-embed iframe { height: 340px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 1.8rem; }
  .brand img { width: 152px; }
}

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