:root {
  --ink: #17212b;
  --muted: #607080;
  --line: #d8e0e7;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --deep: #203040;
  --teal: #007d7a;
  --red: #b7352d;
  --amber: #c98218;
  --green: #3f7b4f;
  --shadow: 0 18px 45px rgba(20, 35, 50, .09);
  --font-sans: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.55;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover,
a:focus {
  color: #005d59;
  text-decoration: underline;
}

.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(20, 35, 50, .08);
  backdrop-filter: blur(18px);
}

.navbar {
  padding: 10px 0;
}

.brand {
  display: inline-block;
  line-height: 1;
  padding: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 315px;
  max-width: min(315px, 62vw);
  height: auto;
  display: block;
}

.navbar-collapse {
  justify-content: flex-end;
}

.navbar-nav {
  align-items: center;
  gap: 2px;
}

.navbar-nav .nav-link {
  color: var(--deep);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 14px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background: #eef6f5;
  color: #005d59;
  text-decoration: none;
}

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dropdown-menu-columns {
  min-width: 280px;
  padding: 10px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--ink);
  font-weight: 650;
}

.hero-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 34, 48, .07);
}

.hero-search i {
  color: var(--muted);
  margin-left: 14px;
  flex: 0 0 auto;
}

.hero-search input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
}

.hero-search button {
  align-self: stretch;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  border-radius: 0 7px 7px 0;
  font-weight: 650;
}

.header-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin-left: 12px;
  padding: 0 17px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  box-shadow: 0 12px 28px rgba(23, 33, 43, .16);
}

.header-search-button:hover,
.header-search-button:focus {
  color: #fff;
  background: #0c151d;
  text-decoration: none;
  transform: translateY(-1px);
}

.header-search-button i {
  color: #bce3e0;
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 42%, rgba(255,255,255,.38) 72%, rgba(255,255,255,.12) 100%),
    url("/assets/img/retro-digitalizacija-hero.jpg") right center / cover no-repeat,
    #f3f8fb;
}

.hero-layout {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .8fr);
  gap: 50px;
  align-items: center;
  padding: 58px 0 70px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 680;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 760px;
  margin: 24px 0 28px;
  color: #3e4b57;
  font-size: 20px;
}

.hero-search {
  max-width: 760px;
  height: 60px;
  border-color: #cfd9e2;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-stats span {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  box-shadow: 0 8px 20px rgba(20, 35, 50, .04);
}

.hero-stats strong {
  color: var(--ink);
  font-size: 22px;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-panel a {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel a:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-panel i {
  color: var(--teal);
  font-size: 28px;
}

.hero-panel span {
  font-size: 19px;
  font-weight: 620;
  line-height: 1.2;
}

.section-band {
  padding: 70px 0;
  background: #fff;
}

.media-atlas {
  padding: 58px 0 66px;
  background: #101820;
  color: #fff;
}

.media-atlas .section-heading h2 {
  color: #fff;
}

.media-atlas .eyebrow {
  color: #ffcf88;
}

.media-atlas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.media-atlas-grid a {
  display: grid;
  grid-template-rows: 220px auto auto;
  gap: 8px;
  min-height: 330px;
  padding: 12px 12px 18px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 22px 46px rgba(0,0,0,.22);
}

.media-atlas-grid a:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.media-atlas-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background:
    linear-gradient(135deg, #f7fafb, #e8eef2);
  border-radius: 6px;
}

.media-atlas-grid span {
  display: block;
  padding: 0 6px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.1;
  font-weight: 680;
}

.media-atlas-grid small {
  display: block;
  padding: 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.section-band.subtle,
.page-hero.compact {
  background: var(--soft);
}

.editorial-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 680;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-tile {
  position: relative;
  min-height: 190px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(20, 35, 50, .06);
}

.category-tile:hover {
  border-color: #9eb6c6;
  text-decoration: none;
}

.category-tile i {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  background: #e7f3f2;
  color: var(--teal);
  border-radius: 8px;
  font-size: 21px;
}

.category-tile span {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 620;
}

.category-tile small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.category-tile em {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--red);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-grid,
.article-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 35, 50, .06);
}

.article-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, #f7fafb, #e8eef2);
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
  filter: saturate(.92) contrast(1.05);
}

.article-card-body {
  padding: 20px;
}

.article-card-kicker {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.12;
  font-weight: 680;
  letter-spacing: 0;
}

.article-card h2 a {
  color: var(--ink);
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.article-card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef3f6;
  color: #435463;
  font-size: 12px;
  font-weight: 620;
}

.portal-badge.accent {
  background: #e7f3f2;
  color: #006966;
}

.compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.compact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.compact-list span {
  font-weight: 650;
}

.compact-list small {
  color: var(--muted);
  white-space: nowrap;
}

.page-hero {
  padding: 56px 0 46px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero.compact h1 {
  max-width: 980px;
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero.compact p:not(.eyebrow) {
  max-width: 850px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.breadcrumbs {
  margin-bottom: 22px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9aabb8;
}

.article-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  gap: 34px;
  align-items: center;
}

.article-title .lead {
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
  background:
    linear-gradient(135deg, #f7fafb, #e8eef2);
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  padding-top: 54px;
  padding-bottom: 76px;
}

.article-main {
  min-width: 0;
}

.article-summary-box {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  margin-bottom: 28px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  color: var(--muted);
}

.article-summary-box strong {
  color: var(--ink);
  white-space: nowrap;
}

.article-body {
  font-size: 18px;
}

.article-body h2,
.sources-box h2,
.service-cta h2,
.side-box h2 {
  margin: 36px 0 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.12;
  font-weight: 680;
  letter-spacing: 0;
}

.article-body p {
  margin: 0 0 16px;
  color: #2f3f4e;
}

.article-body ul {
  margin: 0 0 22px;
}

.article-checklist {
  padding-left: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 30px;
}

.article-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.article-note {
  margin: 20px 0;
  padding: 16px 18px;
  background: #fff6e8;
  border: 1px solid #efd2a3;
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  color: #5d4320;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}

.fact-grid div {
  padding: 14px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fact-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.fact-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
}

.article-side {
  position: relative;
}

.side-box {
  padding: 18px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 35, 50, .06);
}

.side-box + .side-box {
  margin-top: 14px;
}

.side-box h2 {
  margin-top: 0;
  font-size: 22px;
}

.toc a,
.related-link {
  display: block;
  padding: 10px 0;
  border-top: 1px solid #edf1f4;
  color: var(--ink);
  font-weight: 600;
}

.related-link small,
.related-link em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0;
}

.tag-row a {
  padding: 7px 11px;
  background: #eef3f6;
  color: #425463;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 620;
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 46px 0;
  padding: 28px;
  background: var(--deep);
  color: #fff;
  border-radius: 8px;
}

.service-cta h2,
.service-cta p {
  color: #fff;
}

.service-cta h2 {
  margin-top: 0;
}

.service-cta .eyebrow {
  color: #ffd28c;
}

.sources-box {
  padding: 22px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sources-box h2 {
  margin-top: 0;
  font-size: 24px;
}

.search-page-form {
  max-width: 820px;
  margin-top: 24px;
}

.search-count {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 620;
}

.empty-state {
  padding: 34px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.site-footer {
  padding: 58px 0;
  background: #101820;
  color: #c8d2dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(150px, .85fr));
  gap: 30px;
}

.footer-logo {
  display: block;
  width: 285px;
  max-width: 100%;
  height: auto;
  margin: 0 0 18px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid rgba(216, 224, 231, .28);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer a {
  color: #dceef0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.cookie-cloud {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1050;
  width: min(390px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #cfd9e2;
  border-radius: 22px 22px 22px 6px;
  box-shadow: 0 18px 48px rgba(16, 24, 32, .18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease;
}

.cookie-cloud[hidden] {
  display: none;
}

.cookie-cloud.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-cloud::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-right: 1px solid #cfd9e2;
  border-bottom: 1px solid #cfd9e2;
  transform: rotate(45deg);
}

.cookie-cloud-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #e7f3f2;
  color: var(--teal);
  border-radius: 999px;
  font-size: 24px;
}

.cookie-cloud-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
}

.cookie-cloud-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-cloud-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-left: 58px;
}

.cookie-cloud-actions button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 620;
}

.cookie-cloud-actions button:first-child {
  background: var(--ink);
  color: #fff;
}

.cookie-cloud-actions button:nth-child(2) {
  background: #eef3f6;
  color: var(--deep);
}

.cookie-cloud-actions a {
  font-size: 13px;
  font-weight: 620;
}

.cookie-settings-panel {
  margin: 28px 0;
  padding: 20px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .hero-layout,
  .article-title-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-side {
    order: -1;
  }

  .side-box {
    position: static;
  }

  .feature-grid,
  .article-index,
  .media-atlas-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .navbar-nav {
    align-items: flex-start;
    padding-top: 12px;
  }

  .header-search-button {
    margin: 10px 0 4px;
  }
}

@media (max-width: 768px) {
  .hero {
    background: #f8fafb;
  }

  .hero-layout {
    min-height: auto;
    padding: 34px 0 44px;
    gap: 26px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .hero .lead,
  .article-title .lead {
    font-size: 18px;
  }

  .hero-panel,
  .feature-grid,
  .article-index,
  .media-atlas-grid,
  .category-grid,
  .compact-list,
  .fact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-search {
    height: auto;
    min-height: 54px;
  }

  .hero-search button {
    padding: 0 12px;
  }

  .article-summary-box,
  .service-cta {
    grid-template-columns: 1fr;
    display: grid;
  }

  .article-summary-box strong {
    white-space: normal;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .article-body {
    font-size: 17px;
  }

  .cookie-cloud {
    left: 16px;
    bottom: 16px;
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 14px;
  }

  .cookie-cloud-icon {
    width: 40px;
    height: 40px;
  }

  .cookie-cloud-actions {
    padding-left: 0;
  }
}
/* ============================================================
   PRENOVA 2026-05: spremenljivke, landing strani, callouts,
   format finder, problem grid, service routing, mega menu,
   skip link, header CTA gumb.
   ============================================================ */

:root {
  --night: #142136;
  --cream: #f5efe2;
  --cyan: #45c4d8;
  --shadow-soft: 0 6px 20px rgba(20, 33, 54, .06);
  --shadow-card: 0 14px 36px rgba(20, 33, 54, .08);
  --radius-lg: 14px;
  --radius-xl: 20px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--night);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  z-index: 2000;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
  text-decoration: none;
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* Header CTA gumb */
.header-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  margin-left: 10px;
  background: linear-gradient(135deg, var(--teal), #0a6a67);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}
.header-cta-button:hover,
.header-cta-button:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
  outline: none;
}
.header-cta-button .bi {
  font-size: 16px;
}
@media (max-width: 991.98px) {
  .header-cta-button {
    margin: 12px 0 4px;
    align-self: flex-start;
  }
}

/* Mega menu kategorije */
.mega-menu.dropdown-menu {
  min-width: min(560px, calc(100vw - 20px));
}
.mega-menu .dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background .15s ease;
}
.mega-menu .dropdown-item:hover,
.mega-menu .dropdown-item:focus {
  background: rgba(7, 125, 122, .07);
}
.mega-menu .dropdown-item .bi {
  font-size: 22px;
  color: var(--teal);
  margin-top: 2px;
}
.mega-menu .dropdown-item span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.mega-menu .dropdown-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
}

/* Problem grid in problem card */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.problem-grid--small {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.problem-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.problem-card:hover,
.problem-card:focus-visible {
  text-decoration: none;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--teal);
  outline: none;
}
.problem-card .bi {
  font-size: 28px;
  color: var(--teal);
  margin-bottom: 4px;
}
.problem-card strong {
  font-size: 16px;
  color: var(--night);
}
.problem-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Comparison grid + cards */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.comparison-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
}
.comparison-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--night);
}
.comparison-card ul {
  margin: 0 0 8px;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.55;
}
.comparison-card li {
  margin-bottom: 6px;
}
.comparison-card a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
}
.comparison-card--accent {
  background: var(--cream);
  border-color: rgba(217, 147, 66, .35);
}
.comparison-card--primary {
  background: linear-gradient(140deg, var(--night), #1f3457);
  color: #fff;
  border-color: transparent;
}
.comparison-card--primary h3,
.comparison-card--primary p {
  color: #fff;
}
.comparison-card--primary a.btn {
  background: var(--cyan);
  color: var(--night);
  border: none;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  margin: 18px 0 24px;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.comparison-table thead th {
  background: var(--night);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.comparison-table tbody tr:nth-child(even) {
  background: #fafbfd;
}

/* Format finder */
.format-finder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 20px 0 36px;
}
.format-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.format-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--cream);
}
.format-card__body {
  padding: 18px 20px 20px;
}
.format-card__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--night);
}
.format-card__body p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}
.format-card__body small {
  display: block;
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 12.5px;
}
.format-card__body a {
  font-weight: 600;
}

/* Callouts */
.callout {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 20px 0;
  box-shadow: var(--shadow-soft);
}
.callout__icon .bi {
  font-size: 28px;
  color: var(--teal);
}
.callout__title {
  display: block;
  font-size: 15px;
  color: var(--night);
  margin-bottom: 6px;
}
.callout__text {
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
}
.callout__text ul,
.callout__text ol {
  margin: 6px 0 0;
  padding-left: 18px;
}
.callout--warning {
  border-left-color: var(--red);
  background: #fff8f7;
}
.callout--warning .callout__icon .bi {
  color: var(--red);
}
.callout--tip {
  border-left-color: var(--amber);
  background: #fffaf2;
}
.callout--tip .callout__icon .bi {
  color: var(--amber);
}
.callout--checklist {
  border-left-color: var(--green);
  background: #f5faf6;
}
.callout--checklist .callout__icon .bi {
  color: var(--green);
}
.callout--cta {
  border-left-color: var(--cyan);
  background: #f0fbfd;
}
.callout--cta .callout__icon .bi {
  color: var(--cyan);
}

/* Service routing */
.service-routing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.service-routing-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--night), #1f3457);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}
.service-routing-card:hover,
.service-routing-card:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  outline: none;
}
.service-routing-card strong {
  font-size: 17px;
  letter-spacing: -.01em;
}
.service-routing-card small {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.4;
}

/* Service CTA varianta po accent */
.service-cta--b2b {
  background: linear-gradient(140deg, #1a3158, #2a4575);
}
.service-cta--film {
  background: linear-gradient(140deg, #44290f, #6d4118);
}
.service-cta--foto {
  background: linear-gradient(140deg, #2c5e36, #3d804a);
}
.service-cta--b2c {
  background: linear-gradient(140deg, #0a6a67, #11898a);
}

/* Landing strani */
.landing-hero {
  padding: 56px 0 36px;
  background: linear-gradient(180deg, var(--cream), var(--paper));
  border-bottom: 1px solid var(--line);
}
.landing-hero .eyebrow {
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.landing-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  color: var(--night);
}
.landing-hero .lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink);
  max-width: 70ch;
  line-height: 1.6;
  margin: 0 0 18px;
}
.landing-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.landing-hero-cta .btn {
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  border: 1.5px solid transparent;
}
.landing-hero-cta .btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.landing-hero-cta .btn-primary:hover {
  background: #0a6a67;
}
.landing-hero-cta .btn-outline {
  background: transparent;
  color: var(--night);
  border-color: var(--line);
}
.landing-hero-cta .btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.landing-section {
  padding: 48px 0;
}
.landing-section.subtle {
  background: var(--soft);
}
.landing-section h2 {
  margin: 8px 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--night);
}
.landing-section .section-lead {
  color: var(--muted);
  max-width: 70ch;
  margin: 0 0 18px;
}
.landing-section .section-foot {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
}

/* Home boost */
.home-section {
  padding: 48px 0;
}
.home-section .section-lead {
  color: var(--muted);
  max-width: 70ch;
  margin: 0 0 18px;
}

/* Numbered list */
.numbered-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.numbered-list > li {
  position: relative;
  padding: 14px 16px 14px 56px;
  margin-bottom: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  counter-increment: step;
}
.numbered-list > li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 14px;
}

/* Folder tree */
.folder-tree {
  background: var(--night);
  color: #cfe0e6;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  font-family: "Consolas", "Menlo", monospace;
  font-size: 13.5px;
  line-height: 1.55;
  overflow-x: auto;
  margin: 18px 0;
}

/* FAQ details */
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-soft);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--night);
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 22px;
  color: var(--teal);
}
.faq-list details[open] summary::after {
  content: "\2212";
}
.faq-list details p {
  margin: 10px 0 0;
  color: var(--ink);
}

/* Bullet list */
.bullet-list {
  margin: 12px 0;
  padding-left: 22px;
}
.bullet-list li {
  margin-bottom: 8px;
  line-height: 1.55;
}

/* Footer warning + note */
.footer-note {
  color: rgba(255, 255, 255, .75);
  font-size: 13.5px;
  margin: 6px 0 10px;
  line-height: 1.5;
}
.footer-warning {
  background: rgba(255, 255, 255, .06);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .9);
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}
.footer-warning .bi {
  color: var(--cyan);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-links li a strong {
  color: #fff;
}

/* Strong link */
.link-strong {
  font-weight: 700;
  color: var(--teal);
}

/* Text helpers */
.text-center {
  text-align: center;
}
.mt-3 {
  margin-top: 1rem;
}

/* Focus visible globally */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
