/* SPIX design – skupni slogi
   Barve in pisave so zbrane tukaj, da jih lahko enostavno spremeniš na enem mestu. */
:root {
  --bg: #1e3141;          /* temno modro ozadje (celostna podoba SPIX) */
  --bg-deep: #182836;
  --blue: #28aae1;        /* SPIX modra (celostna podoba) */
  --blue-soft: #6cc4ea;
  --yellow: #fbed1d;        /* SPIX rumena (celostna podoba) */
  --grey: #cccccc;
  --white: #ffffff;
  --text: #e6edf3;
  --text-muted: #a9b8c6;
  --line: rgba(255,255,255,.18);
  --radius: 14px;
  --wrap: 980px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- Glava ---------- */
.site-header {
  position: relative; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--bg);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { position: fixed; animation: slideDown .35s ease; background: rgba(30,49,65,.94); backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo . mascot" "nav nav icons";
  align-items: center;
  padding: 22px 0 12px;
  row-gap: 8px;
  transition: padding .3s;
}
.logo { grid-area: logo; margin-left: 28px; }
.logo img { width: 210px; transition: width .3s; }
.mascot { grid-area: mascot; width: 370px; justify-self: end; transition: width .3s, opacity .3s; }
.main-nav { grid-area: nav; }
.header-icons { grid-area: icons; display: flex; gap: 8px; align-items: center; justify-self: end; }

@keyframes slideDown { from { transform: translateY(-100%); } }
/* skrčena glava pri pomikanju */
.site-header.is-scrolled .header-inner { padding: 10px 0 8px; grid-template-areas: "logo nav icons"; row-gap: 0; }
.site-header.is-scrolled .logo img { width: 140px; }
.site-header.is-scrolled .mascot { display: none; }
.site-header.is-scrolled .main-nav { justify-self: center; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li + li { border-left: 1px solid var(--line); }
.main-nav a {
  position: relative; display: block;
  padding: 4px 16px;
  font: 500 16px/1.4 var(--font-body);
  text-decoration: none; color: var(--text);
  transition: color .2s;
}
.main-nav li:first-child a { padding-left: 10px; }
.main-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: -3px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav li:first-child a::after { left: 10px; }
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.main-nav a.is-current { color: var(--blue); }

.nav-toggle { display: none; }

.flag, .social {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .2s;
}
.flag svg { width: 22px; height: 22px; border-radius: 50%; }
.flag.is-active { background: var(--yellow); }
.social { background: var(--white); }
.social svg { width: 17px; height: 17px; fill: var(--bg); }
.flag:hover, .social:hover { transform: translateY(-2px); }
.social.lg { width: 40px; height: 40px; }
.social.lg svg { width: 26px; height: 26px; }

/* ---------- Naslovna ---------- */
.hero { padding-top: 18px; }
.hero-kicker {
  margin: 0 0 0 40px;
  font: 500 24px/1.2 var(--font-head);
  color: var(--blue);
}
.hero-title {
  margin: 2px 32px 22px 0;
  text-align: right;
  font: 700 clamp(30px, 4.4vw, 44px)/1.1 var(--font-head);
  letter-spacing: -.01em;
  color: var(--blue);
}

.slider {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img, .slide a { width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.slide-contain img { object-fit: contain; }
.slider-btn {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.35); cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .25s, background .2s;
}
.slider:hover .slider-btn, .slider-btn:focus-visible { opacity: 1; }
.slider-btn:hover { background: rgba(0,0,0,.6); }
.slider-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.slider-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px;
  background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s;
}
.slider-dots button[aria-selected="true"] { width: 26px; background: var(--blue); }

/* ---------- Storitve ---------- */
.services { text-align: center; padding-top: 24px; }
.scroll-cue { display: inline-block; width: 56px; animation: bob 2.4s ease-in-out infinite; }
.scroll-cue svg { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 50% { transform: translateY(6px); } }
.section-title {
  margin: 4px 0 32px;
  font: 700 26px/1 var(--font-body);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--white);
  padding-left: .32em; /* optično centriranje zaradi razmika črk */
}
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service {
  aspect-ratio: 16 / 17;
  display: grid; place-items: center;
  padding: 12px;
  border-radius: var(--radius);
  font: 700 17px/1.2 var(--font-body);
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.s-blue   { background: var(--blue); }
.s-yellow { background: var(--yellow); }
.s-grey   { background: var(--grey); }
.s-white  { background: var(--white); }

/* ---------- Vizija / Kdo smo ---------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  padding: 88px 0 72px;
  max-width: 900px;
}
.about-col { text-align: center; }
.about-col h2 {
  margin: 0 0 14px;
  font: 700 24px/1.2 var(--font-head);
  letter-spacing: .03em; text-transform: uppercase;
  color: var(--blue);
}
.about-col p { margin: 0 0 14px; color: var(--text); font-size: 17px; line-height: 1.7; }
.about-col a { color: var(--blue); text-underline-offset: 3px; }
.about-col a:hover { color: var(--yellow); }

/* ---------- Noga ---------- */
.site-footer { border-top: 1px solid transparent; }
.footer-inner {
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  gap: 20px 40px; align-items: center;
  padding: 28px 20px 8px;
  border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.55;
}
.footer-col { list-style: none; margin: 0; padding: 0; align-self: start; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--blue); }
.footer-social { display: flex; gap: 10px; justify-self: end; }
.footer-logo img { width: 150px; }
.copyright { text-align: center; font-size: 13px; color: var(--text-muted); margin: 28px 0 32px; }

/* ---------- Animacija ob pomikanju ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.service.reveal.is-visible:hover { transform: translateY(-6px); }
.service-grid .reveal:nth-child(2) { transition-delay: .08s; }
.service-grid .reveal:nth-child(3) { transition-delay: .16s; }
.service-grid .reveal:nth-child(4) { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ---------- Tablica ---------- */
@media (max-width: 900px) {
  .mascot { width: 300px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service { aspect-ratio: 16 / 11; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-social { justify-self: start; }
}

/* ---------- Telefon ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner, .site-header.is-scrolled .header-inner {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "logo icons nav";
    padding: 10px 0; column-gap: 12px;
  }
  .logo { margin-left: 0; }
  .logo img, .site-header.is-scrolled .logo img { width: 130px; }
  .mascot { display: none; }
  .header-icons { gap: 6px; }
  .nav-toggle {
    display: grid; gap: 5px; width: 40px; height: 40px; padding: 10px 8px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav ul {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: var(--bg-deep);
    padding: 8px 16px 16px; box-shadow: 0 16px 24px rgba(0,0,0,.3);
    display: none;
  }
  .main-nav ul.is-open { display: flex; }
  .main-nav li + li { border-left: 0; border-top: 1px solid var(--line); }
  .main-nav a, .main-nav li:first-child a { padding: 12px 4px; font-size: 18px; }
  .main-nav a::after { display: none; }

  .hero-kicker { margin-left: 0; font-size: 20px; text-align: center; }
  .hero-title { margin: 4px 0 18px; text-align: center; }
  .slider-btn { opacity: 1; width: 36px; height: 36px; }
  .service-grid { gap: 10px; }
  .service { font-size: 14px; letter-spacing: .06em; }
  .section-title { font-size: 22px; }
  .about { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .footer-social, .footer-logo { justify-self: start; }
}

/* =========================================================
   PODSTRANI
   ========================================================= */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--bg); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 16px; }
.mascot img { width: 100%; }
.mascot { transition: transform .3s ease; }
.mascot:not([hidden]) { display: block; }
.mascot:hover { transform: rotate(-2deg) scale(1.02); }

.page-title {
  margin: 28px 0 18px; text-align: center;
  font: 600 clamp(32px, 4.5vw, 46px)/1.1 var(--font-body);
  color: var(--white); letter-spacing: -.01em;
}
.title-yellow { color: var(--yellow); font-family: var(--font-head); font-weight: 700; font-size: clamp(44px, 6vw, 68px); }
.lead { text-align: center; margin: 0 auto 8px; max-width: 640px; font: 600 22px/1.3 var(--font-head); color: var(--blue); }
.sub-title { text-align: center; font: 700 24px/1.25 var(--font-head); color: var(--blue); margin: 48px 0 24px; }
.sub-title small { display: block; font: italic 500 16px/1.4 var(--font-head); color: var(--text-muted); }
.sub-title.yellow { color: var(--yellow); }
.page-intro { padding-bottom: 8px; }

/* Parallax pasica */
.page-hero { height: clamp(200px, 32vw, 320px); background-size: cover; background-position: center; }
.parallax { background-attachment: fixed; }
@supports (-webkit-touch-callout: none) { .parallax { background-attachment: scroll; } } /* iOS */
@media (max-width: 900px) { .parallax { background-attachment: scroll; } }

.prose { max-width: 820px; padding-bottom: 56px; }
.prose p, .prose li { color: var(--text); line-height: 1.75; }
.prose h2 { font: 700 20px/1.3 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin: 36px 0 10px; }
.prose a:not(.btn) { color: var(--blue); text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--yellow); }
.dash { list-style: none; padding: 0; margin: 0 0 12px; }
.dash li { position: relative; padding-left: 22px; }
.dash li::before { content: ""; position: absolute; left: 2px; top: .85em; width: 10px; height: 2px; background: var(--blue); }
.levels { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.levels li { padding: 10px 14px; border-left: 3px solid var(--blue); background: rgba(255,255,255,.04); border-radius: 0 8px 8px 0; }
.levels strong { color: var(--blue); font-weight: 600; }
.also { font: 600 24px/1.2 var(--font-head); }
.also a { color: var(--yellow) !important; }
.also small { font-size: 15px; color: var(--text); }
.cta-line { margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--blue); color: var(--bg);
  font: 600 15px/1 var(--font-body); letter-spacing: .06em; text-decoration: none;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--yellow); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* O nas */
.about-hero { position: relative; padding: 64px 0; background-size: cover; background-position: center; }
.about-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,40,.35), rgba(20,30,40,.82) 55%); }
.about-hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.about-hero-title { margin: 0; font: 700 clamp(44px, 6vw, 64px)/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--white); }
.about-hero-text p { color: var(--white); line-height: 1.7; margin: 0 0 14px; }
.about-hero-text .sign { font: italic 600 19px/1.4 var(--font-head); color: var(--yellow); margin: 0 0 4px; }

/* Reference */
.testimonial { max-width: 720px; margin: 36px auto 0; padding: 24px 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border-left: 4px solid var(--yellow); }
.testimonial p { margin: 0 0 12px; font: italic 500 19px/1.55 var(--font-head); color: var(--white); }
.testimonial cite { display: block; font: 700 italic 20px/1.2 var(--font-head); color: var(--blue); }
.testimonial footer span { font: italic 500 15px/1.3 var(--font-head); color: var(--yellow); }
.ref-grid { columns: 4 220px; column-gap: 12px; padding-bottom: 56px; }
/* Z JavaScriptom: vsaka kartica gre v trenutno najkrajši stolpec (kot Wixova galerija) */
.ref-grid.is-masonry { columns: auto; display: flex; gap: 12px; align-items: flex-start; }
.ref-grid.is-masonry .ref-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ref-grid.is-masonry .ref-card { margin: 0; }
.ref-card { break-inside: avoid; margin: 0 0 12px; border-radius: 10px; overflow: hidden; background: var(--blue); }
.ref-card a { display: block; overflow: hidden; background: #fff; }
.ref-card img { width: 100%; transition: transform .5s ease; }
.ref-card:hover img { transform: scale(1.05); }
.ref-card figcaption { padding: 12px 14px 14px; text-align: center; color: var(--bg); font-size: 13px; line-height: 1.45; }
.ref-card figcaption strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.ref-card figcaption span { display: block; }
.ref-card figcaption span + span { margin-top: 6px; opacity: .85; }

/* Masonry (3D vizualizacije) */
.masonry { columns: 4 180px; column-gap: 10px; margin-top: 28px; }
.masonry-item { display: block; break-inside: avoid; margin-bottom: 10px; border-radius: 8px; overflow: hidden; }
.masonry-item img { width: 100%; transition: transform .5s ease; }
.masonry-item:hover img { transform: scale(1.05); }

/* 3D tisk */
.print-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.print-intro { text-align: center; }
.print-intro p { font: 600 17px/1.5 var(--font-head); color: var(--white); }
.price-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.price-table caption { text-align: left; font: 700 15px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); padding-bottom: 10px; }
.price-table th, .price-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--yellow); font-weight: 500; }
.price-table th { text-align: left; }
.price-table td { text-align: right; white-space: nowrap; }
.price-table tr:hover th, .price-table tr:hover td { background: rgba(255,255,255,.04); }
.print-right { display: grid; gap: 18px; align-content: start; padding-top: 12px; }
.info-box { display: flex; gap: 20px; align-items: center; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); }
.info-box img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.info-box h3 { margin: 0 0 4px; font: 700 18px/1.2 var(--font-body); letter-spacing: .08em; color: var(--blue); }
.info-box p { margin: 0; color: var(--yellow); font: 500 16px/1.4 var(--font-head); }
.print-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 56px auto; }
.offer-col { padding: 8px 28px; text-align: center; }
.offer-col p { color: var(--yellow); font: 500 16px/1.5 var(--font-head); }
.offer-right { border-left: 1px solid rgba(251,237,29,.4); }
.offer-big { color: var(--blue) !important; font-size: 22px !important; }
.offer-lead { font-size: 21px !important; }
.offer-highlight { margin: 0; font: 700 clamp(30px, 4vw, 40px)/1.1 var(--font-head) !important; }
.student { display: block; margin-top: 28px; color: #e63232; font-family: var(--font-body); text-transform: uppercase; }
.student-top { display: block; font-weight: 700; letter-spacing: .12em; font-size: 18px; }
.student-big { display: block; font-weight: 700; letter-spacing: .08em; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
.student-note { display: block; font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: none; }
.package { text-align: center; max-width: 820px; }
.package h2 { margin: 0 0 16px; font: 500 34px/1.15 var(--font-head); color: var(--blue); }
.package h2 span { display: block; }
.package .plus { font-size: 30px; }
.package p { color: var(--yellow); font: 500 18px/1.55 var(--font-head); }
.package a:not(.btn) { color: var(--yellow); }
.package .hl { color: var(--blue); }
.package .note { font-size: 15px; }
.package .btn { margin-top: 16px; }
.carousel { position: relative; padding-bottom: 56px; }
.carousel-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 calc((100% - 40px) / 5); scroll-snap-align: start; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #bdbdbd; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carousel-item:hover img { transform: scale(1.06); }
.carousel-btn { position: absolute; top: calc(50% - 28px); translate: 0 -50%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(30,49,65,.8); cursor: pointer; display: grid; place-items: center; }
.carousel-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn.prev { left: -14px; } .carousel-btn.next { right: -14px; }

/* Kontakt */
.contact-banner { border-radius: var(--radius); overflow: hidden; }
.contact-banner img { width: 100%; height: clamp(160px, 22vw, 230px); object-fit: cover; object-position: 70% center; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 40px 0 48px; align-items: center; }
.contact-form { display: flex; flex-wrap: wrap; gap: 18px 16px; }
.field { position: relative; flex: 1 1 100%; }
.field.half { flex: 1 1 calc(50% - 8px); }
.field input, .field textarea {
  width: 100%; padding: 22px 12px 8px; border: 0; border-bottom: 1px solid rgba(251,237,29,.6);
  border-radius: 8px 8px 0 0; background: rgba(255,255,255,.04); color: var(--white);
  font: 400 16px/1.4 var(--font-body); transition: border-color .2s, background .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: rgba(255,255,255,.07); }
.field label { position: absolute; left: 12px; top: 15px; color: var(--blue); font-size: 15px; pointer-events: none; transition: all .2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 5px; font-size: 12px; }
.field.invalid input, .field.invalid textarea { border-color: #ff6b6b; }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { margin-top: 4px; }
.form-status { flex: 1 1 100%; margin: 0; min-height: 1.5em; font-weight: 500; }
.form-status.ok { color: var(--yellow); } .form-status.err { color: #ff8a8a; }
.contact-info { text-align: center; display: grid; gap: 6px; justify-items: center; }
.contact-phone, .contact-mail { color: var(--white); text-decoration: none; font: 400 26px/1.3 var(--font-body); }
.contact-mail { font-size: 30px; }
.contact-phone:hover, .contact-mail:hover { color: var(--blue); }
.contact-social { display: flex; gap: 12px; margin-top: 24px; }
.map { padding-bottom: 56px; }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); filter: saturate(.85); }

/* SPIX */
.spix-title { color: var(--blue); font-size: clamp(40px, 6vw, 60px); font-weight: 700; text-align: left; }
.spix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 16px 0 64px; }
.spix-img { max-width: 360px; justify-self: center; }
.spix-text p { color: var(--white); line-height: 1.7; }
.spix-text b { color: var(--yellow); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(8,12,18,.93); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(92vw, 1200px); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { margin-top: 14px; color: var(--white); font-size: 15px; }
.lightbox figcaption:empty { display: none; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; top: 28px; left: 24px; color: var(--text-muted); font-size: 14px; }
body.lb-lock { overflow: hidden; }

@media (max-width: 900px) {
  .print-grid, .print-offer, .contact-grid, .spix-grid, .about-hero-inner { grid-template-columns: 1fr; }
  .offer-right { border-left: 0; border-top: 1px solid rgba(251,237,29,.4); padding-top: 28px; margin-top: 20px; }
  .carousel-item { flex-basis: calc((100% - 20px) / 3); }
  .spix-title { text-align: center; }
}
@media (max-width: 640px) {
  .ref-grid { columns: 2 140px; column-gap: 10px; }
  .ref-grid.is-masonry, .ref-grid.is-masonry .ref-col { gap: 10px; }
  .ref-card figcaption { font-size: 12px; padding: 10px; }
  .ref-card figcaption strong { font-size: 14px; }
  .masonry { columns: 2; }
  .field.half { flex-basis: 100%; }
  .carousel-item { flex-basis: 70%; }
  .carousel-btn { display: none; }
  .info-box img { width: 80px; height: 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .contact-phone { font-size: 22px; } .contact-mail { font-size: 24px; }
}
@media (max-width: 640px) { .site-header .mascot { display: none; } }
.site-header.is-scrolled .mascot { display: none; }

/* ---------- Ikone Facebook / Instagram (uradni obliki, bele) ---------- */
.social, .social.lg { background: none; color: var(--white); border-radius: 0; }
.social svg, .social.lg svg { width: 100%; height: 100%; fill: currentColor; }
.social { width: 24px; height: 24px; }
.social.lg { width: 34px; height: 34px; }
.social:hover { color: var(--blue); transform: translateY(-2px); }
.header-icons { gap: 12px; }
.footer-social, .contact-social { gap: 16px; }

/* ---------- Maskota z oblačkom (razmerje kot na originalni strani) ---------- */
.mascot { width: 390px; }
@media (max-width: 900px) { .mascot { width: 320px; } }

/* ---------- Naslov na naslovni strani: bolj skupaj, kot na originalu ---------- */
.hero-heading { max-width: 620px; margin: 4px auto 22px; }
.hero-heading .hero-kicker { margin: 0; text-align: left; }
.hero-heading .hero-title { margin: 0; text-align: right; }
@media (max-width: 640px) {
  .hero-heading .hero-kicker, .hero-heading .hero-title { text-align: center; }
}
.social svg[fill="none"] { fill: none; }   /* Instagram je obris, ne polnilo */

/* ---------- Produktna fotografija ---------- */
.photo-hero { background-position: center 70%; background-color: #eceff2; }
.steps { list-style: none; counter-reset: k; padding: 0; margin: 8px 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps li { counter-increment: k; padding: 16px; border-radius: 10px; background: rgba(255,255,255,.05); }
.steps li::before { content: counter(k); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--yellow); color: var(--bg); font-weight: 700; }
.steps strong { display: block; color: var(--blue); font-weight: 600; margin-bottom: 4px; }
.steps span { font-size: 15px; line-height: 1.55; color: var(--text); }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 8px; }
.photo-item { display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 18px; border-radius: 10px; background: #fff; overflow: hidden; }
.photo-item img { max-height: 100%; width: auto; object-fit: contain; transition: transform .5s ease; }
.photo-item:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } .photo-grid { grid-template-columns: 1fr 1fr; } }
.photo-item img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.prose:has(+ .photo-grid) { padding-bottom: 0; }
.photo-grid + .cta-line { padding: 24px 0 56px; }
.photo-item { position: relative; display: block; }
.photo-item img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }

/* O nas: izrez in delitev kot na originalu (levo slika, desno temnejša plošča) */
.about-hero { background-attachment: scroll; background-size: cover; background-position: center; min-height: 560px; display: flex; align-items: center; }
.about-hero::before { background: linear-gradient(90deg, rgba(20,30,40,.22) 0 50%, rgba(30,49,65,.78) 50% 100%); }
.about-hero-inner { width: min(var(--wrap), 100% - 32px); }
@media (max-width: 900px) { .about-hero::before { background: rgba(30,49,65,.8); } .about-hero { min-height: 0; } }
@media (min-width: 901px) { .about-hero-inner { grid-template-columns: 1fr 1fr; column-gap: 72px; } .about-hero-title { text-align: right; } }
.about-hero { overflow: hidden; background: none; }
.about-hero .parallax-layer { position: absolute; left: 0; right: 0; top: -15%; height: 165%; background-size: cover; background-position: center; will-change: transform; }
.about-hero::before { z-index: 1; }
.about-hero-inner { z-index: 2; }
