/* =====================================================================
   CUSTOM PROPERTIES — DNA: high contrast, tight spacing, elegant serif
   ===================================================================== */
:root {
  --clr-primary:   #82738A;   /* mistična vijolično-siva — besedilo, poudarki */
  --clr-secondary: #FFFFFF;   /* čista bela — ozadja */
  --clr-accent:    #B58C70;   /* topel bron/les — CTA, aktivna stanja */
  --clr-neutral:   #F2F2F2;   /* svetlo siva — robovi bento kartic */

  --ff-display: 'Cormorant Garamond', serif;
  --ff-body:    'Outfit', sans-serif;

  /* Base-8 spacing scale */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  48px;
  --sp-6:  64px;
  --sp-7:  80px;

  --gap-bento: 16px;
  --nav-h:     84px;
}

/* =====================================================================
   RESET
   ===================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--clr-secondary);
  color: var(--clr-primary);
  font-family: var(--ff-body);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

svg { display: block; }

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
h1 {
  font-family: var(--ff-display);
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  max-width: 65ch;
  line-height: 1.65;
}

.caption {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(130, 115, 138, 0.18);
  border-radius: 100px;
  background: rgba(130, 115, 138, 0.05);
}

/* =====================================================================
   NAV — logo levo · floating card center · CTA desno
   ===================================================================== */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
  pointer-events: none;
}

.nav > * { pointer-events: auto; }

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(130, 115, 138, 0.12);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(130, 115, 138, 0.10);
  padding: 6px 8px;
  height: 56px;
  transition: box-shadow 200ms ease;
}

.nav.is-scrolled .nav__links {
  box-shadow: 0 8px 40px rgba(130, 115, 138, 0.16);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 100px;
  transition: background 150ms ease, color 150ms ease;
}

.nav__link.is-active {
  font-weight: 500;
  background: rgba(130, 115, 138, 0.10);
  position: relative;
}

.nav__link.is-active::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-accent);
}

.nav__link:hover { background: rgba(130, 115, 138, 0.07); }
.nav__link:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 3px; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--clr-primary);
  color: var(--clr-secondary);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  transition: opacity 150ms ease;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(130, 115, 138, 0.22);
}

.nav__cta:hover { opacity: 0.85; }
.nav__cta:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 3px; }

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-shrink: 0;
}

.nav__lang-wrap {
  position: relative;
}

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(130, 115, 138, 0.12);
  border-radius: 100px;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--clr-primary);
  cursor: pointer;
  white-space: nowrap;
  min-height: 38px;
  transition: background 150ms ease;
}

.nav__lang:hover { background: rgba(255, 255, 255, 0.97); }

.nav__lang-arrow {
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.nav__lang-wrap.is-open .nav__lang-arrow {
  transform: rotate(180deg);
}

.nav__lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(130, 115, 138, 0.12);
  border-radius: 10px;
  padding: 5px;
  min-width: 80px;
  box-shadow: 0 8px 24px rgba(130, 115, 138, 0.14);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
  z-index: 300;
}

.nav__lang-wrap.is-open .nav__lang-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav__lang-option {
  display: block;
  width: 100%;
  padding: 7px 14px;
  background: none;
  border: none;
  border-radius: 6px;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-primary);
  opacity: 0.45;
  cursor: pointer;
  text-align: left;
  transition: background 120ms ease, opacity 120ms ease;
  white-space: nowrap;
}

.nav__lang-option:hover {
  background: rgba(130, 115, 138, 0.07);
  opacity: 0.75;
}

.nav__lang-option.is-active {
  opacity: 1;
  font-weight: 500;
}

/* =====================================================================
   HERO SHOWCASE — clean cream product hero
   ===================================================================== */
.hero-showcase {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(160deg, #ffffff 0%, #ede8f5 100%);
  overflow: hidden;
}


#canvas-container {
  position: absolute;
  inset: 0;
}

#canvas-container canvas { display: block; }

/* ── Radial glow behind model ── */
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(130,115,138,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ── Hero type overlay ── */
.hero-type {
  position: absolute;
  top: calc(var(--nav-h) + 12px);
  left: 0;
  right: 0;
  z-index: 6;
  pointer-events: none;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-type__l1 {
  font-family: var(--ff-body);
  font-size: clamp(0.65rem, 1.1vw, 0.8rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-primary);
  opacity: 0.55;
  max-width: none;
  text-align: center;
}

.hero-type__l2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-type__l2h {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--clr-primary);
  text-transform: uppercase;
  pointer-events: auto;
}

.hero-type__sub {
  font-family: var(--ff-body);
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-weight: 300;
  color: var(--clr-primary);
  opacity: 0.6;
  max-width: 44ch;
  line-height: 1.55;
  text-align: center;
  align-self: center;
}

/* ── Avatar stack ── */
.hero-avs {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  pointer-events: auto;
}

.hero-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--clr-neutral);
  margin-left: -8px;
  display: inline-block;
  flex-shrink: 0;
}

.hero-avs .hero-av:first-child { margin-left: 0; }

.hero-av--plus {
  background: var(--clr-accent);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0;
}

/* ── Email capture bar ── */
.hero-cta-bar {
  position: absolute;
  bottom: 210px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 48px);
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: var(--clr-primary);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(130, 115, 138, 0.22);
  transition: opacity 150ms ease, transform 150ms ease;
}

.hero-cta-btn:hover { opacity: 0.86; transform: translateY(-1px); }
.hero-cta-btn:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 3px; }

/* ── Social icons row ── */
.hero-social-copy {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--clr-primary);
  opacity: 0.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: none;
  line-height: 1;
}

.hero-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: #fff;
  transition: opacity 150ms ease;
}

.hero-soc:hover { opacity: 0.82; }

/* ── Floating pills (positioned over the 3D canvas) ── */
.hero__pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(130, 115, 138, 0.13);
  border-radius: 100px;
  padding: 7px 18px 7px 7px;
  box-shadow: 0 4px 20px rgba(130, 115, 138, 0.12);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 300;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.hero__pill-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-secondary);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
}

.hero__pill--tl { top: 44%; left: 20%; transform: translateY(-50%); }
.hero__pill--bl { top: 60%; left: 18%; transform: translateY(-50%); }
.hero__pill--tr { top: 44%; right: 19%; transform: translateY(-50%); }
.hero__pill--br { top: 60%; right: 17%; transform: translateY(-50%); }

@media (max-width: 960px) {
  .hero__pill { display: none; }
}

/* Hero wave — kartice inside hero, absolutely at bottom */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  z-index: 6;
}

.hero-wave::before {
  content: '';
  position: absolute;
  top: -44px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  clip-path: polygon(
    0% 0%,
    8% 5%,
    20% 11%,
    35% 17%,
    50% 21%,
    65% 17%,
    80% 11%,
    92% 5%,
    100% 0%,
    100% 100%,
    0% 100%
  );
  z-index: -1;
  filter: drop-shadow(0 -10px 28px rgba(130, 115, 138, 0.16));
}

/* ── hw-card — stat / chart cards ── */
.hw-card {
  max-width: 240px;
  width: 100%;
  justify-self: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 20px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 140px;
  box-shadow: 0 2px 16px rgba(130, 115, 138, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hw-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.hw-card__title {
  font-family: var(--ff-body);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--clr-primary);
  letter-spacing: -0.01em;
}

.hw-card__arrow {
  font-size: 1rem;
  color: var(--clr-primary);
  opacity: 0.4;
  line-height: 1;
}

.hw-card__sub {
  font-size: 0.73rem;
  color: var(--clr-primary);
  opacity: 0.45;
  line-height: 1.45;
  max-width: none;
  margin-bottom: 4px;
}

/* Progress bar */
.hw-progress {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}

.hw-progress__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hw-progress__track {
  flex: 1;
  height: 7px;
  background: rgba(130, 115, 138, 0.10);
  border-radius: 100px;
  overflow: hidden;
}

.hw-progress__fill {
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, #d4c090, #B58C70);
  border-radius: 100px;
}

.hw-badge {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.hw-progress__scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--clr-primary);
  opacity: 0.30;
  padding: 0 2px;
}

/* Chart */
.hw-chart {
  display: flex;
  gap: 6px;
  flex: 1;
  align-items: stretch;
}

.hw-chart__y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--clr-primary);
  opacity: 0.38;
  text-align: right;
  flex-shrink: 0;
  width: 30px;
  padding-bottom: 2px;
}

.hw-chart__plot {
  flex: 1;
  position: relative;
}

.hw-chart__plot svg {
  width: 100%;
  height: 56px;
  display: block;
}

.hw-chart__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--clr-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
  font-family: var(--ff-body);
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
  line-height: 1.5;
}

.hw-chart__x {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--clr-primary);
  opacity: 0.32;
  padding-left: 36px;
}

.hero-wave__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--sp-2);
}

@media (max-width: 640px) {
  #canvas-container {
    top: 210px;
    bottom: 160px;
  }

  .hero-wave {
    grid-template-columns: 1fr 1fr;
    border-radius: 24px 24px 0 0;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-2) var(--sp-2);
  }
  .hero-wave__cta {
    grid-column: 1 / -1;
    order: -1;
  }
  .hw-card {
    max-width: none;
    min-height: unset;
    padding: 12px 14px 10px;
    gap: 4px;
  }
  .hw-card__sub { display: none; }
  .hw-chart__x { padding-left: 0; font-size: 0.6rem; }
  .hw-chart__y { font-size: 0.6rem; }
}

/* =====================================================================
   BENTO HERO — above the fold, polni viewport, brez klasičnega heroja
   ===================================================================== */
.bento-hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: var(--nav-h) var(--gap-bento) var(--gap-bento);
}

.bento-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: var(--gap-bento);
  min-height: 0; /* preprečuje overflow v flex container */
}

/* Osnova vsake kartice */
.bento-card {
  border: 1px solid rgba(130, 115, 138, 0.10);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: transform, opacity;
  position: relative;
  box-shadow: 0 2px 8px rgba(130, 115, 138, 0.06), 0 8px 32px rgba(130, 115, 138, 0.10);
}

.bento-card.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Card 1 — veliki vizual, col 1–7, oba rova — uokvirjen z mehkimi robovi */
.bento-card--img {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
  padding: 12px;
  background: var(--clr-secondary);
}

.bento-card--img .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Card 2 — H1 naslov, col 7–13, 1. row */
.bento-card--headline {
  grid-column: 7 / 13;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: var(--clr-secondary);
}

.bento-card--headline p {
  font-size: 1rem;
  opacity: 0.65;
  max-width: 42ch;
}

/* Card 3 — tehnična podrobnost, col 7–10, 2. row */
.bento-card--detail {
  grid-column: 7 / 10;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--clr-secondary);
}

.detail-text {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 22ch;
}

/* Card 4 — dimenzije, col 10–13, 2. row */
.bento-card--dims {
  grid-column: 10 / 13;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.bento-card--dims .caption {
  color: var(--clr-secondary);
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.dims-range {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--clr-secondary);
  max-width: none;
}

.dims-unit {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.55;
}

/* =====================================================================
   PLACEHOLDER ZA SLIKE — nevtralni okvir
   ===================================================================== */
.img-placeholder {
  background-color: var(--clr-neutral);
  display: block;
  width: 100%;
  height: 100%;
}

/* =====================================================================
   HORIZONTAL SCROLL — QUIRK #1
   Sticky container, transform: translateX ob scrollu
   ===================================================================== */
.hscroll-section {
  position: relative;
  height: 300vh;
}

.hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hscroll-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.hscroll-slide {
  flex-shrink: 0;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hscroll-bg-word {
  position: absolute;
  top: 50%;
  left: 25%;
  font-family: var(--ff-display);
  font-size: clamp(8vw, 11vw, 15vw);
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  text-align: center;
  color: var(--clr-primary);
  opacity: 0.05;
  transform: translate(-50%, -50%) rotate(-45deg);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hscroll-slide__visual {
  height: 100%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hscroll-slide__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-7) var(--sp-6);
  gap: var(--sp-2);
  position: relative;
  z-index: 1;
}

.hscroll-slide__content .caption {
  margin-bottom: var(--sp-1);
}

.hscroll-slide__content h2 {
  margin-bottom: var(--sp-1);
}

.hscroll-slide__content p {
  font-size: 1rem;
  opacity: 0.65;
}

/* Navigacijske pike */
.hscroll-nav {
  position: absolute;
  bottom: var(--sp-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--sp-1);
  z-index: 10;
}

.hscroll-nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-neutral);
  transition: background 200ms ease, transform 200ms ease;
  cursor: default;
}

.hscroll-nav__dot.active {
  background: var(--clr-primary);
  transform: scale(1.5);
}

/* =====================================================================
   EDITORIAL — QUIRK #2: full-bleed slika do levega roba
   ===================================================================== */
.editorial-section {
  padding: var(--sp-4) var(--gap-bento);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: 55vh;
  align-items: stretch;
}

.editorial-img {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(130, 115, 138, 0.18);
}

.editorial-grid--reverse {
  grid-template-columns: 5fr 7fr;
}

.editorial-grid--reverse .editorial-text {
  order: 1;
}

.editorial-grid--reverse .editorial-img {
  order: 2;
  margin-left: 0;
  margin-right: calc(-1 * var(--gap-bento));
}

@media (max-width: 960px) {
  .editorial-grid--reverse .editorial-text { order: unset; }
  .editorial-grid--reverse .editorial-img  { order: unset; margin-right: 0; }
}

.editorial-img .img-placeholder {
  height: 100%;
  min-height: 600px;
}

.editorial-text {
  display: flex;
  align-items: center;
  padding: var(--sp-6) var(--sp-5);
}

.editorial-text-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.editorial-text-inner h2 {
  font-size: 3rem;
}

.editorial-text-inner p {
  font-size: 1rem;
  opacity: 0.7;
}

/* Gumb outline — velja tudi za <button> */
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border: 1px solid var(--clr-primary);
  background: transparent;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--clr-primary);
  margin-top: var(--sp-1);
  align-self: flex-start;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
  min-height: 44px;
}

.btn-outline:hover {
  background-color: var(--clr-primary);
  color: var(--clr-secondary);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
}

/* =====================================================================
   SCROLL REVEAL — fade-up, IntersectionObserver 0.15
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* =====================================================================
   FOOTER — temna barva, smetanasta besedila
   ===================================================================== */
.footer {
  background: var(--clr-primary);
  border-top: none;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 6vw, 80px);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 72px);
  flex-wrap: wrap;
}

.footer__nav a {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 150ms ease;
}

.footer__nav a:hover { color: #fff; }
.footer__nav a:focus-visible { color: #fff; outline: 1px solid rgba(255,255,255,0.4); outline-offset: 3px; }

.footer__links-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__links-label {
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.footer__links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 16px;
}

.footer__links-grid a {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 150ms ease;
}

.footer__links-grid a:hover { color: #fff; }
.footer__links-grid a:focus-visible { color: #fff; outline: 1px solid rgba(255,255,255,0.4); outline-offset: 2px; }

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__bottom-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer__logo-img {
  height: 32px;
  width: auto;
  display: block;
  align-self: flex-start;
  filter: brightness(0) invert(1);
}

.footer__copy {
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.footer__bottom-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer__bottom-right a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  transition: color 150ms ease;
}

.footer__bottom-right a:hover { color: #fff; }
.footer__bottom-right a:focus-visible { color: #fff; outline: 1px solid rgba(255,255,255,0.4); outline-offset: 2px; }


/* =====================================================================
   MOBILE — 960px in manj
   ===================================================================== */
@media (max-width: 960px) {
  :root { --nav-h: 80px; }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }

  .nav { padding: 0 var(--sp-2); }
  .nav__links { display: none; }

  /* Bento se reorganizira v 2-stolpni grid */
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px auto auto;
    height: auto;
  }

  .bento-card--img      { grid-column: 1 / 3; grid-row: 1 / 2; }
  .bento-card--headline { grid-column: 1 / 3; grid-row: 2 / 3; min-height: 160px; }
  .bento-card--detail   { grid-column: 1 / 2; grid-row: 3 / 4; min-height: 120px; }
  .bento-card--dims     { grid-column: 2 / 3; grid-row: 3 / 4; min-height: 120px; }

  .bento-card--img .img-placeholder { min-height: 220px; }

  /* Horizontal scroll — native scroll-snap na mobilu */
  .hscroll-section {
    height: auto;
  }

  .hscroll-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .hscroll-track {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
  }

  .hscroll-slide {
    scroll-snap-align: start;
    grid-template-columns: 1fr;
    grid-template-rows: 40vh 1fr;
    height: 100vh;
    min-height: 500px;
  }

  .hscroll-slide__visual { height: 100%; }

  .hscroll-slide__content {
    padding: var(--sp-4) var(--sp-3);
  }

  .hscroll-nav { display: none; }

  /* Editorial — stolpci se združijo */
  .editorial-grid { grid-template-columns: 1fr; }

  .editorial-img {
    margin-left: 0;
    min-height: 300px;
  }

  .editorial-img .img-placeholder { min-height: 300px; }

  .editorial-text {
    padding: var(--sp-5) var(--sp-3);
  }

  /* Footer */
  .footer__links-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; }
  .footer__bottom-right { align-items: flex-start; }

}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

  .bento-card--headline { padding: var(--sp-2); }
  .bento-card--detail   { padding: var(--sp-2); }

  .hscroll-slide__content { padding: var(--sp-3) var(--sp-2); }
}

/* =====================================================================
   CONTACT SECTION
   ===================================================================== */
.contact-section {
  background: var(--clr-neutral);
  padding: var(--sp-7) var(--sp-4);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contact-info h2 {
  font-size: 3rem;
  color: var(--clr-primary);
}

.contact-info p {
  font-size: 1rem;
  color: var(--clr-primary);
  opacity: 0.75;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-top: var(--sp-1);
}

.contact-links a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--clr-primary);
  transition: opacity 150ms ease;
}

.contact-links a:hover { opacity: 0.55; }

.contact-info .btn-outline {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  margin-top: var(--sp-2);
}

.contact-info .btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-secondary);
}

/* Obrazec */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-primary);
  opacity: 0.6;
}

.form-group input,
.form-group textarea {
  background: var(--clr-secondary);
  border: 1px solid rgba(30, 20, 53, 0.2);
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--clr-primary);
  outline: none;
  transition: border-color 150ms ease;
  width: 100%;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  opacity: 0.35;
}

.btn-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--clr-primary);
  color: var(--clr-secondary);
  border: none;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  min-height: 44px;
  align-self: flex-start;
  transition: opacity 150ms ease;
}

.btn-form-submit:hover { opacity: 0.85; }
.btn-form-submit:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 3px; }

@media (max-width: 960px) {
  .contact-inner { grid-template-columns: 1fr; gap: var(--sp-5); }
  .contact-info h2 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-section { padding: var(--sp-5) var(--sp-2); }
}

/* =====================================================================
   MODAL — rezervacija termina
   ===================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(30, 20, 53, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--clr-secondary);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--sp-5);
  position: relative;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(130, 115, 138, 0.20);
  transform: translateY(12px);
  transition: transform 200ms ease;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-primary);
  opacity: 0.45;
  padding: 4px;
  transition: opacity 150ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { opacity: 1; }

.modal h3 {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-1);
}

.modal-sub {
  font-size: 0.9rem;
  opacity: 0.55;
  margin-bottom: var(--sp-3);
  max-width: none;
}

.modal-alt {
  margin-top: var(--sp-2);
  text-align: center;
  font-size: 0.82rem;
}

.modal-alt a {
  color: var(--clr-primary);
  opacity: 0.45;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 150ms ease;
}

.modal-alt a:hover { opacity: 0.75; }

/* Koledar — navigacija */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}

.cal-month-label {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.cal-nav {
  background: none;
  border: 1px solid var(--clr-neutral);
  cursor: pointer;
  color: var(--clr-primary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}

.cal-nav:hover { background: var(--clr-neutral); }

/* Dnevi v tednu */
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.cal-weekdays span {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.4;
  padding: 4px 0;
}

/* Mreža dni */
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: var(--sp-3);
}

.cal-day {
  aspect-ratio: 1;
  border: none;
  background: none;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--clr-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, color 150ms ease;
  border-radius: 0;
}

.cal-day:hover:not(:disabled) {
  background: var(--clr-neutral);
}

.cal-day--empty {
  cursor: default;
}

.cal-day--past {
  opacity: 0.2;
  cursor: default;
}

.cal-day--today {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cal-day--selected {
  background: var(--clr-primary) !important;
  color: var(--clr-secondary) !important;
}

/* Termini */
.cal-times {
  margin-bottom: var(--sp-3);
}

.cal-times-label {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: var(--sp-1);
  max-width: none;
}

.cal-times-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.cal-time-slot {
  padding: 8px 4px;
  border: 1px solid var(--clr-neutral);
  background: none;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--clr-primary);
  cursor: pointer;
  text-align: center;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.cal-time-slot:hover {
  background: var(--clr-neutral);
}

.cal-time-slot--selected {
  background: var(--clr-neutral) !important;
  border-color: var(--clr-primary) !important;
  color: var(--clr-primary) !important;
  font-weight: 400;
}

/* Potrdi gumb */
.btn-confirm {
  width: 100%;
  padding: 16px;
  background: var(--clr-primary);
  color: var(--clr-secondary);
  border: none;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: opacity 150ms ease;
  min-height: 44px;
}

.btn-confirm:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-confirm:not(:disabled):hover { opacity: 0.85; }

/* =====================================================================
   STORY — Zakaj zibanje?
   ===================================================================== */
.story-section {
  padding: var(--sp-7) var(--gap-bento);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.story-text p {
  font-size: 1rem;
  opacity: 0.65;
  line-height: 1.75;
}

.story-stats {
  display: flex;
  flex-direction: column;
  padding-left: var(--sp-5);
  border-left: 1px solid var(--clr-neutral);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--clr-neutral);
}

.stat:first-child {
  padding-top: 0;
}

.stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat__num {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--clr-accent);
}

.stat__label {
  font-size: 0.9rem;
  opacity: 0.65;
  line-height: 1.5;
  max-width: 28ch;
}

@media (max-width: 768px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .story-stats {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--clr-neutral);
    padding-top: var(--sp-4);
  }
}

/* =====================================================================
   AUDIENCE — Za koga je BalBed ustvarjen
   ===================================================================== */
.audience-section {
  padding: var(--sp-7) var(--gap-bento);
}

.audience-section > h2 {
  margin-bottom: var(--sp-5);
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-bento);
  margin-bottom: var(--sp-5);
}

.audience-item {
  border: 1px solid rgba(130, 115, 138, 0.10);
  border-radius: 12px;
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  box-shadow: 0 2px 8px rgba(130, 115, 138, 0.06), 0 8px 32px rgba(130, 115, 138, 0.10);
}

.audience-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.audience-item__icon {
  color: var(--clr-accent);
}

.audience-item__label {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.audience-item__desc {
  font-size: 0.95rem;
  opacity: 0.65;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .audience-list {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   EKIPA — team cards
   ===================================================================== */
.team-section {
  padding: 0 var(--gap-bento) var(--sp-7);
}

.team-section__label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.4;
  display: block;
  margin-bottom: var(--sp-4);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-bento);
}

.team-card {
  border: 1px solid rgba(130, 115, 138, 0.10);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  box-shadow: 0 2px 8px rgba(130, 115, 138, 0.06), 0 8px 32px rgba(130, 115, 138, 0.10);
}

.team-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.team-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--clr-neutral);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 400ms ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.03);
}

.team-card__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 400;
  color: var(--clr-primary);
  opacity: 0.25;
  letter-spacing: -0.02em;
}

.team-card__info {
  padding: var(--sp-2) var(--sp-3);
  border-top: 1px solid var(--clr-neutral);
}

.team-card__name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.4;
  font-weight: 400;
}

@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card__initials { font-size: 3rem; }
}

/* =====================================================================
   SLIKE — object-fit za vse kontejnerje
   ===================================================================== */
.bento-card--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.hscroll-slide__visual img,
.hscroll-slide__visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hscroll-slide__visual--padded {
  background: var(--clr-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.hscroll-slide__visual--padded img {
  object-fit: contain;
  max-height: 100%;
  width: 100%;
}

@media (max-width: 960px) {
  .hscroll-slide__visual--padded { padding: 28px; }
}

.editorial-img img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .editorial-img img { min-height: 260px; }
}

/* =====================================================================
   MOBILE NAV — hamburger toggle
   ===================================================================== */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-primary);
  transition: transform 200ms ease, opacity 200ms ease;
  transform-origin: center;
}

.nav--open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__right { display: none; }

  .nav__toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(130, 115, 138, 0.12);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(130, 115, 138, 0.10);
  }

  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    height: auto;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(130, 115, 138, 0.12);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(130, 115, 138, 0.14);
    padding: var(--sp-2);
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
    z-index: 199;
  }

  .nav--open .nav__links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 10px;
  }
}

/* =====================================================================
   PAGE HERO — gornji razmak za podstrani (ni full-height bento)
   ===================================================================== */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--sp-6));
  padding-bottom: var(--sp-6);
  padding-left: var(--gap-bento);
  padding-right: var(--gap-bento);
}

.page-hero__label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.4;
  display: block;
  margin-bottom: var(--sp-2);
}

/* =====================================================================
   O NAS — bento grid
   ===================================================================== */
.onas-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: var(--gap-bento);
  padding: 0 var(--gap-bento) var(--sp-7);
}

.onas-card {
  border: 1px solid rgba(130, 115, 138, 0.10);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  box-shadow: 0 2px 8px rgba(130, 115, 138, 0.06), 0 8px 32px rgba(130, 115, 138, 0.10);
}

.onas-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.onas-card--hero {
  grid-column: 1 / 7;
  grid-row: 1 / 2;
  min-height: 480px;
}

.onas-card--text {
  grid-column: 7 / 13;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4);
}

.onas-card--text p {
  font-size: 1rem;
  opacity: 0.7;
  line-height: 1.7;
}

.onas-card--detail {
  grid-column: 1 / 7;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-2);
  padding: var(--sp-4);
  min-height: 260px;
}

.onas-card--detail .caption {
  margin-bottom: var(--sp-1);
}

.onas-card--detail p {
  font-size: 1rem;
  opacity: 0.7;
}

.onas-card--quote {
  grid-column: 7 / 13;
  grid-row: 2 / 3;
  background: var(--clr-primary);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4);
  min-height: 260px;
}

.onas-card--quote h3 {
  color: var(--clr-secondary);
  font-style: italic;
  opacity: 0.92;
}

@media (max-width: 960px) {
  .onas-grid { grid-template-columns: 1fr 1fr; }
  .onas-card--hero   { grid-column: 1 / 3; grid-row: 1 / 2; min-height: 300px; }
  .onas-card--text   { grid-column: 1 / 3; grid-row: 2 / 3; }
  .onas-card--detail { grid-column: 1 / 2; grid-row: 3 / 4; min-height: 200px; }
  .onas-card--quote  { grid-column: 2 / 3; grid-row: 3 / 4; min-height: 200px; }
}

@media (max-width: 480px) {
  .onas-card--detail,
  .onas-card--quote  { grid-column: 1 / 3; }
  .onas-card--detail { grid-row: 3 / 4; }
  .onas-card--quote  { grid-row: 4 / 5; }
}

/* =====================================================================
   BALBED — produkt bento + feature kartice
   ===================================================================== */
.balbed-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap-bento);
  padding: 0 var(--gap-bento) var(--sp-7);
}

.balbed-card {
  border: 1px solid rgba(130, 115, 138, 0.10);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  box-shadow: 0 2px 8px rgba(130, 115, 138, 0.06), 0 8px 32px rgba(130, 115, 138, 0.10);
}

.balbed-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.balbed-card--tech {
  grid-column: 1 / 13;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4);
  gap: var(--sp-2);
  flex-direction: column;
  justify-content: flex-end;
}

.balbed-card--tech .img-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.balbed-card--tech {
  position: relative;
}

.balbed-card--feature {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-2);
  padding: var(--sp-4);
  min-height: 240px;
}

.balbed-card--feature .caption {
  margin-bottom: var(--sp-1);
}

.balbed-card--feature h3 {
  font-size: 1.6rem;
}

.balbed-card--feature p {
  font-size: 0.95rem;
  opacity: 0.65;
  line-height: 1.6;
}

.balbed-card--feature:nth-child(2) {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}

.balbed-card--feature:nth-child(2) .caption,
.balbed-card--feature:nth-child(2) h3,
.balbed-card--feature:nth-child(2) p {
  color: var(--clr-secondary);
}

.balbed-card--feature:nth-child(2) .caption {
  opacity: 0.7;
}

.balbed-card--feature:nth-child(2) p {
  opacity: 0.8;
}

@media (max-width: 960px) {
  .balbed-grid { grid-template-columns: 1fr 1fr; }
  .balbed-card--tech     { grid-column: 1 / 3; min-height: 280px; }
  .balbed-card--feature  { grid-column: span 1; min-height: 180px; }
}

@media (max-width: 480px) {
  .balbed-card--feature  { grid-column: 1 / 3; }
}

/* =====================================================================
   BALBED — horizontal scroll quirk (isti vzorec kot na domov)
   ===================================================================== */
.process-section {
  position: relative;
  height: 400vh;
}

.process-label {
  position: absolute;
  top: calc(var(--sp-7) + var(--sp-4));
  left: var(--gap-bento);
  z-index: 10;
}

/* Process section — manjše, uokvirjene slike */
#processScroll .hscroll-slide {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--sp-7) var(--sp-6);
  gap: var(--sp-5);
}

#processScroll .hscroll-slide__content {
  padding: 0;
}

#processScroll .hscroll-slide__visual,
#processScroll .hscroll-slide__visual--padded {
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: 68vh;
  width: auto;
  max-width: 44%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(130, 115, 138, 0.10), 0 1px 6px rgba(130, 115, 138, 0.07);
  background: var(--clr-secondary);
  overflow: hidden;
  padding: 0;
  justify-self: center;
}

#processScroll .hscroll-slide__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tehnična risba ima belo ozadje — contain brez paddinga, slika sam zapolni okvir */
#processScroll .hscroll-slide__visual--drawing img {
  object-fit: contain;
}

@media (max-width: 960px) {
  #processScroll .hscroll-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding: var(--sp-4) var(--sp-3);
    gap: var(--sp-3);
  }

  #processScroll .hscroll-slide__visual,
  #processScroll .hscroll-slide__visual--padded {
    max-height: 38vh;
    aspect-ratio: 4 / 3;
  }
}

/* =====================================================================
   GALERIJA — bento mozaik + lightbox
   ===================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  gap: var(--gap-bento);
  padding: 0 var(--gap-bento) var(--sp-7);
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  border: 1px solid var(--clr-neutral);
}

.gallery-item.is-visible { opacity: 1; transform: translateY(0); }

.gallery-item .img-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 300ms ease;
}

.gallery-item:hover .img-placeholder {
  transform: scale(1.03);
}

.gallery-item--wide-tall { grid-column: span 4; grid-row: span 3; }
.gallery-item--wide      { grid-column: span 8; grid-row: span 2; }
.gallery-item--med       { grid-column: span 4; grid-row: span 2; }
.gallery-item--sm        { grid-column: span 3; grid-row: span 2; }

/* Video play indicator */
.gallery-item--video::after {
  content: '';
  position: absolute;
  bottom: var(--sp-2);
  right: var(--sp-2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2382738A'%3E%3Cpolygon points='5,3 19,12 5,21'/%3E%3C/svg%3E") center/16px no-repeat;
  pointer-events: none;
  z-index: 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(18, 18, 18, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img-placeholder {
  width: 900px;
  max-width: 90vw;
  height: 600px;
  max-height: 80vh;
  background: var(--clr-neutral);
}

.lightbox__media {
  max-width: 90vw;
  max-height: 85vh;
  display: block;
  object-fit: contain;
}

.lightbox__video {
  max-width: 90vw;
  max-height: 85vh;
  width: 1200px;
  display: block;
  background: #000;
}

.lightbox__close {
  position: fixed;
  top: var(--sp-4);
  right: var(--sp-4);
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
}

.lightbox__close:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-grid .gallery-item { grid-column: span 3 !important; grid-row: span 2 !important; }
  .gallery-grid .gallery-item:first-child { grid-column: span 6 !important; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-grid .gallery-item { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* =====================================================================
   KONTAKT STRAN — bento layout
   ===================================================================== */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: var(--gap-bento);
  padding: 0 var(--gap-bento) var(--sp-7);
}

.kontakt-card {
  border: 1px solid var(--clr-neutral);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.kontakt-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.kontakt-card--form {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  padding: var(--sp-5);
}

.kontakt-card--form h2 {
  margin-bottom: var(--sp-4);
  font-size: 2.8rem;
}

.kontakt-card--map {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.kontakt-card--map .map-frame {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

.kontakt-card--map .map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-3);
  background: linear-gradient(to top, rgba(255,255,255,0.95) 60%, transparent);
}

.kontakt-card--map .map-overlay h3 {
  font-size: 1.4rem;
  margin-bottom: var(--sp-1);
}

.kontakt-card--direct {
  grid-column: 8 / 13;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--clr-primary);
}

.kontakt-card--direct .caption {
  color: var(--clr-secondary);
  opacity: 0.5;
}

.kontakt-card--direct a {
  color: var(--clr-secondary);
  font-size: 1.05rem;
  transition: opacity 150ms ease;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.kontakt-card--direct a:hover { opacity: 0.65; }

/* Forma znotraj kontakt bento kartice */
.kontakt-card--form .contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.kontakt-card--form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

@media (max-width: 960px) {
  .kontakt-grid { grid-template-columns: 1fr 1fr; }
  .kontakt-card--form   { grid-column: 1 / 3; grid-row: 1 / 2; }
  .kontakt-card--map    { grid-column: 1 / 2; grid-row: 2 / 3; min-height: 220px; }
  .kontakt-card--direct { grid-column: 2 / 3; grid-row: 2 / 3; }
}

@media (max-width: 480px) {
  .kontakt-card--map,
  .kontakt-card--direct { grid-column: 1 / 3; }
  .kontakt-card--map    { grid-row: 2 / 3; }
  .kontakt-card--direct { grid-row: 3 / 4; }
  .kontakt-card--form .form-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   404
   ===================================================================== */
.notfound-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-h) var(--gap-bento) var(--gap-bento);
}

.notfound-card {
  border: 1px solid var(--clr-neutral);
  padding: var(--sp-7) var(--sp-6);
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.notfound-card .caption {
  color: var(--clr-accent);
  opacity: 1;
  margin-bottom: var(--sp-1);
}

.notfound-card h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

.notfound-card p {
  opacity: 0.6;
  font-size: 1rem;
}

@media (max-width: 480px) {
  .notfound-card {
    padding: var(--sp-5) var(--sp-3);
  }
  .notfound-card h1 { font-size: 2.4rem; }
}

/* =====================================================================
   FORM — skupne statusne sporočilnice
   ===================================================================== */
.form-status {
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1px solid transparent;
  display: none;
}

.form-status.is-success {
  display: block;
  border-color: var(--clr-accent);
  color: var(--clr-primary);
  background: rgba(181, 140, 112, 0.08);
}

.form-status.is-error {
  display: block;
  border-color: #c0392b;
  color: #c0392b;
  background: rgba(192, 57, 43, 0.05);
}

.btn-form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

