/* =========================================================
   ABC Varnost d.o.o. — glavni slog
   Barve in osnovne mere so zbrane v :root spodaj.
   ========================================================= */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #dc555b;          /* barva logotipa */
  --brand-strong: #b8343b;   /* gumbi in povezave (boljši kontrast) */
  --brand-soft: #fbeceb;
  --ink: #1a1f2b;
  --ink-2: #394150;
  --muted: #5b6271;
  --line: #e8e3df;
  --bg: #ffffff;
  --bg-soft: #f7f4f1;
  --dark: #161b25;
  --dark-2: #222937;
  --ok: #1f7a4d;
  --err: #b3261e;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 27, 37, .06), 0 8px 24px rgba(22, 27, 37, .06);
  --shadow-lg: 0 2px 4px rgba(22, 27, 37, .06), 0 24px 48px rgba(22, 27, 37, .12);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-strong); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }

/* ---------- gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand-strong); color: #fff; box-shadow: 0 6px 18px rgba(184, 52, 59, .28); }
.btn-primary:hover { background: #9e2a31; color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- glava ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  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-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(22, 27, 37, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; flex: none; }
.logo img { height: 58px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; }
.main-nav a {
  display: block; padding: 10px 16px; border-radius: 999px;
  color: var(--ink); font-weight: 600; text-decoration: none; font-size: .98rem;
}
.main-nav a:hover { background: var(--bg-soft); }
.main-nav a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-phone-label { display: none; }
  .header-cta .btn { width: 46px; padding: 0; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
}
@media (max-width: 420px) { .logo img { height: 42px; } }

/* ---------- sekcije ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -12%; top: -30%;
  width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 85, 91, .13), rgba(220, 85, 91, 0));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

.hero-media { position: relative; }
.hero-media .photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.float-card strong { display: block; font-size: 1.6rem; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.float-card span { font-size: .85rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.float-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; flex: none; }
.float-card .icon svg { width: 24px; height: 24px; }
.float-card.fc-1 { left: -28px; bottom: 32px; }
.float-card.fc-2 { right: -18px; top: 28px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .float-card.fc-1 { left: 12px; bottom: -22px; }
  .float-card.fc-2 { right: 12px; top: -18px; }
}
@media (max-width: 480px) { .float-card.fc-2 { display: none; } .float-card { padding: 12px 16px; } }

/* ---------- številke ---------- */
.stats { background: var(--dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 36px 24px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .08); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.stat strong .plus { color: var(--brand); font-size: inherit; display: inline; }
.stat > span { color: rgba(255, 255, 255, .7); font-size: .95rem; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}

/* ---------- storitve (kartice) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 22px;
  transition: background-color .25s, color .25s;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon { background: var(--brand-strong); color: #fff; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-strong); font-size: .95rem; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.service-card:hover .more svg { transform: translateX(4px); }

/* ---------- o nas (predogled) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow-lg); }
.badge-year {
  position: absolute; right: -16px; bottom: -16px; background: var(--brand-strong); color: #fff;
  border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center;
}
.badge-year strong { display: block; font-size: 2rem; line-height: 1; letter-spacing: -.02em; }
.badge-year span { font-size: .8rem; opacity: .9; }
@media (max-width: 600px) { .badge-year { right: 12px; bottom: -18px; } }

.values { list-style: none; display: grid; gap: 18px; margin: 28px 0 32px; }
.values li { display: flex; gap: 16px; align-items: flex-start; }
.values .tick { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); margin-top: 2px; }
.values .tick svg { width: 18px; height: 18px; }
.values strong { display: block; color: var(--ink); }
.values span { color: var(--muted); font-size: .97rem; }

/* ---------- stranke ---------- */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; }
@media (max-width: 960px) { .clients { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .clients { grid-template-columns: repeat(2, 1fr); } }
.clients li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  height: 104px; display: grid; place-items: center; padding: 16px 20px;
}
.clients img {
  max-height: 60px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.15); transition: filter .25s;
}
.clients li:hover img { filter: none; }

/* ---------- CTA pas ---------- */
.cta-band { padding-block: clamp(56px, 8vw, 96px); }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px;
  background: var(--dark); color: rgba(255, 255, 255, .78);
  padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-box::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 85, 91, .45), rgba(220, 85, 91, 0));
  pointer-events: none;
}
.cta-box h2 { color: #fff; }
.cta-box p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- glava podstrani ---------- */
.page-hero { background: var(--bg-soft); padding-block: clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 85, 91, .14), rgba(220, 85, 91, 0));
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { margin: 0; }
.breadcrumb { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- stran storitve ---------- */
.services-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.services-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.services-nav p { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.services-nav ul { list-style: none; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.services-nav a { display: block; padding: 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .96rem; }
.services-nav a:hover, .services-nav a.is-active { color: var(--brand-strong); border-left-color: var(--brand); }
@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-nav { position: static; }
  .services-nav ul { border-left: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .services-nav a { margin: 0; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; background: #fff; }
}
.service-detail { padding-block: 8px 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.service-detail header { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.service-detail header .service-icon { margin: 0; }
.service-detail h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.service-detail > p { color: var(--muted); font-size: 1.06rem; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8343b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist.two-col { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 700px) { .checklist.two-col { grid-template-columns: 1fr; } }

/* ---------- o nas ---------- */
.prose { max-width: 70ch; }
.prose p { font-size: 1.08rem; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .cards-2 { grid-template-columns: 1fr; } }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; gap: 18px; }
.cert-card .service-icon { margin: 0; flex: none; }
.cert-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cert-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team { grid-template-columns: 1fr; max-width: 380px; } }
.member { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #ece6e1; }
.member div { padding: 20px 22px 24px; }
.member h3 { margin-bottom: 4px; }
.member p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-item .service-icon { width: 46px; height: 46px; border-radius: 12px; margin: 0; flex: none; }
.contact-item .service-icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.contact-item a, .contact-item strong { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.contact-item a:hover { color: var(--brand-strong); }
.contact-item .sub { display: block; font-size: .9rem; margin-top: 4px; }
.contact-item .sub a { font-size: .9rem; color: var(--brand-strong); font-weight: 600; }
.company-data { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; font-size: .93rem; }
.company-data h3 { font-size: 1rem; margin-bottom: 10px; }
.company-data dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.company-data dt { color: var(--muted); }
.company-data dd { margin: 0; color: var(--ink); font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(220, 85, 91, .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--err); }
.field .error { display: none; color: var(--err); font-size: .85rem; margin-top: 6px; }
.field.has-error .error { display: block; }
.field label.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; font-weight: 500; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand-strong); flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.ok { display: block; background: #e8f5ee; color: var(--ok); }
.form-status.err { display: block; background: #fdecea; color: var(--err); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }

/* ---------- zasebnost ---------- */
.legal { max-width: 75ch; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }

/* ---------- noga ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .68); font-size: .95rem; padding-top: clamp(56px, 7vw, 80px); }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 18px; }
.footer-logo img { height: 44px; width: auto; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.04em; }
.notfound .hero-actions { justify-content: center; }

/* ---------- animacija ob prikazu ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- novice ---------- */
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.split-head > div { max-width: 640px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid, .news-grid.two { grid-template-columns: 1fr; } }
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.news-visual { position: relative; display: grid; place-items: center; height: 148px; color: #fff; overflow: hidden; }
.news-visual svg { width: 56px; height: 56px; position: relative; z-index: 1; }
.news-visual::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -80px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.news-visual::before {
  content: ""; position: absolute; width: 140px; height: 140px; left: -40px; bottom: -70px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.news-visual.t1 { background: linear-gradient(135deg, #b8343b, #dc555b); }
.news-visual.t2 { background: linear-gradient(135deg, #c9622a, #e8a13a); }
.news-visual.t3 { background: linear-gradient(135deg, #222937, #3f4a5e); }
.news-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.chip { display: inline-block; background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; font-size: .75rem; padding: 4px 10px; border-radius: 999px; }
.news-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.news-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.news-card:hover .more svg { transform: translateX(4px); }

/* ---------- članek ---------- */
.container.narrow { max-width: 820px; }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 18px; height: 18px; color: var(--brand); }
.article-section { padding-top: clamp(40px, 6vw, 64px); }
.article-body { font-size: 1.08rem; }
.article-body .article-lead { font-size: 1.22rem; color: var(--ink); line-height: 1.6; margin-bottom: 1.4em; }
.article-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 1.8em; }
.article-body .checklist { margin: 0 0 1.2em; }
.article-body strong { color: var(--ink); }
.article-cta {
  display: flex; gap: 20px; align-items: flex-start; margin: 48px 0 40px; padding: 28px;
  background: var(--brand-soft); border-radius: var(--radius-lg);
}
.article-cta .service-icon { background: #fff; margin: 0; flex: none; }
.article-cta h2 { margin: 0 0 6px; font-size: 1.3rem; }
.article-cta p { margin: 0 0 18px; color: var(--ink-2); font-size: 1rem; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .article-cta { flex-direction: column; padding: 22px; } }
.sources { border-top: 1px solid var(--line); padding-top: 28px; font-size: .93rem; }
.sources h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.sources ul { padding-left: 1.2em; display: grid; gap: 6px; }
.sources a { word-break: break-word; }
.disclaimer { color: var(--muted); font-size: .86rem; margin-top: 16px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; text-decoration: none; }
.back-link svg { width: 18px; height: 18px; }
