/* ========================================================================
   Eko Rešitve — eko.css
   Vanilla CSS for static site (eko-resitve.si)
   Brand (po logotipu): teal (#00917E) + lime (#D2D629) + cyan (#1DBBE2) + deep teal (#0B4A44)
   Fonts: Poppins (headings) + Inter (body), self-hosted woff2
   ======================================================================== */

/* ---------- Fonts ---------- */
@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+2074, 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-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, 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+2074, 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-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, 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+2074, 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-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../../fonts/poppins-700-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+2074, 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: 700; font-display: swap;
  src: url("../../fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../../fonts/inter-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  --c-primary: #0B4A44;
  --c-primary-2: #073833;
  --c-primary-3: #0E5C53;
  --c-accent: #00917E;
  --c-accent-2: #19B89E;
  --c-accent-soft: #E1F3F0;
  --c-solar: #AEB80F;
  --c-solar-2: #D2D629;
  --c-solar-soft: #F3F6D5;
  --c-cyan: #1DBBE2;
  --c-cyan-dark: #0E8FB0;
  --c-cyan-soft: #E3F6FB;
  --c-gold: #EAB308;

  --c-bg: #FFFFFF;
  --c-bg-soft: #EEF6F4;
  --c-bg-cream: #F5FAF9;
  --c-text: #152320;
  --c-text-muted: #586A66;
  --c-heading: #0B4A44;
  --c-border: #E1ECEA;
  --c-border-strong: #CBDEDA;
  --c-border-dark: rgba(255,255,255,.14);

  --ff-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1320px;
  --maxw-wide: 1440px;
  --maxw-narrow: 780px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --transition: 220ms cubic-bezier(.2,.7,.2,1);
  --header-h: 74px;

  --shadow-sm: 0 1px 2px rgba(11,74,68,.06), 0 1px 3px rgba(11,74,68,.05);
  --shadow-md: 0 10px 30px rgba(11,74,68,.08);
  --shadow-lg: 0 24px 60px rgba(11,74,68,.14);
  --shadow-green: 0 14px 34px rgba(0,145,126,.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary); }
h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  color: var(--c-heading);
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 600; color: var(--c-heading); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-primary); color: #fff;
  padding: .6rem 1rem; z-index: 9999; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: var(--maxw-wide); }
.container.narrow { max-width: var(--maxw-narrow); }
.container.center { text-align: center; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-soft { background: var(--c-bg-soft); }
.section-cream { background: var(--c-bg-cream); }
.section-dark { background: var(--c-primary); color: #d9e7e0; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head); font-weight: 600;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: #007a69; margin: 0 0 .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-solar));
}
.eyebrow.center { justify-content: center; }
/* na temnih sekcijah limeta (visok kontrast + v skladu z znamko) */
.section-dark .eyebrow { color: var(--c-solar-2); }
.section-head { max-width: 720px; margin: 0 0 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--c-text-muted); font-size: 1.06rem; margin: 0; }
.section-dark .section-head p { color: #b9cec5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  line-height: 1.1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  color: #fff; box-shadow: var(--shadow-green);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,145,126,.36); }
.btn-solar {
  background: linear-gradient(135deg, var(--c-solar-2), var(--c-solar));
  color: #2A3304; box-shadow: 0 14px 34px rgba(210,214,41,.3);
}
.btn-solar:hover { color: #2A3304; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(210,214,41,.4); }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-border-strong); }
.btn-outline:hover { color: var(--c-primary); border-color: var(--c-accent); background: var(--c-accent-soft); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--c-primary); box-shadow: var(--shadow-md); }
.btn-light:hover { color: var(--c-primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.32); }
.btn-ghost-light:hover { color: var(--c-primary); background: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row.center { justify-content: center; }

/* ========================================================================
   Header / Nav
   ======================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--transition), background var(--transition);
}
.topbar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-cyan), var(--c-solar-2));
}
.topbar.is-scrolled { box-shadow: var(--shadow-md); background: #fff; }
.topbar-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-word { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word b { font-family: var(--ff-head); margin: 0; }
.logo-word .lw-eko { font-weight: 500; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: #74767a; }
.logo-word .lw-res { font-weight: 600; font-size: 1.15rem; letter-spacing: -.005em; color: #0B4A44; }
.nav { display: flex; align-items: center; gap: .12rem; margin-left: auto; }
.nav a {
  font-family: var(--ff-head); font-weight: 500; font-size: .95rem; color: var(--c-text);
  padding: .5rem .58rem; border-radius: var(--radius-pill); position: relative; white-space: nowrap;
}
.nav a:hover { color: var(--c-primary); background: var(--c-bg-soft); }
.nav a.active { color: var(--c-primary); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 2px;
  width: 16px; height: 2px; border-radius: 2px; background: var(--c-accent);
}
.header-cta { margin-left: .3rem; }
.header-actions { display: flex; align-items: center; gap: .55rem; margin-left: .6rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--ff-head); font-weight: 600; font-size: .95rem; color: var(--c-primary); white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; color: var(--c-accent); }
.header-phone:hover { color: var(--c-accent); }
.mobile-toggle {
  display: none; margin-left: auto; background: var(--c-bg-soft); border: 1px solid var(--c-border);
  color: var(--c-primary); width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center;
}
.mobile-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none; flex-direction: column; gap: .25rem; padding: 1rem 24px 1.4rem;
  border-top: 1px solid var(--c-border); background: #fff;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-family: var(--ff-head); font-weight: 500; color: var(--c-text); padding: .8rem .4rem;
  border-bottom: 1px solid var(--c-border); font-size: 1.05rem;
}
.mobile-menu a.active { color: var(--c-accent); }
.mobile-menu .mobile-cta {
  margin-top: .9rem; border: none; justify-content: center;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent)); color: #fff;
  border-radius: var(--radius-pill); padding: .9rem 1rem; font-weight: 600; box-shadow: var(--shadow-green);
}

/* ========================================================================
   Hero
   ======================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(210,214,41,.16) 0%, rgba(210,214,41,0) 45%),
    linear-gradient(160deg, #0B4A44 0%, #0C544B 48%, #073833 100%);
  color: #e8f3ed;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem;
  border-radius: var(--radius-pill); background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); color: #d7ede2;
  font-size: .82rem; font-weight: 500; margin-bottom: 1.4rem;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--c-solar-2); }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .hl { color: var(--c-solar-2); }
.hero-lead { font-size: 1.18rem; color: #c4d8cf; max-width: 33ch; margin-bottom: 1.8rem; }
.hero .btn-row { margin-bottom: 0; }

/* Hero visual — solar/energy SVG card */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 1.6rem; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card-illu { border-radius: var(--radius); overflow: hidden; display: block; }
.hero-stat-float {
  position: absolute; background: #fff; color: var(--c-text);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .85rem 1.1rem;
  display: flex; align-items: center; gap: .7rem;
}
.hero-stat-float svg { width: 34px; height: 34px; }
.hero-stat-float b { font-family: var(--ff-head); font-weight: 700; font-size: 1.15rem; color: var(--c-primary); display: block; line-height: 1; }
.hero-stat-float span { font-size: .76rem; color: var(--c-text-muted); }
.hero-stat-1 { bottom: -22px; left: -22px; }
.hero-stat-2 { top: -20px; right: -16px; }
.hero-wave { display: block; width: 100%; height: auto; margin-bottom: -6px; }

/* Live dot on production badge */
.live-dot { width: 11px; height: 11px; border-radius: 50%; background: #22c55e; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(34,197,94,.5); }

/* ---------- Hero animated scene ---------- */
.hero-scene { width: 100%; height: auto; display: block; border-radius: var(--radius); }
@media (prefers-reduced-motion: no-preference) {
  .sun-core  { transform-box: fill-box; transform-origin: center; animation: sunBreath 5s ease-in-out infinite; }
  .sun-glow  { transform-box: fill-box; transform-origin: center; animation: sunGlow 5s ease-in-out infinite; }
  .sun-rays  { transform-box: fill-box; transform-origin: center; animation: sunSpin 80s linear infinite; }
  .sun-ray   { animation: rayPulse 3s ease-in-out infinite; }
  .beam        { stroke-dasharray: 6 9;  animation: flowMove 1.3s linear infinite; }
  .energy-line { stroke-dasharray: 5 7;  animation: flowMove 1s linear infinite; }
  .panel-shimmer { animation: shimmerMove 5s ease-in-out infinite; }
  .win-lit   { animation: winPulse 4s ease-in-out infinite; }
  .batt-cell { animation: battCharge 3s ease-in-out infinite; }
  .particle  { transform-box: fill-box; transform-origin: center; animation: particleRise 4.5s ease-in-out infinite; }
  .hero-stat-1 { animation: floatY 5s ease-in-out infinite; }
  .hero-stat-2 { animation: floatY 6s ease-in-out infinite .6s; }
  .live-dot  { animation: livePulse 1.8s ease-out infinite; }
}
@keyframes sunSpin { to { transform: rotate(360deg); } }
@keyframes sunBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes sunGlow { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .8; transform: scale(1.12); } }
@keyframes rayPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes flowMove { to { stroke-dashoffset: -30; } }
@keyframes shimmerMove { 0% { transform: translateX(-60px); } 55%,100% { transform: translateX(230px); } }
@keyframes winPulse { 0%,100% { opacity: .8; } 50% { opacity: 1; } }
@keyframes battCharge { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes particleRise { 0% { opacity: 0; transform: translateY(8px) scale(.7); } 15% { opacity: .95; } 80% { opacity: .5; } 100% { opacity: 0; transform: translateY(-46px) scale(1); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ========================================================================
   Stats / trust band
   ======================================================================== */
.stats-band { background: var(--c-bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat-card {
  text-align: center; padding: 1.8rem 1rem; border-radius: var(--radius);
  background: var(--c-bg-cream); border: 1px solid var(--c-border);
}
.stat-card .num {
  font-family: var(--ff-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--c-primary); line-height: 1; letter-spacing: -.03em;
}
.stat-card .num .unit { color: var(--c-accent); }
.stat-card .lbl { color: var(--c-text-muted); font-size: .95rem; margin-top: .5rem; }

/* Logos / partners strip */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.4rem; }
.partners span { font-family: var(--ff-head); font-weight: 600; color: #93a89e; letter-spacing: .02em; font-size: 1.05rem; }

/* ========================================================================
   Service cards
   ======================================================================== */
.cards-grid { display: grid; gap: 1.4rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 1.8rem; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-border-strong); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--c-accent-soft); color: var(--c-accent); margin-bottom: 1.1rem;
}
.card-icon.solar { background: var(--c-solar-soft); color: #767F0C; }
.card-icon.cyan { background: var(--c-cyan-soft); color: var(--c-cyan-dark); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.card p { color: var(--c-text-muted); font-size: .96rem; margin-bottom: 1rem; }
.card-link {
  margin-top: auto; font-family: var(--ff-head); font-weight: 600; font-size: .92rem;
  color: var(--c-accent); display: inline-flex; align-items: center; gap: .35rem;
}
.card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(3px); }
.card-list { list-style: none; padding: 0; margin: 0; }
.card-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; color: var(--c-text-muted); font-size: .95rem; }
.card-list li svg { width: 18px; height: 18px; color: var(--c-accent); flex-shrink: 0; margin-top: .2rem; }

/* Feature with check list */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .45rem 0; }
.check-list li svg { width: 22px; height: 22px; color: var(--c-accent); flex-shrink: 0; margin-top: .15rem; }
.check-list li strong { display: block; }
.check-list li span { color: var(--c-text-muted); font-size: .94rem; }

/* ========================================================================
   Split / feature rows
   ======================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--c-bg-soft); aspect-ratio: 4 / 3; position: relative;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.media-illu { width: 100%; height: 100%; display: block; }

/* ========================================================================
   Process steps
   ======================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; position: relative; }
.step {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 2rem 1.6rem; position: relative;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 700; font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent)); margin-bottom: 1.1rem;
  box-shadow: var(--shadow-green);
}
.step h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.step p { color: var(--c-text-muted); font-size: .96rem; margin: 0; }
.step-icon { position: absolute; top: 1.6rem; right: 1.6rem; color: var(--c-border-strong); }
.step-icon svg { width: 34px; height: 34px; }

/* ========================================================================
   Why us / values
   ======================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature {
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 1.7rem; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-border-strong); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent-soft); color: var(--c-accent);
  margin-bottom: 1.1rem; transition: transform var(--transition);
}
.feature:hover .feature-icon { transform: scale(1.07); }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.feature p { color: var(--c-text-muted); font-size: .95rem; margin: 0; }
/* Dark section — glass cards */
.section-dark .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section-dark .feature:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.section-dark .feature p { color: #b3c9bf; }
.section-dark .feature-icon { background: rgba(255,255,255,.1); color: var(--c-accent-2); }

/* ========================================================================
   References / gallery / testimonials
   ======================================================================== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative;
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-ph {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; color: #9fb6aa; text-align: center; padding: 1rem;
}
.gallery-ph svg { width: 40px; height: 40px; }
.gallery-ph span { font-size: .82rem; }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .9rem .8rem;
  background: linear-gradient(0deg, rgba(10,44,33,.85), rgba(10,44,33,0));
  color: #fff; font-family: var(--ff-head); font-weight: 500; font-size: .9rem;
}

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column;
}
.testi .stars { display: flex; gap: .15rem; color: var(--c-gold); margin-bottom: .9rem; }
.testi .stars svg { width: 18px; height: 18px; }
.testi blockquote { margin: 0 0 1.2rem; font-size: 1rem; color: var(--c-text); line-height: 1.65; }
.testi-author { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testi-author .testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem;
}
.testi-author b { font-family: var(--ff-head); font-weight: 600; font-size: .95rem; display: block; line-height: 1.2; }
.testi-author span { font-size: .82rem; color: var(--c-text-muted); }

/* ========================================================================
   CTA band
   ======================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(210,214,41,.18) 0%, rgba(210,214,41,0) 50%),
    linear-gradient(135deg, var(--c-primary-3), var(--c-primary-2));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4d8cf; max-width: 540px; margin: 0 auto 1.8rem; }
.cta-band .btn-row { justify-content: center; }
.cta-full { background: none; padding: 0; }

/* ========================================================================
   FAQ
   ======================================================================== */
.faq { max-width: none; margin: 0; }
.faq-item {
  border: 1px solid var(--c-border); border-radius: var(--radius); margin-bottom: .9rem;
  background: #fff; overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] { border-color: var(--c-border-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; font-family: var(--ff-head); font-weight: 600;
  font-size: 1.05rem; color: var(--c-heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 22px; height: 22px; flex-shrink: 0; color: var(--c-accent); transition: transform var(--transition); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: var(--c-text-muted); }
.faq-item .faq-body p { max-width: none; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-body { animation: faqReveal .32s cubic-bezier(.2,.7,.2,1); }
}
@keyframes faqReveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ========================================================================
   Forms
   ======================================================================== */
.form-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--ff-head); font-weight: 500; font-size: .9rem; color: var(--c-heading); }
.field label .req { color: var(--c-accent); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--c-text);
  padding: .8rem 1rem; border: 1.5px solid var(--c-border-strong); border-radius: var(--radius-sm);
  background: var(--c-bg-cream); transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-accent); background: #fff; box-shadow: 0 0 0 4px var(--c-accent-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--c-text-muted); margin-bottom: 1.2rem; }
.form-consent input { width: 18px; height: 18px; margin-top: .2rem; flex-shrink: 0; accent-color: var(--c-accent); }
.form-note { font-size: .84rem; color: var(--c-text-muted); margin-top: 1rem; text-align: center; }

/* Contact info cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.4rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--c-border); }
.info-list li:last-child { border-bottom: none; }
.info-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--c-accent-soft); color: var(--c-accent);
}
.info-ico svg { width: 22px; height: 22px; }
.info-list b { font-family: var(--ff-head); font-weight: 600; display: block; color: var(--c-heading); font-size: .95rem; }
.info-list a, .info-list span { color: var(--c-text-muted); }
.info-list a:hover { color: var(--c-accent); }

/* Map */
.map-holder {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border);
  aspect-ratio: 16 / 9; background: var(--c-bg-soft); position: relative;
}
.map-holder iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; text-align: center; padding: 1.5rem; }
.map-ph p { color: var(--c-text-muted); font-size: .9rem; margin: 0; max-width: 320px; }

/* ========================================================================
   Page hero (subpages)
   ======================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(210,214,41,.16) 0%, rgba(210,214,41,0) 50%),
    linear-gradient(160deg, #0B4A44 0%, #073833 100%);
  color: #d9e7e0; padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; }
.page-hero::after { content: ""; position: absolute; left: -120px; bottom: -150px; width: 420px; height: 420px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(29,187,226,.16), transparent 65%); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #bdd2c8; max-width: 56ch; font-size: 1.1rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: #9cb7ab; margin-bottom: 1rem; }
.breadcrumb a { color: #9cb7ab; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .6; }

/* Anchor offset for sticky header */
.anchor { scroll-margin-top: 100px; }

/* Prose */
.prose { max-width: var(--maxw-narrow); }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul li { margin-bottom: .4rem; }
.prose .lead { font-size: 1.18rem; color: var(--c-text-muted); }

/* Badges / chips */
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem;
  border-radius: var(--radius-pill); background: var(--c-accent-soft); color: var(--c-primary);
  font-size: .82rem; font-weight: 500; font-family: var(--ff-head);
}
.chip.solar { background: var(--c-solar-soft); color: #74800A; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Info callout */
.callout {
  display: flex; gap: 1rem; padding: 1.3rem 1.5rem; border-radius: var(--radius);
  background: var(--c-accent-soft); border: 1px solid #CFE6E0;
}
.callout svg { width: 26px; height: 26px; color: var(--c-accent); flex-shrink: 0; }
.callout.solar { background: var(--c-solar-soft); border-color: #E7ECBF; }
.callout.solar svg { color: var(--c-solar); }
.callout p { margin: 0; font-size: .96rem; }

/* ========================================================================
   Footer
   ======================================================================== */
.footer-cta-band {
  background:
    radial-gradient(100% 140% at 100% 0%, rgba(210,214,41,.16) 0%, rgba(210,214,41,0) 55%),
    linear-gradient(135deg, var(--c-accent), var(--c-primary-3));
  color: #fff; text-align: center; padding: clamp(2.6rem, 5vw, 3.4rem) 24px;
}
.footer-cta-band h2 { color: #fff; margin-bottom: .6rem; }
.footer-cta-band p { color: rgba(255,255,255,.88); max-width: 520px; margin: 0 auto 1.6rem; }
.footer-cta-band .btn-row { justify-content: center; }

.site-footer { position: relative; overflow: hidden; background: var(--c-bg-soft); color: var(--c-text-muted); border-top: 1px solid var(--c-border); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c-accent), var(--c-cyan), var(--c-solar-2)); z-index: 3; }
.footer-main { position: relative; z-index: 1; padding: clamp(2.8rem, 5vw, 4rem) 24px 1rem; }
/* Noga = enotni centriran stolpec (na vseh širinah) */
.footer-cols { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.4rem; max-width: 720px; margin: 0 auto; }
.footer-brand { display: flex; flex-direction: column; align-items: center; }
.footer-col { width: 100%; }
.footer-brand .logo-word .lw-eko { color: #74767a; font-size: .88rem; }
.footer-brand .logo-word .lw-res { color: var(--c-heading); font-size: 1.32rem; }
.footer-logo { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer-logo .logo-mark { width: 48px; height: 48px; }
.footer-tagline { color: var(--c-text-muted); font-size: .95rem; max-width: 52ch; margin: 0 auto; }
.footer-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.2rem; }
.footer-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .75rem; border-radius: 999px; background: var(--c-accent-soft); border: 1px solid var(--c-border-strong); color: var(--c-primary); font-family: var(--ff-head); font-weight: 600; font-size: .78rem; white-space: nowrap; }
.footer-badge svg { width: 13px; height: 13px; color: var(--c-accent); flex-shrink: 0; }
.footer-col h4 { color: var(--c-heading); font-family: var(--ff-head); font-size: 1rem; font-weight: 600; margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem; }
.footer-col h4::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c-accent), var(--c-solar)); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.4rem; }
.footer-links li { margin: 0; }
.footer-links a { color: var(--c-text-muted); font-size: .94rem; }
.footer-links a:hover { color: var(--c-accent); }
.footer-address { font-style: normal; color: var(--c-text-muted); font-size: .94rem; line-height: 1.7; margin-bottom: 1rem; text-align: center; }
.footer-address strong { color: var(--c-heading); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.6rem; }
.footer-contact li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.footer-contact svg { width: 17px; height: 17px; color: var(--c-accent); flex-shrink: 0; }
.footer-contact a { color: var(--c-text); font-size: .94rem; }
.footer-contact a:hover { color: var(--c-accent); }
.footer-social-band {
  display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: 1.5rem;
}
.footer-social-label { font-family: var(--ff-head); font-weight: 600; color: var(--c-heading); font-size: .9rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--c-accent-soft); color: var(--c-primary); transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--c-accent); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  margin-top: 2.4rem; padding: 1.6rem 0 0; border-top: 1px solid var(--c-border); font-size: .85rem; text-align: center;
}
.footer-copy { color: var(--c-text-muted); }
.footer-meta { display: flex; align-items: center; gap: .8rem; }
.footer-meta a { color: var(--c-text-muted); }
.footer-meta a:hover { color: var(--c-accent); }
.footer-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--c-border-strong); display: inline-block; }

/* ========================================================================
   Cookie banner
   ======================================================================== */
.cookie-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 1200; width: 48px; height: 48px;
  border-radius: 50%; border: none; background: var(--c-primary); color: #fff;
  box-shadow: var(--shadow-lg); display: none; align-items: center; justify-content: center;
}
.cookie-fab svg { width: 24px; height: 24px; }
.cookie-fab.is-visible { display: flex; }
.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 1300; max-width: 560px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.2rem 1.4rem; display: none; gap: 1rem;
  flex-direction: column; transform: translateY(12px); opacity: 0; transition: transform var(--transition), opacity var(--transition);
}
.cookie-banner.is-visible { display: flex; transform: translateY(0); opacity: 1; }
.cookie-text { font-size: .9rem; color: var(--c-text-muted); }
.cookie-text strong { color: var(--c-heading); }
.cookie-actions { display: flex; gap: .7rem; }
.cookie-actions button {
  flex: 1; padding: .65rem 1rem; border-radius: var(--radius-pill); font-family: var(--ff-head);
  font-weight: 600; font-size: .9rem; border: 1.5px solid var(--c-border-strong); background: #fff; color: var(--c-primary);
}
.cookie-accept { background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent)); border-color: transparent; color: #fff; }
.cookie-reject:hover { border-color: var(--c-accent); }

/* ========================================================================
   Utilities
   ======================================================================== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-muted { color: var(--c-text-muted); }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.divider { height: 1px; background: var(--c-border); border: none; margin: 0; }

/* ========================================================================
   Responsive
   ======================================================================== */
/* Telefon v glavi le na res širokih zaslonih (sicer je v nogi + mobilnem meniju) */
@media (max-width: 1239px) {
  .header-phone { display: none; }
}
/* Hamburger se vklopi dovolj zgodaj, da se meni nikoli ne prelije (tudi pri zoomu/skaliranju).
   Jezikovni preklopnik ostane v glavi; CTA in telefon gresta v mobilni meni. */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { display: flex; margin-left: auto; gap: .5rem; }
  .header-actions .header-phone, .header-actions .btn-primary { display: none; }
  .mobile-toggle { display: flex; margin-left: 0; }
  .lang-switch summary { padding: .58rem .72rem; }
}
@media (max-width: 1000px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-lead { max-width: none; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .steps { grid-template-columns: 1fr !important; }
  .cards-3, .cards-2 { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-stat-float { display: none; }
  .btn-row .btn { width: 100%; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}

/* ========================================================================
   Motion preferences
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Reveal on scroll — progresivno izboljšanje: skrito le, če je JS aktiven (.js).
   Brez JS so elementi normalno vidni. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ========================================================================
   WOW / modern enhancements
   ======================================================================== */

/* --- Decorative glow orbs + dot grid --- */
.section-glow { position: relative; overflow: hidden; }
.section-glow > .container { position: relative; z-index: 2; }
.orb { position: absolute; border-radius: 50%; filter: blur(72px); pointer-events: none; z-index: 0; }
.orb-lime { background: radial-gradient(circle, rgba(210,214,41,.5), transparent 68%); }
.orb-cyan { background: radial-gradient(circle, rgba(29,187,226,.5), transparent 68%); }
.orb-teal { background: radial-gradient(circle, rgba(0,145,126,.55), transparent 68%); }
.deco-dots { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: radial-gradient(currentColor 1px, transparent 1px); background-size: 24px 24px; opacity: .05; }
@media (prefers-reduced-motion: no-preference) {
  .orb-float { animation: orbDrift 17s ease-in-out infinite; }
  .orb-float.alt { animation-duration: 21s; animation-direction: reverse; }
}
@keyframes orbDrift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(26px,-22px); } }

/* --- Brand / keyword marquee --- */
.marquee { position: relative; overflow: hidden; padding: 1.05rem 0; background: var(--c-bg); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 34s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
/* Brezšivna zanka: pomik za natanko polovico traku (= ena ponovitev).
   Enakomeren margin-right na vsakem elementu (ne gap), da je vzorec popolnoma periodičen. */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: .55rem; margin-right: 2.4rem; font-family: var(--ff-head); font-weight: 600; font-size: 1.02rem; color: var(--c-primary); white-space: nowrap; }
.marquee-item svg { width: 15px; height: 15px; color: var(--c-solar); flex-shrink: 0; }

/* --- Stats: gradient numbers + accent + hover --- */
.stat-card { position: relative; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c-accent), var(--c-cyan), var(--c-solar)); transform: scaleX(0); transform-origin: left; transition: transform .6s ease; }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c-border-strong); }
.stat-card:hover::before, .stat-card.is-in::before { transform: scaleX(1); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat-card .num { background: linear-gradient(120deg, var(--c-accent) 8%, var(--c-cyan) 52%, var(--c-solar) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}

/* --- Animated gradient hero highlight --- */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .hl { background: linear-gradient(100deg, #D2D629, #7BE3C0, #1DBBE2, #D2D629); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  @media (prefers-reduced-motion: no-preference) { .hero h1 .hl { animation: hlShift 9s linear infinite; } }
}
@keyframes hlShift { to { background-position: 300% 0; } }

/* --- Service cards: shine sweep + premium hover + featured --- */
.card { overflow: hidden; }
.card-icon { transition: transform var(--transition), box-shadow var(--transition); }
.card::after { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; background: linear-gradient(115deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-18deg); transition: left .65s cubic-bezier(.2,.7,.2,1); pointer-events: none; z-index: 3; }
.card:hover::after { left: 130%; }
.card:hover { box-shadow: 0 20px 46px rgba(11,74,68,.16); }
.card:hover .card-icon { transform: translateY(-3px) scale(1.07); box-shadow: 0 10px 22px rgba(0,145,126,.28); }
.card.featured { background: linear-gradient(165deg, rgba(0,145,126,.08), rgba(210,214,41,.06)); border-color: rgba(0,145,126,.4); }
.card-ribbon { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: .3rem; background: linear-gradient(135deg, var(--c-solar-2), var(--c-solar)); color: #2A3304; font-family: var(--ff-head); font-weight: 700; font-size: .68rem; letter-spacing: .03em; text-transform: uppercase; padding: .34rem .7rem; border-radius: 999px; z-index: 4; box-shadow: 0 4px 12px rgba(174,184,15,.35); white-space: nowrap; }
.card-ribbon svg { width: 13px; height: 13px; }

/* --- Process: clean stepped cards with connector --- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative; margin-top: 2.2rem; }
.process-grid::before { content: ""; position: absolute; top: 0; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, transparent, var(--c-accent) 18%, var(--c-solar) 82%, transparent); opacity: .45; z-index: 0; }
.pcard { position: relative; z-index: 1; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 2.7rem 1.7rem 1.9rem; text-align: center; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c-border-strong); }
.pcard-num { position: absolute; top: -23px; left: 50%; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent)); box-shadow: 0 10px 24px rgba(0,145,126,.34); border: 3px solid #fff; }
.pcard-icon { width: 56px; height: 56px; margin: 1.3rem auto 1.1rem; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--c-accent-soft); color: var(--c-accent); transition: transform var(--transition); }
.pcard-icon svg { width: 28px; height: 28px; }
.pcard:hover .pcard-icon { transform: scale(1.08); }
.pcard h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.pcard p { color: var(--c-text-muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .process-grid::before { display: none; }
}

/* --- CTA band decoration --- */
.cta-band { position: relative; overflow: hidden; }
.cta-band > * { position: relative; z-index: 1; }
.cta-deco { position: absolute; right: -36px; bottom: -52px; width: 250px; height: 250px; color: rgba(255,255,255,.06); z-index: 0; pointer-events: none; }

/* --- Testimonials carousel --- */
.testi-carousel { overflow: hidden; }
.testi-track { display: flex; align-items: stretch; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem .3rem 1rem; scrollbar-width: none; -ms-overflow-style: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-track .testi { scroll-snap-align: start; flex: 0 0 calc((100% - 5rem) / 4); }
.testi { position: relative; overflow: hidden; margin: 0; }
.testi::before { content: "\201D"; position: absolute; top: .2rem; right: 1.1rem; font-family: var(--ff-head); font-weight: 700; font-size: 4.5rem; line-height: 1; color: var(--c-accent); opacity: .1; pointer-events: none; }
/* Navigation bar: arrows + dots */
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.7rem; }
.testi-arrow { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--c-border-strong); background: #fff; color: var(--c-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.testi-arrow:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.testi-arrow svg { width: 20px; height: 20px; }
.testi-dots { display: flex; justify-content: center; gap: .5rem; }
.testi-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; background: var(--c-border-strong); cursor: pointer; transition: background var(--transition), width var(--transition); }
.testi-dots button.active { background: var(--c-accent); width: 26px; border-radius: 5px; }
@media (max-width: 1100px) { .testi-track .testi { flex-basis: calc((100% - 3.6rem) / 3); } }
@media (max-width: 860px) { .testi-track .testi { flex-basis: calc((100% - 2rem) / 2); } }
@media (max-width: 620px) { .testi-track .testi { flex-basis: 86%; } }

/* --- Tilted sticker (odštekan) --- */
.sticker { display: inline-flex; align-items: center; gap: .4rem; transform: rotate(-4deg); background: linear-gradient(135deg, var(--c-solar-2), var(--c-solar)); color: #2A3304; font-family: var(--ff-head); font-weight: 700; font-size: .82rem; padding: .5rem 1rem; border-radius: 10px; box-shadow: 0 8px 20px rgba(174,184,15,.32); margin-top: 1rem; }
.sticker svg { width: 16px; height: 16px; }

/* --- Benefit list (clean rows with circular check) --- */
.benefit-list { list-style: none; padding: 0; margin: 0 0 1.9rem; display: grid; gap: 1.1rem; }
.benefit-list li { display: flex; gap: .9rem; align-items: flex-start; }
.benefit-ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent); display: flex; align-items: center; justify-content: center; margin-top: .15rem; }
.benefit-ico svg { width: 17px; height: 17px; }
.benefit-list b { display: block; font-family: var(--ff-head); font-weight: 600; color: var(--c-heading); font-size: 1.04rem; margin-bottom: .15rem; }
.benefit-list li > div > span { color: var(--c-text-muted); font-size: .96rem; line-height: 1.55; }

@media (max-width: 620px) {
  .marquee-item { font-size: .92rem; }
}

/* ========================================================================
   Jezikovni preklopnik (večjezičnost)
   ======================================================================== */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .7rem; border-radius: var(--radius-pill); border: 1.5px solid var(--c-border-strong); background: #fff; color: var(--c-primary); font-family: var(--ff-head); font-weight: 600; font-size: .86rem; transition: border-color var(--transition), background var(--transition); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--c-accent); background: var(--c-accent-soft); }
.lang-switch summary > svg { width: 16px; height: 16px; }
.lang-switch summary .lang-chev { width: 14px; height: 14px; transition: transform var(--transition); }
.lang-switch[open] summary .lang-chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + .5rem); right: 0; min-width: 168px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .4rem; display: flex; flex-direction: column; gap: .1rem; z-index: 1100; }
.lang-menu a { padding: .55rem .7rem; border-radius: 8px; font-family: var(--ff-head); font-weight: 500; font-size: .92rem; color: var(--c-text); white-space: nowrap; }
.lang-menu a:hover { background: var(--c-bg-soft); color: var(--c-primary); }
.lang-menu a.active { color: var(--c-accent); font-weight: 600; background: var(--c-accent-soft); }
/* mobilni jezikovni izbor (v mobilnem meniju) */
.mobile-lang { display: flex; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--c-border); }
.mobile-lang a { flex: 1; text-align: center; padding: .6rem; border: 1.5px solid var(--c-border-strong); border-radius: 10px; font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--c-primary); }
.mobile-lang a.active { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* ========================================================================
   Nav dropdown — Storitve (desktop mega-menu + mobile accordion)
   ======================================================================== */
.nav-drop { position: relative; display: inline-flex; }
.nav-drop > a, .nav-drop > button { display: inline-flex; align-items: center; gap: .28rem; }
.nav-drop > button {
  font-family: var(--ff-head); font-weight: 500; font-size: .95rem; color: var(--c-text);
  padding: .5rem .58rem; border-radius: var(--radius-pill); position: relative; white-space: nowrap;
  background: none; border: none; cursor: pointer;
}
.nav-drop > button:hover { color: var(--c-primary); background: var(--c-bg-soft); }
.nav-drop > button.active { color: var(--c-primary); font-weight: 600; }
.nav-drop > button.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 2px;
  width: 16px; height: 2px; border-radius: 2px; background: var(--c-accent);
}
.nav-caret { width: 13px; height: 13px; transition: transform var(--transition); }
.nav-drop:hover .nav-caret, .nav-drop:focus-within .nav-caret { transform: rotate(180deg); }
.nav-submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 332px; padding: .5rem; margin: 0; background: #fff;
  border: 1px solid var(--c-border); border-radius: 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
/* neviden "most" čez presledek med gumbom in menijem — prepreči zapiranje ob premiku miške navzdol */
.nav-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 18px; }
.nav-drop:hover .nav-submenu, .nav-drop:focus-within .nav-submenu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(6px);
}
.nav-submenu a {
  display: flex; align-items: center; gap: .7rem; padding: .55rem .65rem; border-radius: 11px;
  color: var(--c-text); font-family: var(--ff-body); font-weight: 400;
}
.nav-submenu a:hover { background: var(--c-bg-soft); color: var(--c-primary); }
.nav-submenu a.active::after { display: none; }
.nsm-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-accent-soft); color: var(--c-accent); }
.nsm-ico svg { width: 21px; height: 21px; }
.nsm-txt { display: flex; flex-direction: column; line-height: 1.25; }
.nsm-txt b { font-family: var(--ff-head); font-weight: 600; font-size: .94rem; color: var(--c-heading); }
.nsm-txt small { font-size: .78rem; color: var(--c-text-muted); }
.nav-submenu .nsm-all {
  margin-top: 4px; padding: .7rem; justify-content: center; gap: .4rem;
  border-top: 1px solid var(--c-border); border-radius: 0 0 11px 11px;
  font-family: var(--ff-head); font-weight: 600; font-size: .88rem; color: var(--c-accent);
}
.nav-submenu .nsm-all svg { width: 16px; height: 16px; }
.nav-submenu .nsm-all:hover { background: var(--c-accent-soft); }

/* mobile services accordion */
.m-drop { border-bottom: 1px solid var(--c-border); }
.m-drop summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff-head); font-weight: 500; color: var(--c-text); padding: .8rem .4rem; font-size: 1.05rem;
}
.m-drop summary::-webkit-details-marker { display: none; }
.m-drop summary.active { color: var(--c-accent); }
.m-drop summary svg { width: 18px; height: 18px; transition: transform var(--transition); color: var(--c-text-muted); }
.m-drop[open] summary svg { transform: rotate(180deg); }
.mobile-menu .m-sub { display: flex; flex-direction: column; padding: 0 0 .5rem .65rem; }
.mobile-menu .m-sub a { border-bottom: none; padding: .5rem .4rem; font-size: .98rem; color: var(--c-text-muted); font-weight: 500; }
.mobile-menu .m-sub a:hover { color: var(--c-accent); }

/* ========================================================================
   Lightbox (galerija / slike)
   ======================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 4vmin; background: rgba(7,40,36,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox-fig { margin: 0; max-width: min(1100px, 94vw); max-height: 90vh; display: flex; flex-direction: column; gap: .6rem; transform: scale(.96); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.lightbox.is-open .lightbox-fig { transform: none; }
.lightbox-fig img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #0B4A44; }
.lightbox-fig figcaption { color: #e8f3ed; font-family: var(--ff-head); font-weight: 600; font-size: .95rem; text-align: center; }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lightbox-close:hover { background: rgba(255,255,255,.26); transform: rotate(90deg); }
.gallery-item img[data-lightbox] { cursor: zoom-in; }

/* galerijski napis ne sme prestrezati dotikov/klikov -> lightbox deluje tudi na mobilnem */
.gallery-cap { pointer-events: none; }

/* ========================================================================
   WOW polish v2 — scroll progress, back-to-top, button sheen, living hero
   ======================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1100; pointer-events: none;
  background: linear-gradient(90deg, var(--c-accent), var(--c-cyan), var(--c-solar-2));
  box-shadow: 0 0 8px rgba(0,145,126,.45); transition: width .08s linear; }

.to-top { position: fixed; right: 20px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  border: none; cursor: pointer; z-index: 1090; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent)); color: #fff; box-shadow: var(--shadow-green);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .25s var(--transition), transform .25s var(--transition), visibility .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 600px){ .to-top { right: 14px; bottom: 16px; width: 42px; height: 42px; } }

/* button sheen on hover (colored buttons) */
.btn-primary, .btn-solar { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-solar::after { content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  transform: skewX(-20deg); pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); opacity: 0; }
.btn-primary:hover::after, .btn-solar:hover::after { animation: btnSheen .75s ease; }
@keyframes btnSheen { 0%{ left:-80%; opacity:0 } 12%{ opacity:1 } 100%{ left:140%; opacity:0 } }

/* living glow in subpage hero */
@media (prefers-reduced-motion: no-preference){
  .page-hero::after { animation: heroGlow 10s ease-in-out infinite; }
}
@keyframes heroGlow { 0%,100% { transform: translate(0,0) scale(1); opacity: 1; } 50% { transform: translate(46px,-34px) scale(1.18); opacity: .65; } }

/* mobilni meni: CTA z ikono + sekundarni telefonski gumb */
.mobile-menu .mobile-cta { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.mobile-menu .mobile-cta svg { width: 18px; height: 18px; }
.mobile-menu .mobile-call { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .55rem; padding: .7rem; border-bottom: none; color: var(--c-primary); font-family: var(--ff-head); font-weight: 600; font-size: 1rem; }
.mobile-menu .mobile-call svg { width: 17px; height: 17px; color: var(--c-accent); }
.mobile-menu .mobile-call:hover { color: var(--c-accent); }
