/* =========================================================
   DomFix design-v8 — svetla verzija po predlogi "Dovršeni projekti"
   DomFix s.p. — Vaš dom, moja skrb  |  domfix.si
   ========================================================= */

:root {
  --gold: #e08025;
  --gold-dark: #c06815;
  --gold-deep: #0e0c09;
  --gold-light: #f0933f;
  --ink: #1c1813;
  --muted: #6e6557;
  --line: #e9e2d4;
  --bg: #ffffff;
  --bg-soft: #f8f5ee;
  --dark: #111111;
  --dark-2: #1a1712;
  --white: #ffffff;
  --radius: 999px;
  --shadow: 0 30px 60px -30px rgba(28, 24, 19, .35);
  --font-h: 'Raleway', sans-serif;
  --font-b: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-h);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
}

.small-label {
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--gold);
}

/* ---------- Gumbi ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: .95rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: all .3s ease;
  cursor: pointer;
}

.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn-white:hover { background: var(--bg-soft); }

.btn-darkline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-darkline:hover { background: var(--ink); color: #fff; }

/* ---------- Navigacija ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1.4rem 0;
  transition: all .35s ease;
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.site-header .header-logo { justify-self: center; }

.site-header .header-logo img {
  height: 66px;
  width: auto;
  transition: height .35s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
}

.nav-left, .nav-right { display: flex; gap: 1.6rem; align-items: center; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: .35rem; }
.nav-caret { font-size: .7em; transition: transform .25s ease; }
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 0;
  min-width: 240px;
  padding: 0.6rem;
  background: #0a0a0a;
  border: 1px solid rgba(201, 168, 76, .25);
  border-radius: 14px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(201, 168, 76, .08);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-left .nav-dropdown-menu a {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: none;
  color: rgba(255, 255, 255, .85) !important;
  padding: 0.65rem 0.9rem;
  border-radius: 9px;
  transition: all .25s ease;
}
.nav-left .nav-dropdown-menu a:hover { color: var(--gold-light) !important; background: rgba(201, 168, 76, .12); padding-left: 1.2rem; }
.nav-left .nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: #0a0a0a;
  border-left: 1px solid rgba(201, 168, 76, .25);
  border-top: 1px solid rgba(201, 168, 76, .25);
  transform: rotate(45deg);
}

.nav-right { justify-content: flex-end; }

.nav-left a, .nav-right a {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  position: relative;
  padding: .2rem 0;
  transition: color .3s ease;
}

.nav-left a::after, .nav-right a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.nav-left a:hover, .nav-right a:hover,
.nav-left a.active, .nav-right a.active { color: #fff; }

.nav-left a:hover::after, .nav-right a:hover::after,
.nav-left a.active::after, .nav-right a.active::after { transform: scaleX(1); }

.site-header.scrolled {
  background: #fff;
  padding: .7rem 0;
  box-shadow: 0 15px 40px -25px rgba(0, 0, 0, .35);
}

.site-header.scrolled .header-logo img { height: 54px; filter: none; }

.site-header.scrolled .nav-left a, .site-header.scrolled .nav-right a { color: var(--ink); }
.site-header.scrolled .nav-left a:hover, .site-header.scrolled .nav-right a:hover,
.site-header.scrolled .nav-left a.active, .site-header.scrolled .nav-right a.active { color: var(--gold-dark); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .5rem;
  z-index: 60;
}

.burger span {
  width: 26px; height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s ease;
}

.site-header.scrolled .burger span { background: var(--ink); }

.burger.open span { background: var(--ink) !important; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, .97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: all .35s ease;
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu a {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}

.mobile-menu a:hover { color: var(--gold-light); }

.mobile-menu .btn { margin-top: .8rem; }

/* ---------- Hero (index) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding: 9rem 0 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: .55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, .65), rgba(17, 17, 17, .35) 55%, var(--dark));
  z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
}

.hero-eyebrow::before {
  content: "";
  width: 40px; height: 2px;
  background: var(--gold);
}

.hero-title {
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(3.4rem, 11.5vw, 8.6rem);
  line-height: .94;
  letter-spacing: -0.01em;
  perspective: 900px;
}

.hero-title .gold { color: var(--gold-light); }

/* Animacija naslova po črkah (slog predloge: 3D flip + middle→edge) */
.hero-title .hl-ch {
  display: inline-block;
  white-space: pre;
  will-change: transform, opacity;
}

.hero.anim-ok .hero-title.prep .hl-ch {
  transform: perspective(900px) rotateX(72deg) translateY(var(--cy, 100%));
  opacity: 0;
}

.hero.anim-ok .hero-title.go .hl-ch {
  transform: perspective(900px) rotateX(0deg) translateY(0);
  opacity: 1;
  transition: transform .9s cubic-bezier(.76, 0, .24, 1), opacity .9s ease;
  transition-delay: var(--d, 0s);
}

/* Preostali del heroja se pojavi z zamikom (podnaslov pride kasneje) */
.hero.anim-ok .in-elem {
  opacity: 0;
  animation: heroIn .9s cubic-bezier(.76, 0, .24, 1) forwards;
  animation-delay: var(--dd, 0s);
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: none; }
}

.hero.anim-ok .hero-eyebrow { --dd: .15s; }
.hero.anim-ok .hero-sub { --dd: .95s; }
.hero.anim-ok .hero-actions { --dd: 1.15s; }

.hero-sub {
  max-width: 560px;
  margin-top: 1.8rem;
  font-size: 1.12rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .82);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  animation: bounce 1.8s infinite;
  transition: border-color .3s ease;
}

.hero-scroll:hover { border-color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 12px); }
}

/* ---------- Sekcija "BOGASTVO" (temna, katalogi) ---------- */

.dark-block {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: 6.5rem 0;
}

.dark-block .bg-im {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: .18;
}

.dark-block .container { position: relative; z-index: 2; }

.catalog-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

/* Slider (levo, 3/5) */

.s-slider {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.s-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}

.s-slide.active { opacity: 1; visibility: visible; position: relative; }

.s-slide img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.s-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: all .3s ease;
  font-size: 1.05rem;
}

.s-arrow:hover { background: var(--gold); border-color: var(--gold); }

.s-prev { left: 1rem; }
.s-next { right: 1rem; }

.s-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 4;
}

.s-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  border: 0;
  cursor: pointer;
  transition: all .3s ease;
}

.s-dot.active { background: var(--gold); transform: scale(1.25); }

.cat-content h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  margin: .8rem 0 1.1rem;
  text-transform: uppercase;
}

.cat-content > p {
  color: rgba(255, 255, 255, .78);
  margin-bottom: 1.8rem;
}

.cat-list { display: flex; flex-direction: column; }

.cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-bottom: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-h);
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .3s ease;
  text-align: left;
}

.cat-btn:last-child { border-bottom: 1px solid rgba(255, 255, 255, .28); }

.cat-btn .ico { font-size: 1.1rem; margin-right: .9rem; }

.cat-btn .arr { color: var(--gold-light); transition: transform .3s ease; }

.cat-btn:hover { background: rgba(224, 128, 37, .16); padding-left: 1.6rem; }

.cat-btn:hover .arr { transform: translateX(4px); }

.cat-note {
  font-style: italic;
  color: rgba(255, 255, 255, .62);
  font-size: .9rem;
  margin-top: 1.6rem;
}

/* ---------- Sekcija "NALOŽBA" / "POPOLNOST" ---------- */

.split {
  padding: 6.5rem 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.split.reversed .split-grid .split-img { order: -1; }

.split-img { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }

.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.4; transition: transform .8s ease; }

.split-img:hover img { transform: scale(1.04); }

/* Pokončna slika — prikaži celo fotko brez obrezovanja in robov */
.split-slim .split-img.fit-whole { align-self: start; }
.split-slim .split-img.fit-whole img { aspect-ratio: auto; height: auto; }

.split-text h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  text-transform: uppercase;
  margin: .7rem 0 1.1rem;
}

.split-text > p { color: var(--muted); margin-bottom: 1.4rem; }

.feature-list { display: flex; flex-direction: column; gap: .9rem; margin: 1.4rem 0 1.9rem; }

.feature-list li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  font-weight: 500;
}

.feature-list .tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  margin-top: .15rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .86rem;
  color: var(--gold-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: .35rem;
  transition: all .3s ease;
}

.arrow-link:hover { color: var(--ink); gap: 1rem; }

/* ---------- Strip / galerija ---------- */

.strip {
  background: var(--bg-soft);
  padding: 6rem 0 7rem;
}

.strip-head { text-align: center; margin-bottom: 2.6rem; }

.strip-head h2 { text-transform: uppercase; margin-top: .7rem; }

.strip-head .small-label::after {
  content: "";
  display: block;
  width: 40px; height: 2px;
  background: var(--gold);
  margin: .6rem auto 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.tile img { width: 100%; height: 100%; object-fit: cover; }

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(224, 128, 37, .55);
  opacity: 0;
  transition: opacity .35s ease;
}

.tile .tile-arr {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #fff;
  font-size: 1.6rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all .35s ease;
}

.tile:hover::after { opacity: 1; }
.tile:hover .tile-arr { opacity: 1; transform: translateY(0); }

.strip-cta { text-align: center; margin-top: 2.4rem; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  text-align: center;
  padding: 5.5rem 0;
  color: #fff;
}

.cta-band .bg-im { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }

.cta-band .container { position: relative; z-index: 2; }

.cta-band h2 {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: .8rem;
}

.cta-band p { color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */

.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 5rem 0 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand .f-logo { height: 62px; width: auto; margin-bottom: 1.1rem; }

.footer-brand p { color: var(--muted); max-width: 300px; margin-bottom: 1.4rem; }

.socials { display: flex; gap: .8rem; }

.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: .95rem;
  transition: all .3s ease;
}

.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-3px); }

.footer h4 {
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--ink);
}

.footer-menu li { margin-bottom: .65rem; }

.footer-menu a { color: var(--muted); transition: color .3s ease, padding-left .3s ease; }

.footer-menu a:hover { color: var(--gold-dark); padding-left: .35rem; }

.footer-contact li { display: flex; gap: .8rem; color: var(--muted); margin-bottom: .85rem; }

.footer-contact .ic { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  color: var(--muted);
  font-size: .86rem;
}

.footer-bottom a { color: var(--gold-dark); }

/* Plavajoči gumb za klic */

.float-tel {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 45;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 18px 40px -14px rgba(192, 104, 21, .8);
  transition: all .3s ease;
}

.float-tel:hover { background: var(--gold-dark); transform: translateY(-4px) scale(1.05); }

/* ---------- Podstrani: hero ---------- */

.page-hero {
  position: relative;
  background: var(--dark);
  padding: 11rem 0 5.5rem;
  overflow: hidden;
}

.page-hero .hero-bg { opacity: .38; }

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .45));
  z-index: 1;
}

.page-hero .container { position: relative; z-index: 2; text-align: center; }

.page-hero .small-label { color: var(--gold-light); }

.page-hero h1 {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: .6rem 0 .5rem;
}

.crumbs { color: rgba(255, 255, 255, .7); font-size: .88rem; }

.crumbs a { color: var(--gold-light); }

/* ---------- Vsebina podstrani ---------- */

.section { padding: 6rem 0; }

.sec-head { max-width: 720px; margin-bottom: 3rem; }

.sec-head.centered { margin-inline: auto; text-align: center; }

.sec-head h2 { text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: .6rem; }

.sec-head p { color: var(--muted); margin-top: .9rem; }

/* Kartice storitev */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .35s ease;
}

.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }

.service-card .sc-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }

.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }

.service-card:hover .sc-img img { transform: scale(1.06); }

.service-card .sc-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }

.service-card h3 { font-size: 1.18rem; margin-bottom: .6rem; }

.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; flex: 1; }

.service-card .arrow-link { font-size: .8rem; }

/* Drva/steps */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.8rem 1.5rem;
  transition: all .35s ease;
}

.step:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow); }

.step .num {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}

.step h3 { font-size: 1.05rem; margin: .9rem 0 .5rem; }

.step p { color: var(--muted); font-size: .92rem; }

/* Foto-koraki postopka (storitve-kuhinja) */
.steps-photos .step { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.steps-photos .step .step-body { padding: 1.2rem 1.3rem 1.5rem; }
.steps-photos .step .num { font-size: 1.8rem; }
.steps-photos .step h3 { margin-top: .5rem; }

/* Slideshow v koraku — slike se samodejno izmenjujejo */
.step-slideshow { position: relative; height: 180px; overflow: hidden; background: #000; }
.step-slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity .8s ease;
}
.step-slideshow img.active { opacity: 1; }
.step-dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; gap: 6px; justify-content: center; z-index: 2;
}
.step-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); transition: background .3s ease;
}
.step-dots span.active { background: var(--gold); }

/* Split z manjšo sliko za podstrani */

.split-slim { gap: 3.5rem; }

.split-slim .split-img img { aspect-ratio: 4 / 3; }

.split-slim .split-text h2 { text-transform: none; }

/* Galerija */

.gallery-tools { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 3rem; }

.filter-btn {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .7rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all .3s ease;
}

.filter-btn:hover, .filter-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 17, 17, .8));
  opacity: 0;
  transition: opacity .3s ease;
}

.gallery-item .gi-cap {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .92rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all .35s ease;
}

.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .gi-cap { opacity: 1; transform: translateY(0); }

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, .96);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

#lightbox.open { opacity: 1; visibility: visible; }

.lightbox-content { max-width: min(92vw, 1000px); }

.lightbox-content img { border-radius: 8px; max-height: 80vh; margin-inline: auto; }

.lb-cap { color: #fff; text-align: center; margin-top: 1rem; font-family: var(--font-h); font-weight: 600; }

.lb-close {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  border-radius: 50%;
  width: 50px; height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all .3s ease;
}

.lb-prev:hover, .lb-next:hover { background: var(--gold); border-color: var(--gold); }
.lb-prev { left: 1.2rem; }
.lb-next { right: 1.2rem; }

/* Kontakt */

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  transition: all .3s ease;
}

.contact-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.contact-card .ic {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }

.contact-card p { color: var(--muted); font-size: .95rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.field { margin-bottom: 1.2rem; }

.field label {
  display: block;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: .98rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: all .3s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(224, 128, 37, .12);
}

.field textarea { resize: vertical; min-height: 130px; }

/* Statistike */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  padding: 2rem 1.2rem;
}

.stat .val {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1.1;
}

.stat .lbl { color: var(--muted); font-size: .9rem; margin-top: .3rem; letter-spacing: .06em; text-transform: uppercase; }

/* Toast */

.toast {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translate(-50%, 120%);
  background: var(--ink);
  color: #fff;
  padding: .95rem 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 120;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.toast.show { transform: translate(-50%, 0); }

.toast .ok { color: var(--gold-light); font-size: 1.1rem; }

/* Scroll animacije */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }

.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .split-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .split.reversed .split-grid .split-img { order: 0; }
  .strip-grid { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
}

@media (max-width: 900px) {
  .nav-left, .nav-right { display: none; }
  .burger { display: flex; }
  .site-header .container { grid-template-columns: 1fr auto 1fr; }
  .site-header .header-logo { justify-self: start; grid-column: 1 / 2; }
  .burger { justify-self: end; grid-column: 3 / 4; }
  .site-header .header-logo img { height: 54px; }
  .site-header.scrolled .header-logo img { height: 48px; }
}

@media (max-width: 640px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .s-slide img { aspect-ratio: 3 / 3.4; }
}