/*
Theme Name: MD Servis
Theme URI: https://servisnestoritve-md.si/
Author: Jasa Ciglič
Description: Moderna, hitra tema za Servisne storitve – Matej Dolenc s.p. Servis gospodinjskih aparatov, klimatskih naprav, toplotnih črpalk in hladilne tehnike. Kontaktni podatki se urejajo v Videz → Prilagodi → Kontaktni podatki.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: md-servis
*/

/* ---------- Tokens ---------- */
:root {
  --navy-900: #071428;
  --navy-800: #0b1b33;
  --navy-700: #12284a;
  --navy-600: #1d3a66;
  --blue-600: #1565c0;
  --blue-500: #1e88e5;
  --blue-100: #e3f0ff;
  --ice-50: #f4f8fd;
  --orange-700: #b13f08;
  --orange-600: #cc4a0b;
  --orange-500: #f97316;
  --orange-100: #fff1e6;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --white: #fff;
  --on-dark: #e6edf7;
  --on-dark-muted: #b8c7dd;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(11, 27, 51, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(30, 136, 229, .15);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tint { background: var(--ice-50); }
.section--dark { background: var(--navy-800); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-500), var(--orange-500)); }
.section--dark .eyebrow, .hero .eyebrow { color: #8cc4ff; }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--orange-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(204, 74, 11, .7); }
.btn--primary:hover { background: var(--orange-700); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: var(--on-dark-muted); font-size: .875rem; display: none; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 40px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__list { display: flex; gap: 24px; list-style: none; }
.topbar__list li { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { width: 16px; height: 16px; color: #8cc4ff; }
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -12px rgba(11, 27, 51, .25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; }
.brand__sub { font-size: .8125rem; color: var(--muted); }

.nav { display: none; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; transition: background-color .2s, color .2s; }
.nav__list a:hover, .nav__list .current-menu-item > a { background: var(--blue-100); color: var(--blue-600); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__call { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.icon-btn--accent { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.icon-btn--accent:hover { background: var(--orange-700); color: #fff; border-color: var(--orange-700); }

.menu-toggle .icon-close { display: none; }
.nav-open .menu-toggle .icon-close { display: block; }
.nav-open .menu-toggle .icon-menu { display: none; }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; padding: 24px var(--gutter) 120px; overflow-y: auto; overscroll-behavior: contain; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.nav-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
.mobile-nav ul { list-style: none; }
.mobile-nav li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.mobile-nav .btn { margin-top: 24px; }
.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: var(--on-dark); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%); }
.hero__glow { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(600px 420px at 8% 10%, rgba(30, 136, 229, .38), transparent 70%),
              radial-gradient(560px 460px at 92% 95%, rgba(249, 115, 22, .32), transparent 70%),
              linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.hero__grid { display: grid; gap: 56px; align-items: center; padding-block: 48px 104px; }
.hero__content { max-width: 640px; }
.hero__pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); font-size: .875rem; font-weight: 500; color: var(--on-dark); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { background: linear-gradient(90deg, #7cc0ff 0%, #ffb27a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--on-dark-muted); max-width: 560px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__checks { display: grid; gap: 10px; list-style: none; }
.hero__checks li { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-weight: 500; font-size: .9375rem; }
.hero__checks .icon { color: #4ade80; }

.hero__visual { position: relative; width: 100%; max-width: 540px; margin-inline: auto; padding: 0 0 36px 36px; }
.hero__photo { margin: 0; overflow: hidden; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { aspect-ratio: 5 / 6; border: 1px solid rgba(255, 255, 255, .14); }
.hero__photo--main img { object-position: 42% 50%; }
.hero__photo--small { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4; border: 6px solid var(--navy-800); border-radius: 22px; transform: rotate(-4deg); }
.hero__chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); animation: md-float 6s ease-in-out infinite; }
.hero__chip strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.2; }
.hero__chip small { display: block; color: var(--muted); font-size: .8125rem; }
.hero__chip--top { top: 24px; right: -8px; }
.hero__chip--bottom { right: 20px; bottom: 76px; animation-delay: -3s; }
.hero__chip-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-600); color: #fff; flex: none; }
.hero__chip-icon--blue { background: var(--blue-600); }
@keyframes md-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 2; margin-top: -40px; }
.trust__grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.trust__item { background: #fff; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.trust__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); flex: none; }
.trust__item:nth-child(even) .trust__icon { background: var(--orange-100); color: var(--orange-600); }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.3; }
.trust__item span { font-size: .875rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

/* ---------- Services ---------- */
.services__grid { display: grid; gap: 20px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #cfdcec; }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice-50); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__icon { position: absolute; left: 16px; bottom: 16px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); color: #fff; box-shadow: var(--shadow); border: 3px solid #fff; }
.service-card__icon--warm { background: var(--orange-600); }
.service-card__body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card__body p { color: var(--muted); }
.service-card__list { list-style: none; display: grid; gap: 6px; margin-bottom: 20px; font-size: .9375rem; }
.service-card__list li { display: flex; gap: 8px; align-items: flex-start; }
.service-card__list .icon { color: var(--blue-500); width: 18px; height: 18px; margin-top: 4px; }
.service-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--font-head); font-weight: 700; color: var(--orange-600); text-decoration: none; }
.service-card__link .icon { transition: transform .2s var(--ease); }
.service-card__link:hover .icon { transform: translateX(4px); }

.brands { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; color: var(--muted); }
.brands__label { font-weight: 600; color: var(--ink); margin-right: 6px; }
.brands span.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .9375rem; font-weight: 500; }

/* ---------- Why / process ---------- */
.why { position: relative; overflow: hidden; }
.why::before, .why::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .28; z-index: 0; pointer-events: none; }
.why::before { background: var(--blue-500); left: -200px; top: -160px; }
.why::after { background: var(--orange-500); right: -220px; bottom: -220px; }
.why .container { position: relative; z-index: 1; }
.why__grid { display: grid; gap: 16px; margin-bottom: 64px; }
.why-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 26px; }
.why-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(30, 136, 229, .18); color: #8cc4ff; margin-bottom: 16px; }
.why-card:nth-child(even) .why-card__icon { background: rgba(249, 115, 22, .18); color: #ffb27a; }
.why-card p { margin: 0; color: var(--on-dark-muted); }

.steps { padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; list-style: none; }
.step { position: relative; padding: 26px 26px 26px 86px; border-radius: var(--radius); background: #fff; color: var(--ink); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--orange-500)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; }
.step h3 { color: var(--ink); margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Before / after ---------- */
.ba { display: grid; gap: 40px; align-items: center; }
.ba__text p { color: var(--muted); font-size: 1.0625rem; }
.ba__list { list-style: none; display: grid; gap: 10px; margin: 20px 0 28px; }
.ba__list li { display: flex; gap: 10px; align-items: flex-start; }
.ba__list .icon { color: #16a34a; margin-top: 3px; }
.compare { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; background: var(--navy-800); --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .35); }
.compare__handle { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: var(--navy-800); display: grid; place-items: center; box-shadow: var(--shadow); pointer-events: none; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; touch-action: pan-y; }
.compare__range:focus-visible ~ .compare__handle { outline: 3px solid var(--orange-500); outline-offset: 3px; }
.compare__tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.compare__tag--before { left: 16px; background: rgba(7, 20, 40, .8); color: #fff; }
.compare__tag--after { right: 16px; background: #fff; color: var(--navy-800); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery__item { position: relative; display: block; margin: 0; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--ice-50); aspect-ratio: 4 / 3; }
.gallery__item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(7, 20, 40, .85)); color: #fff; font-size: .875rem; font-weight: 600; text-align: left; }
.lightbox { overscroll-behavior: contain; padding: 0; border: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(7, 20, 40, .9); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; border-radius: var(--radius); }
.lightbox__close { position: fixed; top: 16px; right: 16px; background: #fff; }
.lightbox__cap { color: #fff; text-align: center; margin: 12px 0 0; }

/* ---------- About ---------- */
.about { display: grid; gap: 40px; align-items: start; }
.about__text p { color: var(--muted); font-size: 1.0625rem; }
.team { display: grid; gap: 16px; }
.team-card { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.team-card__avatar { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); flex: none; }
.team-card:nth-child(2) .team-card__avatar { background: linear-gradient(135deg, var(--orange-600), var(--orange-500)); }
.team-card strong { display: block; font-family: var(--font-head); font-size: 1.125rem; }
.team-card span { color: var(--muted); font-size: .9375rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.value { padding: 18px; border-radius: var(--radius); background: var(--ice-50); }
.value strong { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); margin-bottom: 4px; }
.value strong .icon { color: var(--blue-600); }
.value p { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__badge { position: absolute; left: -12px; bottom: 28px; background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 280px; }
.about__badge .icon { width: 28px; height: 28px; color: var(--orange-600); }
.about__badge strong { font-family: var(--font-head); display: block; line-height: 1.25; }
.about__badge span { font-size: .875rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #cfdcec; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; min-height: 56px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue-600); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq .faq__a p { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 32px; }
.contact__info { display: grid; gap: 12px; align-content: start; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: background-color .2s, border-color .2s; min-height: 72px; }
a.contact-item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.contact-item__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--orange-600); flex: none; }
.contact-item:nth-child(2) .contact-item__icon { background: var(--blue-600); }
.contact-item:nth-child(3) .contact-item__icon { background: var(--navy-600); }
.contact-item small { display: block; color: var(--on-dark-muted); font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-item strong { font-family: var(--font-head); font-size: 1.125rem; word-break: break-word; }
.contact__note { color: var(--on-dark-muted); font-size: .9375rem; margin-top: 8px; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30, 136, 229, .18); }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange-600); flex: none; }
.hp-field { position: absolute; left: -9999px; }
.form-note { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.form-note[hidden] { display: none; }
.form-note--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-note--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--blue-600) 0%, var(--navy-700) 55%, var(--orange-700) 130%); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; gap: 24px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.cta-band p { margin: 0; color: var(--on-dark); font-size: 1.0625rem; }
.cta-band .btn--primary { background: #fff; color: var(--navy-800); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--orange-100); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--navy-800); color: var(--on-dark); padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -160px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--orange-500); filter: blur(100px); opacity: .25; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.25rem); }
.page-hero p { max-width: 640px; font-size: 1.125rem; margin: 0; }
.breadcrumbs { font-size: .875rem; color: var(--on-dark-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--on-dark); }
.entry-content { max-width: 760px; }
.entry-content > * + * { margin-top: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding-top: 64px; font-size: .9375rem; }
.footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .icon { width: 18px; height: 18px; color: #8cc4ff; }
.footer__brand .brand { color: #fff; margin-bottom: 16px; }
.footer__brand .brand__sub { color: var(--on-dark-muted); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .875rem; }

/* ---------- Mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 27, 51, .25); backdrop-filter: blur(10px); }
.callbar .btn { min-height: 50px; padding-inline: 12px; }
body { padding-bottom: 76px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .trust__item { flex-direction: row; gap: 14px; padding: 22px 20px; }
  .team { grid-template-columns: 1fr 1fr; }
  .hero__checks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
  .hero__checks li { white-space: nowrap; }
}
@media (min-width: 900px) {
  .topbar { display: block; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 88px 26px 28px; }
  .step::before { top: 26px; }
  .ba { grid-template-columns: 5fr 7fr; gap: 64px; }
  .about { grid-template-columns: 7fr 5fr; gap: 64px; }
  .contact { grid-template-columns: 5fr 7fr; gap: 48px; }
  .cta-band { grid-template-columns: 1fr auto; }
  .footer__grid { grid-template-columns: 2fr 1fr 1.4fr; }
}
@media (min-width: 1080px) {
  :root { --header-h: 80px; }
  .nav { display: block; }
  .menu-toggle, .header__phone-icon { display: none; }
  .header__call { display: inline-flex; }
  .mobile-nav { display: none; }
  .callbar { display: none; }
  body { padding-bottom: 0; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; padding-block: 72px 136px; }
  .hero__visual { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .topbar, .callbar, .mobile-nav { display: none !important; }
}
.section-head--spaced { margin-top: clamp(64px, 9vw, 112px); }
.cta-band--spaced { margin-bottom: clamp(48px, 7vw, 80px); }
.contact__lead { margin-bottom: 24px; }

/* ---------- Polish ---------- */
.section--tint { background-color: var(--ice-50); background-image: radial-gradient(rgba(29, 58, 102, .09) 1px, transparent 1px); background-size: 22px 22px; }
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-110%); transition: transform .6s var(--ease); }
.btn--primary:hover::after { transform: translateX(110%); }
.pulse { position: relative; display: inline-grid; place-items: center; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: md-pulse 2.2s ease-out infinite; }
@keyframes md-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.topbar__badge .icon { color: #ffb27a; }
.service-card__body h3 { font-size: 1.3125rem; }
.step { box-shadow: var(--shadow); }
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
@media (min-width: 1080px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
  .service-card--wide { grid-column: span 2; flex-direction: row; }
  .service-card--wide .service-card__media { aspect-ratio: auto; flex: 0 0 48%; }
  .service-card--wide .service-card__body { padding: 36px 32px 30px; justify-content: center; }
  .service-card--wide .service-card__body p { font-size: 1.0625rem; }
  .service-card--wide .service-card__link { margin-top: 8px; }
  .service-card--wide .service-card__media { flex-basis: 52%; }
  .service-card--wide h3 { font-size: 1.5rem; }
}
@media (max-width: 639px) {
  .hero__grid { gap: 40px; }
  .hero__photo--main { aspect-ratio: 1 / 1; }
  .hero__visual { padding: 0 0 28px 20px; }
  .hero__photo--small { width: 36%; border-width: 4px; }
  .hero__chip { padding: 10px 12px 10px 10px; gap: 10px; }
  .hero__chip-icon { width: 36px; height: 36px; }
  .hero__chip small { display: none; }
  .hero__chip--top { right: 0; top: 16px; }
  .hero__chip--bottom { right: 12px; bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__chip, .pulse::after { animation: none; }
}

/* ---------- Katalogi: knjižnica ---------- */
.catalog-source { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; margin: 0; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.catalog-source .icon { color: var(--orange-600); }
.catalog-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.catalog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.catalog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.catalog-card__cover { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(160deg, var(--blue-100), var(--orange-100)); padding: 18px 18px 0; }
.catalog-card__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; box-shadow: 0 12px 30px -10px rgba(11, 27, 51, .45); transition: transform .5s var(--ease); }
.catalog-card:hover .catalog-card__cover img { transform: translateY(-6px) rotate(-1deg); }
.catalog-card__badge { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--navy-800); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.catalog-card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.catalog-card__brand { margin: 0 0 2px; font-size: .8125rem; font-weight: 700; color: var(--blue-600); text-transform: uppercase; letter-spacing: .06em; }
.catalog-card__body h3 { margin-bottom: 4px; font-size: 1.1875rem; }
.catalog-card__meta { color: var(--muted); font-size: .875rem; }
.catalog-card__actions { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.catalog-card__actions .btn { flex: 1; padding-inline: 14px; }

.dl-wrap { margin-top: clamp(48px, 7vw, 80px); }
.dl-title { text-align: center; font-size: 1.375rem; margin-bottom: 24px; }
.dl-groups { display: grid; gap: 20px; }
.dl-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.dl-group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-600); margin-bottom: 8px; }
.dl-list { list-style: none; display: grid; }
.dl-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.dl-item:first-child { border-top: 0; }
.dl-item img { width: 48px; height: 68px; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: var(--shadow-sm); }
.dl-item strong { display: block; font-family: var(--font-head); font-size: .9375rem; line-height: 1.3; }
.dl-item__brand { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.dl-item__meta { display: block; font-size: .8125rem; color: var(--muted); }
.dl-item__btn { min-height: 44px; padding: 8px 14px; font-size: .875rem; }

/* ---------- Katalogi: pregledovalnik ---------- */
.catalog-viewer { width: min(1180px, 100vw); max-width: 100vw; height: min(94vh, 100dvh); max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--ink); overflow: hidden; overscroll-behavior: contain; box-shadow: var(--shadow-lg); }
.catalog-viewer[open] { display: flex; flex-direction: column; animation: md-pop .25s var(--ease); }
.catalog-viewer::backdrop { background: rgba(7, 20, 40, .72); backdrop-filter: blur(4px); }
@keyframes md-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.catalog-viewer__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.catalog-viewer__title { flex: 1; min-width: 0; line-height: 1.25; }
.catalog-viewer__title span { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.catalog-viewer__title strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-viewer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.catalog-viewer__loading { padding: 64px 24px; text-align: center; color: var(--muted); }

/* ---------- Katalog: vsebina ---------- */
.cat { padding: clamp(16px, 4vw, 40px); }
.cat-hero { display: grid; gap: 28px; align-items: center; padding: clamp(20px, 4vw, 36px); border-radius: var(--radius-lg); background: radial-gradient(500px 300px at 100% 0, rgba(30, 136, 229, .12), transparent 70%), radial-gradient(400px 260px at 0 100%, rgba(249, 115, 22, .1), transparent 70%), var(--ice-50); }
.cat-brand { margin: 0 0 6px; font-size: .8125rem; font-weight: 700; color: var(--blue-600); text-transform: uppercase; letter-spacing: .08em; }
.cat-title { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 4px; }
.cat-kicker { color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.cat-intro { font-size: 1.0625rem; color: #334155; }
.cat-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.cat-badges li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .875rem; }
.cat-certs { font-size: .8125rem; color: var(--muted); letter-spacing: .02em; }
.cat-credit { display: grid; gap: 2px; margin: 6px 0 18px; padding: 12px 16px; border-left: 4px solid var(--orange-600); background: #fff; border-radius: 0 12px 12px 0; box-shadow: var(--shadow-sm); }
.cat-credit__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.cat-credit strong { font-family: var(--font-head); font-size: 1.125rem; }
.cat-credit span:last-child { font-size: .875rem; color: var(--muted); }
.cat-hero__media { display: grid; gap: 14px; }
.cat-hero__img { margin: 0; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); }
.cat-hero__img img { width: 100%; height: auto; mix-blend-mode: multiply; }
.cat-block { margin-top: clamp(28px, 4vw, 44px); }
.cat-block > h3, .cat-block__head h3 { font-size: 1.375rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.cat-block > h3::before, .cat-block__head h3::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(var(--blue-500), var(--orange-500)); }
.cat-block__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cat-block__head img { max-height: 76px; width: auto; mix-blend-mode: multiply; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 12px; }
.cat-tag { padding: 3px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-600); font-size: .8125rem; font-weight: 700; }
.cat-features { display: grid; gap: 12px; }
.cat-fgroup { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cat-fgroup h4 { margin: 0; padding: 8px 14px; background: var(--g); color: #fff; font-size: .875rem; letter-spacing: .02em; }
.cat-fgroup ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
.cat-fgroup li { padding: 5px 10px; border-radius: 8px; background: #f8fafc; border: 1px solid var(--line); border-left: 3px solid var(--g); font-size: .875rem; }
.cat-acc { display: grid; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.cat-acc img { width: 100%; mix-blend-mode: multiply; }
.cat-acc ul, .cat-list { list-style: none; display: grid; gap: 6px; }
.cat-acc li, .cat-list li { position: relative; padding-left: 22px; }
.cat-acc li::before, .cat-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); }
.cat-block--info { padding: 20px; border-radius: var(--radius); background: var(--ice-50); }
.cat-block--info h4 { margin: 12px 0 6px; font-size: 1rem; }
.cat-gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.cat-gallery figure { margin: 0; }
.cat-gallery img { border-radius: 12px; width: 100%; }
.cat-gallery figcaption { font-size: .875rem; color: var(--muted); margin-top: 6px; }
.cat-gallery figcaption strong { display: block; color: var(--ink); }
.cat-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.cat-table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; min-width: 560px; }
.cat-table th, .cat-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.cat-table thead th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8125rem; }
.cat-table tbody th { text-align: left; font-weight: 600; background: #fff; white-space: normal; min-width: 150px; }
.cat-table tbody th.g { background: var(--ice-50); color: var(--blue-600); font-size: .8125rem; text-transform: uppercase; letter-spacing: .03em; min-width: 120px; }
.cat-table .u { color: var(--muted); font-size: .8125rem; }
.cat-table tbody tr:hover td { background: #f8fbff; }
.cat-table tbody tr:last-child > * { border-bottom: 0; }
.cat-notes { list-style: none; margin-top: 10px; font-size: .8125rem; color: var(--muted); display: grid; gap: 2px; }
.cat-diagram { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.cat-diagram img { margin: 0 auto; max-width: 520px; width: 100%; }
.cat-diagram figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.cat-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: .875rem; color: var(--muted); }
.cat-foot p { margin: 0; max-width: 680px; }

@media (min-width: 640px) {
  .dl-groups { grid-template-columns: 1fr 1fr; }
  .cat-features { grid-template-columns: 1fr 1fr; }
  .cat-acc { grid-template-columns: 3fr 2fr; }
}
@media (min-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-hero { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 1080px) {
  .catalog-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 639px) {
  .catalog-viewer { width: 100vw; height: 100dvh; border-radius: 0; }
  .catalog-viewer__pdf span { display: none; }
  .catalog-viewer__pdf { padding-inline: 14px; }
  .dl-item { grid-template-columns: 40px 1fr auto; gap: 10px; }
  .dl-item img { width: 40px; height: 57px; }
}
@media (max-width: 479px) {
  .catalog-grid { gap: 12px; }
  .catalog-card__body { padding: 14px; }
  .catalog-card__actions .btn { font-size: .875rem; gap: 6px; }
  .catalog-card__actions .btn .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-viewer[open] { animation: none; }
}
.cat-table thead th.u { color: #cbd5e1; }
@media (min-width: 1080px) {
  .catalog-card__body { padding: 16px; }
  .catalog-card__actions .btn { font-size: .875rem; padding-inline: 10px; gap: 6px; }
  .catalog-card__actions .btn .icon { display: none; }
  .catalog-card__actions .icon-btn { width: 44px; height: 44px; flex: none; }
}
.catalog-card__actions .btn { min-width: 0; white-space: normal; text-align: center; line-height: 1.15; }

/* Katalog: razdelki s sliko in zložljive tabele */
.cat-split { display: grid; gap: 20px; align-items: start; }
.cat-figure { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cat-figure img { width: 100%; height: auto; border-radius: 8px; }
.cat-figure figcaption { font-size: .8125rem; color: var(--muted); margin-top: 8px; }
.cat-note { font-size: .8125rem; color: var(--muted); margin-top: 10px; }
.cat-block--nested { margin-top: 20px; }
.cat-block--nested h3 { font-size: 1.0625rem; }
.cat-details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; background: #fff; }
.cat-details[open] { padding-bottom: 16px; }
.cat-details summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; padding: 16px 0; min-height: 56px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; }
.cat-details summary::-webkit-details-marker { display: none; }
.cat-details summary small { font-family: var(--font-body); font-weight: 600; font-size: .8125rem; color: var(--blue-600); background: var(--blue-100); padding: 4px 10px; border-radius: 999px; }
@media (min-width: 900px) { .cat-split { grid-template-columns: 1fr 1fr; } }

/* Katalog: strani kot slike, risbe dimenzij */
.cat-pages { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cat-page { margin: 0; }
.cat-page a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease); background: #fff; }
.cat-page a:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-page img { width: 100%; height: auto; }
.cat-page figcaption { font-size: .8125rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.cat-figure--wide { margin-top: 16px; }
.cat-block > .cat-figure:first-of-type { margin-bottom: 4px; }
.about > *, .contact > *, .ba > * { min-width: 0; }
.values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.value strong { flex-wrap: wrap; overflow-wrap: anywhere; }
@media (max-width: 899px) { .cat-table td[colspan] { text-align: left; } }
