/* energetskaizkaznica.com — single stylesheet, mobile-first, no framework.
   Tokens first; components follow in page order. Container: 1460px (significa.si grid). */

/* ---------- Fonts (self-hosted, OFL; see /assets/fonts/LICENSE.txt) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/bricolage-grotesque-latin-wght-normal.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: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/public-sans-latin-wght-normal.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: "Public Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/public-sans-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ----------
   Light and airy: white page, a cool mist for alternate sections, deep slate ink, ONE accent
   (pine, the green end of the certificate scale). The energy-class scale A1→G is the signature
   motif. The footer uses the pine accent as its background. */
:root {
  --bg: #FFFFFF;
  --mist: #F1F5F2;         /* alternate sections */
  --mist-2: #E5EDE8;
  --ink: #0F1D2B;          /* text: 17:1 on white */
  --ink-2: #3E4C5C;        /* secondary text: 8.9:1 on white, 7.9:1 on mist */
  --ink-3: #566273;        /* meta text: 6.0:1 on white, 5.4:1 on mist (not used on glass) */
  --line: #E1E7E3;
  --line-strong: #C6CFC9;  /* decorative only */
  --line-input: #858D88;   /* control borders: 3.4:1 on white */
  --placeholder: #667080;  /* 5.0:1 on white */

  --pine: #0E5E4E;         /* accent: white on it 7.6:1 */
  --pine-700: #0A4A3D;
  --pine-50: #E4F0EA;
  --pine-200: #A9CBBE;
  --pine-300: #8ED1B8;     /* accent on dark backgrounds: 9:1 on ink */

  --warn: #A8341B;
  --error: #B42318;
  --error-bg: #FDF0EE;

  /* Energy-class scale (green → yellow → orange → red) */
  --c-a1: #00843D;
  --c-a2: #2E9C3E;
  --c-b1: #62B04A;
  --c-b2: #A3C43A;
  --c-c:  #F2D21B;
  --c-d:  #F6B81E;
  --c-e:  #EE8A21;
  --c-f:  #E66329;
  --c-g:  #C62A1F;
  --scale-gradient: linear-gradient(90deg, var(--c-a1), var(--c-b1) 25%, var(--c-c) 50%, var(--c-e) 72%, var(--c-g));

  /* Type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.1rem, 1.03rem + 0.3vw, 1.25rem);
  --fs-h3: 1.3rem;
  --fs-h2: clamp(1.85rem, 1.3rem + 2vw, 3rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem);

  /* Space, shape, motion */
  --gutter: 20px;
  --section: clamp(4rem, 2.6rem + 5.5vw, 8rem);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow: 0 1px 2px rgba(15, 29, 43, .04), 0 14px 34px -18px rgba(15, 29, 43, .22);
  --shadow-lift: 0 2px 4px rgba(15, 29, 43, .04), 0 26px 50px -24px rgba(15, 29, 43, .32);
  --shadow-float: 0 1px 1px rgba(15, 29, 43, .04), 0 24px 60px -22px rgba(15, 29, 43, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
@media (min-width: 1100px) { html { scroll-padding-bottom: 0; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
  overflow-wrap: break-word;
  font-weight: 650;
}
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; line-height: 1.2; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
a { color: var(--pine); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
a:hover { color: var(--pine-700); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 650; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--mist); font-weight: 650; }
tbody tr:last-child > * { border-bottom: 0; }
th { font-weight: 650; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 0 0 1.75rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }

.visually-hidden {
  position: absolute !important; 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: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1460px; margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: calc(47rem + 2 * var(--gutter)); }

/* Photos: every frame sets its own aspect ratio; the file only fills it (object-fit: cover).
   photo--<slot> sets where each photo's subject sits, so crops stay right in any frame. */
.photo { display: block; overflow: hidden; background: var(--mist-2); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--hero-home img { object-position: 32% 55%; }
.photo--hisa img { object-position: 52% 60%; }
.photo--stanovanje img { object-position: 40% 60%; }
.photo--vecstanovanjska img { object-position: 40% 50%; }
.photo--poslovna img { object-position: 50% 50%; }
.photo--ogled img { object-position: 66% 30%; }
.photo--ucinkovitost img { object-position: 58% 60%; }
.photo--dokumenti img { object-position: 42% 55%; }
.photo--ljubljana img { object-position: 50% 68%; }
.photo--aljosa img { object-position: 50% 22%; }
.frame { border-radius: var(--r-lg); aspect-ratio: 4 / 3; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--portrait { aspect-ratio: 4 / 5; }

/* Glass: frosted panels on top of photos or soft gradients. Solid fallback first. */
.glass {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: var(--shadow-float);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(255, 255, 255, .74);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
  }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--bg); --btn-fg: var(--ink); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn .icon { width: 1.15em; height: 1.15em; flex: none; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--pine); --btn-fg: #fff; --btn-bd: var(--pine); box-shadow: 0 10px 24px -14px rgba(14, 94, 78, .9); }
.btn--primary:hover { --btn-bg: var(--pine-700); --btn-bd: var(--pine-700); color: #fff; box-shadow: 0 16px 30px -14px rgba(14, 94, 78, .9); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(15, 29, 43, .28); }
.btn--outline:hover { --btn-bd: var(--ink); --btn-bg: var(--ink); color: #fff; }
.btn--outline .icon { color: var(--pine); }
.btn--outline:hover .icon { color: #fff; }
.btn--quiet { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--ink-2); padding-inline: .9rem; }
.btn--quiet:hover { --btn-fg: var(--ink); text-decoration: underline; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--pine-700); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--pine-50); --btn-bd: var(--pine-50); color: var(--pine-700); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .12); color: #fff; }
.btn--lg { min-height: 56px; padding: .9rem 1.65rem; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; text-decoration: none; min-height: 44px; }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Header: transparent at the top, glass once the page scrolls (site.js .is-scrolled).
   The shrink is transform-only: the bar moves up 8px and its content 4px, so nothing reflows. */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); transition: transform .35s var(--ease); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent;
  opacity: 0; transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.no-js .site-header::before { opacity: 1; border-bottom-color: var(--line); }
.site-header.is-scrolled { transform: translateY(-8px); }
.site-header.is-scrolled::before { opacity: 1; border-bottom-color: rgba(15, 29, 43, .08); box-shadow: 0 10px 30px -22px rgba(15, 29, 43, .5); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8); }
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; height: 100%; transition: transform .35s var(--ease); }
.site-header.is-scrolled .site-header__inner { transform: translateY(4px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand__mark { flex: none; transition: transform .35s var(--ease); }
.site-header.is-scrolled .brand__mark { transform: scale(.9); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.025em; line-height: 1; }

.dnav, .site-header__actions { display: none; }
.dnav__list { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.dnav__item { position: relative; }
.dnav__link {
  position: relative; display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; padding: .5rem .7rem;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; border-radius: var(--r-sm);
  cursor: pointer; list-style: none;
}
.dnav__link::-webkit-details-marker { display: none; }
.dnav__link::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .35rem; height: 2px; border-radius: 2px;
  background: var(--pine); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.dnav__link:hover { color: var(--ink); text-decoration: none; }
.dnav__link:hover::after, .dnav__group[open] > .dnav__link::after { transform: scaleX(1); }
.dnav__link[aria-current="page"]::after, .dnav__link.is-current::after { transform: scaleX(1); background: var(--scale-gradient); }
.dnav__chev { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.dnav__group[open] .dnav__chev { transform: rotate(180deg); }
.dnav__menu {
  position: absolute; top: calc(100% + .5rem); left: 0; min-width: 19rem; z-index: 50;
  list-style: none; margin: 0; padding: .5rem; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lift);
}
.dnav__group[open] .dnav__menu { animation: menu-in .22s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.dnav__menu-link { display: block; padding: .65rem .85rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; transition: background-color .15s var(--ease), color .15s var(--ease); }
.dnav__menu-link:hover { background: var(--pine-50); color: var(--pine-700); text-decoration: none; }
.dnav__menu-link[aria-current="page"] { font-weight: 650; color: var(--pine-700); }
.site-header__actions { align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--pine); }
.header-phone:hover { color: var(--pine-700); }

/* Mobile menu (details/summary: works without JS) */
.mnav { position: static; }
.mnav__toggle {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem 1rem;
  border: 1.5px solid rgba(15, 29, 43, .2); border-radius: 999px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .95rem; background: var(--bg);
}
.mnav__toggle::-webkit-details-marker { display: none; }
.mnav__close { display: none; }
.mnav[open] .mnav__open { display: none; }
.mnav[open] .mnav__close { display: block; }
.mnav__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift);
  padding: .5rem var(--gutter) 1.5rem;
}
.mnav[open] .mnav__panel { animation: menu-in .25s var(--ease-out); }
.mnav__heading { margin: 1rem 0 .25rem; font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__list--flat { margin-top: 1rem; }
.mnav__link { display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 550; border-bottom: 1px solid var(--line); }
.mnav__link[aria-current="page"] { color: var(--pine-700); font-weight: 700; }
.mnav__contact { display: grid; gap: .6rem; margin-top: 1.25rem; }

@media (min-width: 1100px) {
  .dnav { display: block; margin-inline: auto; }
  .site-header__actions { display: flex; }
  .mnav { display: none; }
  .brand { margin-right: 0; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .header-phone span { display: none; }
  .dnav__link { padding-inline: .55rem; }
  .dnav__link::after { left: .55rem; right: .55rem; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: clamp(1rem, .6rem + 1vw, 1.75rem); font-size: var(--fs-sm); color: var(--ink-3); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .1rem .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after { content: ""; width: 5px; height: 5px; margin-left: .5rem; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--pine); text-decoration: underline; }

/* ---------- Generic sections ---------- */
.section { padding-block: var(--section); }
.section--flush { padding-top: 0; }
.section--tint { background: var(--mist); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p:last-child { color: var(--ink-2); font-size: var(--fs-lead); margin-bottom: 0; }
.section-foot { margin-top: 2.5rem; }

/* Eyebrow: short sentence-case label */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font-size: .95rem; font-weight: 650; color: var(--pine);
}

.split { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(3rem, 1rem + 4vw, 6.5rem); }
  .split--media { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; }
}
.split__media .frame { box-shadow: var(--shadow); }
@media (max-width: 959px) { .split__media .frame--tall { aspect-ratio: 4 / 3; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: .65rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--pine-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5E4E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Home hero ----------
   The photo runs the full width of the viewport and, with the header, fills 80% of its height.
   On it: the Aljoša chip top right and the copy (white, over a scrim); an arrow at the bottom
   centre invites scrolling. Right under the photo: the interactive energy scale across the
   full container width, then the stats. */
.hero { position: relative; }
.hero__stage { position: relative; isolation: isolate; display: grid; min-height: calc(80svh - var(--header-h)); }
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { object-position: 46% 45%; }
.hero__stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 17, 25, .62) 0%, rgba(6, 17, 25, .74) 55%, rgba(6, 17, 25, .82) 100%);
}
.hero__inner { display: grid; grid-template-rows: auto 1fr; gap: 2rem; padding-block: 1.5rem 5.5rem; }
.hero__copy { display: grid; gap: 1.15rem; align-self: center; max-width: 44rem; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); max-width: 17ch; margin: 0; letter-spacing: -0.04em; line-height: 1.02; }
.hero__lead { color: rgba(255, 255, 255, .9); font-size: 1.02rem; line-height: 1.6; max-width: 36rem; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .35rem; }
.hero .btn--outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .6); --btn-bg: rgba(255, 255, 255, .06); }
.hero .btn--outline .icon { color: var(--pine-300); }
.hero .btn--outline:hover { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--ink); color: var(--ink); }
.hero .btn--outline:hover .icon { color: var(--pine); }
.hero__copy :focus-visible, .hero__scroll:focus-visible { outline-color: #fff; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.trust-list li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 550; font-size: .92rem; line-height: 1.4; color: #fff; }
.trust-list .icon { color: var(--pine-300); flex: none; }
@media (max-width: 699px) { .hero__actions .btn { width: 100%; } }
@media (min-width: 700px) { .trust-list { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 1.1rem; } }

/* Aljoša chip: solid, top right on the photo */
.hero__expert {
  position: relative; isolation: isolate; justify-self: end; align-self: start;
  display: flex; align-items: center; gap: .9rem; padding: .5rem 1.4rem .5rem .5rem; border-radius: 999px;
  background: #fff; box-shadow: 0 12px 32px -14px rgba(6, 17, 25, .55);
}
.hero__expert-photo { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.hero__expert-photo img { object-position: 50% 15%; }
.hero__expert-text { margin: 0; display: grid; line-height: 1.25; }
.hero__expert-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink); }
.hero__expert-role { font-size: .85rem; color: var(--ink-2); }
.hero__expert-phone { display: inline-flex; align-items: center; gap: .4rem; min-height: 30px; font-weight: 700; font-size: 1.05rem; color: var(--pine-700); text-decoration: none; white-space: nowrap; }
.hero__expert-phone .icon { width: 1.05rem; height: 1.05rem; }
.hero__expert-phone:hover { text-decoration: underline; }
.hero__expert-phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole chip is the target */

/* Scroll cue */
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.25rem; translate: -50% 0;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .55);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.hero__scroll:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Energy scale band, right under the photo */
.hero__scale { padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.hero__scale-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; margin-bottom: .5rem; }
.hero__scale-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); letter-spacing: -0.015em; margin: 0; }
.hero__scale-sub { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }

/* Stats: under the scale */
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 60rem; margin: 0 auto; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) 0; list-style: none;
}
.stats__item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 .75rem; min-width: 0; }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.3rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.stats__label { color: var(--ink-2); margin-top: .4rem; font-size: clamp(.8rem, .76rem + .2vw, .9rem); line-height: 1.3; }

@media (max-width: 599px) {
  .hero__expert { gap: .7rem; padding-right: 1.1rem; }
  .hero__expert-photo { width: 60px; height: 60px; }
}
@media (min-width: 1100px) {
  .hero__stage::before {
    background:
      linear-gradient(90deg, rgba(6, 17, 25, .86) 0%, rgba(6, 17, 25, .74) 34%, rgba(6, 17, 25, .3) 58%, rgba(6, 17, 25, .12) 100%),
      linear-gradient(0deg, rgba(6, 17, 25, .4), rgba(6, 17, 25, 0) 28%);
  }
  .hero__inner { padding-block: 2rem 6rem; }
}

/* ---------- Energy scale ---------- */
.scale__caption { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.5; }
.scale__caption a { font-weight: 650; }

/* Certificate style (inc/components/energy_scale.php)
   As printed on a Slovenian energy certificate: one bar A1→G, class limits underneath, a thin
   colour strip below. Colours follow the certificate, not the --c-* tokens. */
.cscale {
  --k-a: #1E8B3B; --k-b: #4EA945; --k-c: #9CCB46; --k-d: #F3E23A; --k-e: #F5B234; --k-f: #EE7A30; --k-g: #E2392C;
  margin: 0; font-variant-numeric: tabular-nums;
}
.cscale__bar, .cscale__ticks, .cscale__ref { display: grid; grid-template-columns: var(--cols); }
.cscale__bar { list-style: none; margin: 0; padding: 0; height: clamp(38px, 2rem + 1vw, 48px); border-radius: 3px; overflow: hidden; }
.cscale__seg {
  position: relative; display: flex; align-items: center; justify-content: center; min-width: 0;
  background: var(--clr); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(.78rem, .62rem + .55vw, 1.05rem); letter-spacing: -0.03em;
}
.cscale--a1 { --clr: var(--k-a); } .cscale--a2 { --clr: var(--k-a); }
.cscale--b1 { --clr: var(--k-b); } .cscale--b2 { --clr: var(--k-b); }
.cscale--c { --clr: var(--k-c); } .cscale--d { --clr: var(--k-d); } .cscale--e { --clr: var(--k-e); }
.cscale--f { --clr: var(--k-f); } .cscale--g { --clr: var(--k-g); }
.cscale__seg.cscale--a2, .cscale__seg.cscale--b2 { box-shadow: inset 1px 0 rgba(15, 29, 43, .22); } /* same colour as the class before */
.cscale__ticks { margin: .45rem 0 .35rem; font-size: .72rem; line-height: 1; color: var(--ink-2); }
.cscale__ticks > span { position: relative; display: flex; justify-content: space-between; min-width: 0; white-space: nowrap; }
.cscale__ticks > span + span { transform: translateX(-.35em); } /* number sits on the boundary */
.cscale__end { margin-left: auto; transform: translateX(.1em); }
@media (max-width: 599px) { .cscale__ticks { font-size: .6rem; letter-spacing: -.03em; } .cscale__end { transform: none; } }
.cscale__ref { height: 10px; border-radius: 2px; overflow: hidden; }
.cscale__ref > span { background: var(--clr); }
/* Pointer and reading above the bar (shown by site.js) */
.cscale__read { position: relative; height: 2.6rem; }
.cscale__label {
  position: absolute; left: 0; bottom: 14px; white-space: nowrap; font-size: .95rem; color: var(--ink);
  transform: translateX(var(--lx, 0px)); font-variant-numeric: tabular-nums;
}
.cscale__cls { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.03em; vertical-align: -0.08em; margin: 0 .1rem; }
.cscale__ptr {
  position: absolute; bottom: 0; left: 0; width: 16px; height: 12px; margin-left: -8px; background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateX(var(--px, 0px));
}
.cscale.is-moving .cscale__label, .cscale.is-moving .cscale__ptr { transition: transform .3s var(--ease-out); }
.cscale__track { position: relative; }
.cscale__slider { position: absolute; inset: -16px 0 0; cursor: pointer; touch-action: pan-y; border-radius: 6px; }
.cscale__slider:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cscale.is-dragging .cscale__slider { cursor: grabbing; }
.cscale__seg::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .6); opacity: 0; pointer-events: none; }
.prose .cscale { margin: 2rem 0; padding: 1.5rem; background: var(--mist); border-radius: var(--r-lg); }

/* ---------- Home: facts ---------- */
.facts { display: grid; gap: 1rem; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact {
  position: relative; padding: 1.5rem 1.5rem 1.35rem; background: var(--mist); border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.fact::before { content: ""; display: block; width: 2.25rem; height: 4px; border-radius: 2px; background: var(--pine); margin-bottom: 1.1rem; }
.fact:hover { background: var(--bg); box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.fact h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.fact p { font-size: .97rem; color: var(--ink-2); margin: 0; }
.fact--warn::before { background: linear-gradient(90deg, var(--c-e), var(--c-g)); }
.fact--warn h3 { color: var(--warn); }

/* ---------- Home: services ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.service {
  --accent: var(--c-a1);
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service--b { --accent: var(--c-a2); }
.service--c { --accent: var(--c-b2); }
.service--d { --accent: var(--c-c); }
.service--e { --accent: var(--c-e); }
.service--f { --accent: var(--c-f); }
.service__media { position: relative; }
.service__media .photo { aspect-ratio: 16 / 10; }
.service__media .photo img { transition: transform .6s var(--ease-out); }
.service__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); }
.service__chip { position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; box-shadow: 0 8px 20px -10px rgba(15, 29, 43, .45); }
.service__icon { width: 1.5rem; height: 1.5rem; color: var(--pine-700); }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.service__title { font-size: 1.3rem; margin-bottom: .5rem; }
.service__title a { color: var(--ink); text-decoration: none; }
.service__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); z-index: 3; }
.service p { color: var(--ink-2); font-size: .98rem; }
.service__more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--pine); font-size: .95rem; }
.service__more .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service:hover .service__media .photo img { transform: scale(1.05); }
.service:hover .service__more .icon { transform: translateX(4px); }
.service:focus-within { outline: 3px solid var(--pine); outline-offset: 3px; }
.service__title a:focus-visible { outline: none; }

/* ---------- Home: process (the one dark section) ---------- */
.section--ink { background: var(--ink); color: #DCE3EA; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: var(--pine-300); }
.section--ink a:hover { color: #fff; }
.section--ink .eyebrow { color: var(--pine-300); }
.section--ink .section-head p:last-child { color: #C3CCD6; }
.process-head { display: grid; gap: 2rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.process-head .section-head { margin-bottom: 0; }
.process-head__photo { aspect-ratio: 16 / 10; }
@media (min-width: 960px) {
  .process-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 5vw, 6rem); align-items: end; }
}
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.process__step { position: relative; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.process__step::before {
  content: ""; position: absolute; top: -2px; left: 0; height: 3px; width: 100%; border-radius: 2px;
  background: var(--scale-gradient); background-size: 500% 100%; background-position: calc(var(--i) * 25%) 0;
  transform-origin: left; transform: scaleX(.18);
  transition: transform .9s var(--ease-out) calc(var(--i) * 120ms + 200ms);
}
.process__step.is-revealed::before, .no-js .process__step::before { transform: scaleX(1); }
.process__no { display: block; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--pine-300); margin-bottom: .9rem; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.process__title { font-size: 1.2rem; margin-bottom: .5rem; }
.process__step p { color: #C3CCD6; font-size: .97rem; margin: 0; }

/* ---------- Home: price ---------- */
.quote-box {
  position: relative; border-radius: var(--r-xl); padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); overflow: hidden; isolation: isolate;
  background: var(--mist);
}
.quote-box::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 100% 0%, rgba(98, 176, 74, .35), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(242, 210, 27, .3), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(238, 138, 33, .22), transparent 70%);
}
.quote-box__glass { border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2rem); }
.quote-box h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -0.025em; }
.quote-box p { color: var(--ink-2); }
.quote-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin: 1.5rem 0 0; }

/* ---------- Home: expert ---------- */
.expert-card { position: relative; max-width: 27rem; width: 100%; justify-self: center; padding-bottom: 6.25rem; }
@media (min-width: 960px) { .expert-card { justify-self: end; margin-right: clamp(0rem, 4vw, 3rem); } }
.expert-card__photo { aspect-ratio: 4 / 5; border-radius: var(--r-xl); box-shadow: var(--shadow-lift); }
.expert-card .photo--aljosa img { object-position: 50% 0%; transition: transform .8s var(--ease-out); } /* full head with air above it */
.expert-card__img { display: block; width: 100%; height: auto; border-radius: var(--r-xl); }
.expert-card:hover .expert-card__photo img { transform: scale(1.03); }
.expert-card__plate { position: absolute; left: 1.5rem; right: -1rem; bottom: 0; border-radius: var(--r-lg); padding: 1.15rem 1.35rem; }
@media (max-width: 599px) { .expert-card__plate { left: .75rem; right: .75rem; } }
.expert-card__initials {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: 2rem 2rem 9rem; border-radius: 50%;
  background: var(--pine); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
}
.expert-card__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; margin: 0; letter-spacing: -0.025em; line-height: 1.15; }
.expert-card__role { color: var(--ink-2); margin: .1rem 0 .6rem; font-size: .95rem; }
.expert-card__phone { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; text-decoration: none; color: var(--pine-700); letter-spacing: -0.02em; }
.expert-card__phone .icon { width: 1.35rem; height: 1.35rem; }
.expert-card__phone:hover { color: var(--pine); text-decoration: underline; text-decoration-thickness: 2px; }
.expert-card__note { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq__title { margin-bottom: 1.5rem; }
.faq__list { display: grid; gap: .6rem; }
.faq__item { border-radius: var(--r); background: var(--mist); transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq__item[open] { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px;
  padding: 1.05rem 1.25rem; cursor: pointer; list-style: none; border-radius: var(--r);
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.3;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--pine-700); }
.faq__icon { flex: none; width: 2rem; height: 2rem; padding: .4rem; border-radius: 50%; background: var(--bg); color: var(--pine); transition: transform .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--pine); color: #fff; }
.faq__a { padding: 0 1.25rem 1.2rem; color: var(--ink-2); max-width: 44rem; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__more { margin-top: 1.5rem; }
.js .faq__item[open] .faq__a { animation: faq-open .32s var(--ease-out); }
.faq__item.is-closing .faq__a { animation: faq-close .2s var(--ease) forwards; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }
@keyframes faq-close { to { opacity: 0; transform: translateY(-6px); } }
.prose .faq { margin-top: 3rem; }

/* ---------- CTA band: a rounded pine panel inside the grid ---------- */
.cta-band { padding: 0 0 var(--section); }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 1.75rem; align-items: center;
  padding: clamp(2rem, 1.25rem + 3vw, 4rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  background: var(--pine); color: #fff; border-radius: var(--r-xl);
  max-width: calc(1460px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); margin-inline: auto;
}
.cta-band__inner::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(98, 176, 74, .55), transparent); filter: blur(20px);
}
.cta-band__inner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--scale-gradient); }
.cta-band h2 { color: #fff; font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.6rem); margin-bottom: .5rem; }
.cta-band p { margin: 0; color: #D7EBE3; max-width: 40rem; font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band :focus-visible { outline-color: #fff; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 3rem; } }
@media (max-width: 699px) { .cta-band__actions .btn { width: 100%; } }
.cta-band .container { padding-inline: clamp(1.5rem, 1rem + 3vw, 4rem); }

/* ---------- Page head (inner pages): title + lead, photo beside it ---------- */
.page-head { padding: clamp(1.25rem, .75rem + 1.5vw, 2.25rem) 0 clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.page-head__grid { display: grid; gap: 2rem; }
.page-head__text { max-width: 50rem; }
.page-head__title { font-size: var(--fs-h1); margin-bottom: 1rem; }
.page-head__meta { color: var(--ink-3); font-size: var(--fs-sm); }
.page-head .lead { font-size: var(--fs-lead); color: var(--ink-2); margin: 0; }
.page-head__photo { aspect-ratio: 16 / 10; border-radius: var(--r-xl); box-shadow: var(--shadow-lift); }
@media (min-width: 900px) {
  .page-head--photo .page-head__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
  .page-head__photo { aspect-ratio: 5 / 4; }
}
@media (min-width: 1100px) { .page-head__photo { aspect-ratio: 4 / 3; } }

.prose { padding-bottom: var(--section); }
.prose h2 { font-size: clamp(1.55rem, 1.25rem + 1vw, 2.1rem); margin-top: 2.75rem; }
.prose h3 { margin-top: 2rem; }
.prose > h2:first-child { margin-top: 0; }
.prose ul:not(.ticks), .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose__portrait { margin: .5rem 0 1.5rem; }
.prose__portrait .frame { border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (min-width: 760px) {
  .prose__portrait { float: right; width: 42%; max-width: 300px; margin: .4rem 0 1.25rem 2rem; }
}
.prose h2 { clear: none; }
.link-list { padding-left: 1.25rem; }
.link-list li { margin-bottom: .5rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Blog list */
.post-list { list-style: none; margin: 0; padding: 0 0 var(--section); display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card__media .photo { aspect-ratio: 16 / 10; }
.post-card__media img { transition: transform .6s var(--ease-out); }
.post-card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-size: 1.3rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card:hover .post-card__title a { color: var(--pine-700); }
.post-card p { color: var(--ink-2); margin-bottom: .75rem; }
.post-card__meta { margin-top: auto; font-size: var(--fs-sm); color: var(--ink-3); }
.post-card:focus-within { outline: 3px solid var(--pine); outline-offset: 3px; }
.post-card__title a:focus-visible { outline: none; }

/* Contact page */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.25fr 1fr 1fr; } }
.contact-card { background: var(--mist); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.contact-card h2 { font-size: 1.3rem; }
.contact-card--main { background: var(--pine); color: #fff; }
.contact-card--main h2 { color: #fff; }
.contact-card--main a { color: #fff; }
.contact-card--main .contact-card__note { color: #D7EBE3; }
.contact-card__phone a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); text-decoration: none; letter-spacing: -0.02em; }
.contact-card__phone a:hover { text-decoration: underline; }
.contact-card__note { color: var(--ink-3); font-size: var(--fs-sm); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .6rem; align-items: center; min-height: 44px; }
.contact-list .icon { color: var(--pine); }
.contact-more { padding-top: var(--section); }
.nap { line-height: 1.7; }

/* ---------- Inquiry form ---------- */
.section--form { padding-block: 0 var(--section); }
.form-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2.5rem, 4vw, 5rem); } }
.inquiry { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lift); padding: clamp(1.25rem, .9rem + 1.6vw, 2.5rem); }
.page-povprasevanje .form-layout__form { position: relative; isolation: isolate; }
.page-povprasevanje .form-layout__form::before {
  content: ""; position: absolute; z-index: -1; inset: -2rem -1rem auto auto; width: 70%; height: 60%;
  background: radial-gradient(closest-side, rgba(98, 176, 74, .25), transparent), radial-gradient(closest-side at 30% 70%, rgba(242, 210, 27, .2), transparent);
  filter: blur(14px);
}
/* Home: the form panel is glass over the Ljubljana photo; the aside reads white on a scrim */
.form-layout--photo { position: relative; isolation: isolate; padding-block: clamp(1.25rem, .5rem + 3vw, 4.5rem); }
.form-layout__bg { position: absolute !important; z-index: -1; inset: 0 var(--gutter); border-radius: var(--r-xl); }
.form-layout__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 30, .55), rgba(8, 22, 30, .78)); }
.form-layout--photo .form-layout__form, .form-layout--photo .contact-aside { margin-inline: clamp(.75rem, .25rem + 2vw, 3.5rem); }
.form-layout--photo .eyebrow { color: #fff; }
.form-layout--photo .inquiry { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .97); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .form-layout--photo .inquiry { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
}
.form-layout--photo .contact-aside { color: #fff; }
.form-layout--photo .contact-aside a { color: #fff; }
.form-layout--photo .contact-aside__note, .form-layout--photo .contact-aside__coverage { color: #E4ECEF; }
.form-layout--photo .contact-aside__list { border-top-color: rgba(255, 255, 255, .3); }
.form-layout--photo .contact-aside .icon { color: var(--pine-300); }
.form-layout--photo :focus-visible { outline-color: #fff; }
.form-layout--photo .inquiry :focus-visible { outline-color: var(--pine); }
@media (min-width: 1000px) { .form-layout--photo .contact-aside { padding-top: 3.25rem; } }

.inquiry__title { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem); margin-bottom: .45rem; }
.inquiry__paused-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (max-width: 699px) { .inquiry__paused-actions .btn { width: 100%; } }
.inquiry__intro { color: var(--ink-2); margin-bottom: .5rem; }
.inquiry__legend-note { font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: 1.5rem; }
.inquiry__note { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; color: var(--ink-2); font-size: .95rem; }
.inquiry__note .icon { color: var(--pine); }
.inquiry__alert, .inquiry__fail {
  border-radius: var(--r); padding: 1rem 1.15rem; margin-bottom: 1.25rem;
  background: var(--error-bg); color: #6E1A12; border: 1px solid #F1C4BC;
}
.inquiry__fail a, .inquiry__alert a { color: #6E1A12; font-weight: 650; }

.progress { display: flex; gap: .6rem; list-style: none; margin: 0 0 1.75rem; padding: 0; }
.progress__item {
  position: relative; flex: 1; display: flex; align-items: center; gap: .55rem; padding-top: .85rem;
  color: var(--ink-2); font-weight: 600; font-size: .95rem;
}
.progress__item::before, .progress__item::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--line); }
.progress__item::after { background: var(--pine); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.progress__item.is-current::after, .progress__item.is-done::after { transform: scaleX(1); }
.progress__dot {
  display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: .85rem; font-weight: 700; flex: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.progress__item.is-current, .progress__item.is-done { color: var(--ink); }
.progress__item.is-current .progress__dot { background: var(--pine); border-color: var(--pine); color: #fff; }
.progress__item.is-done .progress__dot { background: var(--pine-50); border-color: var(--pine); color: var(--pine-700); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step + .step { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.js .is-stepped .step + .step { margin-top: 0; padding-top: 0; border-top: 0; }
.step__legend { font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; margin-bottom: 1.1rem; padding: 0; }
.step__no { color: var(--ink-2); font-weight: 500; font-family: var(--font-body); font-size: .95rem; }
.js .is-stepped .step__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.step__nav { margin-top: 1.5rem; }
.step__submit { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.step--enter { animation: step-in .38s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }
.step--enter-back { animation: step-in-back .38s var(--ease-out); }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-16px); } }

.field { margin: 0 0 1.2rem; border: 0; padding: 0; min-width: 0; }
.field__label { display: block; font-weight: 650; margin-bottom: .4rem; padding: 0; font-size: .98rem; transition: color .2s var(--ease); }
.field:focus-within > .field__label { color: var(--pine-700); }
.field__req { color: var(--error); }
.field__opt { font-weight: 400; color: var(--ink-2); font-size: .9rem; }
.field__hint { font-size: .88rem; color: var(--ink-2); margin: -.1rem 0 .5rem; line-height: 1.5; }
.field__error { color: var(--error); font-size: .9rem; font-weight: 550; margin: .35rem 0 0; }
.field__error:not(:empty) { animation: err-in .25s var(--ease-out); }
@keyframes err-in { from { opacity: 0; transform: translateY(-3px); } }
.field__error:empty { display: none; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem;
  border: 1.5px solid var(--line-input); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { resize: vertical; min-height: 7.5rem; }
input::placeholder, textarea::placeholder { color: var(--placeholder); opacity: 1; }
input:hover, textarea:hover { border-color: var(--ink-3); }
input:focus, textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(14, 94, 78, .2); }
[aria-invalid="true"] { border-color: var(--error) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .18) !important; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 640px) { .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__body {
  display: flex; flex-direction: column; gap: .5rem; height: 100%; min-height: 5.4rem; padding: .85rem .9rem;
  border: 1.5px solid var(--line-input); border-radius: var(--r); background: #fff;
  font-weight: 600; font-size: .95rem; line-height: 1.3;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.choice__icon { width: 1.6rem; height: 1.6rem; color: var(--ink-3); transition: color .2s var(--ease), transform .3s var(--ease); }
.choice:hover .choice__body { border-color: var(--ink-3); transform: translateY(-1px); }
.choice input:checked + .choice__body { border-color: var(--pine); background: var(--pine-50); box-shadow: inset 0 0 0 1px var(--pine); }
.choice input:checked + .choice__body .choice__icon { color: var(--pine); transform: scale(1.1); }
.choice input:focus-visible + .choice__body { outline: 3px solid var(--pine); outline-offset: 2px; }
.choice:active .choice__body { transform: scale(.98); }
.field--group[data-invalid] .choice__body, .field--group[data-invalid] .pill span { border-color: var(--error); }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.05rem;
  border: 1.5px solid var(--line-input); border-radius: 999px; background: #fff; font-weight: 550; font-size: .95rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.pill:hover span { border-color: var(--ink-3); }
.pill input:checked + span { border-color: var(--pine); background: var(--pine); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--pine); outline-offset: 2px; }

.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; line-height: 1.5; min-height: 44px; }
.check input { flex: none; width: 1.3rem; height: 1.3rem; margin: .1rem 0 0; accent-color: var(--pine); }
.field--check { margin-top: .25rem; }

.btn__spinner { display: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; }
.is-loading .btn__spinner { display: inline-block; animation: spin .8s linear infinite; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.inquiry__success { text-align: left; padding: .5rem 0; }
.inquiry__success:focus { outline: none; }
.inquiry__success-icon { width: 3.5rem; height: 3.5rem; padding: .75rem; border-radius: 50%; background: var(--pine); color: #fff; margin-bottom: 1.25rem; box-shadow: 0 0 0 8px var(--pine-50); }
.js .inquiry__success:not([hidden]) { animation: step-in .45s var(--ease-out); }
.js .inquiry__success:not([hidden]) .inquiry__success-icon { animation: pop .55s var(--ease-out) .1s both; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.12); } }

.contact-aside { padding: .5rem 0; }
.contact-aside__title { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.contact-aside__phone a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); text-decoration: none; letter-spacing: -0.025em; }
.contact-aside__phone a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-aside__phone .icon { width: 1.5rem; height: 1.5rem; }
.contact-aside__note { color: var(--ink-2); margin-top: -.5rem; }
.contact-aside__list { list-style: none; margin: 1.5rem 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); }
.contact-aside__list li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .75rem; }
.contact-aside__list .icon, .contact-aside__coverage .icon { color: var(--pine); margin-top: .2rem; }
.contact-aside__coverage { display: flex; gap: .65rem; color: var(--ink-2); }
.contact-aside__small { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 1000px) {
  .page-povprasevanje .contact-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 2rem; background: var(--mist); border-radius: var(--r-xl); }
}

/* ---------- Footer (modelled on significa.si) ---------- */
.site-footer {
  color: #fff; font-size: .875rem; line-height: 1.5rem; margin-top: 0;
  background-color: var(--pine);
}
.site-footer a, .site-footer .linklike {
  color: #fff; text-decoration: none; border-bottom: 1px dotted rgba(255, 255, 255, 0);
  transition: border-color .3s cubic-bezier(.165, .84, .44, 1);
}
@media (hover: hover) {
  .site-footer a:hover, .site-footer .linklike:hover { color: #fff; text-decoration: none; border-bottom-color: rgba(255, 255, 255, .75); }
}
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__main { display: flex; padding-block: 80px; }
.site-footer__company, .site-footer__col { width: 25%; }
.site-footer__logo { display: block; width: 226px; height: auto; margin-bottom: 30px; }
.site-footer__address { display: grid; gap: 1.5rem; line-height: 1.5rem; }
.site-footer__address a { display: inline-block; }
.site-footer__col ul { list-style: none; margin: 70px 0 0; padding: 0; }
.site-footer__col li { display: flex; padding: 10px 0; }
.site-footer__col a { display: block; line-height: 1.5rem; }
.site-footer__partners { display: flex; justify-content: space-between; align-items: center; }
.site-footer__partners { position: relative; }
.site-footer__partners::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.site-footer__partners { padding-bottom: 40px; }
.site-footer__logos { display: flex; align-items: center; gap: 60px; }
.site-footer__logos img { display: block; width: auto; }
.site-footer__social { display: inline-flex !important; align-items: center; gap: 10px; min-height: 44px; }
.site-footer__social img { width: 24px; height: 24px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; padding-block: 40px; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; }
.site-footer__legal p { margin: 0; }
.site-footer__legal-links { display: flex; align-items: center; flex-wrap: wrap; }
.site-footer__sep { padding: 0 20px; opacity: .4; }
.site-footer__credit { display: inline-flex !important; align-items: center; }
.site-footer__credit img { display: block; width: 80px; height: auto; margin-left: 8px; }
@media (max-width: 1023px) {
  .site-footer__main { flex-direction: column; padding-block: 60px; text-align: center; }
  .site-footer__company, .site-footer__col { width: 100%; }
  .site-footer__logo { width: 180px; margin: 0 auto 30px; }
  .site-footer__col ul { margin: 0; }
  .site-footer__col li { justify-content: center; padding: 6px 0; }
  .site-footer__col a { padding: 4px 0; }
  .site-footer__col { padding-top: 20px; margin-top: 20px; }
  .site-footer__partners, .site-footer__logos { flex-direction: column; }
  .site-footer__partners { padding-top: 40px; }
  .site-footer__partners::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  .site-footer__logos { gap: 20px; }
  .site-footer__logos img { transform: scale(.8); }
  .site-footer__social { margin-top: 40px; }
  .site-footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .site-footer__legal { flex-direction: column; }
  .site-footer__legal-links { justify-content: center; margin-top: 20px; }
  .site-footer__legal-links > .site-footer__sep:first-child { display: none; }
  .site-footer__sep { padding: 0 10px; }
  .site-footer__credit { margin-top: 40px; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr auto; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(15, 29, 43, .4);
  transition: transform .3s var(--ease), visibility .3s;
}
.mobile-bar .btn { min-height: 48px; }
.form-in-view .mobile-bar { transform: translateY(110%); visibility: hidden; }
/* room for the bar at the end of the page, in the footer's colour */
.site-footer { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
.page-povprasevanje .mobile-bar { display: none; }
.page-povprasevanje .site-footer { padding-bottom: 0; }
@media (min-width: 1100px) {
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 0; }
}

/* ---------- Consent banner (only rendered when GA4 is configured) ---------- */
.consent { position: fixed; z-index: 60; left: var(--gutter); right: var(--gutter); bottom: calc(5rem + env(safe-area-inset-bottom)); }
.consent__inner { max-width: 34rem; margin-left: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); padding: 1.25rem; }
.consent__title { font-size: 1.1rem; }
.consent p { font-size: .94rem; color: var(--ink-2); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (min-width: 1100px) { .consent { bottom: 1.5rem; } }

/* ---------- Motion ----------
   Everything here is opacity/transform, 150–900 ms, and only when motion is allowed. Initial
   hidden states hang off classes that site.js adds, so the page is complete without JS. */
@media (prefers-reduced-motion: no-preference) {
  /* One-shot scroll reveal (site.js sets data-reveal + --reveal-i, then .is-revealed) */
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--reveal-i, 0) * 80ms); }
  .js [data-reveal].is-revealed { opacity: 1; transform: none; }

  /* Energy scale draws in from the left, then one soft highlight sweeps A1 → G and ends on nothing */
  .js [data-scale]:not(.is-revealed) .cscale__bar, .js [data-scale]:not(.is-revealed) .cscale__ref { clip-path: inset(0 100% 0 0); }
  .js [data-scale]:not(.is-revealed) .cscale__ticks { opacity: 0; }
  .js [data-scale] .cscale__bar, .js [data-scale] .cscale__ref { transition: clip-path .9s var(--ease-out) .2s; }
  .js [data-scale] .cscale__ticks { transition: opacity .5s var(--ease) .7s; }
  .js [data-scale].is-revealed .cscale__seg::after { animation: sweep .55s var(--ease) calc(var(--i) * 85ms + 1s) both; }
  @keyframes sweep { 0% { opacity: 0; } 45% { opacity: .65; } 100% { opacity: 0; } }

  /* Home hero: one orchestrated entrance on load */
  /* copy only moves (no fade), so the LCP text paints immediately */
  .js .hero__copy > * { animation: settle .7s var(--ease-out) both; }
  .js .hero__lead { animation-delay: .08s; }
  .js .hero__actions { animation-delay: .16s; }
  .js .trust-list { animation-delay: .22s; }
  .js .hero__expert { animation: rise .6s var(--ease-out) .55s both; }
  .hero__scroll svg { animation: nudge 2.2s var(--ease) 1.5s infinite; }
  @keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(6px); } }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes settle { from { transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .process__step::before { transform: none; }
}

@media print {
  .site-header, .mobile-bar, .cta-band, .consent, .inquiry, .hero__photo, .hero__expert, .hero__scroll, .site-footer__partners { display: none !important; }
  body { padding: 0; background: #fff; }
  .hero__stage::before { display: none; }
  .hero__title, .hero__lead, .trust-list li { color: #000 !important; }
  .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
}

/* ---------- Small-screen refinements for the form ---------- */
@media (max-width: 699px) {
  .form-layout--photo .form-layout__form, .form-layout--photo .contact-aside { margin-inline: .5rem; }
  .form-layout--photo .contact-aside { padding: 0 .75rem 1rem; }
  .inquiry { padding: 1.25rem 1rem; border-radius: var(--r-lg); }
  .choice__body { padding: .75rem .7rem; font-size: .9rem; }
  .choice__body > span { overflow-wrap: anywhere; hyphens: auto; }
  .step__nav .btn, .step__submit .btn--primary { width: 100%; }
}
