/* ============================================================
   A.S. JURIĆ d.o.o. — Fasade i završni radovi
   Paleta: crvena #A6192E · grafit #1F1D1B · žbuka #E7E0D6
           podloga #F7F5F2 · tekst #55524D
   Motiv: dijagonala krova iz logotipa (kut ~ -4.5deg)
   ============================================================ */

:root {
  --red: #A6192E;
  --red-hover: #C1272D;
  --graphite: #1F1D1B;
  --graphite-soft: #2A2724;
  --plaster: #E7E0D6;
  --bg: #F7F5F2;
  --text: #55524D;
  --heading: #1F1D1B;
  --white: #FFFFFF;
  --radius: 6px;
  --cut: 4.5deg;               /* dijagonala krova */
  --shadow-sm: 0 2px 10px rgba(31, 29, 27, .07);
  --shadow-md: 0 10px 30px rgba(31, 29, 27, .12);
  --shadow-lg: 0 24px 60px rgba(31, 29, 27, .2);
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3 { font-family: var(--font-head); color: var(--heading); line-height: 1.15; }

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: .6em; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); transform: skewX(-20deg); }

.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-lead { max-width: 620px; margin-bottom: 40px; font-size: 1.06rem; }

.only-desktop { display: none; }
@media (min-width: 800px) { .only-desktop { display: inline; } }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(166, 25, 46, .35); }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(166, 25, 46, .45); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--graphite); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s;
  padding: 14px 0;
}
.site-header.is-scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); padding: 8px 0; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; color: var(--red); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; color: #fff; transition: color .3s; }
.brand-text small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); transition: color .3s; }
.is-scrolled .brand-text strong { color: var(--graphite); }
.is-scrolled .brand-text small { color: var(--text); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-weight: 600; font-size: .95rem; text-decoration: none;
  color: rgba(255,255,255,.92); transition: color .2s;
  position: relative;
}
.main-nav a:not(.nav-phone)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--red-hover); transform: scaleX(0) skewX(-20deg); transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:not(.nav-phone):hover::after { transform: scaleX(1) skewX(-20deg); }
.is-scrolled .main-nav a { color: var(--graphite); }

.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff !important;
  padding: 10px 18px; border-radius: var(--radius);
  font-variant-numeric: tabular-nums;
  transition: background .2s, transform .2s;
}
.nav-phone:hover { background: var(--red-hover); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: all .3s; }
.is-scrolled .nav-toggle span { background: var(--graphite); }

@media (max-width: 920px) {
  .nav-toggle { display: block; z-index: 110; }
  .main-nav {
    position: fixed; inset: 0; background: var(--graphite);
    flex-direction: column; justify-content: center; gap: 34px;
    transform: translateX(100%); transition: transform .35s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { color: #fff !important; font-size: 1.3rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: #fff; }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: #fff; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--graphite);
}

.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center 35%;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; animation: kenburns 7.5s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(20, 18, 16, .88) 0%, rgba(20, 18, 16, .62) 42%, rgba(20, 18, 16, .18) 75%, rgba(20, 18, 16, .3) 100%),
    linear-gradient(to top, rgba(20, 18, 16, .55), transparent 40%);
}

.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--red-hover); }

.hero h1 {
  color: #fff; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  font-weight: 800; letter-spacing: .01em; line-height: 1.05;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--plaster); position: relative; display: inline-block; }
.hero h1 span::after {
  content: ""; position: absolute; left: 2px; bottom: -6px; width: 100%; height: 6px;
  background: var(--red); transform: skewX(-20deg);
}

.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); max-width: 640px; margin-bottom: 34px; color: rgba(255,255,255,.9); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-dots { position: absolute; z-index: 3; right: 4%; bottom: 110px; display: flex; flex-direction: column; gap: 10px; }
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8); background: transparent; cursor: pointer;
  transition: background .25s, transform .25s;
}
.hero-dots button.is-active { background: var(--red-hover); border-color: var(--red-hover); transform: scale(1.25); }

/* dijagonalni rez — kut krova iz logotipa */
.hero-cut {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 110px; z-index: 2;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 92%);
}

@media (max-width: 700px) {
  .hero { min-height: 88vh; }
  .hero-dots { flex-direction: row; right: auto; left: 4%; bottom: 84px; }
  .hero-cut { height: 60px; }
}

/* ============================================================
   BROJKE / ISKUSTVO
   ============================================================ */
.stats { padding: 30px 0 10px; }
.stats-band {
  background: #fff; border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-md);
  padding: 46px clamp(24px, 4vw, 54px) 42px;
  position: relative; z-index: 3;
  margin-top: -40px;
  text-align: center;
}
.stats-intro { max-width: 660px; margin: 0 auto; }
.stats-intro .eyebrow { justify-content: center; }
.stats-intro h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .45em; }
.stats-intro p { font-size: .95rem; margin: 0; }
.stats-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; margin-top: 36px; }
.stat { position: relative; text-align: center; }
.stat + .stat::before {
  content: ""; position: absolute; left: -15px; top: 10%; height: 80%; width: 2px;
  background: var(--plaster);
}
.stat strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--red);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.1;
}
.stat-title { display: block; font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: .96rem; margin-top: 4px; }
.stat-sub { display: block; font-size: .82rem; color: var(--text); margin-top: 2px; }
@media (max-width: 640px) {
  .stats-band { margin-top: -30px; }
  .stats-list { grid-template-columns: 1fr; gap: 22px; }
  .stat + .stat::before { display: none; }
}

/* ============================================================
   KARUSELI (usluge, projekti)
   ============================================================ */
.carousel-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 26px;
}
.car-arrows { display: flex; gap: 10px; flex: none; }
.car-btn {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid #DDD6CB; background: #fff; color: var(--heading);
  cursor: pointer; display: grid; place-items: center;
  transition: background .22s, border-color .22s, color .22s, transform .22s, opacity .22s;
}
.car-btn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.car-btn:disabled { opacity: .3; pointer-events: none; }

.hscroll {
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }

.services-track > .service-card { width: clamp(272px, 27vw, 344px); display: flex; flex-direction: column; }
.services-track > .service-card p { flex: 1; }
@media (max-width: 700px) { .services-track > .service-card { width: 80vw; } }

.projects-carousel { position: relative; }
.projects-track > .project-card { width: clamp(300px, 36vw, 430px); }
@media (max-width: 700px) { .projects-track > .project-card { width: 82vw; } }

.car-overlay {
  position: absolute; top: 34%; z-index: 6;
  box-shadow: var(--shadow-md);
}
.car-overlay-prev { left: -12px; }
.car-overlay-next { right: -12px; }
@media (max-width: 700px) {
  .car-overlay-prev { left: -6px; }
  .car-overlay-next { right: -6px; }
}

.hprogress {
  height: 4px; background: #E3DCD2; border-radius: 2px;
  max-width: 240px; margin: 6px auto 0; overflow: hidden;
}
.hprogress span {
  display: block; height: 100%; background: var(--red); border-radius: 2px;
  width: 30%; transition: width .15s linear, margin-left .15s linear;
}

/* ============================================================
   USLUGE
   ============================================================ */
.service-card {
  background: #fff; border-radius: var(--radius);
  padding: 34px 28px 30px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
.service-card::before {                       /* dijagonalni crveni potez */
  content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 5px;
  background: var(--red); transform: skewX(-30deg) translateX(-8px);
  transition: width .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { width: 120px; }

.service-icon {
  width: 58px; height: 58px; border-radius: var(--radius);
  background: var(--plaster); color: var(--red);
  display: grid; place-items: center; margin-bottom: 20px;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: .95rem; margin-bottom: 16px; }
.service-link { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--red); }

.service-card-cta {
  background: var(--graphite); color: rgba(255,255,255,.85);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
}
.service-card-cta::before { background: var(--red-hover); }
.service-card-cta h3 { color: #fff; }
.service-card-cta p { color: rgba(255,255,255,.75); }
.service-card-cta .btn { margin-top: 8px; }

/* ============================================================
   SEKCIJE — tamna + rezovi
   ============================================================ */
.section-dark { background: var(--graphite); }
.section-dark h2 { color: #fff; }
.section-dark .section-lead { color: rgba(255,255,255,.78); }
.section-dark .eyebrow { color: var(--red-hover); }

.section-cut { position: absolute; left: 0; right: 0; height: 90px; z-index: 2; }
.section-cut-bottom { bottom: -1px; background: var(--bg); clip-path: polygon(0 100%, 100% 100%, 100% 35%, 0 95%); }
.section-cut-bottom-light { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--graphite); clip-path: polygon(0 100%, 100% 100%, 0 40%); }
@media (max-width: 700px) { .section-cut, .section-cut-bottom-light { height: 46px; } }

/* žbuka tekstura (SVG šum, ~4% opacity) */
.section-plaster { background: var(--plaster); }
.section-plaster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   PRIJE / POSLIJE
   ============================================================ */
.ba { padding-bottom: clamp(110px, 12vw, 160px); text-align: center; }
.ba .section-lead { margin-inline: auto; }

.ba-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; justify-content: center; }
.ba-tab {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: 10px 18px; border-radius: 40px; cursor: pointer;
  background: transparent; color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.3);
  transition: all .25s;
}
.ba-tab:hover { border-color: #fff; color: #fff; }
.ba-tab.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.ba-slider { max-width: 900px; margin-inline: auto; }
.ba-pane {
  position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg);
  user-select: none; touch-action: pan-y;
}
@media (max-width: 640px) { .ba-pane { aspect-ratio: 3 / 4; } }

.ba-pane img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute; inset: 0; overflow: hidden;
  width: 50%; will-change: width;
}
.ba-before-wrap img { width: auto; height: 100%; max-width: none; }
/* širina slike "prije" mora pratiti širinu panea — postavlja JS */

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 0; z-index: 5;
  cursor: ew-resize; outline-offset: 4px;
}
.ba-handle-line { position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); }
.ba-handle-knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform .2s;
}
.ba-handle:hover .ba-handle-knob, .ba-handle:focus-visible .ba-handle-knob { transform: translate(-50%, -50%) scale(1.1); }

.ba-label {
  position: absolute; top: 16px; z-index: 4;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 40px; color: #fff;
}
.ba-label-before { left: 16px; background: rgba(31, 29, 27, .75); }
.ba-label-after { right: 16px; background: var(--red); }

/* ============================================================
   RADOVI / PROJEKTI
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: 10px 20px; border-radius: 40px; cursor: pointer;
  background: #fff; color: var(--text); border: 1.5px solid #DDD6CB;
  transition: all .25s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.project-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer; text-align: left;
  border: 0; padding: 0; font: inherit; color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, opacity .35s, scale .35s;
  display: block; width: 100%;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-card.is-hidden { display: none; }

.pc-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--plaster); }
.pc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.1s ease, transform 6s ease;
}
.pc-media img.is-active { opacity: 1; transform: scale(1.06); }
.pc-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(31,29,27,.75); color: #fff;
  font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 40px;
  display: inline-flex; align-items: center; gap: 6px;
  backdrop-filter: blur(4px);
}
.pc-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 40px;
}
.pc-body { display: block; padding: 22px 22px 24px; }
.pc-loc { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; display: block; }
.pc-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.pc-body p { font-size: .92rem; }

/* ============================================================
   ZAŠTO NAS — ilustracije
   ============================================================ */
.why { position: relative; z-index: 1; }
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 44px 64px; margin-top: 44px;
  position: relative; z-index: 1;
}
.why-feature { display: flex; align-items: center; gap: 26px; }
.wf-media { flex: 0 0 152px; }
.wf-media img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 10px 24px rgba(31, 29, 27, .1));
  transition: transform .35s ease;
}
.why-feature:hover .wf-media img { transform: translateY(-5px) scale(1.03); }
.wf-text h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 800;
  margin-bottom: 8px; position: relative; padding-left: 18px;
}
.wf-text h3::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px;
  background: var(--red); transform: skewX(-18deg); border-radius: 2px;
}
.wf-text h3 em { font-style: normal; color: var(--red); }
.wf-text p { font-size: .94rem; margin: 0; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 26px; }
  .why-feature { gap: 18px; }
  .wf-media { flex-basis: 104px; }
  .wf-text h3 { font-size: 1.12rem; }
  .wf-text p { font-size: .9rem; }
}

/* ============================================================
   PROCES
   ============================================================ */
.process { padding-bottom: clamp(120px, 13vw, 170px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .28s, box-shadow .28s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 3rem;
  color: var(--plaster); line-height: 1; display: block; margin-bottom: 14px;
  transition: color .3s;
}
.step:hover .step-num { color: var(--red); }
.step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .92rem; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact { padding-bottom: 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; padding-bottom: 80px; }
@media (max-width: 920px) { .contact-inner { grid-template-columns: 1fr; gap: 44px; } }

.contact-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.contact-list li {
  display: flex; align-items: center; gap: 15px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.contact-list li:hover { transform: translateY(-3px); border-color: rgba(193, 39, 45, .55); background: rgba(255,255,255,.08); }
.contact-ico {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-hover), var(--red) 70%);
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(166, 25, 46, .35);
}
.contact-list small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.contact-list a, .contact-list span { color: #fff; font-weight: 600; text-decoration: none; font-size: .98rem; }
.contact-list a:hover { color: var(--red-hover); }
@media (max-width: 560px) { .contact-list { grid-template-columns: 1fr; } }

.whatsapp-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 600; text-decoration: none;
  background: #1FAF5A; padding: 13px 22px; border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-link:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31, 175, 90, .4); }

.contact-form {
  background: #fff; border-radius: calc(var(--radius) + 4px);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg);
  position: relative;
}
.contact-form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(100deg, var(--red) 60%, var(--red-hover) 60.5%);
  border-radius: 6px 6px 0 0;
}
.contact-form h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 22px; }

.form-row { margin-bottom: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row-2 { grid-template-columns: 1fr; } }

.contact-form label { display: block; font-weight: 600; font-size: .88rem; color: var(--heading); margin-bottom: 6px; }
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--heading);
  padding: 12px 14px; border: 1.5px solid #DDD6CB; border-radius: var(--radius);
  background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(166, 25, 46, .12);
}

.file-label {
  display: flex !important; align-items: center; gap: 10px;
  border: 2px dashed #DDD6CB; border-radius: var(--radius);
  padding: 16px; cursor: pointer; color: var(--heading);
  transition: border-color .2s, background .2s;
}
.file-label:hover { border-color: var(--red); background: rgba(166, 25, 46, .03); }
.file-hint { font-weight: 400; color: var(--text); font-size: .85rem; }
#fFiles { display: none; }
.file-note { font-size: .82rem; margin-top: 8px; color: var(--text); }

.form-note { font-size: .82rem; margin-top: 14px; text-align: center; }

.contact-map { position: relative; z-index: 1; }
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #141210; color: rgba(255,255,255,.65); padding: 54px 0 80px; }
.footer-inner { display: grid; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 42px; height: 42px; }
.footer-brand strong { display: block; font-family: var(--font-head); font-weight: 800; color: #fff; letter-spacing: .04em; }
.footer-brand span { font-size: .82rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: rgba(255,255,255,.75); text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer-nav a:hover { color: var(--red-hover); }
.footer-legal { font-size: .8rem; line-height: 1.8; }
.footer-legal a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-copy a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-copy a:hover { color: var(--red-hover); }

/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr 1.3fr;
  background: rgba(20, 18, 16, .97); backdrop-filter: blur(8px);
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; text-decoration: none; font-family: var(--font-head);
  font-weight: 700; font-size: .9rem; padding: 12px 6px;
  border-radius: var(--radius); background: rgba(255,255,255,.08);
}
.mobile-bar-cta { background: var(--red) !important; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; }
  .site-footer { padding-bottom: 120px; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 13, 12, .96);
  display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lb-figure { max-width: 88vw; max-height: 86vh; text-align: center; }
.lb-figure img {
  max-width: 88vw; max-height: 78vh; object-fit: contain;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  margin-inline: auto;
}
.lb-figure figcaption { color: rgba(255,255,255,.8); margin-top: 14px; font-size: .92rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.08); color: #fff;
  border: 0; cursor: pointer; border-radius: 50%;
  width: 52px; height: 52px; font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; }
}

/* ============================================================
   PODSTRANICE — hero, članak, savjeti, Q&A
   ============================================================ */
.page-hero {
  position: relative; background: var(--graphite); color: #fff;
  padding: 150px 0 90px; overflow: hidden;
}
.page-hero::before {                    /* suptilna žbuka tekstura */
  content: ""; position: absolute; inset: 0; opacity: .04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-hero .eyebrow { color: var(--red-hover); }
.page-hero h1 {
  color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800;
  letter-spacing: -.01em; max-width: 820px; margin-bottom: 16px;
}
.page-hero .lead { max-width: 720px; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.page-hero-cut {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: var(--bg); clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 92%);
}
@media (max-width: 700px) { .page-hero { padding: 120px 0 70px; } .page-hero-cut { height: 44px; } }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .84rem; margin-bottom: 22px; color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--red-hover); }
.breadcrumb span::before { content: "›"; margin-right: 8px; color: rgba(255,255,255,.4); }

.article-meta { display: flex; gap: 18px; margin-top: 22px; font-size: .85rem; color: rgba(255,255,255,.65); }

/* ---------- Tijelo članka ---------- */
.article-body { max-width: 780px; }
.article-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 2.2em 0 .6em;
  padding-top: .4em; position: relative;
}
.article-body h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px;
  background: var(--red); transform: skewX(-20deg);
}
.article-body h3 { font-size: 1.12rem; margin: 1.6em 0 .5em; }
.article-body p { margin-bottom: 1.1em; }
.article-body ul, .article-body ol { margin: 0 0 1.3em 1.3em; }
.article-body li { margin-bottom: .55em; }
.article-body li::marker { color: var(--red); font-weight: 700; }
.article-body strong { color: var(--heading); }
.article-body a { color: var(--red); }

.tip {
  background: var(--plaster); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 18px 22px; margin: 1.6em 0;
  font-size: .95rem;
}
.tip strong { display: block; font-family: var(--font-head); color: var(--heading); margin-bottom: 4px; }

/* ---------- Usporedna tablica ---------- */
.table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; min-width: 560px; }
.cmp-table th, .cmp-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #EEE9E1; vertical-align: top; }
.cmp-table th {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--graphite); color: #fff; white-space: nowrap;
}
.cmp-table tbody tr:nth-child(even) { background: var(--bg); }
.cmp-table td:first-child { font-weight: 600; color: var(--heading); white-space: nowrap; }

/* ---------- Q&A (pitanja prije ponude) ---------- */
.qa-group { margin: 2.4em 0 0; }
.qa-group > h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 1em; }
.qa-item {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 22px 24px; margin-bottom: 14px;
  display: grid; grid-template-columns: 46px 1fr; gap: 16px;
}
.qa-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--red); line-height: 1.2; padding-top: 2px;
}
.qa-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.qa-item p { font-size: .92rem; margin: 0; }
.qa-why { color: var(--text); }
.qa-why::before { content: "Zašto pitamo: "; font-weight: 700; color: var(--red); }
@media (max-width: 520px) { .qa-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- CTA traka ---------- */
.cta-band { background: var(--graphite); color: #fff; text-align: center; position: relative; margin-top: 80px; }
.cta-band .container { padding: 70px 0 76px; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-cta { justify-content: center; }
.cta-band-cut {
  position: absolute; left: 0; right: 0; top: -1px; height: 70px;
  background: var(--bg); clip-path: polygon(0 0, 100% 0, 100% 60%, 0 8%);
  display: none;
}

/* ---------- Savjeti — kartice ---------- */
.savjeti-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .savjeti-grid { grid-template-columns: 1fr; } }
.savjet-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 30px 28px; text-decoration: none; color: inherit;
  position: relative; overflow: hidden; display: block;
  transition: transform .28s ease, box-shadow .28s ease;
}
.savjet-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 5px;
  background: var(--red); transform: skewX(-30deg) translateX(-8px);
  transition: width .35s ease;
}
.savjet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.savjet-card:hover::before { width: 130px; }
.savjet-card .sc-kicker {
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 10px;
}
.savjet-card h2, .savjet-card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; }
.savjet-card p { font-size: .94rem; margin-bottom: 16px; }
.savjet-card .sc-more { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--red); }

/* ---------- Navigacija članaka ---------- */
.article-nav {
  display: flex; justify-content: space-between; gap: 16px;
  max-width: 780px; margin: 60px auto 0; flex-wrap: wrap;
}
.article-nav a {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--heading); text-decoration: none;
  padding: 14px 20px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, color .2s;
}
.article-nav a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--red); }

/* ============================================================
   REVEAL ANIMACIJE
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-active { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}
