/* ============================================================
   Spletko — style.css
   Barve in tipografija iz sketch predloge (avgust 2026)
   ============================================================ */

:root {
  --ink: #112530;          /* temna sekcija */
  --ink-2: #0c1c24;        /* noga / še temnejša */
  --text: #152a34;         /* besedilo na svetlem */
  --text-soft: #4c5f6a;
  --cyan: #25a8df;
  --cyan-2: #36b6e1;
  --purple: #886dbf;
  --purple-2: #a179c8;
  --lavender: #e1c7ff;
  --yellow: #ffcd01;
  --paper: #fdfdfd;
  --mist: #e9eef1;
  --line: rgba(17, 37, 48, .1);
  --line-inv: rgba(253, 253, 253, .12);

  --font-head: "Cal Sans", "Outfit", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --container: 1240px;
  --radius: 14px;
  --shadow: 0 18px 45px -18px rgba(17, 37, 48, .25);
  --ease: cubic-bezier(.22, .61, .21, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* sticky glava ne sme prekriti sekcij ob skoku na #sidro */
[id] { scroll-margin-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

::selection { background: var(--cyan); color: #fff; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Dostopnost ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Gumbi ---------- */
.btn {
  display: inline-block; padding: 18px 38px; border: 0; border-radius: 6px;
  font: 600 18px/1.2 var(--font-body); letter-spacing: .02em; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 12px 28px -10px rgba(17, 37, 48, .5); }
.btn-cyan { background: var(--cyan); color: #fff; }
.btn-cyan:hover { background: var(--cyan-2); box-shadow: 0 12px 28px -10px rgba(37, 168, 223, .55); }
.btn-ghost {
  background: transparent; color: #fff; border: 1px solid var(--line-inv);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-2); }

/* ---------- Glava ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 253, 253, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(17,37,48,.35); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 28px;
  transition: padding .35s var(--ease);
}
.site-header.scrolled .container { padding-block: 12px; }
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand img {
  height: 62px; width: auto; display: block;
  transition: height .35s var(--ease), transform .45s var(--ease);
}
.site-header.scrolled .brand img { height: 46px; }
.brand:hover img { transform: scale(1.04); }
.site-footer .brand img { filter: brightness(0) invert(1); opacity: .95; height: 48px; }

.header-right { display: flex; align-items: center; gap: 26px; }

/* burger gumb */
.menu-btn {
  width: 44px; height: 44px; border: 0; border-radius: 0;
  background: transparent; cursor: pointer; padding: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-btn span {
  width: 26px; height: 3px; border-radius: 2px; background: var(--text);
  transition: transform .3s var(--ease), opacity .2s, background .25s;
}
.menu-btn:hover span { background: var(--cyan); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* stranski meni (drawer), pripelje se z desne */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(12, 28, 36, .5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 150;
  height: 100dvh; width: min(400px, 88vw);
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column;
  padding: 110px 48px 44px;
  transform: translateX(102%);
  transition: transform .45s var(--ease);
  box-shadow: -24px 0 60px -30px rgba(0, 0, 0, .5);
}
.drawer.open { transform: none; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a {
  display: block; padding: 15px 0;
  font: 400 31px/1.2 var(--font-head); color: #fff;
  border-bottom: 1px solid var(--line-inv);
  opacity: 0; translate: 24px 0;
  transition: color .25s, opacity .4s var(--ease), translate .4s var(--ease);
}
.drawer.open li a { opacity: 1; translate: 0 0; }
.drawer.open li:nth-child(1) a { transition-delay: 0s, .12s, .12s; }
.drawer.open li:nth-child(2) a { transition-delay: 0s, .19s, .19s; }
.drawer.open li:nth-child(3) a { transition-delay: 0s, .26s, .26s; }
.drawer.open li:nth-child(4) a { transition-delay: 0s, .33s, .33s; }
.drawer li a:hover { color: var(--cyan-2); }
.drawer-contact { margin-top: auto; font-size: 17px; line-height: 2; }
.drawer-contact a { color: rgba(253, 253, 253, .75); }
.drawer-contact a:hover { color: var(--cyan-2); }

.header-contact {
  font-size: 17.5px; color: var(--text-soft); white-space: nowrap;
  margin: 0; line-height: 1; display: flex; align-items: center;
}
.header-contact a { color: var(--text); font-weight: 400; }
.header-contact a:hover { color: var(--cyan); }
.header-contact .sep { margin-inline: 10px; color: var(--line); }

/* ---------- Hero ----------
   Molekula je zasidrana na .container (ne na viewport), zato na širokih
   zaslonih ostane poravnana z vsebino strani, kot v layoutu. */
.hero { position: relative; padding: 96px 0 56px; overflow: visible; }
.hero .container { position: relative; }
.hero-poly {
  position: absolute; bottom: -48px; right: -1%;
  height: min(112%, 840px); width: auto;
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; }
.eyebrow {
  display: block; color: var(--purple-2);
  font: 400 24px/1.3 var(--font-head); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 5.2vw, 72px); margin-bottom: 52px; }
.hero h1 br { display: none; }
@media (min-width: 980px) { .hero h1 br { display: inline; } }
.hero-list { list-style: none; margin: 0 0 64px; padding: 0; }
.hero-list li {
  position: relative; padding-left: 30px; margin-bottom: 16px;
  font-size: 21px; line-height: 1.4; color: var(--text-soft);
}
.hero-list li strong { color: var(--text); font-weight: 500; }
.hero-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
}
.hero-list li:nth-child(2n)::before { background: var(--purple); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Logotipi ----------
   Enotna višina škatel (--logo-h, po najvišjem primerku), širina poljubna,
   razmaki enotni. Vedno ena vrsta: višina se fluidno zmanjšuje z viewportom,
   ko pa vseeno zmanjka prostora, se vklopita puščici (slider). */
.logo-strip { --logo-h: clamp(26px, 3.3vw, 46px); padding: 42px 0 64px; }
.logo-slider { position: relative; display: flex; align-items: center; gap: 10px; }
.logo-viewport {
  overflow-x: auto; flex: 1;
  scrollbar-width: none; -ms-overflow-style: none;
}
.logo-viewport::-webkit-scrollbar { display: none; }
.logo-strip ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
  gap: clamp(22px, 3.5vw, 64px); min-width: 100%; width: max-content;
}
.logo-strip li {
  height: var(--logo-h); display: flex; align-items: center;
  flex: none; scroll-snap-align: center;
}
.logo-strip img {
  height: var(--logo-h); width: auto; filter: grayscale(1); opacity: .55;
  transition: opacity .3s, transform .3s var(--ease);
}
.logo-strip li:hover img { opacity: 1; transform: translateY(-3px); }
.logo-arrow {
  flex: none; width: 26px; height: 38px;
  border: 0; background: none; color: rgba(17, 37, 48, .28);
  font: 400 26px/1 var(--font-head); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .25s, opacity .25s;
}
.logo-arrow:hover { color: var(--cyan); }
.logo-arrow:disabled { opacity: .25; pointer-events: none; }
.logo-arrow[hidden] { display: none; }

/* ---------- Temna sekcija: proces ---------- */
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2 { color: #fff; }

.process { padding: 84px 0 70px; text-align: center; }
.process h2 { font-size: clamp(34px, 4.2vw, 55px); color: var(--purple-2); }
.process .sub { font: 600 22px/1.5 var(--font-body); color: #fff; margin-bottom: 34px; }

.constellation { position: relative; max-width: 1100px; margin: 0 auto; }
.constellation > img { width: 100%; }

/* ---------- Statistike ----------
   Vrstice vseh treh stolpcev so vertikalno poravnane: naslovi zgoraj,
   številke na skupni spodnji liniji (rezerviran prostor po najvišji),
   opisi se začnejo v isti višini. */
.stats { padding: 34px 0 110px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px;
  text-align: left;
}
.stat h3 {
  font: 600 22px/1.4 var(--font-body); color: #fff; margin: 0 0 44px;
}
.stat .num {
  font-family: var(--font-head); font-size: clamp(48px, 5.5vw, 67px);
  color: var(--lavender); line-height: 1; margin: 0 0 32px;
  display: flex; align-items: flex-end;
  min-height: clamp(58px, 6.8vw, 84px);
}
.stat:nth-child(1) .num { color: #fff; }
.stat:nth-child(3) .num { color: var(--cyan-2); }

/* srednji stolpec (AI) izstopa z večjo pisavo, kot v layoutu */
.stat:nth-child(2) h3 { font-size: 24px; }
.stat:nth-child(2) .num { font-size: clamp(58px, 6.8vw, 84px); }
.stat:nth-child(2) p { font-size: 18.5px; }
.stat p { font-size: 17.5px; line-height: 1.75; color: rgba(253,253,253,.7); margin: 0; max-width: 40ch; }
.stat small { display: block; margin-top: 10px; font-size: 14px; color: rgba(253,253,253,.45); }

/* ---------- Kaj delamo ---------- */
.services { padding: 96px 0; }
.services h2 { font-size: clamp(34px, 4.2vw, 55px); color: var(--text); margin-bottom: 48px; }
.services-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  font-family: var(--font-head); font-size: 28px; color: var(--text);
  display: flex; align-items: baseline; gap: 12px;
  transition: color .25s;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { color: var(--cyan); }
.acc-item summary::before {
  content: "+"; font-family: var(--font-head); color: var(--cyan);
  transition: rotate .3s var(--ease); display: inline-block;
}
.acc-item[open] summary::before { content: "–"; color: var(--purple); }
.acc-body { padding: 0 0 28px 32px; color: var(--text-soft); font-size: 19px; max-width: 52ch; }
.acc-body .btn { margin-top: 10px; padding: 13px 28px; font-size: 15.5px; }

/* Spletko glava: fotografija je obrezana z inline SVG clipPath v HTML-ju
   (Safari ima hrošče pri CSS maskah s transformacijami), parallax na <image> */
.smiley { position: relative; width: min(118%, 680px); margin-left: -6%; }
.smiley svg { display: block; width: 100%; height: auto; }
.smiley image { will-change: transform; }


/* ---------- Projekti ---------- */
.projects { padding: 92px 0 96px; }
.projects h2 { font-size: clamp(34px, 4.2vw, 55px); }
.projects .intro { max-width: 62ch; font-size: 20px; color: rgba(253,253,253,.72); margin-bottom: 44px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-chip {
  background: transparent; color: rgba(253,253,253,.75);
  border: 1px solid var(--line-inv); border-radius: 999px;
  padding: 10px 24px; font-size: 16px; font-weight: 500; cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-chip:hover { border-color: var(--cyan); color: #fff; }
.filter-chip.active { background: var(--cyan); border-color: var(--cyan); color: #fff; }

.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 48px; }
.project { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.project.filtered-out { display: none; }
.proj-thumb {
  aspect-ratio: 16 / 10.4; border-radius: var(--radius); overflow: hidden;
  position: relative; margin-bottom: 22px;
  background:
    linear-gradient(145deg, rgba(37,168,223,.16), rgba(136,109,191,.2) 55%, rgba(17,37,48,0) 90%),
    linear-gradient(305deg, rgba(225,199,255,.12), transparent 60%),
    #16303d;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.proj-thumb::after {
  content: ""; position: absolute; inset: 0;
  background:
    conic-gradient(from 210deg at 72% 30%, rgba(54,182,225,.25), transparent 120deg),
    conic-gradient(from 20deg at 24% 75%, rgba(161,121,200,.22), transparent 110deg);
  opacity: .8; transition: opacity .45s;
}
.project:hover .proj-thumb { transform: translateY(-6px); box-shadow: 0 24px 50px -22px rgba(0,0,0,.6); }
.project:hover .proj-thumb::after { opacity: 1; }

/* fotografije projektov: brez barvnega preliva, nežen zoom ob hoverju;
   več fotografij na kartico (data-kat) s prelivnim preklopom */
.proj-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease), opacity .45s var(--ease);
}
.proj-thumb img:first-child { opacity: 1; } /* fallback brez JS */
.projects-grid.js .proj-thumb img { opacity: 0; }
.projects-grid.js .proj-thumb img.active { opacity: 1; }
.proj-thumb:has(img)::after { display: none; }
.project:hover .proj-thumb img.active { transform: scale(1.045); }


/* klik na fotografijo odpre projekt (URL vpišeš v href povezave .proj-link;
   dokler je href="#", JS povezavo odstrani in kartica ni klikabilna) */
.proj-link { position: absolute; inset: 0; z-index: 1; }

/* pikice za izbor fotografije na kartici */
.pt-dots {
  position: absolute; bottom: 12px; left: 50%; translate: -50% 0; z-index: 2;
  display: flex; gap: 7px;
}
.pt-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(253, 253, 253, .45); cursor: pointer;
  transition: background .25s, transform .25s var(--ease);
}
.pt-dot:hover { transform: scale(1.3); }
.pt-dot[aria-current="true"] { background: #fff; }

.chip.logotip { color: var(--yellow); border-color: rgba(255, 205, 1, .45); }
.project.t2 .proj-thumb { background: linear-gradient(150deg, rgba(161,121,200,.22), rgba(37,168,223,.14) 60%, transparent), #172e3a; }
.project.t3 .proj-thumb { background: linear-gradient(125deg, rgba(54,182,225,.2), rgba(225,199,255,.1) 70%, transparent), #142b37; }
.project.t4 .proj-thumb { background: linear-gradient(160deg, rgba(255,205,1,.1), rgba(37,168,223,.16) 55%, transparent), #16303d; }
.project.t5 .proj-thumb { background: linear-gradient(140deg, rgba(37,168,223,.24), rgba(136,109,191,.12) 65%, transparent), #142b37; }
.project.t6 .proj-thumb { background: linear-gradient(155deg, rgba(225,199,255,.16), rgba(54,182,225,.14) 50%, transparent), #172e3a; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; letter-spacing: .04em;
  color: var(--cyan-2); border: 1px solid rgba(54,182,225,.4);
  border-radius: 999px; padding: 4px 12px;
  transition: background .25s, color .25s;
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.chip.grafika { color: var(--purple-2); border-color: rgba(161,121,200,.45); }
.project:hover .chip { background: rgba(54,182,225,.1); }
.project h3 { font-size: 30px; color: #fff; margin-bottom: 10px; }
.project p { color: rgba(253,253,253,.68); font-size: 19px; max-width: 46ch; margin: 0; }

.projects-more { text-align: center; margin-top: 64px; }

/* ---------- Izjave strank ----------
   Ločen pas z nežno obarvanim ozadjem, da se vizualno loči od FAQ. */
.testimonial {
  padding: 96px 0;
  background: linear-gradient(135deg, #eef6fa 0%, #f7f4fc 55%, #f1f7f5 100%);
  border-block: 1px solid var(--line);
}
.bubble {
  position: relative; max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 44px 52px 38px; box-shadow: var(--shadow);
}
.bubble::after {
  content: ""; position: absolute; left: 72px; bottom: -17px;
  width: 34px; height: 34px; background: #fff;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg) skew(10deg, 10deg); border-radius: 0 0 8px 0;
}
.bubble blockquote { margin: 0; font-size: 22px; line-height: 1.6; color: var(--text); }
.bubble blockquote::before {
  content: "“"; display: block; font: 400 74px/0.6 var(--font-head); color: var(--cyan); margin-bottom: 18px;
}
.bubble figcaption { margin-top: 22px; font-size: 15px; color: var(--text-soft); }
.bubble figcaption strong { color: var(--text); font-weight: 500; }
.t-stars { color: var(--yellow); letter-spacing: 3px; font-size: 15px; margin-top: 26px; }

/* dvostolpčna postavitev: predstavitev + izjave */
.t-grid {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: 80px; align-items: center;
}
.t-intro h2 { font-size: clamp(34px, 4.2vw, 55px); color: var(--text); }
.t-intro > p:not(.eyebrow) { font-size: 20px; color: var(--text-soft); max-width: 48ch; }
.t-stats { display: flex; gap: 52px; margin-top: 44px; flex-wrap: wrap; }
.t-num {
  display: block; font: 400 46px/1 var(--font-head); color: var(--purple);
}
.t-stats small { display: block; margin-top: 8px; font-size: 15.5px; color: var(--text-soft); }
.t-stats > div:nth-child(2) .t-num { color: var(--cyan); }

/* vrtiljak izjav: naključni začetek, preklop s pikicami */
.t-slider .bubble { display: none; }
.t-slider .bubble.active { display: block; animation: t-fade .5s var(--ease); }
@keyframes t-fade { from { opacity: 0; transform: rotate(0deg) translateY(12px); } }
.t-showcase .bubble { max-width: none; margin: 0; transform: rotate(-1.2deg); transition: transform .4s var(--ease); }
.t-showcase .bubble:hover { transform: rotate(0deg); }
@media (max-width: 980px) {
  .t-grid { grid-template-columns: 1fr; gap: 52px; }
  .t-stats { gap: 40px; }
}
.t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.t-dot {
  width: 11px; height: 11px; border-radius: 50%; padding: 0;
  border: 0; background: var(--line); cursor: pointer;
  transition: background .25s, transform .25s var(--ease);
}
.t-dot:hover { transform: scale(1.25); }
.t-dot[aria-current="true"] { background: var(--cyan); transform: scale(1.15); }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0 110px; position: relative; }
.faq h2 { font-size: clamp(34px, 4.2vw, 55px); color: var(--text); }
.faq .intro { max-width: 70ch; font-size: 20px; color: var(--text-soft); margin-bottom: 42px; }
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0;
  font: 500 21px/1.4 var(--font-body); color: var(--text);
  position: relative; transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 9px; height: 9px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item .faq-a { padding: 0 0 26px; color: var(--text-soft); font-size: 18px; max-width: 68ch; }
.faq-poly {
  position: absolute; right: -120px; bottom: -60px; width: min(46vw, 620px);
  pointer-events: none; opacity: .55; transform: scaleX(-1);
}

/* ---------- Kontakt ---------- */
.contact { padding: 96px 0 110px; position: relative; overflow: hidden; }
.contact h2 { font-size: clamp(34px, 4.2vw, 55px); text-align: center; }
.contact .intro { max-width: 66ch; font-size: 20px; margin: 0 auto 48px; text-align: center; color: rgba(253,253,253,.72); }
.contact-form { max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 15.5px; margin-bottom: 7px; color: rgba(253,253,253,.65); }
.field input, .field textarea {
  width: 100%; background: rgba(253,253,253,.05);
  border: 1px solid var(--line-inv); border-radius: 8px;
  color: #fff; font: 400 17px var(--font-body);
  padding: 14px 16px; transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); background: rgba(253,253,253,.08);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .err { display: none; color: #ff9c9c; font-size: 13px; margin-top: 5px; }
.field.invalid input, .field.invalid textarea { border-color: #e2707c; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -5000px; }
.form-actions { text-align: center; margin-top: 30px; }
.form-status { text-align: center; margin-top: 18px; font-size: 15px; color: var(--cyan-2); min-height: 1.4em; }

/* ---------- Noga ---------- */
.site-footer { background: var(--ink-2); color: rgba(253,253,253,.68); font-size: 16px; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr;
  gap: 48px; padding: 70px 0 54px;
}
.site-footer h4 {
  color: #fff; font: 400 15px var(--font-body); font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: 20px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-tagline { max-width: 30ch; }
/* v stilu eyebrow napisa iz glave: brez okvirja, vijola, Cal Sans */
.badge-26 {
  display: inline-block; margin-top: 18px;
  color: var(--purple-2);
  font: 400 21px/1.3 var(--font-head);
}
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: rgba(253,253,253,.68); transition: color .2s; }
.site-footer a:hover { color: var(--cyan-2); }
.footer-nav ul, .footer-lang ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
/* jeziki: brez obrob, minimalno kot burger */
.lang-switch { display: flex; align-items: center; gap: 18px; }
.lang-switch a { font-size: 17px; padding: 2px 0; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] {
  color: #fff; pointer-events: none; position: relative;
}
.lang-switch a[aria-current="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; border-radius: 2px; background: var(--cyan);
}
/* partnerski pas */
.footer-partners {
  border-top: 1px solid var(--line-inv);
  padding: 30px 0;
  display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap;
}
.footer-partners p {
  margin: 0; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(253,253,253,.45);
}
.footer-partners ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 26px 44px; flex-wrap: wrap;
}
.footer-partners img {
  height: 30px; width: auto; opacity: .7;
  /* temne SVG logotipe prebarva v svetlo sivo za temno podlago */
  filter: grayscale(1) invert(1) brightness(.95);
  transition: opacity .25s;
}
.footer-partners li:hover img { opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--line-inv);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(253,253,253,.42);
}
@media (max-width: 760px) {
  .footer-partners { flex-direction: column; align-items: flex-start; padding: 26px 0; }
  .footer-partners img { height: 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ---------- Članki: pas na domači strani ---------- */
.articles { padding: 90px 0 100px; }
.articles h2 { font-size: clamp(34px, 4.2vw, 55px); color: var(--text); margin-bottom: 44px; }
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.article-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 22px;
  padding: 40px 42px 36px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.article-card:nth-child(1) { background: linear-gradient(150deg, #eefaff 0%, #fdfdfd 55%); }
.article-card:nth-child(2) { background: linear-gradient(150deg, #f7f2ff 0%, #fdfdfd 55%); }
/* velika razigrana ikona v ozadju kartice */
.article-card::before {
  content: ""; position: absolute; right: -34px; top: -30px;
  width: 190px; height: 190px; transform: rotate(12deg);
  background: currentColor; opacity: .1; pointer-events: none;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: transform .5s var(--ease), opacity .4s;
}
.article-card:nth-child(1) { color: var(--cyan); }
.article-card:nth-child(1)::before {
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4a1 1 0 0 0 1 1h2l4.5 4V5L6 9H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M14 8a5 5 0 0 1 0 8'/%3E%3Cpath d='M17 5.5a9 9 0 0 1 0 13'/%3E%3Cpath d='M7.5 15.5l1 4.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4a1 1 0 0 0 1 1h2l4.5 4V5L6 9H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M14 8a5 5 0 0 1 0 8'/%3E%3Cpath d='M17 5.5a9 9 0 0 1 0 13'/%3E%3Cpath d='M7.5 15.5l1 4.5'/%3E%3C/svg%3E");
}
.article-card:nth-child(2) { color: var(--purple); }
.article-card:nth-child(2)::before {
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3Cpath d='M17 9h3v8a2 2 0 0 1-2 2'/%3E%3Cpath d='M7 9h7M7 12.5h7M7 16h4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3Cpath d='M17 9h3v8a2 2 0 0 1-2 2'/%3E%3Cpath d='M7 9h7M7 12.5h7M7 16h4'/%3E%3C/svg%3E");
}
.article-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); }
.article-card:hover::before { transform: rotate(4deg) scale(1.08); opacity: .16; }
.article-card h3 { position: relative; font-size: 27px; margin-bottom: 4px; color: var(--text); }
.article-card h3 a { color: var(--text); transition: color .25s; }
.article-card h3 a:hover { color: var(--cyan); }
.article-card .a-sub { font: 400 19px/1.4 var(--font-head); color: var(--purple-2); margin-bottom: 18px; }
.article-card p { color: var(--text-soft); font-size: 17px; }
.a-more {
  margin-top: auto; padding-top: 10px; align-self: flex-start;
  font-weight: 600; font-size: 16.5px; color: var(--cyan);
}
.a-more:hover { color: var(--purple); }
@media (max-width: 860px) {
  .articles-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-card { padding: 30px 26px 28px; }
}

/* ---------- Članek: samostojna podstran ---------- */
.article-hero { padding: 56px 0 12px; }
.breadcrumb { font-size: 15px; color: var(--text-soft); margin-bottom: 26px; }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--cyan); }
.article-hero h1 { font-size: clamp(34px, 4.6vw, 56px); max-width: 22ch; margin-bottom: 10px; }
.article-hero .a-sub { font: 400 clamp(20px, 2.4vw, 27px)/1.35 var(--font-head); color: var(--purple-2); margin-bottom: 18px; }
.article-meta { font-size: 15px; color: var(--text-soft); }
.article-meta .dot-sep { margin-inline: 8px; opacity: .5; }

/* vsebina članka je levo poravnana z naslovom (znotraj containerja),
   širina vrstic pa omejena za berljivost */
.article-body { padding: 26px 24px 96px; }
.article-body > * { max-width: 780px; }
.article-body p { font-size: 19px; line-height: 1.8; color: var(--text); margin-bottom: 1.3em; }
.article-body h2 { font-size: clamp(26px, 3vw, 34px); color: var(--text); margin: 1.6em 0 .6em; }
.article-body ul { padding-left: 24px; margin: 0 0 1.3em; }
.article-body li { font-size: 18.5px; line-height: 1.75; color: var(--text); margin-bottom: 10px; }
.article-body strong { font-weight: 600; }
.article-body a { border-bottom: 1px solid rgba(37,168,223,.35); }
.article-body .article-cta { margin-top: 44px; }

/* ---------- Zahvalna stran ---------- */
.thanks { padding: 100px 0 130px; text-align: center; }
.thanks img.thanks-head {
  height: 140px; width: auto; margin: 0 auto 38px; display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .thanks img.thanks-head { animation: thanks-hello 3.2s var(--ease) infinite; transform-origin: 50% 85%; }
  @keyframes thanks-hello {
    0%, 100% { transform: rotate(0deg); }
    12% { transform: rotate(-7deg); }
    26% { transform: rotate(6deg); }
    40% { transform: rotate(0deg); }
  }
}
.thanks h1 { font-size: clamp(36px, 4.8vw, 58px); margin-bottom: 14px; }
.thanks .t-sub { font: 400 clamp(20px, 2.4vw, 26px)/1.4 var(--font-head); color: var(--purple-2); margin-bottom: 22px; }
.thanks p.note { max-width: 52ch; margin: 0 auto 44px; font-size: 19px; color: var(--text-soft); }
.thanks .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Impresum (dialog) ---------- */
.imprint {
  border: 0; border-radius: 18px; padding: 44px 48px;
  max-width: 680px; width: calc(100vw - 48px);
  background: var(--paper); color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(12, 28, 36, .55);
}
.imprint::backdrop {
  background: rgba(12, 28, 36, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.imprint h3 { font-size: 30px; margin-bottom: 24px; }
.imprint dl { margin: 0; font-size: 16.5px; }
.imprint dl > div {
  display: grid; grid-template-columns: 175px 1fr; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.imprint dl > div:last-child { border-bottom: 0; }
.imprint dt { color: var(--text-soft); white-space: nowrap; }
.imprint dd { margin: 0; font-weight: 500; white-space: nowrap; }
@media (max-width: 620px) { .imprint dd { white-space: normal; } }
.imprint em { font-style: normal; color: var(--purple); font-weight: 400; }
.imprint-close {
  position: absolute; top: 14px; right: 16px;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: transparent; color: var(--text-soft);
  font: 400 26px/1 var(--font-body); cursor: pointer;
  transition: color .2s, background .2s;
}
.imprint-close:hover { color: var(--text); background: var(--mist); }
@media (max-width: 560px) {
  .imprint { padding: 34px 24px; }
  .imprint dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
h2 .w { display: inline-block; opacity: 0; transform: translateY(.55em); transition: opacity .6s var(--ease), transform .6s var(--ease); }
h2.in .w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, h2 .w, .c-node { opacity: 1 !important; transform: none !important; translate: 0 0 !important; transition: none !important; }
  .smiley { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Odzivnost ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; gap: 48px; }
  .smiley { width: 100%; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  /* v glavi samo obraz logotipa (ločen SVG prek <picture>), v nogi ostane cel */
  .site-header .brand img { height: 54px; }
  .site-header.scrolled .brand img { height: 44px; }
  .hero { padding-top: 48px; }
  /* na telefonu štrli izsek molekule iz desnega roba */
  .hero-poly { opacity: .45; right: -38%; width: 82%; height: auto; bottom: -30px; }
  .stats-grid { grid-template-columns: 1fr; gap: 36px; }
  .projects-grid { grid-template-columns: 1fr; gap: 44px; }
  .header-contact .hide-m { display: none; }
  .bubble { padding: 34px 28px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 54px 40px; }
}

/* ==================== CHIP IKONE ====================
   Poskusna funkcija. Za povrnitev IZBRIŠI cel blok do oznake KONEC. */

.filter-chip::before {
  content: ""; display: inline-block; width: 15px; height: 15px;
  margin-right: 9px; vertical-align: -2.5px;
  background: currentColor;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.filter-chip[data-filter="all"]::before { -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.filter-chip[data-filter="splet"]::before { -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c3 3.6 3 14.4 0 18-3-3.6-3-14.4 0-18z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c3 3.6 3 14.4 0 18-3-3.6-3-14.4 0-18z'/%3E%3C/svg%3E"); }
.filter-chip[data-filter="grafika"]::before { -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1.2-4.2L16.5 4.5l3 3L8.2 18.8 4 20z'/%3E%3Cpath d='M13.5 7.5l3 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1.2-4.2L16.5 4.5l3 3L8.2 18.8 4 20z'/%3E%3Cpath d='M13.5 7.5l3 3'/%3E%3C/svg%3E"); }
.filter-chip[data-filter="logotip"]::before { -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10l4 5.5L12 20 3 9.5z'/%3E%3Cpath d='M3 9.5h18'/%3E%3Cpath d='M12 20L8.5 9.5 12 4l3.5 5.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10l4 5.5L12 20 3 9.5z'/%3E%3Cpath d='M3 9.5h18'/%3E%3Cpath d='M12 20L8.5 9.5 12 4l3.5 5.5z'/%3E%3C/svg%3E"); }

/* kartice: samo ikona, brez krogca/obrobe, enotna barva kot filtri */
.chips .chip {
  font-size: 0; gap: 0; padding: 2px;
  border: 0; background: none !important; border-radius: 0;
  color: rgba(253, 253, 253, .75);
}
.project:hover .chips .chip { color: #fff; }
.chips .chip::before {
  content: ""; width: 16px; height: 16px; border-radius: 0;
  background: currentColor;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.chips .chip.splet::before { -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c3 3.6 3 14.4 0 18-3-3.6-3-14.4 0-18z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c3 3.6 3 14.4 0 18-3-3.6-3-14.4 0-18z'/%3E%3C/svg%3E"); }
.chips .chip.grafika::before { -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1.2-4.2L16.5 4.5l3 3L8.2 18.8 4 20z'/%3E%3Cpath d='M13.5 7.5l3 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1.2-4.2L16.5 4.5l3 3L8.2 18.8 4 20z'/%3E%3Cpath d='M13.5 7.5l3 3'/%3E%3C/svg%3E"); }
.chips .chip.logotip::before { -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10l4 5.5L12 20 3 9.5z'/%3E%3Cpath d='M3 9.5h18'/%3E%3Cpath d='M12 20L8.5 9.5 12 4l3.5 5.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10l4 5.5L12 20 3 9.5z'/%3E%3Cpath d='M3 9.5h18'/%3E%3Cpath d='M12 20L8.5 9.5 12 4l3.5 5.5z'/%3E%3C/svg%3E"); }

/* ==================== KONEC: CHIP IKONE ==================== */
