/* ==========================================================================
   NEVIS v3 - glavne stranice usluga (template-parts/service-page.php, service-extra.php)
   i CTA panel sa formom (template-parts/lead-section.php).
   Bento jezik dolazi iz bento.css (.hb, .home-bento, .hbv-*, .home-ask, .home-work*, .home-proc).
   Ovdje: hero (.svc-hero, forma u heroju), ploče .svh__* (hero /usluge/), raspored sekcija i dijelovi samo za usluge. Prefiksi: .svc-, .svh
   ========================================================================== */

/* ---------- zajedničko ---------- */
.svc-h2 { max-width: var(--m-h2); }
.home-bento__item--3 { grid-column: span 3; }


/* ---------- podusluge (template-podusluga.php): kartice projekata i case study red, kao prije redizajna usluga ---------- */
.svc-projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); margin-top: var(--head-gap); }
.svc-proj__link { display: block; text-decoration: none; color: var(--ink); }
.svc-proj__img { aspect-ratio: 16 / 10; border-radius: var(--r-card); position: relative; }
.svc-proj__img img { transition: transform .5s var(--ease); }
.svc-proj__link:hover .svc-proj__img img { transform: scale(1.03); }
.svc-proj__cat { display: block; margin-top: 14px; color: var(--muted); }
.svc-proj h3 { margin-top: 4px; }
.svc-proj__link:hover h3 { color: var(--accent); }
.svc-proj p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.sec--dark .svc-proj__link, .sec--dark .svc-proj h3 { color: var(--paper); }
.sec--dark .svc-proj__link:hover h3 { color: var(--accent-on-dark); }
.sec--dark .svc-proj p, .sec--dark .svc-proj__cat { color: var(--night-muted); }
.svc-case { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--night-line); color: var(--night-muted); }
.svc-case__tag { color: var(--accent-on-dark); }
@media (max-width: 1100px) { .svc-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .svc-case { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .svc-projects__grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .svc-projects__grid::-webkit-scrollbar { display: none; }
  .svc-projects__grid > .svc-proj { display: block; scroll-snap-align: start; }
  .svc-proj__cat { margin-top: 10px; }
  .svc-case { margin-top: 24px; padding-top: 18px; }
}

/* ---------- hero: dvije kolone, lijevo naslov + direktan odgovor + garancije, desno forma (bez vizuala) ---------- */
/* .svc-hero, .svc-crumbs, .svc-hero__title i .svc-hero__lead dijeli i /usluge/ (.usl-hero); novi raspored je pod .svc-hero__grid. */
.svc-hero { padding: var(--hero-top) 0 var(--hero-bot); border-bottom: 1px solid var(--line); overflow: clip; }
.svc-crumbs { align-items: center; }
.svc-crumbs a { display: inline-flex; align-items: center; min-height: 24px; }
.svc-crumbs [aria-current] { color: var(--ink-2); }
.svc-hero__title { font-weight: 800; font-size: clamp(44px, 5.6vw, 90px); letter-spacing: -.05em; line-height: .95; text-wrap: balance; }
.svc-hero__lead { margin-top: clamp(18px, 2.2vw, 28px); max-width: var(--m-lead); }
.svc-type__feats svg, .svc-checklist svg, .lead-points svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--accent); }

.svc-hero:not(.usl-hero) { padding: clamp(28px, 5.4vh, 72px) 0 clamp(40px, 7vh, 88px); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside); gap: clamp(32px, 6vw, 104px); align-items: center; }
.svc-hero__copy { min-width: 0; }
.svc-hero__eyebrow { display: flex; margin-top: clamp(22px, 4vh, 40px); }
.svc-hero__grid .svc-hero__title { margin-top: clamp(14px, 2.2vh, 22px); font-size: clamp(40px, min(4.9vw, 8.8vh), 80px); line-height: .97; letter-spacing: -.048em; }
.sub-hero .svc-hero__grid .svc-hero__title { font-size: clamp(36px, min(4.2vw, 7.6vh), 66px); line-height: 1; }
.svc-hero__grid .svc-hero__lead { margin-top: clamp(16px, 2.8vh, 28px); max-width: 58ch; }

/* garancije: tri kratke činjenice u redu (kao .facts na početnoj), mala ikona u kobaltu */
.svc-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 680px; margin: clamp(22px, 4vh, 40px) 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line-strong); }
.svc-hero__facts li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.svc-hero__fico { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: rgba(30, 61, 255, .08); color: var(--accent); }
.svc-hero__facts b { display: block; font-family: var(--f-display); font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.svc-hero__facts small { display: block; margin-top: 3px; color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }
.svc-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: clamp(14px, 2.4vh, 24px); }
.svc-hero__more { min-height: 44px; }
.svc-updated { color: var(--muted); }

/* forma: ista polja, kompaktniji razmaci da stane u visinu laptopa */
.svc-hero__side { position: relative; z-index: 2; min-width: 0; }
.svc-hero__form { position: relative; padding: 26px 26px 22px; border-color: rgba(12, 12, 13, .08); box-shadow: 0 1px 2px rgba(12, 12, 13, .04), 0 34px 70px -40px rgba(12, 12, 13, .4); }
.svc-hero__form .lead-form-title { font-size: 23px; line-height: 1.15; }
.svc-hero__form p.lead-form-title { margin: 0; color: var(--ink); }
.svc-hero__form .lead-form-sub { margin: 6px 0 16px; font-size: 14.5px; line-height: 1.5; }
.svc-hero__form .lead-form-form { gap: 12px; }
.svc-hero__form .lead-field { gap: 5px; }
.svc-hero__form .lead-field input { min-height: 46px; padding-block: 10px; }
.svc-hero__form .lead-field textarea { min-height: 66px; padding-block: 10px; }
.svc-hero__form .lead-submit { min-height: 50px; }
.svc-hero__form .lead-alt { margin-top: 12px; padding-top: 12px; }
.svc-hero__form .lead-alt-btn { min-height: 44px; font-size: 14.5px; }

/* ploče sa mockupima (.svh__*): koristi ih hero stranice /usluge/ (.uslh) */
.svh__glow { position: absolute; z-index: -1; inset: -8% -6% -14% 4%; pointer-events: none; background: radial-gradient(closest-side, rgba(30, 61, 255, .22), rgba(30, 61, 255, .07) 55%, rgba(30, 61, 255, 0)); }
.hb.svh__plate {
  --hb-pad: clamp(24px, 3vw, 40px);
  position: absolute; inset: 0; min-height: 0; padding: 0; border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--hb-ring), 0 40px 80px -44px rgba(30, 61, 255, .65);
}
.hb.svh__plate::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image: linear-gradient(to right, var(--svh-grid, rgba(12, 12, 13, .05)) 1px, transparent 1px), linear-gradient(to bottom, var(--svh-grid, rgba(12, 12, 13, .05)) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
}
.svh__plate.hb--cobalt { --svh-grid: rgba(255, 255, 255, .09); }
.svh__plate.hb--shop, .svh__plate.hb--ink { --svh-grid: rgba(0, 0, 0, 0); }
.svh__plate .hb__viz { position: absolute; inset: clamp(40px, 4vw, 56px) 0 0; z-index: 1; min-height: 0; margin: 0; }
/* po mockupu */
.svh__plate--web .hbv-win { height: 400px; }
.svh__plate--web .hbv-phone { top: 36px; }
.svh__plate--shop .hb__viz { inset: 28px 0 0; }
.svh__plate--shop .hbv-prod--front { top: 40px; }
.svh__plate--shop .hbv-prod--back { top: 80px; }
.svh__plate--seo .hbv-serp { left: 12%; right: 12%; }
.svh__plate--seo .hbv-seo__chart { height: 70%; }
.svh__plate--flow .hb__viz { display: flex; justify-content: center; }
.svh__plate--flow .hbv-flow { position: relative; inset: auto; width: min(440px, 86%); padding: 0; gap: 22px; }
.svh__plate--flow .hbv-flow__wire { left: 27px; height: 190px; }
.svh__plate--flow .hbv-node { padding: 14px 16px 14px 12px; }
.svh__plate--pf .hb__viz > .hbv-pf { inset: 0 -1px auto var(--hb-pad); height: 360px; grid-template-columns: 56px minmax(0, 1fr); }
.svh__plate--pf .hbv-pf__bars { height: 170px; }
.svh__plate--pf .hbv-pf__main { padding: 18px 20px; }
.svh__chip { top: -18px; right: clamp(12px, 3vw, 32px); }
.svh__pill { left: clamp(-12px, -1vw, 0px); bottom: clamp(20px, 3vw, 36px); padding: 7px 16px 7px 7px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); border-color: transparent; }
.svh__pill .hh-chip__ico { width: 28px; height: 28px; border-radius: 50%; }
/* SEO na svijetloj ploči: kriva u kobaltu */
.hb--sky .hbv-seo__area, .hb--paper .hbv-seo__area { fill: rgba(30, 61, 255, .1); }
.hb--sky .hbv-seo__line, .hb--paper .hbv-seo__line { stroke: rgba(30, 61, 255, .55); }
.hb--paper .hbv-stats { background: var(--white); }

/* ulaz (samo pod html.nv-motion; animacije iz bento.css) */
.nv-motion .svh__glow { animation: hh-glow-in 1s var(--ease-out) 100ms both; }
.nv-motion .svh__plate { --fx: 24px; animation: hh-rise .8s var(--ease-out) 220ms both; }
.nv-motion .svh__chip { animation: hh-pop .42s var(--ease-out) 700ms both; }
.nv-motion .svh__pill { animation: hh-pop .42s var(--ease-out) 800ms both; }
.nv-motion .svc-hero__side { animation: hh-fade .7s var(--ease-out) 260ms backwards; }

/* ---------- 1. zašto (bento) ---------- */
.svc-why .hb--why { min-height: 470px; }
.svc-why .hb__viz { min-height: 250px; }

/* ---------- 2. vrste (bento kartice podusluga) ---------- */
.svc-types .home-bento__item { display: flex; }
.hb.svc-type { min-height: 0; }
.svc-type__top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.svc-type .hb__ico { background: var(--hb-chip-bg); box-shadow: inset 0 0 0 1px var(--hb-chip-line); color: var(--accent); }
.svc-type.hb--ink .hb__ico, .svc-type.hb--cobalt .hb__ico { background: rgba(255, 255, 255, .1); box-shadow: none; color: var(--white); }
.svc-type__n { color: var(--hb-muted); }
.svc-type .hb__title { font-size: clamp(26px, 2.3vw, 34px); }
.svc-type .hb__desc { max-width: 52ch; }
.svc-type__ideal { margin: 16px 0 0; max-width: 60ch; color: var(--hb-muted); font-size: 15px; line-height: 1.5; }
.svc-type__ideal strong { color: var(--hb-fg); }
.svc-type__feats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 22px 0 0; padding: 18px; border-radius: var(--r-md); background: var(--hb-chip-bg); box-shadow: inset 0 0 0 1px var(--hb-chip-line); }
.svc-type__feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; color: var(--hb-fg); }
.svc-type__feats svg { margin-top: 2px; }
.svc-type.hb--ink .svc-type__feats svg { color: var(--accent-on-dark); }
.svc-type.hb--cobalt .svc-type__feats { background: rgba(255, 255, 255, .1); box-shadow: none; }
.svc-type.hb--cobalt .svc-type__feats svg { color: var(--white); }
.svc-type__foot { position: relative; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: auto; padding-top: 22px; pointer-events: none; }
.svc-type__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.svc-type__more::after { content: "\2192"; transition: transform .3s var(--ease-out); }
.hb:hover .svc-type__more::after { transform: translateX(4px); }
.svc-type__quote { pointer-events: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--hb-chip-line); color: var(--hb-fg); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.svc-type__quote:hover, .svc-type__quote:focus-visible { background: var(--accent); color: var(--white); box-shadow: none; }
.svc-type.hb--cobalt .svc-type__quote:hover, .svc-type.hb--cobalt .svc-type__quote:focus-visible { background: var(--white); color: var(--accent); }
.svc-types + .home-ask { margin-top: var(--card-gap); }

/* ---------- 3. uključeno: ćelije sa ikonama + napomene ---------- */
.hb.svc-cell, .hb.svc-factor { min-height: 0; padding: 26px; }
.svc-cell__t { margin-top: 18px; font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
.svc-cell p, .svc-factor p { margin: 8px 0 0; color: var(--hb-muted); font-size: 15px; line-height: 1.55; }
.svc-notes { margin-top: var(--card-gap); }
.hb.svc-note { min-height: 0; }
.svc-note p { margin-top: 12px; max-width: var(--m-body); color: var(--ink-2); }
.svc-note .link-arrow { margin-top: 12px; min-height: 44px; }
.svc-note.hb--peach .link-arrow { color: var(--accent-2-ink-soft); }

/* ---------- 4. projekti (tamna traka, klase radova iz bento.css) ---------- */
.svc-work .home-works__head h2 { color: var(--paper); }
.svc-page .svc-case { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; margin-top: 40px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--night-muted); }
.svc-page .svc-case__tag { padding: 6px 10px; border-radius: var(--r-pill); background: var(--accent-2); color: var(--accent-2-ink); font-size: 11px; }
.svc-case__text strong { color: var(--paper); }
.svc-case .link-arrow { min-height: 44px; white-space: nowrap; }

/* ---------- 5. proces (klase iz bento.css) + priprema ---------- */
.hb.svc-prepare { min-height: 0; margin-top: var(--card-gap); }
.svc-checklist { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; }
.svc-checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--white); font-size: 15px; line-height: 1.45; }
.svc-checklist svg { margin-top: 2px; }
.svc-prepare__note { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.svc-linkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; color: var(--ink-2); }

/* ---------- 6. cijena ---------- */
.hb.svc-factor .hb__n { top: 22px; right: 22px; }
.svc-factor .svc-cell__t { margin-top: 0; padding-right: 56px; }
.svc-price__outro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: var(--card-gap); padding: 22px 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07); }
.svc-price__outro p { flex: 1 1 420px; max-width: var(--m-body); margin: 0; color: var(--ink-2); }
.svc-price__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.svc-price__links .link-arrow { min-height: 44px; }
.svc-price__more { margin-top: var(--card-gap); }
.hb.svc-tech, .hb.svc-after { min-height: 0; }
.svc-tech details > p, .svc-after details > p { margin-top: 12px; color: var(--hb-muted); }
.svc-tech .link-arrow, .svc-after .link-arrow { margin-top: 12px; min-height: 44px; }
.svc-after .link-arrow { color: var(--accent-on-dark); }
.svc-after h3 { color: var(--paper); }
.svc-after__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.svc-after__tags li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--paper); font-size: 13px; font-weight: 600; }
.svc-after__tags svg { color: var(--accent-on-dark); }
.svc-table-wrap { margin-top: 20px; overflow-x: auto; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
.svc-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.svc-table th, .svc-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.svc-table tbody tr:last-child > * { border-bottom: 0; }
.svc-table thead th, .svc-table thead td { background: var(--paper); }
.svc-table thead th { font-family: var(--f-display); font-size: 16px; letter-spacing: -.01em; }
.svc-table thead th:last-child { color: var(--accent); }
.svc-table tbody th { width: 22%; font-weight: 600; color: var(--ink); }
.svc-table tbody td { color: var(--ink-2); }

/* ---------- 7. lokalno (BiH mapa iz bento.css) ---------- */
.svc-local__card { justify-content: space-between; }
.svc-local__text .hb__text { margin: 0; }
.svc-local__text .hb__text + .hb__text { margin-top: 14px; }

/* ---------- 8. FAQ (.faq-item hook iz main.js) ---------- */
.svc-faq__list { margin-top: var(--head-gap); border-top: 1px solid var(--line-strong); }
.svc-faq .faq-item { border-bottom: 1px solid var(--line); }
.svc-faq .faq-question { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -.02em; line-height: 1.25; }
.svc-faq .faq-question:hover { color: var(--accent); }
.svc-faq__ico { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.svc-faq__ico::before, .svc-faq__ico::after { content: ""; position: absolute; left: 2px; right: 2px; top: 9px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.svc-faq__ico::after { transform: rotate(90deg); }
.svc-faq .faq-item.active .svc-faq__ico { color: var(--accent); }
.svc-faq .faq-item.active .svc-faq__ico::after { transform: rotate(0); }
.svc-faq .faq-answer { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s var(--ease), visibility 0s linear .3s; }
.svc-faq .faq-item.active .faq-answer { visibility: visible; transition: max-height .3s var(--ease), visibility 0s; }
.svc-faq .faq-answer p { padding: 0 40px 24px 0; max-width: var(--m-prose); color: var(--ink-2); }
.faq-h { margin: 0; font: inherit; letter-spacing: inherit; }

/* ---------- 9. povezano (male bento kartice) ---------- */
.hb.svc-rel { --hb-pad: 24px; min-height: 210px; }
.svc-rel__label { color: var(--hb-muted); font-size: 11px; }
.svc-rel__t { margin-top: auto; padding-top: 28px; padding-right: 8px; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.svc-rel__d { margin: 8px 0 0; color: var(--hb-muted); font-size: 14.5px; line-height: 1.5; }
.svc-rel .hb__arrow { width: 38px; height: 38px; }

/* ---------- završni CTA (kobalt) ---------- */
.svc-cta { padding: var(--sec-y) 0; }
.svc-cta__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.svc-cta__inner > div:first-child { flex: 1 1 520px; max-width: 720px; }
@media (min-width: 901px) {
  .svc-cta__inner { flex-wrap: nowrap; }
  .svc-cta__inner > div:first-child { flex: 1 1 auto; }
  .svc-cta__actions { flex-shrink: 0; }
}
.svc-cta__title { font-size: clamp(38px, 5vw, 68px); }
.svc-cta__text { margin-top: 18px; }
.svc-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-cta__actions .btn--light { color: var(--ink); }

/* ---------- CTA panel sa formom (lead-section.php) ---------- */
.lead-section { padding: var(--sec-y) 0; background: var(--accent); color: var(--white); }
.lead-section-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside); gap: var(--col-gap); align-items: center; }
.lead-section-eyebrow { color: var(--accent-soft); }
.lead-section-title { margin-top: 16px; color: var(--white); }
.lead-section-text { margin-top: 18px; color: #E6EAFF; font-size: 18px; max-width: 560px; }
.lead-points { list-style: none; margin-top: 28px; display: grid; gap: 10px; }
.lead-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--white); font-weight: 500; }
.lead-section .lead-points svg { color: var(--white); margin-top: 4px; }
.lead-section .lead-form { box-shadow: none; border: 0; border-radius: 20px; }
.lead-section .lead-submit { background: var(--ink); }
.lead-section .lead-submit:hover { background: #26272B; }

/* ---------- details.m-collapse: na desktopu uvijek otvoren, izgleda kao običan blok (naslov je H3 u summary) ---------- */
.m-collapse > .m-collapse__sum { display: block; list-style: none; pointer-events: none; }
.m-collapse > .m-collapse__sum::-webkit-details-marker { display: none; }
.m-collapse__sum > h3 { margin: 0; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .home-bento__item--3 { grid-column: span 1; }
  .svc-why .hb--why { min-height: 440px; }
  .svc-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-factors > .home-bento__item { grid-column: span 1; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .svc-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 42%); gap: 36px; }
  .svc-hero__facts { gap: 12px; }
  .svc-hero__fico { display: none; }
  .svc-page .hh-chip__txt small { display: none; }
}

/* ---------- mobitel/tablet (<= 900): tekst i garancije, pa forma ---------- */
@media (max-width: 900px) {
  .svc-hero__grid, .lead-section-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-hero__grid { gap: 32px; }
  .svc-hero__eyebrow { margin-top: 20px; }
  .svc-hero__title, .svc-hero__grid .svc-hero__title { font-size: clamp(36px, 9.4vw, 64px); }
  .sub-hero .svc-hero__grid .svc-hero__title { font-size: clamp(32px, 8.2vw, 56px); }
  .svc-hero__lead, .svc-hero__grid .svc-hero__lead { margin-top: 16px; font-size: 17px; }
  .svc-hero__facts { margin-top: 24px; padding-top: 16px; }
  .svc-page .hh-chip { gap: 8px; padding: 7px 11px 7px 7px; border-radius: 12px; }
  .svc-page .hh-chip__ico { width: 28px; height: 28px; border-radius: 8px; }
  .svc-page .hh-chip__txt b { font-size: 12.5px; }
  .svc-page .hh-chip__txt small { font-size: 9.5px; }
  .svh__pill { left: 8px; padding: 5px 12px 5px 5px; }
  .svh__pill .hh-chip__ico { width: 24px; height: 24px; }
  .svh__chip { right: 10px; top: -14px; }
  .svc-page .svc-case { grid-template-columns: minmax(0, 1fr); }
  .svc-checklist { grid-template-columns: minmax(0, 1fr); }
  .lead-section-grid { gap: 28px; }
  .nv-motion .svc-hero__side { animation: none; }
}
@media (max-width: 640px) {
  .svc-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .svc-cells > .home-bento__item { grid-column: span 1; }
  .hb.svc-cell { padding: 18px; }
  .svc-cell__t { margin-top: 14px; font-size: 16.5px; }
  .svc-cell p { font-size: 14px; }
  .svc-cell .hb__ico { width: 38px; height: 38px; }
  .hb.svc-factor { padding: 22px; }
  .svc-why .hb--why { min-height: 0; }
  .svc-type__feats { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .svc-types .hb__head { padding-right: 52px; }
  .svc-price__outro { padding: 20px; }
  .svc-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .svc-related__grid > .home-bento__item { grid-column: span 1; }
  .hb.svc-rel { --hb-pad: 18px; min-height: 180px; }
  .svc-rel__t { font-size: 17px; padding-top: 20px; }
  .svc-rel__d { display: none; }
  .svc-rel .hb__arrow { width: 32px; height: 32px; }
  .svc-rel .hb__arrow svg { width: 15px; height: 15px; }
  .svc-hero__facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .svc-hero__facts li { align-items: center; }
  .svc-hero__fico { width: 30px; height: 30px; border-radius: 9px; }
  .svc-hero__facts li > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .svc-hero__facts small { margin-top: 0; }
}
@media (max-width: 600px) {
  .svc-page { --sec-y: 52px; --sec-y-sm: 32px; --head-gap: 24px; }
  .svc-page .svc-h2 { font-size: clamp(28px, 7.4vw, 34px); }
  .svc-hero__form, .lead-section .lead-form { padding: 22px 18px; }
  .svc-cta__actions, .svc-cta__actions .btn { width: 100%; }
  .svc-table { font-size: 14px; }
  .svc-table th, .svc-table td { padding: 12px; }
  .svc-table tbody th { width: 28%; }
  .svc-faq .faq-question { min-height: 56px; padding: 14px 0; font-size: 17px; }
  .svc-faq .faq-answer p { padding-right: 0; }
  /* dopunske cjeline: sklopive (tekst ostaje u DOM-u) */
  .m-collapse > .m-collapse__sum { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; pointer-events: auto; cursor: pointer; }
  .m-collapse > .m-collapse__sum > h3 { font-size: 19px; }
  .m-collapse > .m-collapse__sum::after { content: "+"; flex-shrink: 0; font-size: 24px; line-height: 1; font-weight: 400; color: var(--accent); }
  .svc-after .m-collapse > .m-collapse__sum::after { color: var(--accent-on-dark); }
  .m-collapse[open] > .m-collapse__sum::after { content: "\2212"; }
  .hb.svc-note, .hb.svc-prepare, .hb.svc-tech, .hb.svc-after { padding: 18px 20px; }
  .svc-local__text .hb__text { font-size: 15.5px; }
}
@media (hover: none) {
  .hb:hover .svc-type__more::after { transform: none; }
}
/* troškovi: oznake na dnu tamne kartice */
.svc-tech > details, .svc-after > details { display: flex; flex-direction: column; flex: 1; }
.svc-after__tags { margin-top: auto; padding-top: 22px; }
.svh__plate--shop .hbv-cart { top: 24px; }
.svh__plate--shop .hbv-toast { left: auto; right: var(--hb-pad); bottom: 48px; }
.svh__plate--shop .hbv-prod--front { width: 250px; }
@media (max-width: 600px) {
  /* kraća stranica na mobitelu: liste funkcija su i na stranicama podusluga (tekst ostaje u DOM-u) */
  .svc-type__feats { display: none; }
}
/* tablet: kartice "zašto" preko cijele širine dobiju tekst lijevo, vizual desno */
@media (min-width: 641px) and (max-width: 1100px) {
  .svc-why .home-bento__item--7 .hb--why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 0 32px; min-height: 340px; }
  .svc-why .home-bento__item--7 .hb__viz { align-self: stretch; min-height: 290px; margin: 0 calc(-1 * var(--hb-pad)) calc(-1 * var(--hb-pad)) 0; padding-top: 0; }
  .svc-why .home-bento__item--7 .hb__head { padding-right: 0; }
}
@container (max-width: 520px) {
  .svh__plate--shop .hbv-cart { display: none; }
  .svh__plate--shop .hbv-toast { bottom: 18px; }
  .svh__plate--shop .hbv-prod--front { width: 200px; top: 28px; }
}
