/* =========================================================
   CAFUTA d.o.o. – slogi spletne strani
   Barve in pisava povzete po obstoječi strani cafuta.eu
   ========================================================= */
@font-face { font-family: "Aguda"; src: url("../fonts/Graviton-Aguda-LightCE.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Aguda"; src: url("../fonts/Graviton-Aguda-RegularCE.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aguda"; src: url("../fonts/Graviton-Aguda-BoldCE.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Aguda"; src: url("../fonts/Graviton-Aguda-BlackCE.woff") format("woff"); font-weight: 900; font-display: swap; }

:root {
  --orange: #ee7421;
  --orange-dark: #d0621a;
  --orange-soft: #fdf0e6;
  --grey: #53585a;          /* glavna siva znamke */
  --grey-dark: #3e4244;
  --grey-darker: #121316;   /* spodnja vrstica noge */
  --text: #5d6366;
  --heading: #333333;
  --line: #e2e2e2;
  --bg: #f6f6f6;
  --bg-top: #f9f9f9;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 2px 4px rgba(0,0,0,.04), 0 10px 28px rgba(0,0,0,.07);
  --max: 1200px;
  --font: "Aguda", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-weight: 400; font-size: 17px; line-height: 1.7;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--grey); }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
strong { color: var(--heading); font-weight: 700; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg); }
.section--grey { background: var(--grey); color: #d9dcdd; }
.section--grey h2, .section--grey h3, .section--grey strong { color: #fff; }
.eyebrow {
  display: inline-block; font-weight: 900; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.title-bar { display: block; width: 56px; height: 4px; background: var(--orange); margin: 0 0 22px; border-radius: 2px; }
.lead { font-size: 1.15rem; max-width: 760px; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .title-bar { margin-left: auto; margin-right: auto; }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius);
  font-family: var(--font); font-weight: 900; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--grey); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--grey); }
.btn--outline { border-color: var(--grey); color: var(--grey); }
.btn--outline:hover { background: var(--grey); color: #fff; }

/* ---------- Zgornja vrstica ---------- */
.topbar { background: var(--bg-top); border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--grey); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: var(--grey); }
.topbar a:hover { color: var(--orange); }
.topbar__contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__social { display: flex; gap: 12px; align-items: center; }
.topbar__social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Glava ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(0,0,0,.04);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 20px; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--grey); font-weight: 900; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 34px 10px; border-top: 3px solid transparent;
}
.nav a:hover { color: var(--orange); }
.nav a[aria-current="page"] { color: var(--orange); border-top-color: var(--orange); }
.nav .lang { padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius); margin-left: 10px; font-size: .78rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--grey); }
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1240px) {
  .site-header .container { height: 76px; }
  .logo img { height: 46px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 20px 20px; box-shadow: var(--shadow); border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-top: 0; border-bottom: 1px solid var(--bg); }
  .nav a[aria-current="page"] { border-left: 3px solid var(--orange); padding-left: 10px; }
  .nav .lang { margin: 14px 0 0; text-align: center; }
}

/* ---------- Hero (domača stran) ---------- */
.hero {
  position: relative; color: #fff; padding: 140px 0 150px; overflow: hidden;
  background: #2b2e30 url("../img/technology-engineer-KQE3U59N.jpg.webp") center right / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(40,43,45,.92) 0%, rgba(40,43,45,.75) 45%, rgba(40,43,45,.15) 100%);
}
.hero .container { position: relative; }
.hero__content { max-width: 640px; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--orange); }
.hero .lead { color: #e4e6e7; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
@media (max-width: 760px) { .hero { padding: 90px 0 100px; } }

/* ---------- Številke ---------- */
.stats { background: var(--orange); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 22px; border-left: 1px solid rgba(255,255,255,.25); }
.stat:first-child { border-left: 0; }
.stat__num { font-size: 2.4rem; font-weight: 900; line-height: 1.05; }
.stat__label { font-size: .95rem; color: #fff3ea; }
@media (max-width: 800px) {
  .stats .container { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.25); }
}

/* ---------- Mreže in kartice ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; color: inherit; transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.service-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-card__img img { transform: scale(1.04); }
.service-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--orange); }
.service-card__body p { font-size: .98rem; }
.more { margin-top: auto; font-weight: 900; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card--accent { border-top: 3px solid var(--orange); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Tekst + slika ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 90px; }
.split--reverse .split__media { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media { order: 0; }
  .split + .split { margin-top: 64px; }
}

.figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.figure img { width: 100%; }
.figure figcaption { padding: 10px 16px; font-size: .88rem; color: var(--text); border-top: 1px solid var(--line); background: var(--bg-top); }
.figure--photo { border: 0; box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .gallery, .gallery--2 { grid-template-columns: 1fr; } }

/* ---------- Seznami ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8'/%3E%3C/svg%3E");
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: calc(.45em + 3px); width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.steps-list { list-style: none; padding: 0; counter-reset: s; }
.steps-list li { counter-increment: s; position: relative; padding: 14px 0 14px 60px; border-bottom: 1px solid var(--line); margin: 0; }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: 10px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange); font-weight: 900; display: grid; place-items: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .92rem; color: var(--grey); font-weight: 700; }

.note { border-left: 4px solid var(--orange); background: var(--orange-soft); padding: 18px 22px; color: var(--heading); border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Naslovna vrstica podstrani ---------- */
.page-hero {
  position: relative; color: #fff; padding: 90px 0 96px;
  background-color: var(--grey); background-position: center; background-size: cover; background-repeat: no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(83,88,90,.95) 0%, rgba(83,88,90,.82) 55%, rgba(83,88,90,.55) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: #eceeee; }
.breadcrumb { font-size: .85rem; margin-bottom: 18px; color: #d6d9da; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 8px; color: var(--orange); }

/* ---------- Postavitev podstrani ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } }
.prose > h2 { margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.aside { position: sticky; top: 120px; display: grid; gap: 20px; }
.aside-card { background: var(--bg); border-radius: var(--radius); padding: 26px; }
.aside-card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.aside-nav { list-style: none; padding: 0; margin: 0; }
.aside-nav li { margin: 0; }
.aside-nav a { display: block; padding: 10px 0 10px 14px; border-left: 3px solid transparent; border-bottom: 1px solid var(--line); color: var(--grey); font-weight: 700; }
.aside-nav li:last-child a { border-bottom: 0; }
.aside-nav a:hover { color: var(--orange); }
.aside-nav a[aria-current="page"] { color: var(--orange); border-left-color: var(--orange); }
.aside-card--cta { background: var(--grey); color: #e4e6e7; }
.aside-card--cta h3 { color: #fff; }
.aside-card--cta .btn { width: 100%; justify-content: center; }
@media (max-width: 1000px) { .aside { position: static; } }

/* ---------- Reference ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logos__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 96px;
  display: grid; place-items: center; padding: 14px;
}
.logos__item img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos__item:hover img { filter: none; opacity: 1; }
@media (max-width: 980px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pasica Moldex3D ---------- */
.banner { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.banner img { width: 100%; }

/* ---------- CTA pas ---------- */
.cta-band { background: var(--orange); color: #fff; padding: 58px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #fff3ea; }
.cta-band .btn { background: #fff; color: var(--orange-dark); }
.cta-band .btn:hover { background: var(--grey); color: #fff; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item__icon { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; color: var(--grey); }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label { font-weight: 700; font-size: .9rem; color: var(--heading); display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 1px solid #d2d2d2; border-radius: var(--radius); font: inherit; font-size: 1rem; background: #fff; color: var(--heading);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.form textarea { min-height: 150px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 400; color: var(--text); }
.form .check input { width: auto; margin-top: 5px; }
.map { border: 0; width: 100%; height: 400px; display: block; }

/* ---------- Noga ---------- */
.site-footer { background: var(--grey); color: #d9dcdd; padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .9rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; padding: 0; }
.footer-logo img { width: 150px; margin-bottom: 18px; }
.footer-bottom { background: var(--grey-darker); color: #9a9ea0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom a { color: #c9cccd; }

/* ---------- Dostopnost ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 10px; z-index: 100; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Slike-diapozitivi (bela podlaga) v karticah */
.service-card__img--contain { background: #fff; }
.service-card__img--contain img { object-fit: contain; padding: 6px; }
.service-card:hover .service-card__img--contain img { transform: scale(1.02); }

/* ---------- Primeri ---------- */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .examples { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .examples { grid-template-columns: 1fr; } }
.example { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.example__img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 3px solid var(--orange); }
.example__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.example__img--cover img { object-fit: cover; padding: 0; }
.example__body { padding: 20px 22px 22px; }
.example__body h3 { font-size: 1.08rem; margin-bottom: .35em; }
.example__body p, .example__body li { font-size: .93rem; }
.example__body ul { padding-left: 1.1em; margin-bottom: 0; }
.example__tag { display: inline-block; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.phases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.phases figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; text-align: center; font-size: .8rem; }
.phases img { width: 100%; }
@media (max-width: 800px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.kpi { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0 16px; }
.kpi span { background: var(--orange-soft); color: var(--orange-dark); font-weight: 900; border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--heading); width: 38%; font-weight: 700; }
a.card, a.example { color: inherit; transition: box-shadow .2s, transform .2s; }
a.card p, a.example p { color: var(--text); }
a.card:hover, a.example:hover { color: inherit; box-shadow: var(--shadow); transform: translateY(-2px); }

/* Meni z 9 postavkami */
@media (min-width: 1241px) {
  .nav a { font-size: .78rem; letter-spacing: .03em; padding: 34px 8px; }
  .logo img { height: 50px; }
}
.grid--4 .service-card__body { padding: 22px 20px 24px; }
.grid--4 .service-card__body h3 { font-size: 1.1rem; }
.gallery .figure--photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.section--grey .lead { color: #e4e6e7; }
.section--grey .example h3 { color: var(--heading); }
.section--grey .example p, .section--grey .example li { color: var(--text); }

/* ---------- Povpraševanje ---------- */
.inquiry { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 1000px) { .inquiry { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 900; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; padding: 0; }
.form-block { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); display: grid; gap: 16px; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 700px) { .form-row--3 { grid-template-columns: 1fr; } }
.req { color: var(--orange); }
.hint { font-size: .85rem; color: var(--text); margin-top: 4px; }
.chip-check { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-check label { margin: 0; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-block; border: 1px solid #cfd3d5; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem; color: var(--grey); background: #fff; transition: all .15s; }
.chip-check input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.dropzone {
  border: 2px dashed #c9cdcf; border-radius: var(--radius); background: var(--bg-top); padding: 34px 20px; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--orange); background: var(--orange-soft); }
.dropzone svg { width: 42px; height: 42px; color: var(--orange); margin: 0 auto 10px; }
.dropzone strong { display: block; font-size: 1.05rem; }
.dropzone .types { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.dropzone .types span { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; font-size: .78rem; font-weight: 900; color: var(--grey); }
.dropzone input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin: 0; font-size: .92rem; }
.file-list .ext { flex: 0 0 auto; background: var(--grey); color: #fff; font-weight: 900; font-size: .72rem; border-radius: 3px; padding: 3px 7px; text-transform: uppercase; }
.file-list .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--heading); }
.file-list .size { color: var(--text); font-size: .85rem; }
.file-list button { border: 0; background: none; color: var(--grey); cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 2px 6px; }
.file-list button:hover { color: var(--orange); }
.file-error { color: #b3261e; font-size: .9rem; margin-top: 8px; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); background: #e8f5e9; color: #1b5e20; border-left: 4px solid #2e7d32; }
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fdecea; color: #8c1d18; border-left-color: #c62828; }
.steps-mini { list-style: none; padding: 0; counter-reset: s; margin: 0; }
.steps-mini li { counter-increment: s; position: relative; padding: 0 0 14px 38px; margin: 0; font-size: .95rem; }
.steps-mini li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; font-size: .8rem; display: grid; place-items: center; }
.subopts { background: var(--bg-top); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--radius); padding: 16px 18px; animation: subIn .2s ease; }
.subopts h4 { font-size: .95rem; margin: 0 0 10px; color: var(--heading); }
.chip-check--sm span { padding: 6px 13px; font-size: .85rem; font-weight: 600; }
@keyframes subIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav a.nav-cta { color: #fff; padding: 11px 16px; margin-left: 8px; border-top: 0; letter-spacing: .06em; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { background: var(--grey); color: #fff; }
@media (max-width: 1240px) { .nav a.nav-cta { margin: 14px 0 0; justify-content: center; border: 0; padding: 14px; } }
.topbar__lang { font-weight: 700; font-size: .8rem; letter-spacing: .04em; padding-right: 12px; margin-right: 4px; border-right: 1px solid var(--line); }
@media (min-width: 1241px) {
  .nav a { white-space: nowrap; font-size: .76rem; letter-spacing: .02em; padding: 34px 6px; }
  .nav a.nav-cta { padding: 10px 14px; margin-left: 10px; }
  .logo img { height: 46px; }
}
.langs { display: flex; gap: 2px; padding-right: 12px; margin-right: 4px; border-right: 1px solid var(--line); }
.langs a { font-weight: 700; font-size: .78rem; letter-spacing: .04em; padding: 2px 6px; border-radius: 3px; color: var(--grey); }
.langs a[aria-current="true"] { background: var(--orange); color: #fff; }
.langs a:hover { color: var(--orange); }
.langs a[aria-current="true"]:hover { color: #fff; }

/* ---------- Pogosta vprašanja ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__list { display: grid; gap: 12px; max-width: 900px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; color: var(--heading); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--orange); font-weight: 400; }
.faq__item[open] summary::after { content: "–"; }
.faq__item[open] summary { border-bottom: 1px solid var(--line); }
.faq__item p { margin: 0; padding: 16px 22px 20px; }

/* Primeri: 2 stolpca z večjimi slikami */
.examples { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.examples .example__img { aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .examples { grid-template-columns: 1fr; } }
/* 3 ali 6 primerov -> trije stolpci (brez praznih mest) */
.examples:has(> :nth-child(3):last-child),
.examples:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) {
  .examples:has(> :nth-child(3):last-child),
  .examples:has(> :nth-child(6):last-child) { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .examples:has(> :nth-child(3):last-child),
  .examples:has(> :nth-child(6):last-child) { grid-template-columns: 1fr; }
}

/* Moldex3D kot logotip v meniju in nogi */
.moldex-word { font-family: Arial, Helvetica, sans-serif; text-transform: none; letter-spacing: -.02em; font-size: 1.12em; line-height: 1; color: #e8892b; font-weight: 400; }
.moldex-word b { color: #c3261a; font-weight: 700; }
.nav a.moldex-link:hover .moldex-word, .footer a.moldex-link:hover .moldex-word { opacity: .8; }

/* Obrez pasu z naslovom na animacijah (GIF) */
.crop { position: relative; width: 100%; overflow: hidden; }
.crop > img, .example__img .crop > img { position: absolute; left: 0; width: 100%; height: auto; padding: 0; object-fit: fill; }
.example__img .crop { margin: 10px; width: calc(100% - 20px); }

/* Faze globokega vleka v eni kartici */
.example__img--phases { aspect-ratio: auto; display: block; padding: 18px 18px 12px; }
.phase-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.phase-strip figure { margin: 0; text-align: center; }
.phase-strip img { width: 100%; height: auto; padding: 0; object-fit: contain; }
.phase-strip figcaption { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-top: 4px; }
@media (max-width: 800px) { .phase-strip { grid-template-columns: repeat(3, 1fr); } }

/* 7 ali več primerov: trije stolpci */
.examples:has(> :nth-child(7)) { grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .examples:has(> :nth-child(7)) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .examples:has(> :nth-child(7)) { grid-template-columns: 1fr; } }

/* Večji logotip; večbesedne postavke menija v dveh vrsticah */
@media (min-width: 1241px) {
  .logo img { height: 66px; }
  .site-header .container { height: 96px; }
  .nav a:not(.nav-cta) { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; white-space: nowrap; line-height: 1.2; min-height: 96px; padding: 0 9px; font-size: .8rem; }
  .nav a .nl { display: block; }
}

/* Moldex3D v meniju +20 % */
.nav .moldex-word { font-size: 1.344em; }

/* Animacije kot video (namesto GIF) */
.example__img video { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; }
.figure video { width: 100%; display: block; background: #fff; }

/* Moldex3D logotip v glavnem meniju */
.nav .moldex-logo { height: 14px; width: auto; max-width: none; flex-shrink: 0; aspect-ratio: 399 / 68; object-fit: contain; display: block; }
.nav a.moldex-link { flex-shrink: 0; }
.nav a.moldex-link:hover .moldex-logo { opacity: .8; }

/* Prostor za fotografijo lokacije (O nas) */
.location-photo { margin: 28px 0 0; }
.photo-placeholder { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--text); font-size: .95rem; background: repeating-linear-gradient(135deg, var(--bg) 0 14px, var(--bg-top) 14px 28px); border: 2px dashed var(--line); }
.location-photo img { aspect-ratio: 16 / 9; object-fit: cover; }

/* YouTube video – naloži se šele ob kliku (brez piškotkov pred tem) */
.yt-facade { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: radial-gradient(circle at 30% 20%, #4a4f52 0%, #1d2022 70%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; }
.yt-facade__btn { border: 0; background: none; padding: 0; cursor: pointer; width: 84px; transition: transform .15s; }
.yt-facade__btn:hover, .yt-facade__btn:focus-visible { transform: scale(1.08); }
.yt-facade__btn svg { width: 100%; display: block; }
.yt-facade__title { font-size: 1.1rem; color: #fff; }
.yt-facade__note { font-size: .82rem; opacity: .75; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Podnaslov v kartici povpraševanja (O nas) */
.card-sub { font-size: 1.1rem; margin: 28px 0 12px; }
.card-sub + .check-list { margin-bottom: 28px; }

/* Povezava na obe lokaciji (O nas) */
.maps-both { margin: -4px 0 22px 64px; font-size: .92rem; }
.maps-both a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1240px) { .nav .moldex-logo { height: 12.75px; } }

/* Galerija: fotografije v razmerju 16:9, pokončne in simulacijske slike brez obrezovanja */
.gallery .figure--photo img { aspect-ratio: 16 / 9; }
.figure--contain img, .gallery .figure--contain img { object-fit: contain; background: #fff; }

/* Cela fotografija brez obrezovanja (pedalni sklop), robovi v barvi ozadja fotografije */
.example__img--full { background: #c4ccd5; }
.example__img--full img { object-fit: contain; padding: 0; }

/* Zložljivi primeri: kartice so skrite, odpre jih klik na gumb */
.reveal { margin-top: 34px; }
.reveal > summary { list-style: none; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; padding: 13px 22px; border: 2px solid var(--orange); border-radius: var(--radius); color: var(--orange); font-weight: 900; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; transition: background .2s, color .2s; user-select: none; }
.reveal > summary::-webkit-details-marker { display: none; }
.reveal > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.reveal[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.reveal > summary:hover, .reveal > summary:focus-visible { background: var(--orange); color: #fff; }
.reveal__hide { display: none; }
.reveal[open] .reveal__show { display: none; }
.reveal[open] .reveal__hide { display: inline; }
.reveal > .examples, .reveal > .gallery { margin-top: 30px !important; text-align: left; }
.section-head--center + .reveal { text-align: center; }

/* Slika v naravni velikosti (brez povečave), npr. majhne izvirne slike */
.example__img--native img { width: auto; height: auto; max-width: 100%; max-height: 100%; }

/* Podnaslov znotraj zložljivega bloka (npr. galerija pod primeri) */
.reveal__sub { font-size: 1.3rem; margin: 56px 0 0; text-align: left; }
.reveal__sub + .gallery { margin-top: 22px !important; }

/* Združeni razdelek stroški + masa: sliki enake višine */
.opt-figs .figure img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }

/* Ključni podatki v karticah: navadno krepko besedilo namesto oranžnih mehurčkov */
.kpi { gap: 0; margin: 6px 0 12px; }
.kpi span { background: none; color: var(--heading); font-weight: 700; padding: 0; border-radius: 0; font-size: .92rem; }
.kpi span + span::before { content: "·"; margin: 0 10px; color: var(--orange); }

/* Pogosta vprašanja: zložena za gumbom, manjša pisava */
.reveal--faq > .faq__list { margin-top: 26px; }
.faq__item summary { padding: 13px 46px 13px 18px; font-size: .95rem; font-weight: 600; }
.faq__item summary::after { right: 16px; font-size: 1.2rem; }
.faq__item p { padding: 12px 18px 16px; font-size: .92rem; }
.faq__list { gap: 8px; }

/* Zgornja vrstica brez kontaktov: jezik in omrežja desno */
.topbar .container { justify-content: flex-end; }

/* Certifikat ISO 9001 (O nas): oznaka Bureau Veritas z zaščitnim območjem in predogledi certifikata */
.cert-mark { display: inline-block; background: #fff; padding: 22px; margin-top: 12px; border-radius: var(--radius); }
.cert-mark img { width: 280px; max-width: 100%; height: auto; display: block; }
.cert-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cert-doc { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--heading); box-shadow: var(--shadow); transition: transform .2s; }
.cert-doc:hover { transform: translateY(-3px); color: var(--orange); }
.cert-doc img { width: 100%; height: auto; display: block; border-bottom: 3px solid var(--orange); }
.cert-doc span { display: block; padding: 12px 14px; font-size: .88rem; font-weight: 600; }
@media (max-width: 640px) { .cert-docs { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* Izdelki: vse slike primerov enako velike, manjše in odmaknjene od oranžne črte */
.example__img--pad { background: #fff; position: relative; }
.example__img--pad img { position: absolute; inset: 0; box-sizing: border-box; width: 100%; height: 100%; object-fit: contain; padding: 30px 36px; }
