/* ===================================================
   bolecine.si – Fizioterapija in bolečine
   Barvna paleta po vzoru Medicofit:
   primarna zelena #bce9d1 (+ #99d0b3), navy #101f39
   Fonts: Figtree (headings) / Noto Sans (body)
   =================================================== */

:root {
  --primary: #bce9d1;        /* svetlo zelena – primarni CTA gumbi (navy besedilo!) */
  --primary-dark: #99d0b3;   /* glavna zelena – hover, polni poudarki */
  --primary-deep: #101f39;   /* navy – temni bloki, footer, CTA pas */
  --teal: #99d0b3;
  --teal-dark: #99d0b3;
  --teal-tint: #eaf7f0;
  --accent: #bce9d1;
  --accent-dark: #99d0b3;
  --ink: #101f39;
  --text: #3a4553;
  --muted: #5d6a77;
  --link: #5586cf;
  --tint: #e7f6ee;
  --tint-soft: #f5faf7;
  --white: #ffffff;
  --border: #e3e9ef;
  --border-strong: #c3cedb;
  --danger: #dc2626;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --shadow: 0 4px 20px rgba(16, 31, 57, 0.08);
  --shadow-lg: 0 12px 40px rgba(16, 31, 57, 0.12);
  --head: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 780px; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.22rem; }

.section { padding: 72px 0; }
.section-tint { background: var(--tint-soft); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.centered { margin: 0 auto 40px; text-align: center; }
.section-head .kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--primary); color: var(--ink); }
.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: #193561; }

.btn-outline { border-color: var(--border-strong); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary-dark); color: var(--ink); }

.link-more {
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-more:hover { text-decoration: underline; }
.link-more .arrow { transition: transform 0.2s ease; }
.link-more:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: calc(var(--header-h) + 1px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}
.brand-logo { height: 42px; width: auto; flex-shrink: 0; }
.brand-logo-full { height: 46px; width: auto; flex-shrink: 0; display: block; }
.brand em { font-style: normal; color: var(--ink); }
.site-footer .brand { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .nav-item > .dd-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 9px;
  font-weight: 600;
  font-size: 0.87rem;
  white-space: nowrap;
  color: var(--text);
  transition: color 0.2s ease;
}
.main-nav > a::after, .nav-item > .dd-trigger::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.main-nav > a:hover, .nav-item > .dd-trigger:hover { color: var(--ink); }
.main-nav .nav-cta { display: none; }

body[data-page] .main-nav a.is-active,
.nav-item.is-active > .dd-trigger {
  color: var(--ink);
}
body[data-page] .main-nav a.is-active::after,
.nav-item.is-active > .dd-trigger::after { opacity: 1; }

.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
}
.dropdown a:hover { background: var(--tint); color: var(--ink); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }

.header-cta { flex-shrink: 0; }
.header-cta .btn { min-height: 44px; padding: 9px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.35) 62%, rgba(255, 255, 255, 0) 80%),
    url("../img/hero.jpg") right center / cover no-repeat;
  padding: 104px 0 96px;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-inner { width: 100%; position: relative; z-index: 1; }
.hero-copy { max-width: 680px; }

.hero-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero-copy > p { margin: 20px 0 28px; font-size: 1.12rem; line-height: 1.7; color: var(--muted); max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-height: 52px; padding: 13px 26px; font-size: 1rem; }
.hero-actions .btn-outline { background: rgba(255, 255, 255, 0.85); }

.hero-expert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-expert strong { color: var(--ink); }
.hero-expert .byline-avatar { width: 30px; height: 30px; font-size: 0.72rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 44px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  max-width: 520px;
}
.hero-stats .num {
  display: block;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--ink);
  line-height: 1.15;
}
.hero-stats .lbl { font-size: 0.86rem; color: var(--muted); }
.hero-features {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-feature { display: flex; align-items: center; gap: 11px; }
.hero-feature .hf-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
  overflow: hidden;
}
.hero-feature .hf-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.hero-feature strong {
  display: block;
  font-family: var(--head);
  font-size: 0.92rem;
  color: var(--ink);
}
.hero-feature span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Area picker ("Kje vas boli?") ---------- */
.bodymap-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 470px) 1fr;
  gap: 20px 36px;
  align-items: center;
}
.area-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.area-wide { max-width: 700px; margin: 26px auto 0; }
.bodymap { display: grid; place-items: center; }
.bodymap-fig {
  position: relative;
  width: 100%;
  max-width: 470px;
}
.bodymap-fig img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.bodymap-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bm-region {
  fill: transparent;
  pointer-events: all;
  cursor: pointer;
  transition: fill 0.2s ease;
}
.bm-region:hover, .bm-region.lit { fill: rgba(153, 208, 179, 0.28); }
.bm-pain {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.bm-pain.lit { opacity: 1; }
.bm-aura {
  fill: transparent;
  stroke: rgba(153, 208, 179, 0.55);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  transition: stroke 0.2s ease, fill 0.2s ease;
  cursor: pointer;
  pointer-events: stroke;
}
.bm-aura:hover, .bm-aura.lit { stroke: #ee8b4a; fill: rgba(238, 139, 74, 0.05); }
.bm-deco { pointer-events: none; }
.bodymap-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.area-card.lit {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.area-card.lit .chev { color: var(--primary-dark); transform: translateX(3px); }
.area-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-height: 88px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.area-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.area-icon {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background: none;
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.area-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 0.25s ease;
}
.area-card:hover .area-icon img { transform: scale(1.25); }
.area-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.area-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.45; }
.area-card .chev { margin-left: auto; color: var(--border-strong); flex-shrink: 0; transition: color 0.2s ease, transform 0.2s ease; }
.area-card:hover .chev { color: var(--primary-dark); transform: translateX(3px); }

/* ---------- Feature / trust ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: none;
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  overflow: hidden;
}
.feature-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Article cards ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--border-strong); }
.article-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--tint) 0%, #d2eedd 100%);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.article-card h3 { font-size: 1.08rem; line-height: 1.35; }
.article-card h3 a:hover { color: var(--link); }
.article-card .excerpt { color: var(--muted); font-size: 0.92rem; flex: 1; }

/* ---------- Blog filters ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  border: 1.5px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 9px 18px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--primary-dark); color: var(--ink); }
.filter-btn.is-active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--ink);
}
.filter-empty {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--white);
  padding: 52px 0 40px;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumbs a:hover { color: var(--link); text-decoration: underline; }
.breadcrumbs .sep { color: var(--border-strong); }
.page-hero .lead { margin-top: 16px; font-size: 1.08rem; color: var(--muted); max-width: 680px; }
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--muted);
}
.byline-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--head);
}
.article-byline a { color: var(--link); font-weight: 600; }
.article-byline a:hover { text-decoration: underline; }
.byline-dot { color: var(--border-strong); }

/* ---------- Pillar article layout ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}
.article-content { min-width: 0; }
.article-content > h2 { margin: 44px 0 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.article-content > h3 { margin: 28px 0 12px; }
.article-content > p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 22px; }
.article-content li { margin-bottom: 8px; }
.article-content li::marker { color: var(--primary-dark); }

.article-figure { margin: 28px 0; }
.article-figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-figure .ph {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--tint) 0%, #d2eedd 100%);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.article-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.video-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--primary-deep);
  display: grid;
  place-items: center;
  margin: 28px 0;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  border: none;
  transition: transform 0.2s ease;
}
.video-play:hover { transform: scale(1.06); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--border); border-radius: var(--radius-sm); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 520px;
}
table.data th, table.data td { padding: 13px 16px; text-align: left; vertical-align: top; }
table.data thead th {
  background: var(--tint);
  color: var(--primary-deep);
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.88rem;
}
table.data tbody tr + tr { border-top: 1px solid var(--border); }

/* ---------- Callout / info boxes ---------- */
.callout {
  border-left: 4px solid var(--primary-dark);
  background: var(--tint-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.96rem;
}
.callout.warn { border-left-color: var(--danger); background: #fef4f4; }
.callout strong { color: var(--ink); }

/* ---------- TOC sidebar ---------- */
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.aside-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.aside-box h2, .aside-box h3 { font-size: 1rem; margin-bottom: 12px; }
.toc { list-style: none; }
.toc li + li { margin-top: 4px; }
.toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}
.toc a:hover { background: var(--tint); color: var(--ink); }
.aside-cta { background: var(--primary-deep); border: none; color: #fff; }
.aside-cta h3 { color: #fff; }
.aside-cta p { font-size: 0.9rem; color: #b9c6d6; margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--head);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.form-field label .req { color: var(--danger); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  padding: 12px 14px;
  min-height: 48px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary-dark);
  outline: 3px solid rgba(153, 208, 179, 0.45);
  outline-offset: 0;
}
.form-field .hint { font-size: 0.82rem; color: var(--muted); }
.form-field .error {
  display: none;
  font-size: 0.84rem;
  color: var(--danger);
  font-weight: 600;
}
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--danger); }
.form-field.has-error .error { display: block; }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--link); text-decoration: underline; }
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 18px;
  font-weight: 600;
}
.form-success.is-visible { display: flex; align-items: center; gap: 10px; }

/* Socialne ikone v nogi */
.site-footer .social-links { margin-top: 18px; }
.site-footer .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.site-footer .social-links a:hover {
  color: var(--ink);
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--primary-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 32px;
  align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c6d6; margin-top: 10px; }
.cta-band p a { color: #fff; text-decoration: underline; }
.cta-band p a:hover { color: var(--primary); }

/* ---------- Single post: tags + author box ---------- */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.post-tags a.badge:hover { background: var(--primary-dark); color: var(--ink); }
.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--tint-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 28px;
}
.author-box .byline-avatar { width: 56px; height: 56px; font-size: 1.05rem; flex-shrink: 0; }
.author-box h3 { font-size: 1.08rem; margin-bottom: 6px; }
.author-box h3 a:hover { color: var(--link); }
.author-box p { color: var(--muted); font-size: 0.93rem; }
.author-box-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 14px;
}
.author-box .social-links { display: inline-flex; gap: 8px; margin: 0; }
.author-box .social-links a { width: 34px; height: 34px; border-radius: 9px; }

/* ---------- Author page ---------- */
.author-hero { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.author-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--tint) 0%, #d2eedd 100%);
  display: grid;
  place-items: center;
  color: var(--ink);
  overflow: hidden;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-role { color: var(--ink); font-weight: 600; margin: 6px 0 18px; }
.social-links { display: flex; gap: 10px; margin-top: 22px; }
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-links a:hover { color: var(--ink); border-color: var(--primary-dark); background: var(--tint); }
.author-cat { margin-top: 44px; }
.author-cat h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.author-cat h3 .badge { font-size: 0.72rem; }
.author-list { list-style: none; }
.author-list li { border-bottom: 1px solid var(--border); }
.author-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 4px;
  font-weight: 500;
}
.author-list a:hover { color: var(--link); }
.author-list .date { color: var(--muted); font-size: 0.85rem; flex-shrink: 0; }

/* ---------- Legal / prose pages ---------- */
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }

/* ---------- Stats band (O nas) ---------- */
.stats-band {
  background: var(--primary-deep);
  border-radius: var(--radius);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat { text-align: center; }
.stat .num {
  display: block;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  line-height: 1.1;
}
.stat .lbl { font-size: 0.9rem; color: #b9c6d6; }

/* ---------- Two-column intro (O nas) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-figure {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--tint) 0%, #d2eedd 100%);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-figure img { width: 46%; height: auto; }

/* ---------- Steps (Rezervacija) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Booking layout (Rezervacija) ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.booking-aside { display: flex; flex-direction: column; gap: 24px; }
.check-list { list-style: none; }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.check-list svg { color: var(--primary-dark); flex-shrink: 0; margin-top: 3px; }

/* ---------- Map placeholder (Kontakt) ---------- */
.map-ph {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--tint) 0%, #d2eedd 100%);
  border: 1px solid var(--border);
  min-height: 300px;
  display: grid;
  place-items: center;
  color: var(--ink);
  text-align: center;
  padding: 24px;
}
.map-ph strong { display: block; font-family: var(--head); margin-top: 10px; color: var(--ink); }
.map-ph span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-item .ci {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.95rem; }
.contact-item a:hover { color: var(--link); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-deep);
  color: #b9c6d6;
  padding: 56px 0 28px;
  margin-top: 72px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.83rem;
  color: #a9b6c6;
}
.footer-note a:hover { color: #fff; text-decoration: underline; }
/* Disclaimer je nad ločilno črto (pred .footer-note), v polni širini */
.footer-disclaimer {
  font-size: 0.8rem;
  color: #a9b6c6;
  margin: 0 0 24px;
  max-width: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bodymap-grid { grid-template-columns: 1fr; gap: 32px; }
  .bodymap { order: -1; }
  .bodymap-fig { max-width: 300px; margin: 0 auto; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .article-aside nav.aside-box { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 2px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a { min-height: 44px; }
  .main-nav > a::after { left: 0; right: auto; width: 3px; height: 60%; top: 20%; bottom: auto; border-radius: 3px; }
  .main-nav .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 14px;
    color: var(--ink);
  }
  .main-nav .nav-cta::after { display: none; }
  .nav-item .dropdown {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: 0 0 6px 14px;
    min-width: 0;
  }
  .header-cta { display: none; }
  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 100%),
      url("../img/hero.jpg") 72% center / cover no-repeat;
    padding: 64px 0 56px;
    min-height: 0;
  }
  .contact-grid, .author-hero, .about-grid, .booking-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 32px 28px; }
  .author-photo { max-width: 260px; }
  .cta-band { grid-template-columns: 1fr; padding: 36px 28px; }
}

@media (max-width: 620px) {
  .section { padding: 52px 0; }
  .area-grid, .article-grid, .feature-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }

  /* Gumbi čez celo širino (do 450px), skupine gumbov v stolpec */
  .btn {
    width: 100%;
    max-width: 450px;
    justify-content: center;
  }
  .hero-actions,
  .article-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 450px;
  }
  .hero-actions .btn { min-height: 48px; }
}
