/* ─────────────────────────────────────────────────────────────────────────
   Design tokens
───────────────────────────────────────────────────────────────────────── */
:root {
  --bg-cream: #F5F3F0;
  --ink: #1A1C1E;
  --ink-soft: #3A3835;
  --muted: #6B6763;
  --border: #D8D4CE;
  --white: #FFFFFF;
  --brand: #8B2020;
  --brand-hover: #A52828;
  --accent: #D97B0A;
  --dark: #1A1C1E;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-cream);
  color: var(--ink);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
}

a { color: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

.bg-cream { background: var(--bg-cream); }
.bg-white { background: var(--white); }

/* Common building blocks */
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--brand);
  margin-bottom: 12px;
}

.display-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  color: var(--ink);
  line-height: 0.9;
  margin: 0 0 20px;
}

.lead-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
  margin: 0;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.section-block { padding: 72px 0; }

/* ─────────────────────────────────────────────────────────────────────────
   Full-page slider (desktop only): each section is 100vh and the page
   scroll-snaps one section at a time, like a slide deck.
───────────────────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 71px;
  }
  .hero-section,
  #storitve,
  #onas,
  #reference,
  .kontakt-slide {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  /* Sections snap 71px below the viewport top (scroll-padding-top, so the
     fixed navbar doesn't cover them) — size them 71px shorter than the
     viewport so their bottom edge still lands exactly on-screen. The hero
     is exempt: it always starts at scrollY 0, so it never gets pushed down. */
  #storitve,
  #reference {
    min-height: calc(100vh - 71px);
    display: flex;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  #reference {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  #reference .mb-4 {
    margin-bottom: 16px !important;
  }
  #storitve > .container-xl,
  #reference > .container-xl {
    width: 100%;
  }
  #onas { height: calc(100vh - 71px); }
  #onas .row { height: 100%; }

  .kontakt-slide {
    min-height: calc(100vh - 71px);
    display: flex;
    flex-direction: column;
  }
  .kontakt-slide #kontakt {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .kontakt-slide #kontakt > .container-xl {
    width: 100%;
  }
  .kontakt-slide .site-footer {
    flex: 0 0 auto;
    padding-top: 20px;
  }
  .kontakt-slide .footer-top {
    padding-bottom: 12px !important;
  }
  .kontakt-slide .footer-bottom {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* Buttons */
.btn-brand {
  position: relative;
  overflow: hidden;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #fff;
  padding: 13px 30px;
  background: var(--brand);
  border: none;
  border-radius: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}
.btn-brand:hover::before { left: 130%; }
.btn-brand:hover, .btn-brand:focus {
  background: var(--brand-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(139,32,32,0.35);
}

.btn-outline-hero {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #fff;
  padding: 13px 30px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  border-radius: 0;
  transition: background 0.2s;
}
.btn-outline-hero:hover, .btn-outline-hero:focus {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

/* ─────────────────────────────────────────────────────────────────────────
   Navbar
───────────────────────────────────────────────────────────────────────── */
.site-navbar {
  background: transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
  padding: 12px 0;
}
.site-navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  height: 46px;
  width: auto;
}
/* White-text logo over the dark unscrolled hero; swap to the black-text
   version once the navbar goes white on scroll. */
.nav-logo-dark { display: none; }
.site-navbar.scrolled .nav-logo-white { display: none; }
.site-navbar.scrolled .nav-logo-dark { display: block; }

.nav-link-custom {
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px !important;
  transition: color 0.35s;
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-link-custom:hover::after { transform: scaleX(1); }
.site-navbar.scrolled .nav-link-custom {
  color: var(--ink-soft);
}
.nav-link-custom:hover {
  color: #fff;
}
.site-navbar.scrolled .nav-link-custom:hover {
  color: var(--ink);
}

.navbar-toggler {
  border: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none !important;
  box-shadow: none !important;
}
.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: background 0.2s;
}
.site-navbar.scrolled .toggler-bar {
  background: var(--ink);
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 12px;
    border-top: 1px solid #ECEAE6;
    padding: 12px 4px 16px;
  }
  .nav-link-custom {
    color: var(--ink) !important;
    font-size: 15px;
    border-bottom: 1px solid #ECEAE6;
    padding: 11px 4px !important;
  }
  .toggler-bar { background: #fff; }
  .site-navbar.scrolled .toggler-bar { background: var(--ink); }
}

/* ─────────────────────────────────────────────────────────────────────────
   Hero
───────────────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: #0D0F12;
}
.carousel-item {
  position: relative;
}
.carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bg-image, none);
  background-size: cover;
  background-position: center;
  transform: scale(1);
}
.carousel-item.active::before {
  animation: heroKenBurns 7s cubic-bezier(0.25,0.1,0.25,1) forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(15,15,15,0.82) 0%, rgba(15,15,15,0.74) 50%, rgba(15,15,15,0.68) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-text { max-width: 680px; }
.hero-text h1 {
  font-size: clamp(46px, 9vw, 112px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.9;
  color: #fff;
  margin: 0 0 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-text p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 460px;
  margin: 0 0 36px;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  opacity: 1;
  backdrop-filter: blur(6px);
  transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(139,32,32,0.8); }
.carousel-control-prev.hero-arrow { left: 32px; }
.carousel-control-next.hero-arrow { right: 32px; }
@media (min-width: 992px) {
  /* Extra clearance from the sticky per-section dots on the right edge */
  .carousel-control-next.hero-arrow { right: 76px; }
}
.hero-arrow-icon { display: inline-flex; }
@media (max-width: 768px) {
  .hero-arrow { display: none; }
}

.hero-indicators { bottom: 32px; }
.hero-indicators [data-bs-target] {
  width: 30px;
  height: 3px;
  padding: 12px 4px;
  background-clip: content-box;
  box-sizing: content-box;
  border-radius: 0;
  background-color: rgba(255,255,255,0.4);
  opacity: 1;
  border: none;
  transition: width 0.3s, background-color 0.3s;
}
.hero-indicators .active {
  background-color: var(--brand);
  width: 32px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Slide dots (desktop full-page slider navigation, sticky on the right)
───────────────────────────────────────────────────────────────────────── */
.slide-dots { display: none; }
@media (min-width: 992px) {
  .slide-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
  }
  .slide-dot {
    width: 3px;
    height: 18px;
    border-radius: 0;
    background-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
    opacity: 1;
    border: none;
    padding: 0;
    display: block;
    transition: height 0.3s, background-color 0.3s;
  }
  .slide-dot:hover { background-color: rgba(255,255,255,0.7); }
  .slide-dot.active {
    background-color: var(--brand);
    height: 26px;
    box-shadow: 0 0 0 0 rgba(139,32,32,0.45);
    animation: dotPulse 2.2s ease-out infinite;
  }
  @keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(139,32,32,0.45); }
    70% { box-shadow: 0 0 0 6px rgba(139,32,32,0); }
    100% { box-shadow: 0 0 0 0 rgba(139,32,32,0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .slide-dot.active { animation: none; }
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Storitve
───────────────────────────────────────────────────────────────────────── */
.section-heading { max-width: 720px; }

.storitve-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 44px 40px;
  height: 100%;
  transition: background 0.2s, transform 0.3s, box-shadow 0.3s;
}
@media (max-width: 767.98px) {
  .storitve-card { padding: 32px 28px; }
}
.storitve-card:hover {
  background: var(--bg-cream);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.storitve-icon { margin-bottom: 20px; }
.storitve-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin: 0 0 10px;
}
.storitve-card p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   O nas
───────────────────────────────────────────────────────────────────────── */
.onas-section { overflow: hidden; }
.onas-img {
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
}
@media (max-width: 991.98px) {
  .onas-img { min-height: 320px; }
}
.onas-img-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.3); }

.onas-text { background: var(--bg-cream); display: flex; align-items: center; }
.onas-text-inner { padding: 80px 64px; width: 100%; }
@media (max-width: 991.98px) {
  .onas-text-inner { padding: 48px 24px; }
}

.onas-feature {
  background: #fff;
  padding: 22px 20px;
  height: 100%;
  transition: background 0.2s;
}
.onas-feature:hover { background: #F0EDEA; }
.onas-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 575.98px) {
  .onas-features { grid-template-columns: 1fr; }
}
.onas-feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.onas-feature-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   Reference
───────────────────────────────────────────────────────────────────────── */
#refGrid { overflow-anchor: none; }

.ref-nav {
  display: none;
  align-items: center;
  gap: 1rem;
}
.ref-page-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.ref-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.ref-nav-btn:hover { background: var(--brand); border-color: var(--brand); }
.ref-nav-btn:hover svg path { stroke: #fff; }

.ref-card {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: box-shadow 0.4s;
}
.ref-card:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.22); }
.ref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.ref-card:hover img { transform: scale(1.08); }

/* ─────────────────────────────────────────────────────────────────────────
   Kontakt
───────────────────────────────────────────────────────────────────────── */
.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--brand);
  margin-bottom: 5px;
}
.contact-value {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
  text-decoration: none;
  transition: color 0.2s;
}
a.contact-value:hover { color: var(--brand); }

.kontakt-form-box {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  padding: 44px;
}
@media (max-width: 575.98px) {
  .kontakt-form-box { padding: 28px 20px; }
}

.form-label-custom {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.form-control-custom {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
}
.form-control-custom:focus {
  border-color: var(--brand);
  box-shadow: none;
  background: #fff;
}

.form-success-check {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  color: var(--brand);
  line-height: 1;
}
.form-success-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 16px;
}
.form-success-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Footer
───────────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--brand);
  padding: 48px 0 0;
  color: #9A9693;
}
.footer-top { border-bottom: none; }
.footer-logo {
  height: 44px;
  width: auto;
}
.footer-address {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #9A9693;
  max-width: 240px;
  line-height: 1.7;
}
.footer-legal-info {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #9A9693;
  max-width: 280px;
  line-height: 1.6;
  margin-top: 10px;
}
.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--brand);
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #9A9693;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--bg-cream); }
.footer-bottom {
  border-top: 1px solid #2A2A2A;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9A9693;
}
.footer-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #9A9693;
}
.footer-link-legal {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9A9693;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-link-legal:hover { color: var(--bg-cream); }

/* ─────────────────────────────────────────────────────────────────────────
   Entrance animations: desktop-only, since they're triggered by .is-active
   which the full-page-slider IntersectionObserver sets at 50% visibility.
   On mobile there's no slider (sections flow at natural height, often
   taller than one screen), so that threshold can go unmet — keeping this
   scoped to desktop means mobile content is never at risk of getting
   stuck invisible.
───────────────────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  }
  .reveal { transform: translateY(28px); }
  .reveal-left { transform: translateX(-40px); }
  .reveal-right { transform: translateX(40px); }
  .is-active .reveal,
  .is-active .reveal-left,
  .is-active .reveal-right {
    opacity: 1;
    transform: translate(0, 0);
  }

  .stagger-item {
    --i: 0;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1);
    transition-delay: calc(var(--i) * 70ms);
  }
  .is-active .stagger-item {
    opacity: 1;
    transform: translateY(0);
  }
}
.storitve-col:nth-child(1) { --i: 0; }
.storitve-col:nth-child(2) { --i: 1; }
.storitve-col:nth-child(3) { --i: 2; }
.storitve-col:nth-child(4) { --i: 3; }
.storitve-col:nth-child(5) { --i: 4; }
.storitve-col:nth-child(6) { --i: 5; }
.onas-feature:nth-child(1) { --i: 0; }
.onas-feature:nth-child(2) { --i: 1; }
.onas-feature:nth-child(3) { --i: 2; }
.onas-feature:nth-child(4) { --i: 3; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .stagger-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .carousel-item.active::before { animation: none; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Cookie consent banner — floating card, bottom-left
───────────────────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1200;
  width: 380px;
  max-width: calc(100vw - 40px);
  display: flex;
  gap: 14px;
  background: #22252A;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
  animation: cookieRise 0.4s cubic-bezier(0.16,1,0.3,1);
}
@keyframes cookieRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cookie-banner-body { flex: 1 1 auto; min-width: 0; }
.cookie-banner-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 6px;
}
.cookie-banner-text {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}
.cookie-banner-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
}
.cookie-btn {
  flex: 1 1 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.cookie-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}
.cookie-btn-ghost:hover { background: rgba(255,255,255,0.15); }
.cookie-btn-solid {
  background: var(--brand);
  color: #fff;
}
.cookie-btn-solid:hover { background: var(--brand-hover); }
@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Legal pages (Politika zasebnosti, Piškotki)
───────────────────────────────────────────────────────────────────────── */
.legal-page {
  padding: 140px 0 96px;
}
.legal-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 40px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.legal-content ul { padding-left: 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.legal-content th,
.legal-content td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
}
.legal-content th {
  background: var(--bg-cream);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.legal-content a { color: var(--brand); text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────────────────
   Inline text links + service landing pages (npr. /montaza-kritin-murska-sobota)
   Reuses the homepage building blocks; only the hero scale, scroll-snap
   and the closing CTA band need page-specific tweaks.
───────────────────────────────────────────────────────────────────────── */
.inline-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.inline-link:hover { color: var(--brand-hover); }

/* The desktop full-page slider snaps .hero-section; on a normal-flow page
   that single snap point would pull the visitor back to the top. */
.landing-page .hero-section { scroll-snap-align: none; }

.page-hero .hero-text h1 {
  font-size: clamp(40px, 6.4vw, 84px);
}
.page-hero .hero-text p { max-width: 520px; }

.landing-page .display-heading {
  font-size: clamp(34px, 4.6vw, 60px);
}
.landing-page .ref-card { cursor: default; }

.cta-band {
  background: var(--dark);
  border-bottom: 1px solid #2A2A2A;
}
.cta-band .display-heading { color: #fff; }
.cta-band .lead-text { color: rgba(255,255,255,0.7); max-width: 560px; }
