/* =========================================================
   ALUBILD d.o.o. — glavni stylesheet
   Brend boje: zelena #007046 / žuta #F2BA00
   ========================================================= */

/* ---------- 1. Promenljive & reset ---------- */
:root {
  --green: #007046;
  --green-dark: #00532F;
  --green-light: #0A8C58;
  --green-pale: #E8F3EE;
  --yellow: #F2BA00;
  --yellow-dark: #D9A600;
  --ink: #16211C;
  --body: #4A5A53;
  --muted: #7C8A84;
  --line: #E2E8E5;
  --bg: #FFFFFF;
  --bg-soft: #F6F8F7;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 8px rgba(22, 33, 28, .06);
  --shadow: 0 10px 30px rgba(22, 33, 28, .09);
  --shadow-lg: 0 24px 60px rgba(22, 33, 28, .16);

  --header-h: 84px;
  --wrap: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-light); }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; }
p  { margin: 0 0 1.1em; }

::selection { background: var(--yellow); color: var(--ink); }

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

/* ---------- 2. Layout helperi ---------- */
.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--green-dark); color: #C9DCD3; }
.section--dark h2, .section--dark h3 { color: #fff; }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.narrow { max-width: 760px; }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- 3. Naslovi sekcija ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--yellow); }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.06rem; color: var(--muted); margin-bottom: 0; }
.section--dark .section-head p { color: #A8C3B7; }

/* ---------- 4. Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 2px solid transparent; cursor: pointer;
  transition: all .25s var(--ease);
  text-align: center; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,112,70,.28); }

.btn--yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--yellow:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(242,186,0,.35); }

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

.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--light:hover { background: #fff; color: var(--green-dark); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 5. Top bar ---------- */
.topbar {
  background: var(--green-dark); color: #BCD4C8;
  font-size: .84rem; line-height: 1;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #EAF3EF; font-weight: 600; }
.topbar a:hover { color: var(--yellow); }
.topbar-left { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; }
.topbar-item svg { width: 14px; height: 14px; color: var(--yellow); flex: none; }
.topbar-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.topbar-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(242,186,0,.25); }

/* ---------- 6. Header / navigacija ---------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 13px; flex: none; }
.logo img { height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 1.12rem; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.logo-text span { font-size: .68rem; text-transform: uppercase; letter-spacing: .17em; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 15px; border-radius: var(--radius);
  font-size: .93rem; font-weight: 600; color: var(--ink);
  white-space: nowrap;
}
.nav-list > li > a:hover { background: var(--green-pale); color: var(--green); }
.nav-list > li > a.active { color: var(--green); }
.nav-list > li > a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 3px; background: var(--yellow); border-radius: 2px;
}
.caret { width: 11px; height: 11px; transition: transform .25s var(--ease); }
.has-drop:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px; padding: 10px; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .22s var(--ease);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 13px; border-radius: var(--radius);
  font-size: .91rem; font-weight: 600; color: var(--ink);
}
.dropdown a:hover { background: var(--green-pale); color: var(--green); }
.dropdown a i { width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; flex: none; }

/* Blok sa dugmadima vidljiv je samo u mobilnom meniju */
.nav-mobile-extra { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 11px; }
.header-phone .ic {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--green-pale); color: var(--green);
  display: grid; place-items: center;
}
.header-phone .ic svg { width: 18px; height: 18px; }
.header-phone div { line-height: 1.25; }
.header-phone small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.header-phone b { font-size: .97rem; color: var(--ink); font-weight: 800; }

.burger {
  display: none; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius);
  cursor: pointer; padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: all .25s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; min-height: clamp(560px, 82vh, 800px);
  display: flex; align-items: center;
  background: var(--green-dark);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,50,29,.94) 0%, rgba(0,83,47,.86) 42%, rgba(0,112,70,.55) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 80px 0; }
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--yellow); }
.hero-lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: #C8DED3; max-width: 570px; margin-bottom: 34px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 100px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 26px; backdrop-filter: blur(6px);
}
.hero-tag em { background: var(--yellow); color: var(--ink); font-style: normal; padding: 3px 10px; border-radius: 100px; font-size: .74rem; }

.hero-usp { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-usp li { list-style: none; display: flex; align-items: center; gap: 10px; color: #DDEAE4; font-size: .93rem; font-weight: 600; }
.hero-usp svg { width: 19px; height: 19px; color: var(--yellow); flex: none; }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600;
}
.hero-scroll .line { width: 1px; height: 32px; background: linear-gradient(var(--yellow), transparent); animation: scrollLine 1.9s var(--ease) infinite; }
@keyframes scrollLine { 0%,100% { opacity: .3; transform: scaleY(.5); } 50% { opacity: 1; transform: scaleY(1); } }

/* Page hero (unutrašnje strane) */
.page-hero {
  position: relative; background: var(--green-dark);
  padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 90px);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(242,186,0,.16), transparent 62%),
    radial-gradient(700px 420px at 92% 100%, rgba(10,140,88,.5), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #B6D0C4; max-width: 640px; font-size: 1.05rem; margin: 0; }

.crumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; font-size: .84rem; margin-bottom: 20px; color: #8FB3A3; }
.crumbs a { color: #CBE0D6; font-weight: 600; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span[aria-current] { color: var(--yellow); font-weight: 700; }

/* ---------- 8. Statistika ---------- */
.stats { background: var(--yellow); }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding: 40px 26px; text-align: center; border-right: 1px solid rgba(22,33,28,.13); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(2.1rem, 4vw, 2.9rem); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 9px; font-size: .87rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(22,33,28,.72); }

/* ---------- 9. Kartice usluga ---------- */
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .3s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--green-pale); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,50,29,.6), transparent 55%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.svc-card:hover .svc-card__media::after { opacity: 1; }
.svc-card__num {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--yellow); color: var(--ink);
  font-size: .74rem; font-weight: 800; letter-spacing: .08em;
  padding: 6px 11px; border-radius: var(--radius);
}
.svc-card__body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.svc-card__body h3 { margin-bottom: 10px; }
.svc-card__body p { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }
.svc-card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 9px;
  font-size: .89rem; font-weight: 800; color: var(--green); letter-spacing: .02em;
}
.svc-card__link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-card__link svg { transform: translateX(5px); }

/* Ikona kartica (bez slike) */
.icard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: all .3s var(--ease); height: 100%;
}
.icard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.icard .ic {
  width: 58px; height: 58px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--green-pale); color: var(--green); margin-bottom: 20px;
  transition: all .3s var(--ease);
}
.icard:hover .ic { background: var(--green); color: #fff; }
.icard .ic svg { width: 26px; height: 26px; }
.icard h3 { margin-bottom: 9px; }
.icard p { font-size: .94rem; color: var(--muted); margin: 0; }
.section--dark .icard { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--dark .icard p { color: #A8C3B7; }
.section--dark .icard .ic { background: rgba(242,186,0,.16); color: var(--yellow); }
.section--dark .icard:hover .ic { background: var(--yellow); color: var(--ink); }

/* ---------- 10. Media + tekst ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(36px, 5vw, 66px); align-items: center; }
.split--rev .split__media { order: 2; }

.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.media-frame::before {
  content: ""; position: absolute; width: 55%; height: 55%;
  border: 3px solid var(--yellow); border-radius: var(--radius-lg);
  bottom: -20px; right: -20px; z-index: -1;
}
.media-badge {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--green); color: #fff; padding: 20px 26px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  text-align: center; line-height: 1.2;
}
.media-badge b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.media-badge span { font-size: .74rem; text-transform: uppercase; letter-spacing: .11em; color: rgba(255,255,255,.82); font-weight: 700; }

.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .97rem; }
.check-list svg { width: 21px; height: 21px; color: var(--green); flex: none; margin-top: 2px; }
.section--dark .check-list svg { color: var(--yellow); }
.check-list b { color: var(--ink); font-weight: 700; }
.section--dark .check-list b { color: #fff; }

/* ---------- 11. Proces ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 26px; counter-reset: s; }
.step { position: relative; padding-top: 34px; }
.step::before {
  content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}
.step__n {
  counter-increment: s; position: relative; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 800; font-size: 1.12rem;
  box-shadow: 0 0 0 7px var(--bg-soft); margin: -60px 0 20px;
}
.step__n::after { content: counter(s, decimal-leading-zero); }
.step:nth-child(odd) .step__n { background: var(--yellow); color: var(--ink); }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- 12. Galerija ---------- */
.gal-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.gal-filters button {
  padding: 10px 22px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: var(--body); font-family: inherit;
  font-size: .89rem; font-weight: 700; cursor: pointer;
  transition: all .25s var(--ease);
}
.gal-filters button:hover { border-color: var(--green); color: var(--green); }
.gal-filters button.is-active { background: var(--green); border-color: var(--green); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gal-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; background: var(--green-pale); border: 0; padding: 0;
  aspect-ratio: 4/3; display: block; width: 100%;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gal-item.tall { grid-row: span 2; aspect-ratio: 3/4; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item__ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; text-align: left; color: #fff;
  background: linear-gradient(to top, rgba(0,50,29,.9), rgba(0,50,29,.15) 55%, transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.gal-item:hover .gal-item__ov { opacity: 1; }
.gal-item__ov b { font-size: 1.03rem; font-weight: 800; }
.gal-item__ov span { font-size: .8rem; color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.gal-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6,20,14,.94); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 5vh 5vw;
}
.lightbox.is-open { display: flex; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius-lg); object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: #DCEBE4; margin-top: 16px; font-size: .95rem; font-weight: 600; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: all .22s var(--ease);
}
.lb-btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- 13. Partneri ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 18px; }
.partner {
  display: grid; place-items: center; padding: 28px 22px; min-height: 118px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
}
.partner:hover { border-color: var(--green); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.partner img { max-height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .68; transition: all .3s var(--ease); }
.partner:hover img { filter: none; opacity: 1; }

/* ---------- 14. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; transition: border-color .25s var(--ease); }
.faq-item.is-open { border-color: var(--green); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 25px; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1.02rem; font-weight: 700; color: var(--ink); text-align: left;
}
.faq-q .plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--green); border-radius: 2px; transition: all .3s var(--ease);
}
.faq-q .plus::before { width: 14px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 14px; }
.faq-item.is-open .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 25px 23px; margin: 0; font-size: .96rem; color: var(--muted); }

/* ---------- 15. CTA traka ---------- */
.cta {
  position: relative; background: var(--green); color: #fff; overflow: hidden;
  padding: clamp(52px, 6vw, 76px) 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 88% 20%, rgba(242,186,0,.25), transparent 65%),
    radial-gradient(500px 300px at 5% 90%, rgba(0,50,29,.6), transparent 60%);
}
.cta .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.85); margin: 0; max-width: 540px; }

/* ---------- 16. Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 42px; align-items: start; }

.info-card {
  display: flex; gap: 18px; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
}
.info-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.info-card .ic { width: 48px; height: 48px; flex: none; border-radius: var(--radius); display: grid; place-items: center; background: var(--green-pale); color: var(--green); }
.info-card .ic svg { width: 21px; height: 21px; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p, .info-card a { margin: 0; font-size: .95rem; color: var(--body); }
.info-card a { font-weight: 700; color: var(--green); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: .96rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
  transition: all .22s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(0,112,70,.1);
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form-msg { display: none; padding: 14px 18px; border-radius: var(--radius); font-size: .92rem; font-weight: 600; margin-bottom: 18px; }
.form-msg.ok { display: block; background: var(--green-pale); color: var(--green-dark); border: 1px solid rgba(0,112,70,.25); }
.form-msg.err { display: block; background: #FDECEA; color: #A13023; border: 1px solid #F5C6C0; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); line-height: 0; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- 17. Footer ---------- */
.footer { background: #0C1712; color: #94A9A0; padding-top: clamp(56px, 6vw, 82px); font-size: .93rem; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 22px; font-weight: 800; }
.footer a { color: #B4C7BF; }
.footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 50px; }
.footer-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.footer-logo img { height: 48px; width: auto; }
.footer-logo b { color: #fff; font-size: 1.1rem; font-weight: 800; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--yellow); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: .86rem; color: #708A7E;
}

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #C3D6CD; transition: all .25s var(--ease);
}
.socials a:hover { background: var(--yellow); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- 18. Floating dugmad ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-dark); }
.to-top svg { width: 19px; height: 19px; }

.wa-btn {
  position: fixed; right: 22px; bottom: 82px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); transition: all .3s var(--ease);
}
.wa-btn:hover { transform: scale(1.08); color: #fff; }
.wa-btn svg { width: 24px; height: 24px; }

/* ---------- 19. Scroll animacije ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal[data-d="4"] { transition-delay: .4s; }

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

/* ---------- 20. Responsive ---------- */
@media (max-width: 1150px) {
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1000px) {
  :root { --header-h: 74px; }
  .burger { display: grid; }
  .header-cta .btn { display: none; }

  /* Zaglavlje bez blur-a na mobilnom: `backdrop-filter` pravi containing block
     za position:fixed potomke, zbog čega se meni ne bi raširio preko cele strane. */
  .header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Dok je meni otvoren, zaglavlje se fiksira na mestu na kome je zatečeno
     (vrednost --header-top postavlja main.js), jer overflow:hidden na body-ju
     ukida position:sticky. Ostaje iznad menija da bi dugme za zatvaranje radilo. */
  body.nav-open .header {
    position: fixed;
    top: var(--header-top, 0px);
    left: 0; right: 0;
    z-index: 970;
    box-shadow: 0 2px 8px rgba(22, 33, 28, .06);
  }

  /* Meni je preko sadržaja strane. --nav-top postavlja main.js na stvarnu
     donju ivicu zaglavlja, da meni uvek počne tačno ispod njega. */
  .nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0;
    /* Visina se zadaje i eksplicitno — oslanjanje samo na top+bottom ume da
       ostavi panel u visini sadržaja. `dvh` prati traku browsera na telefonu. */
    height: calc(100vh - var(--nav-top, var(--header-h)));
    height: calc(100dvh - var(--nav-top, var(--header-h)));
    z-index: 960;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 22px; overflow-y: auto; gap: 0;
    transform: translateX(100%); transition: transform .32s var(--ease);
    border-top: 1px solid var(--line);
    box-shadow: -14px 0 40px rgba(22, 33, 28, .16);
    overscroll-behavior: contain;
  }
  .nav.is-open { transform: none; }

  /* Plutajuća dugmad ne smeju da vire preko otvorenog menija */
  body.nav-open .wa-btn,
  body.nav-open .to-top { opacity: 0; visibility: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-list > li > a { padding: 15px 12px; font-size: 1.02rem; border-radius: var(--radius); justify-content: space-between; }
  .nav-list > li > a.active::after { display: none; }
  .nav-list > li > a.active { background: var(--green-pale); }

  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 8px 20px; padding: 0 0 0 10px;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .has-drop.is-expanded .dropdown { max-height: 420px; }
  .has-drop.is-expanded .caret { transform: rotate(180deg); }

  .nav-mobile-extra { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
  .nav-mobile-extra .btn { width: 100%; }

  .split--rev .split__media { order: 0; }
  .media-badge { left: 14px; }
  .media-frame::before { display: none; }
  .step::before { display: none; }
  .step__n { margin: 0 0 16px; box-shadow: none; }
  .step { padding-top: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 34px, var(--wrap)); }
  .topbar-left .topbar-item:nth-child(3) { display: none; }
  .topbar-badge { display: none; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(22,33,28,.13); padding: 30px 20px; }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .gal-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
}

@media (max-width: 460px) {
  .btn { padding: 14px 22px; font-size: .9rem; width: 100%; }
  .btn-row { flex-direction: column; }
  .hero-usp { gap: 10px; }
}

/* ---------- 21. Print ---------- */
@media print {
  .header, .topbar, .footer, .to-top, .wa-btn, .hero-scroll, .cta { display: none !important; }
  body { color: #000; }
}
