/* BIODOM – predlog začetne strani
   Barve: blagovna rdeča #ED1E26 je za večje dekorativne elemente; za besedilo,
   gumbe in rdeče površine je uporabljen temnejši odtenek zaradi kontrasta (WCAG AA). */

/* ---------- Pisave (Poppins, SIL OFL 1.1, gostovane lokalno) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Nadomestna pisava s prilagojeno metriko, da zamenjava pisave ne premakne postavitve. */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; }

:root {
  --red: #ED1E26;          /* blagovna barva – dekorativno */
  --red-600: #DC1A22;      /* rdeče površine in gumbi (bela 4,98 : 1) */
  --red-700: #C4161D;      /* rdeče besedilo in povezave na svetli podlagi */
  --red-800: #A51219;
  --ink: #1D1E22;
  --charcoal: #47484E;     /* blagovna temno siva */
  --muted: #5F6067;
  --line: #E2DFD9;
  --line-strong: #CBC6BD;
  --paper: #F5F3EF;
  --paper-2: #ECE8E1;
  --dark: #1F2024;
  --dark-2: #2B2C31;
  --night: #151619;
  --white: #FFFFFF;
  --focus: #1D1E22;
  --font: "Poppins", "Poppins Fallback", Arial, sans-serif;
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(80px, 11vw, 168px);
  --hdr: 64px;
  --radius-lg: clamp(16px, 2vw, 28px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 600; color: var(--ink); }

a { color: var(--red-700); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--red-800); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

[id] { scroll-margin-top: calc(var(--hdr) + 16px); }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--white); color: var(--ink); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Oznaka za povezave na obstoječo spletno stran */
.ext::after {
  content: "";
  display: inline-block;
  width: 0.6em; height: 0.6em;
  margin-left: 0.4em;
  vertical-align: 0.08em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1.5h7.5V9M10.5 1.5 1.5 10.5' fill='none' stroke='%23000' stroke-width='1.9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1.5h7.5V9M10.5 1.5 1.5 10.5' fill='none' stroke='%23000' stroke-width='1.9'/%3E%3C/svg%3E") center / contain no-repeat;
}
span.ext::after { margin-left: 0; }

/* ---------- Tipografija ---------- */
.display {
  font-weight: 300;
  font-size: clamp(2.05rem, 1.1rem + 3.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.display--xl { font-size: clamp(2.6rem, 0.9rem + 7.2vw, 8.25rem); line-height: 0.96; letter-spacing: -0.05em; }

.kicker {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  color: var(--red-700);
  font-size: 0.8125rem; font-weight: 600; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; }
.kicker--light { color: var(--white); }
.kicker--light::before { background: var(--white); }

.source-note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
.source-note--light, .source-note--light a { color: var(--white); }

/* ---------- Gumbi in povezave ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; max-width: 100%;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 500; font-size: 1rem; line-height: 1.3; text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, translate .2s var(--ease-out);
}
.btn:hover { text-decoration: none; translate: 0 -2px; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.9375rem; }
.btn--primary { background: var(--red-600); color: var(--white); box-shadow: 0 10px 30px -12px rgba(220, 26, 34, .7); }
.btn--primary:hover { background: var(--red-800); color: var(--white); box-shadow: 0 16px 34px -12px rgba(165, 18, 25, .75); }
.btn--inverse { background: var(--white); color: var(--red-700); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45); }
.btn--inverse:hover { background: var(--paper); color: var(--red-800); }
.btn--block { display: flex; width: 100%; }

.link-arrow { font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link-arrow:hover { color: var(--red-700); }
.link-arrow:not(.ext)::after { content: "→"; margin-left: 0.45em; color: var(--red-700); }
.link-arrow--down:not(.ext)::after { content: "↓"; }

/* ---------- Zgornja vrstica (oznaka predloga) ---------- */
.topbar { background: var(--night); color: #D7D8DD; font-size: 0.8125rem; line-height: 1.4; --focus: var(--white); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-block: 6px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.demo-label strong { color: var(--white); font-weight: 500; border: 1px solid rgba(255,255,255,.45); border-radius: 3px; padding: 1px 7px; margin-right: 2px; }
.topbar__links { display: flex; gap: 20px; white-space: nowrap; }
@media (max-width: 1099px) { .demo-label__note, .hide-md { display: none; } }
@media (max-width: 759px) { .hide-sm { display: none; } }

/* ---------- Glava ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--red-600); color: var(--white); --focus: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; column-gap: 28px; height: var(--hdr); }
.brand { display: block; padding: 8px 0; flex: none; }
.brand img { width: 158px; height: 22px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 16px;
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,.6); border-radius: 999px;
  font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; transition: rotate .2s ease, translate .2s ease; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.is-open .nav-toggle__bars { background: transparent; }
.is-open .nav-toggle__bars::before { translate: 0 6px; rotate: 45deg; }
.is-open .nav-toggle__bars::after { translate: 0 -6px; rotate: -45deg; }

.site-nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }

/* Ozki zasloni: meni se odpre pod glavo */
@media (max-width: 1199px) {
  .js .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100svh - var(--hdr)); overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    background: var(--red-600);
    border-top: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 24px 40px -20px rgba(0,0,0,.45);
  }
  .js .is-open .site-nav { display: block; }
  .site-nav__list a, .site-nav__secondary a { display: block; padding: 12px 0; font-size: 1.125rem; }
  .site-nav__list { border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 8px; }
  .site-nav__secondary { padding-block: 8px 20px; }
  .site-nav__secondary a { font-size: 1rem; }
  .site-nav .btn { width: 100%; }
  /* Brez JavaScripta je meni vedno viden pod logotipom */
  .no-js .site-header { position: relative; }
  .no-js .site-header__inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { width: 100%; }
}
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 32px; }
  .site-nav__list { display: flex; gap: 26px; }
  .site-nav__list a { font-size: 0.9375rem; white-space: nowrap; }
  .site-nav__secondary { display: none; }
}

/* ---------- Uvod: razgled, ki se spremeni v rdečo ---------- */
.intro {
  /* V deležih fotografije (ležeči izrez 3 : 2):
     --r* = rdeče ohišje kotla (cilj približevanja), --d* = ostrejši izrez kotla iz izvirnika 3000 px */
  --ar: 1.5;
  --rx: 32.417%; --ry: 63.438%; --rw: 7.667%; --rh: 13.313%;
  --dx: 29.167%; --dy: 60%; --dw: 14.167%; --dh: 26.25%;
  position: relative;
  background: var(--red-600);
}
@media (orientation: portrait) {
  /* Pokončni izrez 3 : 4 */
  .intro {
    --ar: 0.75;
    --rx: 39.910%; --ry: 68.581%; --rw: 16.577%; --rh: 14.392%;
    --dx: 32.883%; --dy: 64.865%; --dw: 30.631%; --dh: 28.378%;
  }
}
.intro__stage {
  position: relative;
  height: calc(100svh - var(--hdr));
  min-height: 540px;
  overflow: hidden;
  container-type: size;
  background: #A9CFE0;
}
.intro__camera {
  position: absolute; left: 50%; top: 50%;
  width: max(100cqw, 100cqh * var(--ar));
  aspect-ratio: var(--ar);
  translate: -50% -50%;
  transform-origin: calc(var(--rx) + var(--rw) / 2) calc(var(--ry) + var(--rh) / 2);
}
.intro__photo { width: 100%; height: 100%; object-fit: cover; }
/* Ostrejši izrez kotla prekrije isto mesto na fotografiji; robovi so zabrisani, da šiv ni viden. */
.intro__detail {
  display: none;
  position: absolute;
  left: var(--dx); top: var(--dy); width: var(--dw); height: var(--dh);
  -webkit-mask: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.intro__focus { position: absolute; left: var(--rx); top: var(--ry); width: var(--rw); height: var(--rh); }
/* Ko zaslon prekrije samo še ohišje, rdeča fotografije preide v rdečo naslednjega razdelka. */
.intro__fill { position: absolute; inset: 0; background: var(--red-600); opacity: 0; pointer-events: none; }

.hero { position: absolute; inset: 0; z-index: 1; padding-top: clamp(24px, 7cqh, 88px); }
.hero .wrap { display: flex; flex-direction: column; align-items: flex-start; }
.hero__title { display: flex; flex-direction: column; gap: clamp(12px, 2.4cqh, 26px); }
.hero__display {
  display: block;
  font-weight: 300;
  font-size: clamp(2.1rem, min(1rem + 5.6vw, 11cqh), 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__accent {
  display: block;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.12em;
}
.hero__keywords {
  display: block; max-width: 44ch;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem);
  font-weight: 500; line-height: 1.45; letter-spacing: 0;
}
.hero__lead { max-width: 46ch; margin-top: clamp(12px, 2cqh, 22px); color: var(--ink); font-size: clamp(1rem, 0.92rem + 0.35vw, 1.1875rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(18px, 3.4cqh, 36px); }
.hero__cue { position: absolute; left: 50%; bottom: 18px; width: 2px; height: 44px; background: rgba(29,30,34,.25); overflow: hidden; }
.hero__cue::after { content: ""; position: absolute; inset: 0; background: var(--ink); translate: 0 -100%; }
@media (prefers-reduced-motion: no-preference) { .hero__cue::after { animation: cue 2.2s var(--ease-out) infinite; } }
@keyframes cue { 0% { translate: 0 -100%; } 60%, 100% { translate: 0 100%; } }

@media (orientation: portrait) and (max-height: 720px) { .hero__lead { display: none; } }
@media (orientation: landscape) and (max-height: 700px) { .hero__cue { display: none; } }
/* Ležeči telefoni: oder je višji od zaslona, zato poziv postavimo višje. */
@media (orientation: landscape) and (max-height: 539px) {
  .hero { padding-top: 20px; }
  .hero__display { font-size: 2.1rem; }
  .hero__lead { display: none; }
}

/* Uvod z gibanjem: oder ostane pripet, med pomikanjem se kamera približa kotlu (main.js). */
@media (min-height: 540px) {
  .motion .intro { height: calc(max(540px, 100svh - var(--hdr)) + 110svh); }
  .motion .intro__stage { position: sticky; top: var(--hdr); }
  /* Kamera namenoma nima will-change: brskalnik jo ob povečavi znova izriše in fotografija ostane ostra. */
  .motion .intro__fill { will-change: opacity; }
  .motion .intro__detail { display: block; }
  /* Manifest zdrsne čez pripeti oder, ko je ta že rdeč, zato ni praznega rdečega pasu. */
  .motion .manifest { z-index: 1; margin-top: -40svh; background: linear-gradient(to bottom, transparent 40svh, var(--red-600) 40svh); }
}

/* ---------- Manifest (rdeča) ---------- */
.manifest {
  position: relative;
  background: var(--red-600);
  color: var(--white);
  padding-block: clamp(72px, 10vw, 160px) clamp(64px, 8vw, 120px);
  --focus: var(--white);
}
.manifest .display { color: var(--white); max-width: 13ch; }
.manifest__grid { display: grid; gap: 28px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.manifest__lead { max-width: 52ch; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem); line-height: 1.55; }
@media (min-width: 900px) { .manifest__grid { grid-template-columns: 1fr auto; } }

.years { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: clamp(56px, 8vw, 112px); }
.years li { position: relative; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.55); font-size: 0.9375rem; line-height: 1.45; }
.years li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--white); }
.years__y { display: block; margin-bottom: 8px; font-size: clamp(2.5rem, 1.6rem + 3vw, 4.75rem); font-weight: 300; line-height: 1; letter-spacing: -0.05em; }
@media (min-width: 900px) { .years { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Razdelki ---------- */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: #C9CACF; --focus: var(--white); }
.section--dark h2, .section--dark h3, .section--dark strong { color: var(--white); }
.section--dark a:not(.btn) { color: var(--white); }

.section-head { max-width: 880px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head__intro { max-width: 60ch; margin-top: 22px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
.section-head--tight { margin-bottom: 32px; }

/* ---------- Kako izbrati ---------- */
.picker { display: grid; gap: clamp(24px, 3vw, 36px); }
.picker__choices { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.picker__legend { width: 100%; margin-bottom: 14px; padding: 0; color: var(--ink); font-weight: 600; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 20px;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-weight: 500; font-size: 0.9875rem; line-height: 1.3;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
@media (max-width: 599px) {
  .picker__choices { gap: 8px; }
  .chip span { min-height: 44px; padding: 8px 16px; font-size: 0.9375rem; }
}
.chip span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; transition: background-color .2s ease, border-color .2s ease; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:checked + span::before { background: var(--red); border-color: var(--red); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

.picker__panels { display: grid; gap: 16px; }
.pick {
  display: grid; gap: 28px; align-items: center;
  padding: clamp(24px, 4vw, 52px);
  background: var(--paper);
  border-radius: var(--radius-lg);
}
.pick h3 { font-size: clamp(1.375rem, 1.05rem + 1.1vw, 2.125rem); font-weight: 500; letter-spacing: -0.025em; margin-bottom: 14px; }
.pick__label { margin-bottom: 12px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pick__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.pick__links a {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 12px 12px 16px;
  background: var(--white); color: var(--ink);
  border-radius: 16px;
  font-weight: 600; font-size: 0.9375rem; line-height: 1.3; text-decoration: none;
  transition: translate .25s var(--ease-out), box-shadow .25s ease;
}
.pick__links a:hover { translate: 0 -4px; box-shadow: 0 18px 30px -18px rgba(29,30,34,.35); color: var(--red-700); }
.pick__links img { width: 100%; aspect-ratio: 1; object-fit: contain; }
@media (min-width: 900px) { .pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; } }

/* Prikaže se samo izbrani primer. Brskalniki brez :has() pokažejo vse. */
@supports selector(:has(*)) {
  .pick { display: none; }
  .picker:has([value="star-kotel"]:checked) [data-pick="star-kotel"],
  .picker:has([value="radiatorji"]:checked) [data-pick="radiatorji"],
  .picker:has([value="ze-kotel"]:checked) [data-pick="ze-kotel"],
  .picker:has([value="novogradnja"]:checked) [data-pick="novogradnja"],
  .picker:has([value="les"]:checked) [data-pick="les"] { display: grid; }
}
@media (prefers-reduced-motion: no-preference) {
  .pick { animation: pick-in .5s var(--ease-out); }
}
@keyframes pick-in { from { opacity: 0; translate: 0 14px; } }

/* ---------- Rešitve ---------- */
.family-nav { position: sticky; top: calc(var(--hdr) + 12px); z-index: 5; margin-bottom: clamp(16px, 3vw, 32px); }
.family-nav ul {
  display: flex; gap: 4px;
  width: max-content; max-width: 100%;
  padding: 5px; overflow-x: auto; scrollbar-width: none;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(29,30,34,.45), inset 0 0 0 1px var(--line);
}
.family-nav ul::-webkit-scrollbar { display: none; }
.family-nav a {
  display: block; padding: 10px 18px; border-radius: 999px;
  color: var(--ink); font-size: 0.9375rem; font-weight: 500; line-height: 1.3; white-space: nowrap; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.family-nav a:hover { background: var(--paper); color: var(--ink); }
.family-nav a[aria-current="true"] { background: var(--red-600); color: var(--white); }

.family { display: grid; gap: 28px; padding-block: clamp(36px, 6vw, 96px); border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--hdr) + 80px); }
.family:first-child { border-top: 0; }
.family__stage {
  position: relative; isolation: isolate;
  display: grid; place-items: center;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 50% 62%, #FFFFFF 0%, #F1EEE9 55%, #E3DED6 100%);
}
.family__stage img { width: min(72%, 420px); mix-blend-mode: multiply; }
.family__num {
  position: absolute; top: 0.12em; left: 0.3em; z-index: -1;
  font-size: clamp(5rem, 3rem + 9vw, 12rem); font-weight: 300; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px var(--red);
}
.family__body h3 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; }
.family__lead { margin-top: 16px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: var(--ink); }
.family__body > p:not(.family__lead) { margin-top: 12px; }

.facts { margin-block: 28px; border-top: 1px solid var(--line-strong); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.facts dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { color: var(--ink); }
@media (min-width: 560px) { .facts > div { grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; } }

.models__title { margin-bottom: 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.models { display: grid; gap: 8px; margin-bottom: 28px; }
.models li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 16px; background: var(--white); border-radius: 12px; }
.models a { font-weight: 600; color: var(--red-700); }
.models span:not(.sr-only) { font-size: 0.9375rem; color: var(--muted); }
.models--inline { display: flex; flex-wrap: wrap; }

@media (min-width: 960px) {
  .family { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .family__stage { position: sticky; top: calc(var(--hdr) + 96px); aspect-ratio: 1; }
  .family:nth-child(even) .family__stage { order: 2; }
}

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(28px, 4vw, 52px);
  background: var(--ink); color: #D7D8DD;
  border-radius: var(--radius-lg);
  --focus: var(--white);
}
.cta-band__text { max-width: 58ch; }
.cta-band__text strong { display: block; margin-bottom: 6px; color: var(--white); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.cta-band--red { background: var(--red-600); color: var(--white); }

/* ---------- Potek ogleda ---------- */
.steps { position: relative; display: grid; gap: 36px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-strong); }
.steps::after { background: var(--red); transform-origin: top; }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
.step__num {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  background: var(--white); color: var(--red-700);
  border: 2px solid var(--red); border-radius: 50%;
  font-size: 1.25rem; font-weight: 600;
}
.step h3 { align-self: center; font-size: 1.25rem; }
.step p { margin-top: 6px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  /* Črta poteka od sredine prvega do sredine zadnjega kroga (4 stolpci, razmik 32 px). */
  .steps::before, .steps::after { left: 28px; right: calc((100% - 96px) / 4 - 28px); top: 27px; bottom: auto; width: auto; height: 2px; }
  .steps::after { transform-origin: left; }
  .step { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .step__num { grid-row: auto; }
}

.checks { display: grid; gap: 32px; margin-top: clamp(72px, 9vw, 128px); }
.checks__title { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 18px; }
.checks__head > p:not(.source-note) { font-size: 1.125rem; color: var(--ink); max-width: 40ch; }
.checks__list { counter-reset: chk; border-bottom: 1px solid var(--line-strong); }
.checks__list li { counter-increment: chk; display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 20px 0; border-top: 1px solid var(--line-strong); }
.checks__list li::before { content: counter(chk, decimal-leading-zero); grid-row: span 2; color: var(--red-700); font-size: 1.5rem; font-weight: 300; line-height: 1.2; }
.checks__list strong { display: block; font-size: 1.125rem; font-weight: 500; }
@media (min-width: 960px) {
  .checks { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .checks__head { position: sticky; top: calc(var(--hdr) + 40px); }
}

/* ---------- Reference ---------- */
.compares { display: grid; gap: 24px; }
@media (min-width: 640px) { .compares { grid-template-columns: repeat(2, minmax(0, 1fr)); } .testimonial { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .compares { grid-template-columns: repeat(3, minmax(0, 1fr)); } .testimonial { grid-column: auto; } }

.compare figcaption { margin-top: 14px; font-size: 0.9375rem; }
.compare__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 900 / 1339;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none; -webkit-user-select: none;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__img--after { clip-path: inset(0 0 0 var(--pos)); }
.compare__tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 6px 14px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.compare__tag--after { left: auto; right: 14px; background: var(--red-600); color: var(--white); }
.compare__range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 1; width: 2px; translate: -1px 0; background: var(--white); pointer-events: none; }
.compare__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px; translate: -50% -50%;
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6 3 12l6 6M15 6l6 6-6 6' fill='none' stroke='%23C4161D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.compare__range:focus-visible + .compare__handle::after { outline: 3px solid var(--white); outline-offset: 3px; }
/* Brez JavaScripta: fotografiji drug ob drugi */
.no-js .compare__frame { cursor: auto; }
.no-js .compare__img { width: 50%; }
.no-js .compare__img--after { left: 50%; clip-path: none; }
.no-js .compare__handle { left: 50%; }
.no-js .compare__handle::after, .no-js .compare__range { display: none; }

.testimonial {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 80% at 0% 0%, rgba(237,30,38,.35), transparent 60%), var(--dark-2);
}
.testimonial__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #E6E7EA; }
.testimonial blockquote p { color: var(--white); font-size: clamp(1.4rem, 1rem + 1vw, 2rem); font-weight: 300; line-height: 1.22; letter-spacing: -0.025em; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); font-size: 0.9375rem; }

/* ---------- Servis ---------- */
.split { display: grid; gap: clamp(48px, 6vw, 88px); }
.split__media { position: relative; isolation: isolate; max-width: 520px; margin-right: 18px; }
.split__media::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; z-index: -1; background: var(--red); border-radius: var(--radius-lg); }
.split__media img { border-radius: var(--radius-lg); }
.support-list { border-bottom: 1px solid var(--line-strong); }
.support-list li { padding: 20px 0; border-top: 1px solid var(--line-strong); }
.support-list h3 { font-size: 1.125rem; margin-bottom: 4px; }
.link-list { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; } }

/* ---------- O podjetju ---------- */
.company { display: grid; gap: 16px; }
.company__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.entities { display: grid; gap: 12px; align-content: start; }
.entity { padding: 24px; background: var(--white); border-radius: 18px; }
.entity h3 { margin-bottom: 8px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-700); }
.entities__note { padding: 4px 4px 0; font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 960px) {
  .company { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "wide sparks" "wide ent"; }
  .company__photo--wide { grid-area: wide; }
  .company__photo--sparks { grid-area: sparks; }
  .entities { grid-area: ent; }
}

/* ---------- Vprašanja ---------- */
.faq-layout { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .section-head--sticky { position: sticky; top: calc(var(--hdr) + 40px); margin-bottom: 0; }
}
.faq { border-bottom: 1px solid var(--line-strong); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 48px; padding: 22px 0;
  color: var(--ink); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); font-weight: 500; line-height: 1.35;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23C4161D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: rotate .3s var(--ease-out), background-color .2s ease;
}
.faq summary:hover::after { background-color: var(--paper-2); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { max-width: 62ch; padding: 0 52px 26px 0; }
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}

/* ---------- Vodniki ---------- */
.guides { display: grid; gap: 16px; }
.guide {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: translate .3s var(--ease-out), box-shadow .3s ease;
}
.guide:hover { translate: 0 -6px; box-shadow: 0 28px 40px -28px rgba(29,30,34,.4); }
.guide__tag { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-700); }
.guide h3 { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.guide h3 a { color: var(--ink); text-decoration: none; }
.guide h3 a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guide:hover h3 a { color: var(--red-700); }
.guide p:last-child { color: var(--muted); }
.guides__more { margin-top: 32px; }
@media (min-width: 900px) { .guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Zaključni poziv ---------- */
.final-cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(104px, 15vw, 220px);
  background: var(--red-600); color: var(--white);
  --focus: var(--white);
}
.final-cta__img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: multiply; opacity: .5;
}
.final-cta .display { color: var(--white); max-width: 12ch; }
.final-cta__lead { max-width: 46ch; margin-top: 24px; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); }
.final-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }
.final-cta__alt a { color: var(--white); font-weight: 500; }

/* ---------- Noga ---------- */
.site-footer { padding-top: clamp(56px, 7vw, 96px); background: var(--night); color: #B9BAC0; font-size: 0.9375rem; --focus: var(--white); }
.site-footer a { display: inline-block; padding-block: 3px; color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { margin-bottom: 14px; color: var(--white); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-grid { display: grid; gap: 36px 28px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 18px; max-width: 62ch; }
.footer-brand img { width: 158px; height: 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: clamp(48px, 6vw, 72px); padding-block: 24px 32px; border-top: 1px solid rgba(255,255,255,.14); font-size: 0.8125rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr repeat(6, minmax(0, 1fr)); } .footer-brand { grid-column: auto; } }

/* ---------- Poziv na dnu (ozki zasloni) ---------- */
.mobile-cta { display: none; }
@media (max-width: 759px) {
  .js .footer-bottom { padding-bottom: 104px; }
  .js .mobile-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 -10px 30px -18px rgba(0,0,0,.4);
    translate: 0 110%;
    visibility: hidden;
    transition: translate .3s var(--ease-out), visibility 0s linear .3s;
  }
  .js .mobile-cta.is-visible { translate: 0 0; visibility: visible; transition: translate .3s var(--ease-out), visibility 0s; }
}

/* ---------- Razkrivanje ob pomikanju (samo kjer brskalnik to podpira) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] {
      animation: reveal both var(--ease-out);
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .steps::after {
      animation: grow-line-y linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 60%;
    }
    .family { view-timeline: --family block; }
    .family__stage img {
      animation: product-in both var(--ease-out);
      animation-timeline: --family;
      animation-range: entry 0% entry 80%;
    }
    .final-cta { view-timeline: --final block; }
    .final-cta__img {
      animation: drift linear both;
      animation-timeline: --final;
    }
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  @supports (animation-timeline: view()) {
    .steps::after { animation-name: grow-line-x; }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 44px; } }
@keyframes grow-line-y { from { scale: 1 0; } }
@keyframes grow-line-x { from { scale: 0 1; } }
@keyframes product-in { from { opacity: 0; scale: .86; translate: 0 30px; } }
@keyframes drift { from { scale: 1.18; translate: 0 -4%; } to { scale: 1; translate: 0 4%; } }

/* ---------- Zmanjšano gibanje ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- Visok kontrast (Windows) ---------- */
@media (forced-colors: active) {
  .ext::after { background: LinkText; forced-color-adjust: none; }
  .btn, .chip span, .family-nav a { border: 1px solid ButtonText; }
  .kicker::before, .years li::before { background: CanvasText; forced-color-adjust: none; }
  .intro__fill { display: none; }
}
