/* ==========================================================
   Lampas d.o.o. – nova spletna stran
   Barve iz logotipa: temno modra → turkizna → svetlo modra
   ========================================================== */

:root {
  --navy-950: #196375;
  --navy-900: #1d6a7e;
  --navy-800: #217286;
  --navy-700: #237e95;
  --blue: #208ea5;           /* temno modri del znaka */
  --brand: #28adbc;          /* turkizna "LAMPAS" */
  --brand-dark: #1c9dad;
  --teal: #4cc6cf;           /* svetlejši prehod v znaku */
  --sky: #8ce0ed;            /* "d.o.o." */
  --brand-light: #e8f9fb;
  --grad: linear-gradient(135deg, #208ea5 0%, #28adbc 55%, #4cc6cf 100%);
  --grad-soft: linear-gradient(135deg, #eaf9fb 0%, #f6fdfe 100%);

  /* Primarni gumbi (CTA) – privzeto oranžni */
  --cta-bg: linear-gradient(180deg, #ffc15e 0%, #f5a431 50%, #e08a12 100%);
  --cta-edge: #b86d06;
  --cta-text: #1d1405;
  --cta-glow: rgba(245,164,49,.45);

  --heading: #0f4654;         /* barva naslovov in temnega besedila */
  --ink: #275560;
  --muted: #597880;
  --line: #daecf0;
  --bg: #ffffff;
  --bg-soft: #f3fafb;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(19,95,114,.06), 0 2px 6px rgba(19,95,114,.05);
  --shadow: 0 2px 4px rgba(19,95,114,.04), 0 10px 24px rgba(19,95,114,.08), 0 24px 48px -12px rgba(19,95,114,.12);
  --shadow-lg: 0 4px 8px rgba(19,95,114,.05), 0 20px 40px rgba(19,95,114,.12), 0 40px 80px -20px rgba(19,95,114,.25);
  --max: 1200px;
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Alternativa: modri CTA gumbi v barvah logotipa (predogled z ?gumbi=modri) */
html.cta-modri {
  --cta-bg: linear-gradient(180deg, #36c9d8 0%, #28adbc 45%, #1f9aae 100%);
  --cta-edge: #18899c;
  --cta-text: #fff;
  --cta-glow: rgba(40,173,188,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: var(--brand-dark); }
a:hover { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--heading);
  margin: 0 0 .6em;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.grad-text {
  background: linear-gradient(90deg, #8ce0ed, #4cc6cf 60%, #bef1f8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; color: #fff; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--soft::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(32,142,165,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.section--soft > .container { position: relative; }
.section--dark { background: var(--navy-900); color: #cee6ec; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* Temna sekcija s fotografijo v ozadju */
.section--photo { isolation: isolate; }
.section--photo .bg-photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center; opacity: .36;
  transform: scale(1.05);
}
.section--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(40,173,188,.35), transparent 60%),
    linear-gradient(180deg, rgba(30,109,129,.77), rgba(26,106,126,.81));
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section--dark .lead { color: #b2d2da; }
.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Gumbi (3D) ---------- */
.btn {
  --edge: rgba(0,0,0,.18);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .005em;
  padding: 15px 28px; border-radius: 14px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); }

.btn--primary {
  background: var(--cta-bg); color: var(--cta-text);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -2px 0 rgba(0,0,0,.12),
    0 5px 0 var(--cta-edge),
    0 12px 24px var(--cta-glow);
}
.btn--primary:hover {
  color: var(--cta-text); filter: brightness(1.06) saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.12), 0 7px 0 var(--cta-edge), 0 18px 32px var(--cta-glow);
}
.btn--primary:active { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 0 var(--cta-edge), 0 6px 12px var(--cta-glow); }

.btn--brand {
  background: linear-gradient(180deg, #28a2b7, #208ea5); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 5px 0 #1a778a, 0 12px 22px rgba(32,142,165,.35);
}
.btn--brand:hover { color: #fff; filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 7px 0 #1a778a, 0 18px 30px rgba(32,142,165,.4); }
.btn--brand:active { box-shadow: 0 2px 0 #1a778a, 0 6px 12px rgba(32,142,165,.3); }

.btn--ghost {
  color: #fff; background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), inset 0 1px 0 rgba(255,255,255,.25), 0 8px 20px rgba(0,0,0,.2);
}
.btn--ghost:hover { color: #fff; background: rgba(255,255,255,.16); }

.btn--outline {
  color: var(--blue); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line), 0 4px 0 #d1e8ed, 0 10px 20px rgba(19,95,114,.08);
}
.btn--outline:hover { color: var(--brand-dark); box-shadow: inset 0 0 0 1.5px var(--brand), 0 6px 0 #c2e1e7, 0 14px 26px rgba(19,95,114,.1); }
.btn--outline:active { box-shadow: inset 0 0 0 1.5px var(--brand), 0 1px 0 #c2e1e7; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 14px; }

/* ---------- Glava ---------- */
.topbar { background: var(--navy-950); color: #9ec2ca; font-size: .84rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 24px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #cee9ef; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--teal); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(218,236,240,.8);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 8px 30px rgba(19,95,114,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.logo { display: block; flex: none; }
.logo img { height: 46px; width: auto; }

/* Glavni meni: "tablet" z dvignjenim aktivnim gumbom */
.nav { display: flex; align-items: center; gap: 14px; }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: 16px;
  background: linear-gradient(180deg, #eef8f9, #e5f3f5);
  box-shadow: inset 0 2px 4px rgba(19,95,114,.08), inset 0 -1px 0 rgba(255,255,255,.9), 0 1px 0 rgba(255,255,255,.9);
}
.nav-links a {
  position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem;
  color: var(--heading); text-decoration: none; white-space: nowrap;
  padding: 10px 15px; border-radius: 12px;
  transition: color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.nav-links a:hover { color: var(--blue); background: rgba(255,255,255,.7); }
.nav-links a[aria-current="page"] {
  color: var(--blue);
  background: linear-gradient(180deg, #ffffff, #f4fbfc);
  box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 2px 0 #cee5ea, 0 6px 14px rgba(19,95,114,.12);
  transform: translateY(-1px);
}
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 16px; height: 3px; margin-left: -8px;
  border-radius: 3px; background: var(--grad);
}
.nav-links .nav-ilearn { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-dark); }
.nav-links .nav-ilearn svg { width: 16px; height: 16px; }
.nav .btn { padding: 12px 20px; font-size: .93rem; }

.nav-toggle {
  display: none; border: 0; padding: 10px; cursor: pointer; border-radius: 12px;
  color: var(--heading);
  background: linear-gradient(180deg, #fff, #eef8f9);
  box-shadow: 0 2px 0 #d3e9ed, 0 6px 14px rgba(19,95,114,.1), inset 0 0 0 1px var(--line);
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 84px; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 12px;
    background: rgba(255,255,255,.97); border-radius: 20px;
    padding: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; animation: drop .2s ease; }
  .nav-links { flex-direction: column; align-items: stretch; background: none; box-shadow: none; padding: 0; gap: 4px; }
  .nav-links a { padding: 13px 14px; }
  .nav-links a[aria-current="page"] { background: var(--brand-light); box-shadow: none; transform: none; }
  .nav-links a[aria-current="page"]::after { left: 0; top: 50%; bottom: auto; width: 4px; height: 20px; margin: -10px 0 0; }
  .nav .btn { justify-content: center; }
  .topbar .container { justify-content: center; gap: 8px 18px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: var(--navy-950);
}
.hero .bg-photo {
  position: absolute; inset: -30px; z-index: -2;
  background: url("../img/hero-pdca.jpg") right center / cover no-repeat;
  opacity: .6;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 80% 30%, rgba(76,198,207,.25), transparent 70%),
    linear-gradient(90deg, rgba(26,106,126,.84) 0%, rgba(26,106,126,.7) 45%, rgba(26,106,126,.25) 100%);
}
.hero .container {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: clamp(72px, 10vw, 130px) 0 clamp(110px, 12vw, 150px);
}
.hero h1 { color: #fff; }
.hero .lead { color: #c2dfe6; font-size: 1.2rem; max-width: 600px; margin-bottom: 2.1em; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: #d6ecf1;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-badges svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* 3D kompozicija v heroju */
.hero-3d { position: relative; height: 520px; perspective: 1400px; }
.hero-3d .scene {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(8deg);
  transition: transform .3s ease-out;
}
.glass {
  position: absolute; border-radius: 22px; padding: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 30px 60px rgba(0,0,0,.45);
  color: #fff; transform-style: preserve-3d;
}
.glass small { display: block; color: #a8d4dd; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.glass strong { font-family: var(--font-head); font-size: 1.25rem; }
.g-cert { left: 0; top: 2%; width: 260px; transform: translateZ(40px); animation: float 7s ease-in-out infinite; }
.g-cert .seal {
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 14px;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 8px 18px rgba(40,173,188,.5);
}
.g-cert .seal svg { width: 28px; height: 28px; color: #fff; }
.g-cert .bar { height: 7px; border-radius: 7px; background: rgba(255,255,255,.18); margin-top: 10px; overflow: hidden; }
.g-cert .bar i { display: block; height: 100%; width: 86%; border-radius: 7px; background: linear-gradient(90deg, #4cc6cf, #8ce0ed); }
.g-pdca { right: 0; top: 24%; width: 210px; height: 210px; border-radius: 50%; padding: 0; display: grid; place-items: center; transform: translateZ(80px); animation: float 8s ease-in-out -2s infinite; }
.g-pdca svg { width: 170px; height: 170px; }
.g-risk { left: 12%; bottom: 0; width: 250px; transform: translateZ(20px); animation: float 9s ease-in-out -4s infinite; }
.g-risk .meter { display: flex; gap: 5px; margin-top: 12px; align-items: flex-end; height: 44px; }
.g-risk .meter i { flex: 1; border-radius: 4px; background: rgba(255,255,255,.2); }
.g-risk .meter i.on { background: linear-gradient(180deg, #8ce0ed, #28adbc); box-shadow: 0 0 12px rgba(76,198,207,.6); }
.hero-3d .orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #bef1f8, #28adbc 45%, #16697e 80%);
  box-shadow: 0 30px 50px rgba(0,0,0,.4), inset -10px -14px 30px rgba(0,0,0,.35);
}
.hero-3d .orb.o1 { width: 70px; height: 70px; right: 30%; top: 2%; transform: translateZ(-40px); animation: float 10s ease-in-out -1s infinite; }
.hero-3d .orb.o2 { width: 34px; height: 34px; right: 6%; bottom: 14%; transform: translateZ(160px); animation: float 6s ease-in-out -3s infinite; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-3d { display: none; }
}

/* Podstrani – glava s fotografijo */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900);
  color: #c8e1e7; padding: clamp(70px, 9vw, 110px) 0 clamp(80px, 9vw, 120px);
}
.page-hero .bg-photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center; opacity: .62;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 70% at 90% 0%, rgba(76,198,207,.3), transparent 70%),
    linear-gradient(90deg, rgba(26,106,126,.81) 0%, rgba(30,109,129,.68) 55%, rgba(30,109,129,.4) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; z-index: 0;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
}
.page-hero h1 { color: #fff; margin-bottom: .3em; max-width: 900px; }
.page-hero .lead { color: #c8e1e7; margin: 0; }
.breadcrumbs {
  display: inline-flex; gap: 6px; font-size: .85rem; margin-bottom: 20px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.breadcrumbs a { color: #a8dbe4; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Številke ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: -70px; position: relative; z-index: 2;
}
.stat {
  padding: 26px 22px; text-align: center; border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f5fcfd);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
}
.stat strong {
  display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Standardi ---------- */
.standards { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.standard-chip {
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  padding: 12px 20px; border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f3fafb); color: var(--heading);
  box-shadow: 0 1px 0 #fff inset, 0 3px 0 #d6ebef, 0 10px 20px rgba(19,95,114,.07);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.standard-chip:hover { transform: translateY(-3px); box-shadow: 0 1px 0 #fff inset, 0 5px 0 #cee6eb, 0 16px 26px rgba(19,95,114,.1); }
.standard-chip small { font-weight: 600; color: var(--muted); margin-left: 6px; }

/* ---------- Kartice (3D nagib) ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; will-change: transform; }
.tilt > * { transform: translateZ(0); }

.card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfefe 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(40,173,188,.63), rgba(140,224,237,0) 40%, rgba(32,142,165,0) 60%, rgba(76,198,207,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); }
.card .more {
  margin-top: auto; font-family: var(--font-head); font-weight: 800; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.card .more::after { content: "→"; transition: transform .2s ease; }
.card:hover .more::after { transform: translateX(4px); }
.card .icon, .card h3 { transform: translateZ(30px); }

.icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad); color: #fff;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(0,0,0,.15), 0 10px 22px rgba(32,142,165,.35);
}
.icon svg { width: 28px; height: 28px; }

/* ---------- Postopek (PDCA) ---------- */
.steps { counter-reset: step; }
.step {
  position: relative; padding: 30px 26px 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 20px 40px rgba(0,0,0,.25);
}
.step .num {
  position: absolute; right: 18px; top: 8px; font-family: var(--font-head); font-weight: 800; font-size: 4rem; line-height: 1;
  color: rgba(140,224,237,.12);
}
.step .tag {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .74rem;
  letter-spacing: .14em; color: #fff; background: var(--grad);
  padding: 6px 12px; border-radius: 8px; margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 14px rgba(40,173,188,.4);
}
.step p { color: #b2d2da; margin: 0; }

/* ---------- Split (slika + besedilo) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split--reverse { grid-template-columns: 1.15fr 1fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* 3D okvir za fotografije */
.photo-3d { perspective: 1400px; }
.photo-3d .frame {
  position: relative; border-radius: 22px; overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  box-shadow: 30px 40px 70px -20px rgba(19,95,114,.45), 0 10px 20px rgba(19,95,114,.12);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.split--reverse .photo-3d .frame { transform: rotateY(8deg) rotateX(4deg); box-shadow: -30px 40px 70px -20px rgba(19,95,114,.45), 0 10px 20px rgba(19,95,114,.12); }
.photo-3d:hover .frame { transform: none; }
.photo-3d .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.25), transparent 40%);
  pointer-events: none;
}
.photo-3d .chip {
  position: absolute; z-index: 2; right: -14px; bottom: 28px;
  padding: 14px 18px; border-radius: 16px; color: #fff; font-family: var(--font-head); font-weight: 800;
  background: rgba(19,95,114,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 20px 40px rgba(0,0,0,.35);
  display: flex; align-items: center; gap: 12px; line-height: 1.25; font-size: .92rem;
}
.photo-3d .chip .icon { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.photo-3d .chip .icon svg { width: 22px; height: 22px; }
.photo-3d { position: relative; }

.portrait { position: relative; max-width: 430px; margin-inline: auto; perspective: 1200px; }
.portrait .frame {
  position: relative; border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, #e8f9fb, #cef0f6);
  box-shadow: 0 40px 70px -24px rgba(19,95,114,.45), 0 10px 20px rgba(19,95,114,.1);
  transform: rotateY(6deg); transition: transform .5s ease;
}
.portrait:hover .frame { transform: none; }
.portrait img { mix-blend-mode: multiply; }
.portrait::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  right: -14%; top: -8%; background: var(--grad); opacity: .2; filter: blur(8px);
}
.portrait-badge {
  position: absolute; left: -22px; bottom: 36px; z-index: 2;
  background: rgba(19,95,114,.79); color: #fff; padding: 16px 20px; border-radius: 16px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-head); box-shadow: 0 24px 40px rgba(0,0,0,.35); font-size: .9rem; line-height: 1.3;
  border: 1px solid rgba(255,255,255,.15);
}
.portrait-badge strong { display: block; font-size: 1.8rem; }
.portrait-badge strong { background: linear-gradient(90deg, #8ce0ed, #4cc6cf); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 480px) { .portrait-badge { left: 8px; } .photo-3d .chip { right: 8px; } }

.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; }
.checklist li { position: relative; padding-left: 36px; margin-bottom: .75em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 8px;
  background: var(--grad);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 10px rgba(32,142,165,.3);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 10px; height: 6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg);
}

/* ---------- Izjave strank ---------- */
.quote {
  position: relative; margin: 0;
  background: linear-gradient(180deg, #fff, #f9fdfe); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}
.quote:hover { box-shadow: var(--shadow-lg); }
.quote blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); }
.quote blockquote::before {
  content: "“"; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  font-family: Georgia, serif; font-size: 2.6rem; line-height: 1; padding-top: 14px; color: #fff; background: var(--grad);
  box-shadow: 0 10px 20px rgba(32,142,165,.3);
}
.quote figcaption { font-size: .92rem; color: var(--muted); margin-top: auto; }
.quote figcaption strong { color: var(--heading); display: block; }
.placeholder { outline: 2px dashed #e0a43b; outline-offset: -10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px;
  padding: 0 26px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(40,173,188,.35); }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 800;
  padding: 22px 50px 22px 0; position: relative; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 600; color: #fff; background: var(--grad);
  box-shadow: 0 3px 0 #18899c, 0 6px 12px rgba(32,142,165,.3);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 10px; }

/* ---------- CTA pas (s fotografijo) ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
}
.cta-band .bg-photo {
  position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .42;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgba(30,109,129,.83) 20%, rgba(32,142,165,.72) 70%, rgba(40,173,188,.56));
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; z-index: -1; border-radius: 50%;
  border: 40px solid rgba(140,224,237,.12);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d4eff4; margin: 0; max-width: 560px; }

/* ---------- Storitve – podrobno ---------- */
.service-detail { padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.service-detail:last-child { border-bottom: 0; }
.service-detail .split { align-items: start; }
.service-detail .num-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px;
  font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--grad);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 5px 0 #18899c, 0 12px 22px rgba(32,142,165,.35);
}
.service-meta {
  background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.service-meta .thumb { aspect-ratio: 16 / 8; background-size: cover; background-position: center; position: relative; }
.service-meta .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(19,95,114,.35)); }
.service-meta .body { padding: 24px 26px 26px; }
.service-meta h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin-top: 1.2em; }
.service-meta h4:first-child { margin-top: 0; }
.service-meta ul { margin: 0; color: var(--muted); }

.toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc a {
  text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  padding: 10px 16px; border-radius: 12px; color: var(--heading);
  background: linear-gradient(180deg, #fff, #f3fafb);
  box-shadow: inset 0 0 0 1px var(--line), 0 3px 0 #d6ebef, 0 8px 16px rgba(19,95,114,.06);
  transition: transform .15s ease, box-shadow .15s ease, color .15s ease;
}
.toc a:hover { color: var(--brand-dark); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--brand), 0 5px 0 #cee6eb, 0 12px 20px rgba(19,95,114,.08); }

/* ---------- Tečaji ---------- */
.course .badge {
  align-self: flex-start;
  font-size: .72rem; font-weight: 800; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 8px; background: var(--brand-light); color: var(--brand-dark); margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(40,173,188,.25);
}
.course .badge--live { background: #e6f7ec; color: #1d7a3c; box-shadow: inset 0 0 0 1px rgba(29,122,60,.25); }
.course dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .92rem; margin: 0 0 20px; }
.course dt { color: var(--muted); }
.course dd { margin: 0; font-weight: 600; }

/* ---------- Blog ---------- */
.post-card { padding: 0; overflow: hidden; }
.post-card .img-wrap { display: block; overflow: hidden; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .6s ease; }
.post-card:hover img { transform: scale(1.06); }
.post-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 a { color: var(--heading); text-decoration: none; }
.post-card h3 a:hover { color: var(--brand-dark); }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }

.article { max-width: 780px; margin-inline: auto; }
.article h2 { font-size: 1.65rem; margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article > img, .article .lead-img { border-radius: 22px; margin: -110px 0 36px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.article .note {
  background: var(--grad-soft); border: 1px solid rgba(40,173,188,.25); border-left: 5px solid var(--brand);
  padding: 18px 22px; border-radius: 14px; margin: 1.6em 0; box-shadow: var(--shadow-sm);
}
.article-cta {
  margin-top: 52px; padding: 32px; border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f3fafb); border: 1px solid var(--line); box-shadow: var(--shadow);
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.form {
  display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-lg);
  margin-top: -110px; position: relative; z-index: 2;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--heading); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px;
  border: 1px solid #c8dee3; border-radius: 12px; background: #f9fdfe; color: var(--ink);
  box-shadow: inset 0 2px 3px rgba(19,95,114,.05);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(40,173,188,.18); }
.form textarea { min-height: 150px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: 5px; box-shadow: none; }
.form .consent label { font-weight: 400; color: var(--muted); display: inline; }
.form-status { font-weight: 600; color: #1d7a3c; min-height: 1.2em; margin: 0; }

.info-card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #c8e1e7; border-radius: 24px; padding: 34px;
  box-shadow: var(--shadow-lg);
}
.info-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 100% 0%, rgba(40,173,188,.45), transparent 70%);
}
.info-card h3 { color: #fff; }
.info-list { list-style: none; padding: 0; margin: 0 0 26px; }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-list .ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.info-list svg { width: 20px; height: 20px; color: var(--sky); }
.info-list a { color: #fff; text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--sky); }
.info-list small { display: block; color: #8eb5be; font-size: .8rem; }

.company-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.company-table th, .company-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }
.company-table th { color: var(--muted); font-weight: 600; width: 40%; background: #f8fcfd; }

/* ---------- Noga ---------- */
.site-footer { position: relative; background: var(--navy-950); color: #9ec2ca; padding: 80px 0 0; font-size: .95rem; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; left: -10%; top: -200px; width: 60%; height: 400px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40,173,188,.18), transparent);
  pointer-events: none;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6em; }
.site-footer a { color: #d2ebf0; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.footer-logo { height: 38px; width: auto; margin-bottom: 20px; }
.footer-bottom {
  position: relative;
  margin-top: 60px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 64px 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #779ea7;
}

/* ---------- Na vrh ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 0 #18899c, 0 12px 24px rgba(32,142,165,.4);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .15s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Animacija ob pomiku ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .tilt { transition: none; }
  .glass, .hero-3d .orb { animation: none; }
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--muted); }
