/* =========================================================
   INOX PLUS 022 — Modernizovan sajt
   Brend boje (zadržane sa postojećeg sajta):
   Crvena : #F53E3E  (primarna akcent boja)
   Tamna  : #1a1a1a  (logo / naslovi)
   Siva   : #525252  (tekst)
   Bela   : #ffffff
   ========================================================= */

:root {
  --red: #F53E3E;
  --red-dark: #d32b2b;
  --red-soft: #fff1f1;
  --dark: #1a1a1a;
  --dark-2: #222222;
  --gray: #525252;
  --gray-light: #7a7a7a;
  --line: #e9e9e9;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-dark: #141414;

  /* Oštre ivice — bez zakrivljenih linija na okvirima/prozorima */
  --radius: 0px;
  --radius-sm: 0px;
  --radius-pill: 0px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .06);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .10);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, .16);
  --shadow-red: 0 12px 32px rgba(245, 62, 62, .30);

  --container: 1200px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--gray);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { color: var(--gray); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #d7d7d7; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- Helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

.text-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(245, 62, 62, .40);
}

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--dark);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--line);
}
.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

.btn--block { width: 100%; }

/* =========================================================
   HEADER / NAVIGACIJA
   ========================================================= */
.topbar {
  background: var(--dark);
  color: #cfcfcf;
  font-size: .86rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; transition: color .2s; }
.topbar a:hover { color: var(--red); }
.topbar__left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--red); }
.topbar__social { display: flex; align-items: center; gap: 12px; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__phones { display: flex; flex-direction: column; gap: 2px; }
.topbar__social a {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.topbar__social a:hover { background: var(--red); color: #fff; }
.topbar__social svg { width: 13px; height: 13px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

/* Header i topbar su malo širi od sadržajnog dela (--container: 1200px)
   kako bi cela navigacija ostala u jednom redu. */
.topbar .container,
.site-header .container { max-width: 1320px; }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 34px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}
.nav__menu a {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--dark-2);
  border-radius: var(--radius-pill);
  position: relative;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__menu a:hover { color: var(--red); }
.nav__menu a:hover::after,
.nav__menu a.active::after { transform: scaleX(1); }
.nav__menu a.active { color: var(--red); }

.nav__cta { margin-left: 6px; }

/* Telefoni u headeru — jedan ispod drugog */
.nav__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-left: 8px;
}
.nav__menu .nav__phones a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.3;
  color: var(--dark-2);
  white-space: nowrap;
}
.nav__menu .nav__phones a:hover { color: var(--red); }
.nav__phones svg { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; }
.nav__menu .nav__phones a::after { display: none; }

/* ---------- Language selector ---------- */
.lang-select {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  border: 1px solid var(--line);
  padding: 3px;
}
.lang-select a {
  padding: 4px 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--gray);
}
.lang-select a:hover { color: var(--red); }
.lang-select a.active { background: var(--red); color: #fff; }
.lang-select a.active:hover { color: #fff; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span { top: 50%; transform: translateY(-50%); }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav__toggle.open span { background: transparent; }
.nav__toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #111;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: saturate(1.05);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.72) 45%, rgba(10,10,10,.28) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .text-red { color: var(--red); }
.hero p {
  color: #e6e6e6;
  font-size: 1.12rem;
  max-width: 570px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__badge { display: flex; flex-direction: column; }
.hero__badge strong {
  font-family: var(--font-head);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}
.hero__badge strong span { color: var(--red); }
.hero__badge small { color: #bdbdbd; font-size: .84rem; margin-top: 6px; }

/* =========================================================
   KARTICE PROIZVODA
   ========================================================= */
.grid { display: grid; gap: 26px; }
.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 {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.07); }
.card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-red);
}
.card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card__icon {
  width: 54px; height: 54px;
  border-radius: 0;
  background: var(--red-soft);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.card__icon img { width: 32px; height: 32px; object-fit: contain; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { font-size: .96rem; margin-bottom: 20px; }
.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--red);
  font-size: .95rem;
}
.card__link svg { width: 16px; height: 16px; transition: transform .28s var(--ease); }
.card__link:hover svg { transform: translateX(5px); }
/* Ceo prostor kartice je klikabilan: link se "proteže" preko cele kartice
   (slika + tekst + naslov). Klik bilo gde vodi na stranicu proizvoda. */
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* =========================================================
   FEATURE (Izmenični redovi)
   ========================================================= */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(48px, 7vw, 96px); }
.feature__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media::before {
  content: "";
  position: absolute;
  inset: -14px auto auto -14px;
  width: 90px; height: 90px;
  border-radius: 0;
  border-top: 4px solid var(--red);
  border-left: 4px solid var(--red);
  z-index: 2;
}
.feature--reverse .feature__media { order: 2; }
.feature__body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 16px; }
.feature__body p + p { margin-top: 14px; }
.feature__list { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.feature__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray);
  font-size: .98rem;
}
.feature__list svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* =========================================================
   STATS BAND (crvena)
   ========================================================= */
.stats {
  background: linear-gradient(120deg, var(--red) 0%, #c72828 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.14), transparent 45%),
                    radial-gradient(circle at 85% 80%, rgba(255,255,255,.12), transparent 40%);
}
.stats .container { position: relative; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: #fff;
  line-height: 1;
  display: block;
}
.stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.9); font-size: .96rem; }

/* =========================================================
   GALERIJA / PROJEKTI
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #111;
  cursor: pointer;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), opacity .4s;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(245,62,62,.75), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.1); }
.gallery__item:hover::after { opacity: 1; }

/* =========================================================
   POREDENJE (Pre / Posle)
   ========================================================= */
.compare {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: none;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__after { clip-path: inset(0 0 0 50%); }
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  cursor: ew-resize;
}
.compare__handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255,255,255,.9), var(--shadow-md);
}
.compare__handle::before {
  content: "⟺";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  z-index: 4;
}
.compare__label {
  position: absolute;
  top: 16px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  z-index: 4;
}
.compare__label--left { left: 16px; }
.compare__label--right { right: 16px; }

/* =========================================================
   PODSTRANICA — PAGE HERO
   ========================================================= */
.page-hero {
  position: relative;
  color: #fff;
  padding: clamp(72px, 12vw, 130px) 0 clamp(60px, 9vw, 110px);
  background: #111;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .42;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,15,15,.92), rgba(15,15,15,.55));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 16px; max-width: 900px; }
.page-hero p { color: #dadada; max-width: 680px; font-size: 1.08rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: #bdbdbd;
  margin-bottom: 20px;
  list-style: none;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--red); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(38px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,62,62,.55), transparent 70%);
}
.cta__text { position: relative; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta p { color: #c9c9c9; max-width: 520px; }
.cta__actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
.contact-info { display: grid; gap: 18px; }
.contact-info__item {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-info__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-info__icon {
  width: 50px; height: 50px;
  border-radius: 0;
  background: var(--red-soft);
  color: var(--red);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__item h4 { font-family: var(--font-head); color: var(--dark); font-size: 1rem; margin-bottom: 4px; }
.contact-info__item a, .contact-info__item p { color: var(--gray); font-size: .96rem; }
.contact-info__item a:hover { color: var(--red); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 500;
  color: var(--dark-2);
}
.field label span { color: var(--red); }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--dark);
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(245, 62, 62, .12);
}
.form__note { font-size: .84rem; color: var(--gray-light); }
.form__status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #e9f7ee;
  color: #1c7a43;
  font-size: .94rem;
  border: 1px solid #b8e6c8;
}
.form__status.show { display: block; }

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map iframe { width: 100%; border: 0; height: 420px; filter: grayscale(.15); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bg-dark); color: #a9a9a9; padding-top: clamp(56px, 7vw, 84px); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
}
.footer__logo { height: 40px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer p { color: #9a9a9a; font-size: .95rem; }
.footer h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.02rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.footer__links { list-style: none; display: grid; gap: 12px; }
.footer__links a { color: #a9a9a9; font-size: .95rem; transition: color .2s, padding-left .2s; }
.footer__links a:hover { color: var(--red); padding-left: 6px; }
.footer__contact { list-style: none; display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; font-size: .95rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 4px; }
.footer__contact a:hover { color: var(--red); }
.footer__social { display: flex; gap: 12px; margin-top: 8px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: grid; place-items: center;
  color: #fff;
  transition: background .25s, transform .25s;
}
.footer__social a:hover { background: var(--red); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .86rem;
  color: #868686;
}
.footer__bottom a { color: #a9a9a9; }
.footer__bottom a:hover { color: var(--red); }

/* ---------- Cookie obaveštenje (popup) ---------- */
.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: none;
  background: #141414;
  color: #d7d7d7;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0;
}
.cookie.show { display: block; }
.cookie__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie__text { color: #cfcfcf; font-size: .92rem; margin: 0; }
.cookie__text a { color: #fff; text-decoration: underline; }
.cookie__text a:hover { color: var(--red); }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 12px 24px; font-size: .8rem; }
.cookie .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cookie .btn--outline:hover { border-color: var(--red); color: var(--red); }

/* ---------- Pravne strane (politika privatnosti / kolačića) ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 12px; color: var(--dark); }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 0;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red-dark); }
.to-top svg { width: 22px; height: 22px; }

/* =========================================================
   ANIMACIJE (scroll reveal)
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   MODERNI DETALJI
   ========================================================= */
.btn {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .82rem;
  padding: 17px 32px;
}
.card { position: relative; border-radius: 0; }
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
  z-index: 3;
}
.card:hover::before { transform: scaleX(1); }

/* Suptilna "rashladna" pozadina na svetlim sekcijama —
   blede svetlo-plave vijugave linije (asocijacija na strujanje
   vazduha / rashladu), veoma prozirne da ne odvlače pažnju. */
.section--soft {
  background-color: #f3f8fc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80' viewBox='0 0 200 80'%3E%3Cg fill='none' stroke='%2364A6DC' stroke-opacity='0.16' stroke-width='1.3'%3E%3Cpath d='M0 20C25 5 75 5 100 20s75 15 100 0'/%3E%3Cpath d='M0 60C25 45 75 45 100 60s75 15 100 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 280px 112px;
  background-repeat: repeat;
}

/* Crveni akcenat ispod naslova u hero sekciji */
.hero h1::after,
.page-hero h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 5px;
  background: var(--red);
  margin-top: 24px;
}

/* =========================================================
   SEO TEKSTUALNI BLOK + INTERNI LINKOVI
   ========================================================= */
.seo-text { max-width: 900px; }
.seo-text .section-head { margin-bottom: 24px; }
.seo-text__intro { font-size: 1.08rem; color: var(--gray); }
.seo-text h3 {
  font-size: 1.25rem;
  margin: 34px 0 12px;
  color: var(--dark);
}
.seo-text p { margin-top: 12px; }
.seo-text a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.seo-text a:hover { color: var(--red-dark); }
.seo-text ul {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.seo-text li {
  position: relative;
  padding-left: 24px;
  color: var(--gray);
}
.seo-text li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  background: var(--red);
}

.link-hub {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.link-hub a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark-2);
  transition: transform .2s var(--ease), border-color .2s, color .2s;
}
.link-hub a:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.link-hub a svg { width: 16px; height: 16px; color: var(--red); }

/* ---------- FAQ (accordion) ---------- */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 10px; }
.faq__item {
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .2s var(--ease);
}
.faq__item[open] { border-color: var(--red); }
.faq__item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--dark);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__answer { padding: 0 22px 20px; color: var(--gray); }

/* ---------- Geo (gradovi) sekcija ---------- */
.city-block { margin-top: 34px; text-align: center; }
.city-block h3 {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray);
  margin-bottom: 16px;
}

/* Geo sekcija na naslovnoj (3 kolone — po jedna grupa) */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.city-col h3 { font-size: 1.05rem; margin-bottom: 14px; }
.city-col h3 a { color: var(--dark); }
.city-col h3 a:hover { color: var(--red); }
.city-links { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.city-links a { font-size: .85rem; color: var(--gray); }
.city-links a:hover { color: var(--red); }

/* =========================================================
   PODNAVIGACIJA PROIZVODA
   ========================================================= */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.subnav .container { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a {
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--gray);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.subnav a:hover, .subnav a.active { color: var(--red); border-color: var(--red); }

/* =========================================================
   STRANICA POJEDINAČNOG PROIZVODA
   ========================================================= */
.product {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.product__gallery { display: grid; gap: 12px; }
.product__main {
  position: relative;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product__thumbs button {
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: border-color .25s, opacity .25s;
}
.product__thumbs button:hover { opacity: .85; }
.product__thumbs button.active { border-color: var(--red); border-width: 2px; }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product__info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.product__lead { font-size: 1.05rem; margin-bottom: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badges span {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 8px 13px;
  border: 1px solid var(--line);
  color: var(--dark);
}
.badges span.accent { background: var(--red); color: #fff; border-color: var(--red); }
.product__actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 26px; }
.product__phones { display: flex; flex-direction: column; gap: 10px; }
.product__phones .btn { width: 100%; }

/* Specifikacije kao kvadrati (kartica = slika + specifikacija) */
.spec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.spec-card { border: 1px solid var(--line); background: #fff; }
.spec-card__media { aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.spec-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spec-card__body { padding: 22px; }
.spec-card__body h3 { margin-bottom: 12px; }
.spec-card .specs { margin-bottom: 0; }

.specs { list-style: none; border-top: 1px solid var(--line); margin-bottom: 26px; }
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.specs li b { font-family: var(--font-head); color: var(--dark); font-weight: 600; }
.specs li span { color: var(--gray); text-align: right; }

.checklist { list-style: none; display: grid; gap: 12px; margin-bottom: 8px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--gray); }
.checklist svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

.feat-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.feat-icons__item {
  flex: 1 1 190px;
  max-width: 260px;
  padding: 26px 14px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s;
}
.feat-icons__item:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.feat-icons__item img { width: 54px; height: 54px; object-fit: contain; margin: 0 auto 14px; }
.feat-icons__item h4 { font-family: var(--font-head); font-size: .92rem; color: var(--dark); font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .feat-icons__item { flex-basis: 210px; }
}

/* Navigacija prelazi u "hamburger" pre nego što se stavke menija slome,
   jer je pun meni (dugačke etikete + široki logo) ukupno širok ~1150px. */
@media (max-width: 1240px) {
  .nav { justify-content: space-between; }
  .nav__toggle { display: block; }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    margin: 0;
    padding: 14px 22px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav__menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__menu a { padding: 13px 14px; }
  .nav__menu a::after { display: none; }
  .nav__menu a.active { background: var(--red-soft); }
  .nav__cta { margin: 10px 0 0; }
  .nav__phones { margin: 10px 0 0; align-items: flex-start; }
  .lang-select { margin: 10px 0 0; align-self: flex-start; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature--reverse .feature__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr; }
  .subnav { top: 0; }

  .page-hero { padding-top: 76px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .container { align-items: flex-start; padding-top: 8px; padding-bottom: 8px; }
  .topbar__left { flex-direction: column; align-items: flex-start; gap: 4px; }
  .topbar__right { flex-direction: column; align-items: flex-end; gap: 6px; }
  .topbar__social { display: none; }
  .topbar__phones { align-items: flex-end; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__badges { gap: 22px; }
  .hero { min-height: auto; padding: 90px 0 70px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .nav__logo img { height: 28px; }
  .feat-icons { gap: 12px; }
  .feat-icons__item { flex: 1 1 45%; max-width: 50%; }
  .spec-cards { grid-template-columns: 1fr; }
  .product__thumbs { grid-template-columns: repeat(3, 1fr); }
  .specs li { flex-direction: column; gap: 2px; }
  .specs li span { text-align: left; }
}
