/* ==========================================================================
   VARENJE AUSPUHA NIŠ — main.css
   1. SETTINGS   — CSS varijable
   2. BASE       — reset, tipografija, linkovi, slike
   3. LAYOUT     — container, section, grid
   4. COMPONENTS — header, hero, kartice, faq, galerija, footer...
   5. UTILITIES  — pomoćne klase
   ========================================================================== */

/* ==========================================================================
   1. SETTINGS
   ========================================================================== */
:root {
  /* Osnova */
  --clr-bg: #f7f8fa;
  --clr-surface: #ffffff;
  --clr-dark: #14181d;
  --clr-dark-2: #1e242b;
  --clr-border: #e6e8eb;
  --clr-border-dark: #2b3138;

  /* Tekst */
  --clr-text: #1a2028;
  --clr-text-muted: #5b6572;
  --clr-text-invert: #f2f4f7;
  --clr-text-invert-muted: #aab1ba;

  /* Akcenat */
  --clr-primary: #ff6b1a;
  --clr-primary-hot: #ff8f3d;
  --clr-primary-deep: #e05200;
  --grad-spark: linear-gradient(90deg, #ff6b1a, #ffb347);

  --clr-success: #22c55e;

  /* Radijusi i senke */
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 20px rgb(20 24 29 / 0.07);
  --shadow-card-hover: 0 12px 32px rgb(20 24 29 / 0.14);
  --shadow-cta: 0 8px 24px rgb(255 107 26 / 0.35);

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 76px;

  /* Tipografija */
  --font-head: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.3rem, 4.5vw + 1rem, 4.2rem);
  --fs-h2: clamp(1.7rem, 2.5vw + 0.6rem, 2.6rem);
  --fs-h3: 1.3rem;
  --fs-lg: 1.15rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  /* Spacing skala */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4rem;

  /* Tranzicije */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tr-fast: 0.2s var(--ease);
  --tr-med: 0.4s var(--ease);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::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: var(--fs-body);
  line-height: 1.6;
  color: var(--clr-text);
  background: var(--clr-bg);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 var(--sp-3);
  color: var(--clr-text);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); font-weight: 900; text-transform: uppercase; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 var(--sp-3); color: var(--clr-text-muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--clr-primary); text-decoration: none; }
a:hover { color: var(--clr-primary-deep); }

ul, ol { padding-left: 1.2em; color: var(--clr-text-muted); }
li { margin-bottom: var(--sp-2); }

address { font-style: normal; }

strong { color: var(--clr-text); font-weight: 700; }

button { font-family: inherit; }

/* Fokus vidljivost — pristupačnost */
:focus-visible {
  outline: 3px solid var(--clr-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--clr-primary);
  color: #14181d;
  padding: var(--sp-2) var(--sp-4);
  font-weight: 700;
  z-index: 999;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus {
  left: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-pad); }
.section--dark {
  background: var(--clr-dark);
  color: var(--clr-text-invert);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--clr-text-invert); }
.section--dark p { color: var(--clr-text-invert-muted); }
.section--surface { background: var(--clr-surface); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }

.section__header {
  max-width: 640px;
  margin: 0 auto var(--sp-6);
  text-align: center;
}
.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: var(--fs-small);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-primary);
  margin-bottom: var(--sp-3);
}
.section__kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--grad-spark);
  border-radius: 2px;
}
.section__title { margin-bottom: var(--sp-3); }
.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  margin: 0;
}
.section--dark .section__subtitle { color: var(--clr-text-invert-muted); }

.grid { display: grid; gap: var(--sp-5); }

.divider-spark {
  height: 3px;
  width: 100%;
  background: var(--grad-spark);
  border: none;
  margin: 0;
  opacity: 0.9;
}

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding-block: var(--sp-4);
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-1); padding: 0; margin: 0; list-style: none; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--sp-1); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: var(--sp-1); color: var(--clr-border); }
.breadcrumb a { color: var(--clr-text-muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--clr-primary); }
.breadcrumb li[aria-current] { color: var(--clr-text); font-weight: 600; }
.section--dark .breadcrumb { color: var(--clr-text-invert-muted); }
.section--dark .breadcrumb a { color: var(--clr-text-invert-muted); }
.section--dark .breadcrumb a:hover { color: var(--clr-primary-hot); }
.section--dark .breadcrumb li:not(:last-child)::after { color: var(--clr-border-dark); }
.section--dark .breadcrumb li[aria-current] { color: var(--clr-text-invert); }

/* ---- Naslovna traka podstranice (usluge, kontakt...) ---- */
.page-header { padding-block: var(--sp-4) var(--sp-6); }
.page-header__title { margin-bottom: var(--sp-2); }
.page-header__subtitle { font-size: var(--fs-lg); max-width: 640px; margin-bottom: var(--sp-4); }
.page-header .hero__cta-group { margin-top: 0; }

/* ---- Lista "šta obuhvata" ---- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin: 0;
  color: var(--clr-text);
  font-weight: 500;
}
.check-list svg {
  width: 22px; height: 22px;
  color: var(--clr-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Srodne usluge ---- */
.related__grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.related-card {
  display: block;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-m);
  padding: var(--sp-4);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.related-card__title { font-size: 1.05rem; margin-bottom: var(--sp-1); color: var(--clr-text); }
.related-card__title:hover { color: var(--clr-primary); }
.related-card__text { font-size: 0.9rem; margin: 0; }

/* ---- Red fotografija (podstranice usluga) ---- */
.media-row {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-block: var(--sp-6);
}
.media-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
}

/* ---- Mini CTA traka (podstranice) ---- */
.mini-cta {
  background: var(--clr-dark-2);
  border-radius: var(--radius-l);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.mini-cta h3 { color: var(--clr-text-invert); margin-bottom: var(--sp-1); }
.mini-cta p { color: var(--clr-text-invert-muted); margin: 0; }

/* ---- Dugmad ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast), color var(--tr-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-spark);
  color: #1a1206;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { box-shadow: 0 12px 30px rgb(255 107 26 / 0.45); color: #1a1206; }

.btn--ghost {
  background: transparent;
  border-color: rgb(242 244 247 / 0.35);
  color: var(--clr-text-invert);
}
.btn--ghost:hover { background: rgb(242 244 247 / 0.1); border-color: rgb(242 244 247 / 0.6); color: var(--clr-text-invert); }

.btn--ghost-light {
  background: transparent;
  border-color: var(--clr-border);
  color: var(--clr-text);
}
.btn--ghost-light:hover { background: var(--clr-bg); border-color: var(--clr-text-muted); }

.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn--phone svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn__num { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.btn--viber { background: #7360f2; color: #fff; }
.btn--whatsapp { background: #25d366; color: #063d1f; }

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgb(20 24 29 / 0.92);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--tr-med), border-color var(--tr-med);
  border-bottom: 1px solid transparent;
}
.header--scrolled,
.header:not(.header--home) {
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.15);
  border-bottom-color: var(--clr-border-dark);
}
.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-width: 0;
  color: var(--clr-text-invert);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(0.8rem, 3.4vw, 1.15rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.logo:hover { color: var(--clr-text-invert); }
.logo__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius-s); }
.logo__accent { color: var(--clr-primary); }
.logo > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: none;
}
.nav__list { display: flex; align-items: center; gap: var(--sp-5); list-style: none; padding: 0; margin: 0; }
.nav__link {
  color: var(--clr-text-invert-muted);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding-block: var(--sp-2);
}
.nav__link:hover, .nav__link--active { color: var(--clr-text-invert); }
.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--grad-spark);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.header__phone { display: none; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgb(242 244 247 / 0.25);
  border-radius: var(--radius-s);
  color: var(--clr-text-invert);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon-close { display: block; }

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--clr-dark);
  z-index: 99;
  padding: var(--sp-5);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr-med), transform var(--tr-med), visibility var(--tr-med);
  overflow-y: auto;
}
.nav-mobile--open { opacity: 1; transform: translateY(0); visibility: visible; }
.nav-mobile__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.nav-mobile__link {
  display: block;
  padding: var(--sp-4) var(--sp-2);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-text-invert);
  border-bottom: 1px solid var(--clr-border-dark);
}
.nav-mobile__cta { margin-top: var(--sp-5); }

body.nav-open { overflow: hidden; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  background: var(--clr-dark);
  color: var(--clr-text-invert);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgb(13 16 20 / 0.94) 0%, rgb(13 16 20 / 0.75) 45%, rgb(13 16 20 / 0.35) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--sp-7);
  display: grid;
  gap: var(--sp-5);
  max-width: 780px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgb(255 107 26 / 0.15);
  border: 1px solid rgb(255 107 26 / 0.4);
  color: var(--clr-primary-hot);
  font-size: var(--fs-small);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  width: fit-content;
}
.hero__title { color: var(--clr-text-invert); margin-bottom: var(--sp-2); }
.hero__title-accent { color: var(--clr-primary); }
.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--clr-text-invert-muted);
  max-width: 620px;
}
.hero__cta-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--fs-small);
  color: var(--clr-text-invert-muted);
  margin-top: var(--sp-2);
}
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note svg { width: 16px; height: 16px; color: var(--clr-success); flex-shrink: 0; }

/* ---- Traka poverenja ---- */
.trust-bar {
  background: var(--clr-dark-2);
  border-top: 1px solid var(--clr-border-dark);
  padding-block: var(--sp-4);
}
.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-text-invert);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
  white-space: nowrap;
}
.trust-bar__item svg { width: 18px; height: 18px; color: var(--clr-primary); flex-shrink: 0; }

/* ---- Usluge (kartice) ---- */
.services__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-card {
  position: relative;
  background: var(--clr-surface);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--tr-med), box-shadow var(--tr-med);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.service-card__img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.service-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tr-med); }
.service-card:hover .service-card__img { transform: scale(1.06); }
.service-card__body { padding: var(--sp-4); flex: 1; display: flex; flex-direction: column; }
.service-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgb(255 107 26 / 0.12);
  color: var(--clr-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3);
  flex-shrink: 0;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__title { font-size: 1.2rem; margin-bottom: var(--sp-2); }
.service-card__text { font-size: 0.95rem; margin-bottom: var(--sp-3); }
.service-card__link {
  position: relative;
  font-weight: 700;
  color: var(--clr-primary);
  font-size: 0.95rem;
  margin-top: auto;
  width: fit-content;
}
.service-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* ---- Kako radimo (koraci) ---- */
.steps {
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.step { position: relative; text-align: left; }
.step__number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px var(--clr-primary);
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.section--dark .step__number { -webkit-text-stroke: 2px var(--clr-primary-hot); }
.step__title { font-size: 1.15rem; margin-bottom: var(--sp-2); }
.step__text { font-size: 0.95rem; margin: 0; }

/* ---- Zašto mi (features) ---- */
.features { grid-template-columns: repeat(2, 1fr); }
.feature { display: flex; gap: var(--sp-4); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-s);
  background: rgb(255 107 26 / 0.12);
  color: var(--clr-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__title { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.feature__text { font-size: 0.95rem; margin: 0; }

/* ---- Galerija ---- */
.gallery__grid {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.gallery__item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: var(--clr-dark-2);
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tr-med); }
.gallery__item:hover .gallery__img { transform: scale(1.08); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(13 16 20 / 0.55), transparent 55%);
  opacity: 0;
  transition: opacity var(--tr-fast);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__cta { text-align: center; margin-top: var(--sp-6); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: rgb(10 12 15 / 0.96);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox__figure { position: relative; max-width: 90vw; max-height: 88vh; margin: 0; }
.lightbox__img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius-s); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: fixed;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.2);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox__close svg, .lightbox__prev svg, .lightbox__next svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgb(255 255 255 / 0.18); }

/* ---- Cena ---- */
.pricing {
  background: var(--clr-dark-2);
  border-radius: var(--radius-l);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: var(--sp-5);
}
.pricing .section__title { color: var(--clr-text-invert); }
.pricing .section__subtitle { color: var(--clr-text-invert-muted); }
.pricing__examples {
  list-style: none;
  padding: 0;
  margin: var(--sp-4) 0 0;
  display: grid;
  gap: var(--sp-3);
}
.pricing__examples li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px dashed var(--clr-border-dark);
  color: var(--clr-text-invert);
  font-weight: 600;
}
.pricing__examples li span:last-child {
  color: var(--clr-primary-hot);
  font-family: var(--font-head);
  font-weight: 700;
  white-space: nowrap;
}
.pricing__note {
  font-size: var(--fs-small);
  color: var(--clr-text-invert-muted);
}

/* ---- FAQ ---- */
.faq { display: grid; gap: var(--sp-3); }
.faq__item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-m);
  padding: 0;
  overflow: hidden;
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question svg {
  width: 20px; height: 20px;
  color: var(--clr-primary);
  flex-shrink: 0;
  transition: transform var(--tr-fast);
}
.faq__item[open] .faq__question svg { transform: rotate(180deg); }
.faq__answer { padding: 0 var(--sp-4) var(--sp-4); margin: 0; }

/* ---- Kontakt ---- */
.contact__grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
.contact__phone-big {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--clr-text-invert);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin: var(--sp-3) 0 var(--sp-4);
}
.contact__phone-big svg { width: 34px; height: 34px; color: var(--clr-primary); }
.contact__list { list-style: none; padding: 0; margin: 0 0 var(--sp-4); display: grid; gap: var(--sp-3); }
.contact__list li { display: flex; gap: var(--sp-3); align-items: flex-start; margin: 0; color: var(--clr-text-invert-muted); }
.contact__list svg { width: 22px; height: 22px; color: var(--clr-primary); flex-shrink: 0; margin-top: 2px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.contact__map {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--clr-dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border-dark);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
  padding: var(--sp-5);
  color: var(--clr-text-invert-muted);
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--clr-primary); }

/* ---- Footer ---- */
.footer {
  background: var(--clr-dark);
  color: var(--clr-text-invert-muted);
  padding-block: var(--sp-7) var(--sp-5);
}
.footer__grid {
  grid-template-columns: 1.3fr 1fr 1fr;
  margin-bottom: var(--sp-6);
}
.footer__brand { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.footer__brand-text { font-family: var(--font-head); font-weight: 900; color: var(--clr-text-invert); font-size: 1.1rem; text-transform: uppercase; }
.footer__logo-icon { width: 34px; height: 34px; border-radius: var(--radius-s); }
.footer__text { font-size: 0.95rem; max-width: 320px; }
.footer h3 { color: var(--clr-text-invert); font-size: 1rem; margin-bottom: var(--sp-3); text-transform: uppercase; letter-spacing: 0.04em; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.footer__list a { color: var(--clr-text-invert-muted); font-size: 0.95rem; }
.footer__list a:hover { color: var(--clr-primary-hot); }
.footer address { display: grid; gap: var(--sp-2); font-size: 0.95rem; }
.footer address a { color: var(--clr-text-invert-muted); }
.footer address a:hover { color: var(--clr-primary-hot); }
.footer__bottom {
  border-top: 1px solid var(--clr-border-dark);
  padding-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
  font-size: 0.85rem;
}

/* ---- Plutajuće dugme za poziv ---- */
.call-fab {
  position: fixed;
  bottom: var(--sp-4);
  right: var(--sp-4);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--grad-spark);
  color: #1a1206;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: var(--shadow-cta);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity var(--tr-med), transform var(--tr-med);
}
.call-fab--visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.call-fab svg { width: 20px; height: 20px; animation: fab-pulse 2.6s ease-in-out infinite; }
.call-fab__ring {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-pill);
  border: 2px solid rgb(255 107 26 / 0.5);
  animation: fab-ring 2.6s ease-out infinite;
}
@keyframes fab-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes fab-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .call-fab svg { animation: none; }
  .call-fab__ring { animation: none; display: none; }
}

/* ---- Reveal na skrol ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ---- 404 ---- */
.error-page {
  min-height: 80svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-6) var(--sp-3);
}
.error-page__code {
  font-family: var(--font-head);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 900;
  color: var(--clr-primary);
  line-height: 1;
  margin-bottom: var(--sp-3);
}

/* ==========================================================================
   5. UTILITIES
   ========================================================================== */
.u-text-center { text-align: center; }
.u-mt-1 { margin-top: var(--sp-1); } .u-mt-2 { margin-top: var(--sp-2); }
.u-mt-3 { margin-top: var(--sp-3); } .u-mt-4 { margin-top: var(--sp-4); }
.u-mt-5 { margin-top: var(--sp-5); } .u-mt-6 { margin-top: var(--sp-6); }
.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE — mobile-first breakpointi: 640 / 768 / 1024
   ========================================================================== */

/* Podrazumevano (mobilni): 1 kolona za grid komponente */
.services__grid,
.steps,
.features,
.footer__grid,
.contact__grid { grid-template-columns: 1fr; }

.gallery__grid { grid-template-columns: repeat(2, 1fr); }
.gallery__item--wide { grid-column: span 2; }

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .header__phone { display: inline-flex; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .call-fab { display: none !important; }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1.1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1023px) {
  .nav-mobile { display: block; }
}
@media (min-width: 1024px) {
  .nav-mobile { display: none !important; }
}
