/* ===========================================================
   Miljkop — tema "v2" (modernija)
   Učitava se POSLE site.css i menja samo ono što se razlikuje:
   kartice umesto slojeva tla, bez talasa, mekše senke i radijusi.
   =========================================================== */

:root {
  --r: 14px;
  --r-sm: 10px;
  --paper: #f5f6f3;
  --line: #e2e5e0;
  --shadow-1: 0 1px 2px rgba(27, 37, 39, .06), 0 6px 18px rgba(27, 37, 39, .06);
  --shadow-2: 0 2px 4px rgba(27, 37, 39, .08), 0 18px 38px rgba(27, 37, 39, .14);
}

body { font-size: 1.05rem; }
h1 { letter-spacing: -0.015em; }
h2 { letter-spacing: -0.01em; }

/* ---------- zaglavlje ---------- */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { min-height: 80px; }
.nav a { border-radius: 999px; }
.nav a[aria-current="page"] { box-shadow: none; background: var(--stone); border-radius: 999px; }
.btn { border-radius: 999px; }

/* ---------- hero ---------- */
.hero-full { padding: clamp(72px, 9vw, 128px) 0 clamp(96px, 10vw, 140px); }
.hero-full .lead { font-size: 1.22rem; }
.hero-bg img { object-position: 72% 55%; }
.hero-bg::after {
  background: linear-gradient(95deg, rgba(24,34,37,.96) 0%, rgba(24,34,37,.9) 40%, rgba(24,34,37,.5) 72%, rgba(24,34,37,.25) 100%),
              linear-gradient(0deg, rgba(24,34,37,.6), transparent 42%);
}
.hero .owner { font-size: .95rem; }

/* traka sa tri razloga, preklopljena preko donje ivice hera */
.trust {
  position: relative; z-index: 5; margin-top: clamp(-64px, -5vw, -40px); margin-bottom: 8px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.trust > div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; box-shadow: var(--shadow-1);
}
.trust strong {
  display: block; font-family: var(--display); font-weight: 700; font-size: 1.28rem;
  line-height: 1.15; margin-bottom: 6px;
}
.trust strong::before {
  content: ""; display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--sun); margin-bottom: 12px;
}
.trust span { color: var(--muted); font-size: .97rem; line-height: 1.45; }
@media (max-width: 880px) {
  .trust { grid-template-columns: 1fr; margin-top: -32px; }
  .trust > div { padding: 16px 18px; }
}

/* ---------- kartice usluga ---------- */
.cards {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
@media (min-width: 1120px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: inherit; box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover, a.card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #cfd4ce; }
.card-img { overflow: hidden; background: var(--stone); }
.card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
a.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h2, .card-body h3 { font-size: 1.42rem; line-height: 1.1; margin: 0 0 .4em; }
.card-body p { color: var(--muted); margin: 0 0 1.1em; font-size: .99rem; line-height: 1.5; }
.card .go {
  margin-top: auto; display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem;
  text-decoration: none; color: var(--ink);
}
.card .go svg { width: 1em; height: 1em; transition: transform .18s ease; }
a.card:hover .go svg { transform: translateX(4px); }
.card .go::after { display: none; }

.card-cta { background: var(--sun); border-color: #e7b93a; box-shadow: none; }
.card-cta .card-body { justify-content: center; gap: 10px; }
.card-cta h3 { font-size: 1.5rem; }
.card-cta p { color: #4a3c10; margin-bottom: .6em; }
.card-cta .btn { width: 100%; justify-content: center; font-size: 1.12rem; }
.card-cta .btn-line { border-color: rgba(27,37,39,.45); }
.card-cta .btn-line:hover { background: rgba(255,255,255,.35); }

/* niži hero na unutrašnjim stranicama */
.hero.page-hero { padding: clamp(40px, 5vw, 76px) 0 clamp(52px, 6vw, 88px); }
.hero.page-hero .lead { max-width: 58ch; }

/* na telefonu kompaktne kartice: slika levo, tekst desno */
@media (max-width: 560px) {
  .cards { gap: 12px; }
  .card { flex-direction: row; align-items: stretch; }
  .card-img { flex: 0 0 38%; }
  .card-img img { height: 100%; aspect-ratio: auto; }
  .card-body { padding: 14px 16px; }
  .card-body h2, .card-body h3 { font-size: 1.22rem; }
  .card-body p { font-size: .92rem; margin-bottom: .7em; }
  .card .go { font-size: 1rem; }
  .card-cta { flex-direction: column; }
  .card-cta .card-body { padding: 20px; }
}

/* ---------- koraci kao kartice ---------- */
.steps { gap: 16px; }
.steps li {
  border-top: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 22px 20px; position: relative;
}
.steps li::before {
  color: var(--sun-deep); font-size: 2.1rem; margin-bottom: 6px;
}
.steps h3 { font-size: 1.3rem; margin-bottom: .35em; }
.steps p { font-size: .97rem; }

/* ---------- galerija ---------- */
.g-item { border-radius: var(--r); }
.filters button { border-width: 1.5px; }

/* ---------- gde radimo: čipovi ---------- */
.area { background: var(--slate-deep); }
.places { gap: 10px; }
.places li {
  font-family: var(--body); font-size: 1rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .42em 1.05em;
  background: rgba(255,255,255,.05);
}
.places li::after { display: none; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  margin-bottom: 10px; padding: 0 20px;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-size: 1.3rem; padding: 16px 36px 16px 0; }
.faq summary::after { right: 2px; top: 10px; }
.faq details > div { padding-bottom: 16px; }

/* ---------- poziv na kraju: žuta kartica ---------- */
.call { background: transparent; padding-top: clamp(40px, 5vw, 72px); }
.call .wrap {
  background: var(--sun); border-radius: calc(var(--r) + 6px);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px);
}
.call h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }

/* ---------- stranice usluga ---------- */
.aside { border-radius: var(--r); border-top-width: 5px; box-shadow: var(--shadow-1); }
.svc-figure img { border-radius: var(--r); }
.hero-photo img { border-radius: var(--r); }
.hero-photo::before { opacity: .9; }

/* ---------- kontakt ---------- */
.tips { border-radius: var(--r); box-shadow: var(--shadow-1); }
.about img { border-radius: var(--r); }

/* ---------- mobilna traka ---------- */
.callbar { background: rgba(27,37,39,.96); backdrop-filter: blur(6px); }
