/* ==========================================================================
   TABI TRADE — Dizajn sistem
   Paleta izvedena iz logotipa (petrolej #10636B) + industrijski akcenat.
   Fontovi: Space Grotesk (naslovi) / Inter (tekst).
   ========================================================================== */

:root {
  /* Boje brenda */
  --teal: #10636B;          /* primarna — iz logotipa */
  --teal-dark: #0B474D;
  --teal-deep: #082F33;
  --ink: #0C1D20;           /* skoro crna sa petrolej podtonom */
  --ink-soft: #14282C;
  --slate: #4A5C60;         /* sekundarni tekst */
  --mist: #F3F6F6;          /* alternativna pozadina sekcija */
  --paper: #FFFFFF;
  --line: #DDE6E6;
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #E8762B;        /* CTA — industrijska narandžasta, koristi se štedljivo */
  --accent-dark: #C95F1B;
  --ok: #2E7D32;
  --err: #C62828;

  /* Tipografija */
  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Ritam */
  --container: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(12, 29, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 29, 32, 0.14);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   Reset i osnove
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.2em; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Layout pomoćne klase
   -------------------------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, 0.86); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--teal { background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep)); color: rgba(255,255,255,0.9); }
.section--teal h2, .section--teal h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.section--dark .eyebrow, .section--teal .eyebrow { color: #7FC1C7; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--slate); font-size: 1.06rem; margin-bottom: 0; }
.section--dark .section-head p, .section--teal .section-head p { color: rgba(255,255,255,0.72); }

.lead { font-size: 1.13rem; color: var(--slate); }

/* --------------------------------------------------------------------------
   Dugmad
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 14px 28px; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-align: center; line-height: 1.2; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: 0 0 auto; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(232, 118, 43, 0.32); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 12px 28px rgba(232, 118, 43, 0.4); }

.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn--ghost-light { border-color: rgba(255,255,255,0.35); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

.btn--sm { padding: 10px 18px; font-size: 0.88rem; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

.btn--wa { background: #1FAF54; color: #fff; }
.btn--wa:hover { background: #178A41; color: #fff; }
.btn--viber { background: #7360F2; color: #fff; }
.btn--viber:hover { background: #5B48D9; color: #fff; }

/* --------------------------------------------------------------------------
   Header / navigacija
   -------------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(12,29,32,0.06); }

.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
}

.header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.header__logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-family: var(--font-head); font-size: 0.94rem; font-weight: 500;
  color: var(--ink); padding: 9px 13px; border-radius: 8px;
}
.nav a:hover { color: var(--teal); background: var(--mist); }
.nav a.is-active { color: var(--teal); }
.nav a.is-active::after { content: ""; display: block; height: 2px; background: var(--accent); margin-top: 2px; border-radius: 2px; }

.nav .nav__webshop {
  margin-left: 8px;
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 10px 20px; border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(232, 118, 43, 0.3);
}
.nav .nav__webshop:hover { background: var(--accent-dark); color: #fff; }
.nav .nav__webshop svg { vertical-align: -2px; margin-left: 6px; }

.header__actions { display: flex; align-items: center; gap: 8px; }

.header__tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.94rem;
  color: var(--ink); padding: 9px 12px; border-radius: 8px; white-space: nowrap;
}
.header__tel:hover { color: var(--teal); background: var(--mist); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink);
  transition: border-color 0.18s, color 0.18s;
}
.icon-btn:hover { border-color: var(--teal); color: var(--teal); }

/* Webshop dugme u headeru za mobilni */
.header__webshop-m {
  display: none;
  background: var(--accent); color: #fff !important;
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  padding: 9px 14px; border-radius: 8px; white-space: nowrap;
}

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer; padding: 0 10px;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobilni meni */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 85;
  background: #fff; padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu nav a {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 600;
  color: var(--ink); padding: 14px 10px; border-bottom: 1px solid var(--mist);
}
.mobile-menu nav a.is-active { color: var(--teal); }
.mobile-menu__webshop {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #fff !important; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  padding: 16px; margin: 18px 0 8px;
}
.mobile-menu__contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* Sticky CTA traka — mobilni */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  display: none; grid-template-columns: 1fr 1fr 1.4fr;
  background: var(--ink); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px; box-shadow: 0 -8px 24px rgba(12,29,32,0.25);
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
  color: #fff; padding: 11px 6px; border-radius: 8px; background: rgba(255,255,255,0.1);
}
.mobile-cta a.mobile-cta__quote { background: var(--accent); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 620px at 78% -10%, rgba(16, 99, 107, 0.55), transparent 60%),
              linear-gradient(160deg, #0E2427 0%, var(--ink) 55%, #081416 100%);
  color: #fff;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(56px, 8vw, 96px);
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(127, 193, 199, 0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(127, 193, 199, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 60% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(900px 600px at 60% 20%, #000 40%, transparent 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .u { color: #7FC1C7; }
.hero__sub { font-size: 1.14rem; color: rgba(255,255,255,0.78); max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__trust { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.62); }
.hero__trust svg { color: #7FC1C7; }

.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; display: block; }

/* Statistike ispod heroja */
.stats {
  position: relative; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(-60px, -5vw, -40px);
}
.stats--flat { margin-top: 0; box-shadow: var(--shadow); }
.stat { padding: 28px 22px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--teal); line-height: 1.1;
}
.stat__num small { font-size: 0.6em; }
.stat__label { font-size: 0.86rem; color: var(--slate); margin-top: 6px; }

/* --------------------------------------------------------------------------
   Kartice i sadržajne komponente
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(16, 99, 107, 0.35); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 99, 107, 0.09); color: var(--teal); margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.97rem; margin-bottom: 0; }
.card .card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 600; font-family: var(--font-head); font-size: 0.92rem; }
.card .card__link svg { transition: transform 0.2s; }
.card .card__link:hover svg { transform: translateX(4px); }

.section--dark .card { background: var(--ink-soft); border-color: var(--line-dark); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: rgba(255,255,255,0.66); }
.section--dark .card__icon { background: rgba(127, 193, 199, 0.12); color: #7FC1C7; }

/* Vrednosti — numerisane */
.value { position: relative; padding-left: 74px; }
.value__num {
  position: absolute; left: 0; top: 0;
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px var(--teal); opacity: 0.75; line-height: 1;
}
.value h3 { margin-bottom: 8px; }
.value p { color: var(--slate); margin-bottom: 0; }

/* Proces saradnje */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 28px 0 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff; margin-bottom: 18px;
}
.step::after {
  content: ""; position: absolute; top: 23px; left: 60px; right: 12px; height: 1px;
  background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--slate); font-size: 0.94rem; margin: 0; }
.section--dark .step::after { background: var(--line-dark); }
.section--dark .step p { color: rgba(255,255,255,0.66); }

/* Kategorije delova */
.cat {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); color: var(--ink); }
.cat__icon { width: 46px; height: 46px; color: var(--teal); }
.cat__icon svg { width: 100%; height: 100%; }
.cat h3 { font-size: 1.04rem; margin: 0; }
.cat p { font-size: 0.87rem; color: var(--slate); margin: 0; }

/* Brendovi */
.brand-tile {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 26px 18px; min-height: 92px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
  letter-spacing: 0.06em; color: var(--slate); text-transform: uppercase; text-align: center;
  transition: color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.brand-tile:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-tile small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.12em; color: var(--slate); margin-top: 4px; }

/* Brend kartica (stranica Brendovi) */
.brand-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.brand-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.brand-card__tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); background: rgba(16,99,107,0.08); border-radius: 20px; padding: 4px 12px; margin: 10px 0 12px; }
.brand-card p { color: var(--slate); font-size: 0.94rem; margin: 0; }

/* Filter dugmad */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  padding: 9px 18px; border-radius: 30px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--slate);
  transition: all 0.18s;
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Recenzije */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; }
.review__stars { color: var(--accent); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 14px; }
.review__text { color: var(--ink); font-size: 0.99rem; flex: 1; }
.review__author { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--mist); }
.review__author strong { font-family: var(--font-head); font-size: 0.95rem; display: block; }
.review__author span { font-size: 0.84rem; color: var(--slate); }

/* Galerija — placeholderi za fotografije */
.ph {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16,99,107,0.09), rgba(16,99,107,0.02)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(16,99,107,0.05) 14px 15px);
  border: 1px dashed rgba(16, 99, 107, 0.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--teal); text-align: center; padding: 20px;
}
.ph--16x10 { aspect-ratio: 16 / 10; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--sq { aspect-ratio: 1 / 1; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph svg { opacity: 0.75; }
.ph figcaption { font-size: 0.8rem; font-weight: 500; color: var(--slate); max-width: 240px; line-height: 1.4; }
.section--dark .ph { border-color: rgba(127,193,199,0.4); background: rgba(127,193,199,0.06); color: #7FC1C7; }
.section--dark .ph figcaption { color: rgba(255,255,255,0.6); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  padding: 20px 56px 20px 24px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--teal); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] { border-color: var(--teal); }
.faq .faq__body { padding: 0 24px 20px; color: var(--slate); font-size: 0.97rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Forme
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(16, 99, 107, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.8rem; color: var(--slate); margin-top: 5px; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--err); }
.field .error-msg { display: none; color: var(--err); font-size: 0.8rem; margin-top: 5px; }
.field.is-invalid .error-msg { display: block; }

.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--slate); }
.form__consent input { margin-top: 3px; }

.form-note { font-size: 0.85rem; color: var(--slate); display: flex; gap: 8px; align-items: flex-start; }
.form-status { display: none; padding: 14px 18px; border-radius: var(--radius); font-size: 0.95rem; font-weight: 500; }
.form-status.ok { display: block; background: rgba(46, 125, 50, 0.1); color: var(--ok); }
.form-status.err { display: block; background: rgba(198, 40, 40, 0.08); color: var(--err); }

/* Kontakt-panel kombinacija */
.contact-panel {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.contact-panel__info { background: linear-gradient(160deg, var(--teal-dark), var(--teal-deep)); color: rgba(255,255,255,0.88); padding: clamp(32px, 4vw, 52px); }
.contact-panel__info h3 { color: #fff; font-size: 1.5rem; }
.contact-panel__form { padding: clamp(32px, 4vw, 52px); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: 0 0 auto; color: #7FC1C7; margin-top: 2px; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-list a:hover { color: #7FC1C7; }
.contact-list .lbl { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); margin-bottom: 2px; }

/* OEM / šasija pretraga modul */
.oem-search {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep));
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  color: rgba(255,255,255,0.88); position: relative; overflow: hidden;
}
.oem-search::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.oem-search h2, .oem-search h3 { color: #fff; position: relative; }
.oem-search__bar { position: relative; display: flex; gap: 12px; margin-top: 26px; }
.oem-search__bar input {
  flex: 1; padding: 16px 20px; font-size: 1.02rem; border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff;
}
.oem-search__bar input::placeholder { color: rgba(255,255,255,0.5); }
.oem-search__bar input:focus { outline: none; border-color: #7FC1C7; background: rgba(255,255,255,0.12); }
.oem-search__note { position: relative; font-size: 0.84rem; color: rgba(255,255,255,0.6); margin: 14px 0 0; display: flex; gap: 8px; }
.oem-tabs { position: relative; display: inline-flex; gap: 6px; background: rgba(255,255,255,0.08); padding: 5px; border-radius: 10px; margin-top: 8px; }
.oem-tabs button {
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  border: 0; background: transparent; color: rgba(255,255,255,0.65);
  padding: 9px 18px; border-radius: 7px; cursor: pointer; transition: all 0.18s;
}
.oem-tabs button.is-active { background: #fff; color: var(--teal-dark); }

/* --------------------------------------------------------------------------
   Webshop traka
   -------------------------------------------------------------------------- */
.webshop-banner {
  display: grid; grid-template-columns: 1.2fr auto; align-items: center; gap: 32px;
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg); padding: clamp(32px, 4.5vw, 52px);
  color: rgba(255,255,255,0.9); position: relative; overflow: hidden;
}
.webshop-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border: 2px dashed rgba(255,255,255,0.15); border-radius: 50%;
}
.webshop-banner h2 { color: #fff; margin-bottom: 10px; }
.webshop-banner p { margin: 0; max-width: 560px; color: rgba(255,255,255,0.78); }

/* --------------------------------------------------------------------------
   Breadcrumb + page hero
   -------------------------------------------------------------------------- */
.page-hero {
  background: radial-gradient(900px 420px at 85% -20%, rgba(16, 99, 107, 0.5), transparent 60%),
              linear-gradient(160deg, #0E2427, var(--ink));
  color: #fff; padding: calc(var(--header-h) + clamp(48px, 7vw, 84px)) 0 clamp(44px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 660px; margin: 0; }

.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 0.85rem; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.55); }
.breadcrumb li:not(:last-child)::after { content: "/"; opacity: 0.5; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.post-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 12px; align-items: center; font-size: 0.78rem; color: var(--slate); margin-bottom: 12px; }
.post-card__cat { color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.post-card h3 { font-size: 1.12rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--teal); }
.post-card p { color: var(--slate); font-size: 0.93rem; flex: 1; }

.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; font-size: 1.55rem; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { color: #2A3B3E; font-size: 1.03rem; line-height: 1.75; }
.article .article__intro { font-size: 1.15rem; color: var(--slate); }
.article blockquote {
  margin: 1.6em 0; padding: 20px 26px; border-left: 3px solid var(--accent);
  background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: normal; color: var(--ink);
}
.article-meta { display: flex; gap: 16px; align-items: center; font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.article-meta .cat { background: rgba(255,255,255,0.12); border: 0; padding: 4px 14px; border-radius: 20px; color: #7FC1C7; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; display: inline-block; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.66); padding: clamp(56px, 7vw, 84px) 0 0; }
.footer a { color: rgba(255,255,255,0.66); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__logo img { height: 32px; margin-bottom: 18px; }
.footer__about { font-size: 0.92rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.94rem; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { flex: 0 0 auto; color: #7FC1C7; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid var(--line-dark); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer__bottom nav { display: flex; gap: 18px; }
.footer__perspektiva { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 14px; }

/* Newsletter */
.newsletter-form { display: flex; gap: 10px; margin-top: 6px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius);
  border: 1px solid var(--line-dark); background: rgba(255,255,255,0.06); color: #fff; font-size: 0.92rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { outline: none; border-color: #7FC1C7; }

/* --------------------------------------------------------------------------
   Modali, pretraga, cookie bar
   -------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(8, 20, 22, 0.66); backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal__box {
  background: #fff; border-radius: var(--radius-lg); max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: clamp(28px, 4vw, 44px); position: relative;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer;
  font-size: 1.2rem; line-height: 1; color: var(--slate);
}
.modal__close:hover { color: var(--ink); border-color: var(--ink); }

/* Pretraga sajta */
.search-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(8, 20, 22, 0.7); backdrop-filter: blur(6px); padding: 12vh 20px 0;
}
.search-overlay.is-open { display: block; }
.search-box { max-width: 640px; margin: 0 auto; }
.search-box input {
  width: 100%; font-size: 1.15rem; padding: 18px 24px;
  border-radius: var(--radius-lg); border: 0; background: #fff; box-shadow: var(--shadow-lg);
}
.search-box input:focus { outline: 3px solid var(--teal); }
.search-results { margin-top: 14px; background: #fff; border-radius: var(--radius-lg); overflow: hidden; max-height: 55vh; overflow-y: auto; }
.search-results a { display: block; padding: 16px 24px; border-bottom: 1px solid var(--mist); color: var(--ink); }
.search-results a:hover { background: var(--mist); }
.search-results a strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.search-results a span { font-size: 0.84rem; color: var(--slate); }
.search-results .no-res { padding: 18px 24px; color: var(--slate); font-size: 0.92rem; }

/* Cookie consent */
.cookie-bar {
  position: fixed; z-index: 95; left: 20px; right: 20px; bottom: 20px;
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px 24px; display: none;
}
.cookie-bar.is-visible { display: block; }
.cookie-bar p { font-size: 0.88rem; color: var(--slate); margin: 0 0 14px; }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Animacije pri skrolu — minimalne, elegantne
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .cat, .brand-tile, .post-card { transition: none; }
}

/* --------------------------------------------------------------------------
   Pomoćne
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.8rem; font-weight: 500; color: var(--slate); border: 1px solid var(--line); border-radius: 20px; padding: 5px 14px; background: #fff; }

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); }
.check-list li strong { color: var(--ink); }
.check-list svg { flex: 0 0 auto; color: var(--teal); margin-top: 4px; }
.section--dark .check-list li, .section--teal .check-list li { color: rgba(255,255,255,0.75); }
.section--dark .check-list li strong, .section--teal .check-list li strong { color: #fff; }
.section--dark .check-list svg, .section--teal .check-list svg { color: #7FC1C7; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }

.map-embed { border: 0; width: 100%; height: 440px; border-radius: var(--radius-lg); display: block; filter: grayscale(0.2); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .nav a { padding: 9px 9px; font-size: 0.88rem; }
  .header__tel span { display: none; }
}

@media (max-width: 992px) {
  .nav, .header__tel { display: none; }
  .burger { display: flex; }
  .header__webshop-m { display: inline-flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__art { max-width: 560px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4), .stat:nth-child(5) { border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-left: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .step::after { display: none; }
  .split, .contact-panel { grid-template-columns: 1fr; }
  .webshop-banner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .mobile-cta { display: grid; }
  body { padding-bottom: 66px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .oem-search__bar { flex-direction: column; }
  .header__logo img { height: 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .value { padding-left: 0; }
  .value__num { position: static; display: block; margin-bottom: 8px; }
}
