/* ==========================================================================
   BMW Servis LCI — glavni stilovi
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokeni
   -------------------------------------------------------------------------- */
:root {
  /* Boje */
  --ink:        #16171a;   /* BMW crna, glavni tekst i tamne sekcije */
  --ink-soft:   #2b2d31;
  --steel:      #6b7176;   /* sekundarni tekst */
  --line:       #dcdfe2;   /* tanke linije */
  --line-dark:  #33363b;
  --mist:       #f2f4f6;   /* svijetla pozadina sekcije */
  --white:      #ffffff;
  --blue:       #1c69d4;   /* BMW digitalna plava */
  --blue-dark:  #0653b6;
  --m-blue:     #0066b1;
  --m-violet:   #4b2e85;
  --m-red:      #e7222e;

  /* Tipografija */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Ritam */
  --wrap: 1280px;
  --gutter: 24px;
  --section-y: 96px;

  /* Ostalo */
  --shadow: 0 12px 40px rgba(22, 23, 26, .12);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (max-width: 900px) {
  :root { --section-y: 64px; --gutter: 20px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

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

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow { max-width: 820px; }

.section { padding: var(--section-y) 0; }
.section--tight { padding: 56px 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #d8dadd; }
.section--ink h2, .section--ink h3 { color: #fff; }

/* Tamna sekcija sa fotografijom u pozadini — sloj preko slike drži kontrast teksta */
.section--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.section--photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,19,22,.95) 0%, rgba(18,19,22,.82) 55%, rgba(18,19,22,.62) 100%);
}
.section--photo > * { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--steel); font-size: 1.0625rem; }
.section--ink .section-head p { color: #a9adb3; }

/* M traka — jedini dekorativni element, koristi se štedljivo */
.mstripe {
  display: flex; height: 4px; width: 64px; margin-bottom: 22px;
}
.mstripe i { flex: 1; }
.mstripe i:nth-child(1) { background: var(--m-blue); }
.mstripe i:nth-child(2) { background: var(--m-violet); }
.mstripe i:nth-child(3) { background: var(--m-red); }
.mstripe--full { width: 100%; }

/* --------------------------------------------------------------------------
   4. Dugmad
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: .95rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  text-decoration: none !important;
  white-space: nowrap;
}

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

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

.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

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

.btn--sm { padding: 10px 22px; font-size: .875rem; }

/* Tekstualni link sa donjom linijom (BMW manir) */
.linkline {
  display: inline-block; font-weight: 600; font-size: .95rem;
  color: var(--ink); border-bottom: 2px solid var(--blue);
  padding-bottom: 2px; text-decoration: none !important;
  transition: color .2s var(--ease);
}
.linkline:hover { color: var(--blue); }
.section--ink .linkline { color: #fff; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #9ea3a9;
  font-size: .8125rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a { color: #d8dadd; }
.topbar a:hover { color: #fff; }
.topbar__meta { display: flex; gap: 26px; align-items: center; }
.topbar__meta svg { width: 15px; height: 15px; flex: 0 0 15px; }
.topbar__meta span { white-space: nowrap; }
.topbar__meta span, .topbar__meta a { display: inline-flex; align-items: center; gap: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand__mark { display: flex; flex-direction: column; height: 34px; width: 5px; }
.brand__mark i { flex: 1; }
.brand__mark i:nth-child(1) { background: var(--m-blue); }
.brand__mark i:nth-child(2) { background: var(--m-violet); }
.brand__mark i:nth-child(3) { background: var(--m-red); }
.brand__text { line-height: 1.1; }
.brand__name {
  display: block; font-weight: 700; font-size: 1.0625rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.brand__tag { display: block; font-size: .75rem; color: var(--steel); letter-spacing: .02em; }
.brand img { max-height: 48px; width: auto; }

/* Navigacija */
.nav { display: flex; align-items: center; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav a {
  display: block; padding: 10px 14px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink);
  text-decoration: none !important;
}
.nav a:hover { color: var(--blue); }
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_item > a { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }

/* Padajući meni */
.nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  flex-direction: column; align-items: stretch; gap: 0;
  padding: 8px 0; display: none; z-index: 20;
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { display: flex; }
.nav .sub-menu a {
  padding: 11px 20px; text-transform: none; letter-spacing: 0;
  font-size: .9375rem; font-weight: 500;
}
.nav .sub-menu a:hover { background: var(--mist); }

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

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .topbar__meta span:not(:first-child) { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 116px 0 0 0; background: #fff;
    display: none; overflow-y: auto; padding: 12px var(--gutter) 60px;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: .875rem; }
  .nav .sub-menu {
    position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 8px 16px;
  }
  .nav .sub-menu a { border-bottom: 0; padding: 10px 4px; color: var(--steel); }
  .header__actions .btn { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex; align-items: flex-end;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: bottom;
  background-image:
    radial-gradient(900px 420px at 68% 42%, rgba(28,105,212,.30), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(75,46,133,.35), transparent 65%),
    linear-gradient(180deg, #202226 0%, #131417 100%);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,.72) 0%, rgba(10,11,13,.35) 45%, rgba(10,11,13,.88) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding: 120px var(--gutter) 64px; }
.hero__content { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  color: #d3d6da; max-width: 60ch; margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Traka sa ključnim podacima ispod heroja */
.herobar { background: var(--ink-soft); color: #d8dadd; border-top: 1px solid var(--line-dark); }
.herobar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.herobar__item {
  padding: 26px 28px 26px 0;
  border-right: 1px solid var(--line-dark);
}
.herobar__item:last-child { border-right: 0; }
.herobar__item:not(:first-child) { padding-left: 28px; }
.herobar__k { display: block; font-size: 1.75rem; font-weight: 700; color: #fff; line-height: 1.1; }
.herobar__v { font-size: .875rem; color: #9ea3a9; }

@media (max-width: 860px) {
  .herobar__grid { grid-template-columns: 1fr 1fr; }
  .herobar__item:nth-child(2n) { border-right: 0; }
  .herobar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}

/* Hero za unutrašnje stranice */
.pagehero {
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.pagehero__media {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5;
}
.pagehero__inner { position: relative; z-index: 2; padding: 72px 0 60px; max-width: 800px; }
.pagehero h1 { color: #fff; margin-bottom: 14px; }
.pagehero__lead { color: #bfc3c8; font-size: 1.125rem; max-width: 62ch; margin: 0; }

/* Mrvice */
.crumbs { font-size: .8125rem; color: #8f949a; margin-bottom: 22px; }
.crumbs a { color: #c9ccd1; }
.crumbs span[aria-current] { color: #fff; }
.crumbs .sep { margin: 0 8px; opacity: .5; }

/* --------------------------------------------------------------------------
   7. Kartice usluga
   -------------------------------------------------------------------------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; padding: 38px 32px 34px;
  display: flex; flex-direction: column;
  transition: background-color .3s var(--ease);
}
.card:hover { background: var(--mist); }
.card__icon { color: var(--blue); margin-bottom: 20px; }
.card__icon svg { width: 30px; height: 30px; flex: 0 0 30px; }
.card__icon { display: block; line-height: 0; }
.card h3 { margin-bottom: 10px; font-size: 1.1875rem; }
.card p { color: var(--steel); font-size: .9375rem; margin-bottom: 22px; }
.card .linkline { margin-top: auto; align-self: flex-start; }

@media (max-width: 980px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   8. Split sekcija (slika + tekst)
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  aspect-ratio: 4 / 3; background: var(--ink); background-size: cover; background-position: center;
  position: relative;
}
.split__media--fallback {
  background-image:
    radial-gradient(600px 300px at 30% 30%, rgba(28,105,212,.35), transparent 65%),
    linear-gradient(160deg, #24262b, #131417);
}
.split__body h2 { margin-bottom: 18px; }
.split__body p { color: var(--steel); }
.split__body .btn { margin-top: 14px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
}

/* --------------------------------------------------------------------------
   9. Liste (check liste, dvokolonske)
   -------------------------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--line);
  margin: 0; font-size: 1rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.section--ink .checklist li { border-color: var(--line-dark); }
.checklist--cols { columns: 2; column-gap: 48px; }
.checklist--cols li { break-inside: avoid; }
@media (max-width: 720px) { .checklist--cols { columns: 1; } }

/* Numerisani proces — koristi se samo tamo gdje je sadržaj zaista redoslijed */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps li { background: #fff; padding: 32px 28px; margin: 0; }
.steps__n { display: block; font-size: .8125rem; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.steps h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.steps p { font-size: .9375rem; color: var(--steel); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   10. Statistika / zašto mi
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stats__n { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem); font-weight: 700; line-height: 1; color: #fff; }
.stats__l { font-size: .9375rem; color: #a9adb3; margin-top: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* --------------------------------------------------------------------------
   11. CTA traka
   -------------------------------------------------------------------------- */
.cta {
  background: var(--ink); color: #fff; padding: 72px 0;
  position: relative; overflow: hidden;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: #a9adb3; margin: 0; max-width: 52ch; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0;
  font-weight: 600; font-size: 1.0625rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 30px;
  width: 11px; height: 11px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq .faq__a { padding: 0 60px 24px 0; color: var(--steel); }


/* --------------------------------------------------------------------------
   12b. Recenzije — horizontalni slider
   -------------------------------------------------------------------------- */
.reviews__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}

.slider-nav { display: flex; gap: 8px; }
.slider-btn {
  width: 46px; height: 46px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.slider-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.slider-btn:disabled { opacity: .3; cursor: default; }

.reviews {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid var(--line);
  background: #fff;
}
.reviews::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 33.3333%;
  scroll-snap-align: start;
  background: #fff; margin: 0; padding: 34px 32px 30px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.review:last-child { border-right: 0; }

.review__stars { display: flex; gap: 3px; margin-bottom: 18px; }
.review__stars svg { width: 17px; height: 17px; fill: var(--line); }
.review__stars svg.is-on { fill: #f5a623; }
.review blockquote {
  margin: 0 0 22px; padding: 0; border: 0; font-size: 1rem; line-height: 1.6;
  color: var(--ink);
}
.review blockquote::before { content: "„"; }
.review blockquote::after { content: "”"; }
.review figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.review__ime { display: block; font-weight: 600; font-size: .9375rem; }
.review__auto { display: block; font-size: .8125rem; color: var(--steel); margin-top: 2px; }

@media (max-width: 980px) { .review { flex-basis: 50%; } }
@media (max-width: 620px) { .review { flex-basis: 100%; } }

.gr-btn {
  --gr-bg: #fff;
  --gr-bg-hover: #fff;
  --gr-fg: #000;
  --gr-ring: #1a73e8;
 
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: var(--gr-bg);
  color: var(--gr-fg);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
  margin-top: 24px;
}
 
.gr-btn:hover { background: var(--gr-bg-hover); border-color: var(--blue); text-decoration: none; }
.gr-btn:active { transform: translateY(1px); }
 
.gr-btn:focus-visible {
  outline: 2px solid var(--gr-ring);
  outline-offset: 3px;
}
 
.gr-btn__logo {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
 
@media (prefers-reduced-motion: reduce) {
  .gr-btn { transition: none; }
  .gr-btn:active { transform: none; }
}

/* --------------------------------------------------------------------------
   12c. Mapa preko cijele širine
   -------------------------------------------------------------------------- */
.mapband { background: var(--ink); }
.mapband__bar { color: #fff; }
/* Zaseban unutrašnji element, da se ne sudari sa .wrap paddingom */
.mapband__barin {
  max-width: var(--wrap); margin: 0 auto; padding: 34px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.mapband__barin h2 { color: #fff; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); margin: 0 0 6px; }
.mapband__barin p { color: #a9adb3; margin: 0; font-size: .9375rem; }
.mapband__akcije { display: flex; gap: 12px; flex-wrap: wrap; }

.mapband__frame { line-height: 0; }
.mapband__frame iframe {
  display: block; width: 100%; height: 480px; border: 0;
}

@media (max-width: 700px) {
  .mapband__frame iframe { height: 340px; }
  .mapband__barin { padding: 26px var(--gutter); }
}
/* --------------------------------------------------------------------------
   13. Sadržaj stranice / posta
   -------------------------------------------------------------------------- */
.entry { padding: var(--section-y) 0; }
.entry__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.entry--full .entry__layout { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .entry__layout { grid-template-columns: 1fr; gap: 48px; } }

.prose { max-width: 74ch; }
.prose h2 { margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul li, .prose ol li { margin-bottom: .5em; }
.prose blockquote {
  margin: 32px 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--blue);
  font-size: 1.125rem; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--mist); font-weight: 600; }
.prose img { margin: 28px 0; }
.prose .wp-caption-text, .prose figcaption { font-size: .875rem; color: var(--steel); }

/* Bočna kolona */
.sidebar { position: sticky; top: 100px; }
.sidecard { border: 1px solid var(--line); padding: 28px; margin-bottom: 24px; }
.sidecard--ink { background: var(--blue-dark); color: #cdd0d4; border-color: var(--blue-dark); }
.sidecard--ink h3 { color: #fff; }
.sidecard h3 { font-size: 1.0625rem; margin-bottom: 14px; }
.sidecard ul { list-style: none; padding: 0; margin: 0; font-size: .9375rem; }
.sidecard li { margin: 0; border-bottom: 1px solid var(--line); }
.sidecard--ink li { border-color: var(--line-dark); }
.sidecard li:last-child { border-bottom: 0; }
.sidecard li a { display: block; padding: 10px 0; color: inherit; font-weight: 500; }
.sidecard li a:hover { color: var(--blue); text-decoration: none; }
.sidecard--ink li a:hover { color: #fff; }
.sidecard .btn { width: 100%; margin-top: 16px; }
.sidecard__phone { font-size: 1.375rem; font-weight: 700; color: #fff; display: block; margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   14. Blog
   -------------------------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

.post-card__media { aspect-ratio: 16/10; background: var(--mist); overflow: hidden; margin-bottom: 18px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__meta { font-size: .8125rem; color: var(--steel); margin-bottom: 8px; }
.post-card h2, .post-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.post-card p { font-size: .9375rem; color: var(--steel); }

.pagination { margin-top: 56px; display: flex; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9375rem;
}
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --------------------------------------------------------------------------
   15. Kontakt forma
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.form .field--wide { grid-column: 1 / -1; }
.form label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 7px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: .9375rem;
  padding: 13px 15px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 0;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(28,105,212,.15); }
.form .hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.notice { padding: 16px 20px; border-left: 3px solid var(--blue); background: var(--mist); margin-bottom: 28px; font-size: .9375rem; }
.notice--error { border-color: var(--m-red); }

/* Kontakt info blok */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.infolist { list-style: none; padding: 0; margin: 0; }
.infolist li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.infolist svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 20px; margin-top: 3px; }
.infolist strong { display: block; font-size: .8125rem; color: var(--steel); font-weight: 600; }
.infolist a { color: var(--ink); font-weight: 600; }

.map { aspect-ratio: 4/3; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #9ea3a9; font-size: .9375rem; }
.site-footer__top { padding: 72px var(--gutter) 56px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; }
.site-footer h3 { color: #fff; font-size: .9375rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer a { color: #9ea3a9; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer__brand .brand__name { color: #fff; }
.site-footer__brand p { margin-top: 18px; max-width: 38ch; }
.site-footer__bottom {
  border-top: 1px solid var(--line-dark); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .8125rem;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Plutajuće dugme za poziv na mobilnom */
.callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--blue); color: #fff; text-align: center;
  padding: 14px; font-weight: 600; letter-spacing: .02em;
}
.callbar:hover { color: #fff; text-decoration: none; }
@media (max-width: 700px) {
  .callbar { display: block; }
  body { padding-bottom: 54px; }
}

/* --------------------------------------------------------------------------
   17. Jedna orkestrirana animacija — ulaz heroja
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: heroIn .8s var(--ease) both; }
  .hero__content > *:nth-child(2) { animation-delay: .08s; }
  .hero__content > *:nth-child(3) { animation-delay: .16s; }
  .hero__content > *:nth-child(4) { animation-delay: .24s; }
  @keyframes heroIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
}

/* --------------------------------------------------------------------------
   18. WordPress obavezne klase
   -------------------------------------------------------------------------- */
.alignleft { float: left; margin: 6px 28px 20px 0; }
.alignright { float: right; margin: 6px 0 20px 28px; }
.aligncenter { margin: 28px auto; display: block; }
.alignwide { max-width: 1100px; }
.alignfull { max-width: 100%; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
.wp-caption { max-width: 100%; }

/* Štampa */
@media print {
  .site-header, .topbar, .site-footer, .cta, .callbar, .nav-toggle { display: none !important; }
  body { font-size: 12pt; color: #000; }
}
