:root {
  --navy: #0f1b2d;
  --navy-2: #172a45;
  --amber: #f2a93b;
  --amber-dark: #d68a14;
  --text: #1d2633;
  --muted: #5b6676;
  --bg: #f6f4f0;
  --card: #ffffff;
  --line: #e4dfd6;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Zaglavlje */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 27, 45, .96);
  backdrop-filter: blur(6px);
  color: #fff;
}
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: .2px; }
.brand svg { width: 30px; height: 30px; flex: none; }
nav.links { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
nav.links a { text-decoration: none; opacity: .85; }
nav.links a:hover { opacity: 1; color: var(--amber); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--navy);
  font-weight: 700; text-decoration: none;
  padding: 12px 20px; border-radius: 999px;
  transition: background .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--amber-dark); }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
header.top .btn { padding: 9px 16px; font-size: 15px; }

/* Uvod sa videom */
.hero { position: relative; color: #fff; min-height: 78vh; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,27,45,.92) 0%, rgba(15,27,45,.7) 50%, rgba(15,27,45,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 60px; }
.badge { display: inline-block; background: rgba(242,169,59,.15); color: var(--amber); border: 1px solid rgba(242,169,59,.5); padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; margin: 18px 0 16px; max-width: 18ch; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); max-width: 46ch; opacity: .9; margin: 0 0 28px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .phone-big { display: block; margin-top: 22px; font-size: 15px; opacity: .8; }

/* Prednosti */
.perks { background: var(--navy-2); color: #fff; }
.perks .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.perk { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.perk svg { width: 26px; height: 26px; flex: none; color: var(--amber); }
.perk b { display: block; font-size: 16px; }
.perk span { opacity: .75; }

section { padding: 76px 0; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; margin: 0 0 12px; color: var(--navy); }
.section-lead { color: var(--muted); max-width: 60ch; margin: 0 0 36px; font-size: 17px; }

/* Usluge */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.service .ico { width: 46px; height: 46px; border-radius: 12px; background: #fdf1de; color: var(--amber-dark); display: grid; place-items: center; margin-bottom: 14px; }
.service .ico svg { width: 24px; height: 24px; }
.service h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); }
.service p { margin: 0; color: var(--muted); font-size: 15.5px; }
.more { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.more h3 { margin: 0 0 12px; font-size: 18px; color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; }

/* Kako radimo */
.area { padding-top: 0; }
.how { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 22px 58px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 700; display: grid; place-items: center; }
.steps b { display: block; color: var(--navy); font-size: 17px; }
.steps span { color: var(--muted); font-size: 15.5px; }
.how video { border-radius: var(--radius); width: 100%; max-height: 560px; object-fit: cover; background: #000; }

/* Galerija */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #ddd; cursor: zoom-in; aspect-ratio: 3 / 4; }
.gallery figure.wide { grid-column: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 13.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }

/* Kontakt */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact .section-lead { color: rgba(255,255,255,.75); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.contact-card { background: var(--navy-2); border-radius: var(--radius); padding: 30px; }
.contact-card .person { font-size: 15px; opacity: .75; margin: 0 0 4px; }
.contact-card .phone { display: inline-block; font-size: clamp(30px, 4vw, 40px); font-weight: 800; color: var(--amber); text-decoration: none; letter-spacing: .5px; margin-bottom: 18px; }
.contact-card .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15.5px; }
.contact-card dt { opacity: .6; }
.contact-card dd { margin: 0; }
.contact-photo { border-radius: var(--radius); overflow: hidden; min-height: 300px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Pitanja */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details p { margin: 10px 0 0; color: var(--muted); }

footer { background: #0a1320; color: rgba(255,255,255,.6); font-size: 14px; padding: 28px 0 90px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: rgba(255,255,255,.8); }

/* Dugme za poziv na telefonu */
.call-fab { display: none; }

/* Uvećana slika */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5,10,18,.92); display: none; align-items: center; justify-content: center; padding: 20px; flex-direction: column; gap: 12px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 10px; }
.lightbox p { color: #fff; margin: 0; text-align: center; }
.lightbox button { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; cursor: pointer; }

@media (max-width: 900px) {
  nav.links { display: none; }
  header.top .btn { margin-left: auto; }
  .perks .wrap { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .how-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  header.top .btn span { display: none; }
  .brand { font-size: 15px; }
  .hero { min-height: 70vh; }
  .perks .wrap { grid-template-columns: 1fr; gap: 14px; }
  .services { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .gallery figure.wide { grid-column: span 2; }
  .call-fab {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
    justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); padding: 15px 20px; font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video { display: none; }
}

/* Pokrivenost i stranice opština */
.area-links { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.area-links a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; }
.area-links a:hover { border-color: var(--amber); color: var(--amber-dark); }
.area-hero { min-height: 52vh; }
.crumbs { font-size: 14px; opacity: .8; margin-bottom: 8px; }
.crumbs a { color: var(--amber); }
.contact .cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .area-links { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .area-links { grid-template-columns: repeat(2, 1fr); } }

/* Stranice usluga i saveta */
.more-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--amber-dark); text-decoration: none; font-size: 15px; }
.more-link:hover { text-decoration: underline; }
.more-links { margin-top: 22px; color: var(--muted); }
.more-links a { color: var(--amber-dark); font-weight: 600; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.prose { font-size: 17px; max-width: 70ch; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; color: var(--navy); margin: 24px 0 6px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--amber-dark); font-weight: 600; }
.prose .note { background: #fdf1de; border-left: 4px solid var(--amber); padding: 14px 18px; border-radius: 0 10px 10px 0; }
.prose .small { font-size: 14px; color: var(--muted); }
.prose figure.inline { margin: 18px 0; max-width: 360px; }
.prose figure.inline img { border-radius: 12px; }
.prose figure.inline figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.pricing { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15.5px; background: var(--card); border-radius: 12px; overflow: hidden; }
.pricing th, .pricing td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricing th { background: var(--navy); color: #fff; font-weight: 600; }
.pricing td:last-child { white-space: nowrap; font-weight: 600; }
.side { position: sticky; top: 84px; display: grid; gap: 16px; }
.side img { border-radius: var(--radius); width: 100%; max-height: 360px; object-fit: cover; }
.side-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.side-card p { margin: 0; opacity: .8; font-size: 15px; }
.side-card .btn { justify-content: center; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.related h2 { font-size: 22px; }
.related ul { padding-left: 20px; margin: 0; }
.related li { margin-bottom: 6px; }
.related a { color: var(--amber-dark); font-weight: 600; }
.areas-line { grid-column: 1 / -1; color: var(--muted); font-size: 15px; margin: 0; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tip-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s; }
.tip-card:hover { border-color: var(--amber); }
.tip-card img { width: 100%; height: 170px; object-fit: cover; }
.tip-card span { padding: 16px 18px 18px; display: grid; gap: 6px; }
.tip-card b { color: var(--navy); font-size: 18px; }
.tip-card small { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .side img { display: none; }
  .tips { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tips, .related { grid-template-columns: 1fr; }
  .pricing { font-size: 14px; }
  .pricing td:last-child { white-space: normal; }
}
