/* Stari vrh — predlog prenove v2 (moderna različica naslovnice)
   Vsebina in struktura ostajata iz v1; spremenjen je vizualni jezik:
   Inter Tight, zaobljene kartice, mehke sence, temno modri gradienti s soji, pill gumbi. */

:root {
  --navy-950: #02182a;
  --navy-900: #041f33;
  --navy-850: #052a43;
  --navy-800: #063352;
  --navy-700: #00446f;
  --navy-600: #0a5b8f;
  --blue-500: #2378ab;
  --steel-400: #6990b1;
  --steel-300: #96b2ca;
  --steel-200: #c2d5e3;
  --ice-100: #e4eef5;
  --ice-50: #f2f7fa;
  --yellow: #ffd600;
  --yellow-300: #ffe451;
  --yellow-600: #e0bb00;
  --ink: #0b2233;
  --ink-soft: #274b64;
  --ink-muted: #4d6a80;
  --ink-faint: #5a7286;
  /* WCAG AA: 5.0:1 na beli, 4.65:1 na ice-50 */
  --line: #dbe6ee;
  --line-strong: #c3d4e0;
  --ok: #1f9d63;
  --warn: #d08a1c;
  --bad: #d4462f;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 20px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(6, 40, 66, .06), 0 2px 8px rgba(6, 40, 66, .05);
  --shadow-md: 0 2px 4px rgba(6, 40, 66, .05), 0 12px 28px -12px rgba(6, 40, 66, .22);
  --shadow-lg: 0 4px 10px rgba(6, 40, 66, .06), 0 28px 60px -24px rgba(6, 40, 66, .32);

  --maxw: 1280px;
  --pad-x: clamp(16px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 136px);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16.5px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

[hidden] {
  display: none !important;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}

.section--ice {
  background: var(--ice-50);
}

.section--ice-gradient {
  background: linear-gradient(180deg, #fff 0%, var(--ice-50) 38%, var(--ice-100) 100%);
}

.section--dark {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.display-xl {
  font-size: clamp(3rem, 7.6vw, 6.1rem);
  font-weight: 800;
  line-height: .98;
}

.display-lg {
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  font-weight: 750;
  line-height: 1.02;
}

.display-md {
  font-size: clamp(1.95rem, 3.7vw, 3.05rem);
  font-weight: 700;
}

.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 58ch;
}

.section--dark .lead {
  color: rgba(233, 243, 250, .82);
}

.eyebrow {
  display: none;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.1rem;
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy-600);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
}

.section--dark .eyebrow,
.eyebrow--onDark {
  color: var(--steel-300);
}

.sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.sechead .lead {
  margin-top: 1rem;
}

.sechead__meta {
  font-size: .85rem;
  color: var(--ink-faint);
  padding-bottom: .4rem;
}

/* dekor: velik napis v ozadju in plastnice */
.watermark {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-family: var(--display);
  font-weight: 800;
  line-height: .78;
  white-space: nowrap;
}

.contours {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.contours path {
  fill: none;
  stroke: currentColor;
  vector-effect: non-scaling-stroke;
}

/* ---------- gumbi ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: 600 .94rem/1.2 var(--body);
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}

.btn--lg {
  padding: .98rem 1.75rem;
  font-size: 1rem;
}

.btn--sm {
  padding: .58rem 1.05rem;
  font-size: .87rem;
}

/* prelivi se ne animirajo, zato je preliv dvakrat višji in ob hoverju zdrsne (background-position se animira gladko);
   border-box: sicer se pod prozornim robom (1px) ponovi drugi konec preliva in na vrhu nastane tanka črta */
.btn--primary {
  background: linear-gradient(180deg, var(--yellow-300) 0%, var(--yellow) 29%, var(--yellow-600) 50%, var(--yellow-600) 100%) 0 0 / 100% 200% border-box;
  color: var(--navy-900);
}

.btn--primary:hover {
  background-position: 0 100%;
}

.btn--solid {
  background: linear-gradient(180deg, var(--navy-600) 0%, var(--navy-700) 50%, var(--navy-800) 100%) 0 100% / 100% 200% border-box;
  color: #fff;
}

.btn--solid:hover {
  background-position: 0 0;
}

.btn--outline {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--navy-700);
}

.btn--outline:hover {
  border-color: var(--navy-700);
  background: var(--ice-50);
}

.btn--ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .7);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy-700);
}

.more .ico {
  transition: transform .25s var(--ease);
}

a:hover>.more .ico,
.more:hover .ico {
  transform: translate(3px, -3px);
}

.section--dark .more {
  color: var(--yellow);
}

.ico {
  width: 1em;
  height: 1em;
  flex: none;
}

/* ---------- glava ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}

.hdr::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 20, 35, .62), rgba(2, 20, 35, 0));
  transition: opacity .35s var(--ease);
  pointer-events: none;
}

.hdr.is-scrolled {
  background: rgba(4, 27, 45, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px rgba(255, 255, 255, .1);
}

.hdr.is-scrolled::after {
  opacity: 0;
}

/* skrčenje glave brez spreminjanja višine: glava se zamakne za 16px navzgor (86 → 70px vidno), vsebina za 8px nazaj dol, logo se pomanjša */
.hdr.is-scrolled {
  transform: translateY(-16px);
}

.hdr.is-open {
  background: var(--navy-950);
}

.hdr__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  height: 86px;
  transition: transform .35s var(--ease);
}

.hdr.is-scrolled .hdr__inner {
  transform: translateY(8px);
}

.hdr__logo img {
  height: 68px;
  width: auto;
  transform-origin: left center;
  transition: transform .35s var(--ease);
}

.hdr.is-scrolled .hdr__logo img {
  transform: scale(.647);
}

/* 68 → 44px */
.hdr__nav {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 1.6vw, 1.5rem);
  margin-left: auto;
}

.hdr__item {
  position: relative;
}

.hdr__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .15rem;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
  transition: color .2s var(--ease);
}

.hdr__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

.hdr__link:hover {
  color: #fff;
}

.hdr__link:hover::after {
  transform: scaleX(1);
}

.hdr__link .chev {
  width: 12px;
  height: 12px;
  opacity: .7;
}

.hdr__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 250px;
  padding: .5rem;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}

.hdr__drop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.hdr__item:hover .hdr__drop,
.hdr__item:focus-within .hdr__drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hdr__drop a {
  display: block;
  padding: .62rem .85rem;
  border-radius: var(--r-sm);
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink);
}

.hdr__drop a:hover {
  background: var(--ice-50);
  color: var(--navy-700);
}

.hdr__actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-left: clamp(.4rem, 1.6vw, 1.2rem);
}

.season {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}

.season::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: var(--r-pill);
  background: #fff;
  transition: transform .45s var(--ease);
}

.season[data-active="summer"]::before {
  transform: translateX(100%);
}

.season button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  height: 34px;
  padding: 0 .95rem 0 .8rem;
  border: 0;
  background: none;
  font: 600 .8125rem/1 var(--body);
  color: rgba(255, 255, 255, .75);
  cursor: pointer;
  transition: color .3s var(--ease);
}

.season button svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform .6s var(--ease);
}

.season button[aria-pressed="true"] {
  color: var(--navy-900);
}

.season button[data-season="summer"][aria-pressed="true"] svg {
  transform: rotate(90deg);
}

.season button[data-season="winter"][aria-pressed="true"] svg {
  transform: rotate(60deg);
}

/* prehod med zimo in poletjem: vsebina se mehko prelije, glava in demo ostaneta na mestu */
.hdr {
  view-transition-name: hdr;
}

::view-transition-group(root) {
  animation-duration: .55s;
  animation-timing-function: var(--ease);
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .55s;
}

::view-transition-group(hdr) {
  animation-duration: 0s;
}

.hdr__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
}

.hdr__burger svg {
  width: 22px;
  height: 22px;
}

.mmenu {
  display: none;
  position: relative;
  z-index: 1;
  max-height: calc(100svh - 70px);
  overflow-y: auto;
  padding: .5rem var(--pad-x) 1.6rem;
}

.hdr.is-open .mmenu {
  display: block;
}

.mmenu a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font: 600 1.15rem/1.2 var(--display);
  color: #fff;
}

.mmenu a.sub {
  padding: .6rem 0 .6rem 1rem;
  font: 500 .98rem/1.3 var(--body);
  color: rgba(226, 238, 247, .75);
  border-bottom: 0;
}

.mmenu .season {
  margin-top: 1.2rem;
}

@media (max-width: 1120px) {

  .hdr__nav,
  .hdr__actions .season {
    display: none;
  }

  .hdr__burger {
    display: inline-flex;
  }

  .hdr__actions {
    margin-left: auto;
  }

  .hdr.is-scrolled,
  .hdr.is-scrolled .hdr__inner,
  .hdr.is-scrolled .hdr__logo img {
    transform: none;
  }

  .hdr__inner {
    height: 68px;
  }

  .hdr__logo img {
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hdr__actions .btn {
    padding: .55rem .85rem;
    font-size: .82rem;
  }
}

/* ---------- hero ---------- */
.hero {
  --ridge-h: clamp(70px, 10vw, 150px);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(660px, 100svh, 1040px);
  padding-top: 86px;
  padding-bottom: 0;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 55%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 19, 33, .6) 0%, rgba(2, 19, 33, .15) 22%, rgba(2, 19, 33, .15) 70%, rgba(2, 19, 33, .45) 100%),
    linear-gradient(90deg, rgba(3, 27, 45, .78) 0%, rgba(3, 27, 45, .45) 40%, rgba(3, 27, 45, 0) 72%);
}

.hero__inner {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: clamp(2rem, 6vh, 4.5rem);
  padding-bottom: calc(var(--ridge-h) + clamp(1.5rem, 5vh, 3.5rem));
}

.hero__content {
  max-width: 50rem;
}

.hero h1.display-xl {
  font-size: clamp(2.8rem, 6.7vw, 5.65rem);
}

.hero h1 {
  color: #fff;
}

.hero h1 .brush {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.hero h1 .brush::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.12em;
  right: -.18em;
  bottom: -.02em;
  height: .42em;
  background: url("brush.svg") no-repeat center / 100% 100%;
}

.hero__lead {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  line-height: 1.6;
  color: rgba(233, 243, 250, .92);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.2rem;
}

/* statusni trak v silhueti grebena — greben preide v belo naslednjo sekcijo */
.hero__foot {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--ink);
}

.hero__ridge {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: var(--ridge-h);
  display: block;
  pointer-events: none;
}

.hero__ridge .far {
  fill: rgba(255, 255, 255, .38);
}

.hero__ridge .near {
  fill: #fff;
}

.hero__status {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  padding: .2rem 0 .4rem;
}

.hero__status>* {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .2rem;
  padding: .6rem clamp(1rem, 2.2vw, 2rem);
  border-left: 1px solid var(--line);
}

.hero__status> :first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__status .k {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hero__status .v {
  font: 700 1.1rem/1.2 var(--display);
  color: var(--ink);
  white-space: nowrap;
}

.hero__status .state {
  flex-direction: row;
  align-items: center;
  gap: .9rem;
}

.hero__status .state .v {
  font-size: 1.2rem;
}

.hero__status .cams {
  margin-left: auto;
  border-left: 0;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  padding-right: 0;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy-700);
}

.hero__status .cams:hover {
  color: var(--navy-600);
}

@media (max-width: 900px) {
  .hero__status {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__status>* {
    padding: .75rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero__status>.state,
  .hero__status .cams {
    grid-column: 1 / -1;
  }

  .hero__status>.state {
    border-top: 0;
  }

  .hero__status .cams {
    margin-left: 0;
  }
}

.pulse {
  position: relative;
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  color: var(--ok);
  opacity: .45;
  animation: pulse 2.2s var(--ease) infinite;
}

.pulse--bad {
  background: var(--bad);
}

.pulse--bad::after {
  color: var(--bad);
}

.pulse--warn {
  background: var(--warn);
}

.pulse--warn::after {
  color: var(--warn);
}

@keyframes pulse {
  0% {
    transform: scale(.6);
    opacity: .6;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* obvestilo — lebdeča kartica čez rob heroja */
.notice-wrap {
  position: relative;
  z-index: 5;
  background: #fff;
}

.notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  background: linear-gradient(100deg, var(--yellow-300), var(--yellow));
  color: var(--navy-900);
  font-size: .95rem;
}

.notice b {
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: var(--navy-900);
  color: var(--yellow);
  font-size: .8125rem;
  text-transform: uppercase;
}

.notice span {
  flex: 1 1 24rem;
}

.notice a {
  font-weight: 700;
  display: inline-flex;
  gap: .35rem;
  align-items: center;
}

/* ---------- razmere ---------- */
.cond {
  padding-top: clamp(48px, 6vw, 88px);
}

.cond .contours {
  right: -14%;
  top: -18%;
  width: 62%;
  min-width: 460px;
  color: var(--navy-700);
  opacity: .08;
}

.statgrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.7rem, 1.2vw, 1rem);
}

.scard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 1.8vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

a.scard:hover,
.scard:hover {
  transform: translateY(-4px);
  border-color: var(--steel-300);
  box-shadow: var(--shadow-md);
}

.scard .k {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy-600);
}

.scard .v {
  margin-top: .7rem;
  font: 800 clamp(1.9rem, 2.8vw, 2.5rem)/1 var(--display);
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: .25rem;
  flex-wrap: wrap;
}

.scard .v small {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-faint);
}

.scard .v.txt {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.1;
}

.scard .n {
  margin-top: .5rem;
  font-size: .86rem;
  color: var(--ink-muted);
}

.scard--accent {
  background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy-850) 100%);
  border-color: transparent;
  color: #fff;
}

.scard--accent .k {
  color: var(--yellow);
}

.scard--accent .v {
  color: #fff;
}

.scard--accent .n {
  color: rgba(222, 236, 246, .8);
}

.scard .ok {
  color: var(--ok);
}

.scard .bad {
  color: var(--bad);
}

.scard--accent .ok {
  color: #6ee7a8;
}

.scard--accent .bad {
  color: #ff9b86;
}

.scard--link .v {
  color: var(--navy-700);
}

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

@media (max-width: 1080px) {
  .statgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {

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

  .statgrid--3 .scard:first-child {
    grid-column: span 2;
  }
}

.lifts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.9rem, 1.6vw, 1.3rem);
  margin-top: clamp(.9rem, 1.6vw, 1.3rem);
}

@media (max-width: 900px) {
  .lifts {
    grid-template-columns: 1fr;
  }
}

.panel {
  padding: clamp(1.2rem, 2vw, 1.6rem) clamp(1.2rem, 2vw, 1.7rem) .6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.panel h3 {
  font-size: 1.3rem;
  margin-bottom: .6rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.panel h3 span {
  font: 600 .8125rem/1 var(--body);
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  gap: 2.2rem;
}

.rows li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .78rem 0;
  border-top: 1px solid var(--line);
}

.rows li:first-child {
  border-top: 0;
}

.rows .name {
  flex: 1;
  font-weight: 500;
  min-width: 0;
}

.rows .name small {
  display: block;
  font-size: .82rem;
  color: var(--ink-faint);
  font-weight: 400;
}

.rows .cells {
  display: flex;
  gap: .5rem;
  flex: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 74px;
  padding: .28rem .6rem;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip--ok {
  background: rgba(31, 157, 99, .1);
  color: #137a4b;
}

.chip--bad {
  background: rgba(212, 70, 47, .1);
  color: #b13a26;
}

.chip--na {
  background: var(--ice-50);
  color: var(--ink-faint);
}

.chip--na::before {
  display: none;
}

.diff {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex: none;
  transform: rotate(45deg);
}

.diff--blue {
  background: #2a7fd4;
}

.diff--red {
  background: #d63a2f;
}

.diff--black {
  background: #111;
}

.camrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.7rem, 1.2vw, 1rem);
  margin-top: clamp(.9rem, 1.6vw, 1.3rem);
}

.cam {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-850);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.cam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.cam:hover img {
  transform: scale(1.05);
}

.cam::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 22, 37, 0) 45%, rgba(3, 22, 37, .82));
}

.cam .live {
  position: absolute;
  top: .8rem;
  left: .8rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .65rem;
  border-radius: var(--r-pill);
  background: #b13a26;
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cam .live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.4s infinite;
}

@keyframes blink {
  50% {
    opacity: .25;
  }
}

.cam .name {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .9rem;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}

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

  .camrow .cam:nth-child(3) {
    display: none;
  }
}

/* ---------- vozovnice ---------- */
.tix {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 960px) {
  .tix {
    grid-template-columns: 1fr;
  }
}

.steps {
  display: grid;
  gap: 1.1rem;
  margin: 2rem 0 2.2rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.steps .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 68, 111, .3);
  background: rgba(255, 214, 0, .18);
  font: 700 .95rem/1 var(--display);
  color: var(--navy-700);
}

.steps p {
  padding-top: .45rem;
  color: var(--ink-soft);
}

.ptable {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.ptable th {
  text-align: right;
  font: 600 .8125rem/1.2 var(--body);
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 0 .9rem .8rem;
  border-bottom: 2px solid var(--ink);
}

.ptable td {
  text-align: right;
  padding: .95rem 0 .95rem .8rem;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.ptable th:first-child,
.ptable td:first-child {
  text-align: left;
  padding-left: 0;
}

.ptable td:first-child {
  font-weight: 600;
}

.ptable td small {
  display: block;
  font-size: .82rem;
  font-weight: 400;
  color: var(--ink-faint);
}

.ptable td:nth-child(2) {
  font: 700 1.08rem/1 var(--display);
  color: var(--navy-700);
}

.ptable tbody tr {
  transition: background .2s var(--ease);
}

.ptable tbody tr:hover {
  background: var(--ice-50);
}

@media (max-width: 520px) {
  .ptable {
    font-size: .9rem;
  }

  .ptable th {
    font-size: .8125rem;
  }
}

.tix__note {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--ink-faint);
}

.tix__note a {
  color: var(--navy-700);
  font-weight: 600;
}

/* ---------- nočna smuka — fotografija čez celo sekcijo, besedilo na temnem levem delu ---------- */
.night {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 46vw, 720px);
  padding: clamp(80px, 9vw, 130px) 0;
  overflow: hidden;
  background: #01070d;
  color: #fff;
  isolation: isolate;
}

.night__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 50%;
}

.night::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(1, 7, 13, .94) 0%, rgba(1, 7, 13, .8) 34%, rgba(1, 7, 13, .2) 62%, rgba(1, 7, 13, 0) 80%), linear-gradient(180deg, rgba(1, 7, 13, .5), rgba(1, 7, 13, 0) 25%, rgba(1, 7, 13, 0) 75%, rgba(1, 7, 13, .5));
}

.night .container {
  width: 100%;
}

.night__body {
  max-width: 34rem;
}

.night h2 {
  color: #fff;
}

.night h2 em {
  font-style: normal;
  color: var(--yellow);
}

.night .lead {
  margin-top: 1.4rem;
  color: rgba(233, 243, 250, .86);
}

.night__facts {
  display: flex;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  margin: 2rem 0 0;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: .86rem;
  color: rgba(226, 238, 247, .7);
}

.night__facts b {
  display: block;
  margin-bottom: .3rem;
  font: 800 clamp(1.6rem, 2.4vw, 2.1rem)/1 var(--display);
  color: var(--yellow);
}

.night__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.2rem;
}

@media (max-width: 760px) {
  .night {
    align-items: flex-end;
    padding-top: 52vw;
  }

  .night__bg {
    height: 70vw;
    bottom: auto;
    object-position: 80% 50%;
  }

  .night::before {
    background: linear-gradient(180deg, rgba(1, 7, 13, 0) 0, rgba(1, 7, 13, .1) 30vw, #01070d 70vw);
  }
}

/* ---------- ponudba ---------- */
.acts {
  position: relative;
  padding: var(--section-y) 0;
}

.acts.is-pinned {
  padding: 0;
}

.acts.is-pinned .acts__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  overflow: hidden;
}

.acts__sticky>.container {
  width: 100%;
}

.acts__rail {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.acts__rail::-webkit-scrollbar {
  display: none;
}

.acts.is-pinned .acts__rail {
  overflow: visible;
}

.acts__track {
  display: flex;
  gap: clamp(.9rem, 1.5vw, 1.3rem);
  width: max-content;
  padding: .4rem max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x))) 1.2rem;
  will-change: transform;
}

.acts__track .actcard {
  flex: none;
  width: clamp(270px, 28vw, 400px);
  height: clamp(340px, 52vh, 500px);
  scroll-snap-align: start;
  scroll-margin-left: var(--pad-x);
}

.acts__progress {
  height: 3px;
  margin-top: 1.2rem;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  display: none;
}

.acts.is-pinned .acts__progress {
  display: block;
}

.acts__progress span {
  display: block;
  height: 100%;
  background: var(--navy-700);
  transform: scaleX(0);
  transform-origin: left;
}

.actcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.3rem, 2vw, 1.7rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  color: #fff;
  background: var(--navy-850);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.actcard img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.actcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 22, 37, .05), rgba(3, 22, 37, .35) 40%, rgba(3, 22, 37, .82) 72%, rgba(3, 22, 37, .95));
}

.actcard:hover img {
  transform: scale(1.06);
}

.actcard h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  color: #fff;
}

.actcard p {
  margin-top: .55rem;
  max-width: 40ch;
  font-size: .91rem;
  line-height: 1.55;
  color: rgba(226, 238, 247, .85);
}

.actcard .more {
  margin-top: 1rem;
  color: var(--yellow);
}

/* ---------- smučišče v številkah ---------- */
.resort .contours {
  left: -14%;
  bottom: -30%;
  width: 58%;
  min-width: 430px;
  color: var(--steel-300);
  opacity: .14;
}

.numgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.numgrid>div {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)), var(--navy-900);
  transition: background .3s var(--ease);
}

.numgrid>div:hover {
  background: #0a2a42;
}

.numgrid b {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  font: 800 clamp(2.3rem, 3.6vw, 3.3rem)/1 var(--display);
  color: #fff;
}

.numgrid b small {
  font-size: clamp(.82rem, 1vw, .95rem);
  font-weight: 600;
  color: var(--yellow);
}

.numgrid span {
  display: block;
  margin-top: .8rem;
  font-size: .9rem;
  line-height: 1.5;
  color: rgba(196, 216, 231, .75);
}

@media (max-width: 900px) {
  .numgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .numgrid {
    grid-template-columns: 1fr;
  }
}

.map {
  margin: clamp(1rem, 2vw, 1.4rem) 0 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: var(--navy-850);
}

/* interaktivna karta: povečava, oznake prog in naprav, celozaslonski prikaz */
.map__view {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  outline: none;
}

.map__view:focus-visible {
  box-shadow: inset 0 0 0 3px var(--yellow);
}

.map.is-zoomed .map__view {
  cursor: grab;
  touch-action: none;
}

.map.is-dragging .map__view {
  cursor: grabbing;
}

.map__stage {
  position: relative;
  transform-origin: 0 0;
  will-change: transform;
}

.map__stage.is-anim,
.map__stage.is-anim .mpin {
  transition: transform .3s var(--ease);
}

.map__stage img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.map__pins {
  position: absolute;
  inset: 0;
}

.mpin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font: 700 .8125rem/1 var(--display);
  cursor: pointer;
  transform: translate(-50%, -50%) scale(calc(1 / var(--z, 1)));
}

.mpin svg {
  width: 17px;
  height: 17px;
}

.mpin--blue {
  background: #2a7fd4;
}

.mpin--red {
  background: #d63a2f;
}

.mpin--black {
  background: #111;
}

.mpin::after,
.mdot {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bad);
}

.mdot {
  display: inline-block;
  flex: none;
}

.mpin::after {
  position: absolute;
  top: -4px;
  right: -4px;
  border: 2px solid #fff;
}

.mpin.is-ok::after,
.mdot.is-ok {
  background: var(--ok);
}

body[data-state="closed"] .mpin::after {
  background: var(--bad);
}

.mpin:hover,
.mpin.is-active {
  box-shadow: 0 0 0 3px var(--yellow), 0 4px 12px rgba(0, 0, 0, .35);
}

.mpin:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.mpin.is-active {
  z-index: 2;
}

.mpop {
  position: absolute;
  z-index: 3;
  width: min(300px, calc(100% - 24px));
  padding: 1rem 1.1rem 1.05rem;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.mpop.is-docked {
  top: auto !important;
  right: 12px;
  bottom: 12px;
  left: 12px;
  width: auto;
}

.mpop__close {
  position: absolute;
  top: .35rem;
  right: .4rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--ink-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.mpop__close:hover {
  background: var(--ice-50);
  color: var(--ink);
}

.mpop__kind {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 2rem .3rem 0;
  font-size: .8125rem;
  color: var(--ink-muted);
}

.section--dark .mpop__name {
  margin: 0 2rem 0 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.mpop__note {
  margin: .2rem 0 0;
  font-size: .875rem;
  color: var(--ink-muted);
}

.mpop__status {
  display: grid;
  gap: .4rem;
  margin: .85rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}

.mpop__status div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mpop__status dt {
  font-size: .875rem;
  color: var(--ink-soft);
}

.mpop__status dd {
  margin: 0;
}

.map .mpop .diff--black {
  background: #111;
}

.map__tools {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.map__tools button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-sm);
  background: rgba(4, 31, 51, .82);
  color: #fff;
  font: 500 1.4rem/1 var(--body);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}

.map__tools button:hover:not(:disabled) {
  background: var(--navy-700);
}

.map__tools button:disabled {
  opacity: .4;
  cursor: default;
}

.map__tools button[hidden] {
  display: none;
}

.map__tools svg {
  width: 19px;
  height: 19px;
}

.map__hint {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 2;
  margin: 0;
  padding: .5rem .9rem;
  border-radius: var(--r-pill);
  background: rgba(2, 24, 42, .88);
  color: #fff;
  font-size: .875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity .25s var(--ease);
}

.map__hint.is-on {
  opacity: 1;
}

.map__hint kbd {
  padding: .05rem .35rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 5px;
  font: inherit;
}

.map.is-full {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--navy-950);
}

.map.is-full .map__view {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map.is-full .map__stage {
  flex: none;
}

html.svmap-lock {
  overflow: hidden;
}

html.svmap-lock .container:has(> .map.is-full) {
  z-index: 1000;
}

@media (max-width: 640px) {
  /* na telefonu je karta premajhna za oznake — stanje je v seznamu prog in naprav */
  .map__pins,
  .mpop,
  .map__legend-status {
    display: none;
  }

  .map__tools {
    top: .5rem;
    right: .5rem;
  }

  .map__tools button {
    width: 36px;
    height: 36px;
  }

  .map__hint {
    display: none;
  }
}

.map figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.6rem;
  padding: 1rem 1.3rem;
  font-size: .88rem;
  color: rgba(226, 238, 247, .8);
}

.map figcaption>span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.map figcaption a {
  margin-left: auto;
}

.map .diff--black {
  background: #fff;
}

/* ---------- dostop ---------- */
.routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.9rem, 1.6vw, 1.3rem);
}

@media (max-width: 800px) {
  .routes {
    grid-template-columns: 1fr;
  }
}

.route {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.route:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.route__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 214, 0, .2);
  color: var(--navy-700);
  margin-bottom: 1.2rem;
}

.route__pin svg {
  width: 22px;
  height: 22px;
}

.route h3 {
  font-size: 1.65rem;
}

.route .tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .8rem 0 1rem;
}

.route .tags span {
  padding: .28rem .65rem;
  border-radius: var(--r-pill);
  background: var(--ice-50);
  border: 1px solid var(--line);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.route p {
  color: var(--ink-muted);
}

.route .more {
  margin-top: 1.3rem;
}

.route--family .tags span:last-child {
  background: rgba(255, 214, 0, .2);
  border-color: rgba(224, 187, 0, .4);
  color: var(--navy-800);
}

/* ---------- novice ---------- */
.newsgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 1.6vw, 1.3rem);
}

@media (max-width: 900px) {
  .newsgrid {
    grid-template-columns: 1fr;
  }
}

.newscard {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: clamp(1.4rem, 2.1vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.newscard:hover {
  transform: translateY(-4px);
  border-color: var(--steel-300);
  box-shadow: var(--shadow-md);
}

.newscard__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
}

.newscard time {
  font-size: .82rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.newscard .tag {
  padding: .22rem .6rem;
  border-radius: var(--r-pill);
  background: var(--ice-50);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy-600);
}

.newscard h3 {
  margin-top: 1rem;
  font-size: 1.32rem;
  line-height: 1.25;
}

.newscard .more {
  margin-top: auto;
  padding-top: 1.4rem;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem 2.6rem;
  margin-top: 1.2rem;
  padding: 1.6rem clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
}

.partners img {
  height: 42px;
  width: auto;
  filter: grayscale(1);
  opacity: .62;
  mix-blend-mode: multiply;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}

.partners img:hover {
  filter: none;
  opacity: 1;
}

.partners-label {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

/* ---------- noga ---------- */
.ftr {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(28px, 3vw, 40px);
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: rgba(226, 238, 247, .78);
  font-size: .94rem;
}

.ftr .contours {
  right: -10%;
  top: -20%;
  width: 55%;
  min-width: 420px;
  color: var(--steel-300);
  opacity: .1;
}

.ftr .watermark {
  left: -.04em;
  bottom: -.08em;
  font-size: clamp(6rem, 19vw, 19rem);
  color: #fff;
  opacity: .04;
}

.ftr__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ftr__cta h2 {
  color: #fff;
  max-width: 18ch;
}

.ftr__cta div {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.ftr__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.ftr__brand img {
  height: 74px;
  width: auto;
  margin-bottom: 1.2rem;
}

.ftr__brand p+p {
  margin-top: .9rem;
}

.ftr a:hover {
  color: #fff;
}

.ftr h3 {
  font: 600 .8125rem/1 var(--body);
  text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: 1.1rem;
}

.ftr li+li {
  margin-top: .6rem;
}

.ftr__social {
  display: flex;
  gap: .5rem;
  margin-top: 1.2rem;
}

.ftr__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}

.ftr__social a:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
}

.ftr__social svg {
  width: 18px;
  height: 18px;
}

.ftr__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: rgba(196, 216, 231, .6);
}

@media (max-width: 900px) {
  .ftr__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .ftr__top {
    grid-template-columns: 1fr;
  }
}

/* ---------- pojavljanje ob drsenju ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__media img,
  .pulse::after,
  .cam .live i {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

.panel h3 span {
  gap: .5rem;
}

.panel h3 span i {
  font-style: normal;
  min-width: 92px;
  text-align: center;
}

.chip {
  min-width: 92px;
}

@media (max-width: 420px) {

  .chip,
  .panel h3 span i {
    min-width: 78px;
  }

  .chip {
    font-size: .8125rem;
    padding: .28rem .4rem;
  }
}
/* ---------- kamere z vdelanim prenosom (iframe) ---------- */
.cam--embed {
  display: flex;
  flex-direction: column;
  margin: 0;
  aspect-ratio: auto;
  background: #fff;
  border: 1px solid var(--line);
}

.cam--embed::after {
  display: none;
}

.cam--embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--navy-900);
}

.cam--embed figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .8rem 1rem;
}

.cam--embed .cam__name {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  font-weight: 600;
  color: var(--navy-800);
}

.cam--embed .more {
  flex: none;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .camrow:has(.cam--embed) {
    grid-template-columns: minmax(0, 1fr);
  }

  .camrow:has(.cam--embed) .cam:nth-child(3) {
    display: flex;
  }

  .cam--embed figcaption {
    flex-wrap: wrap;
  }
}
