/* ==========================================================================
   KLESAR BRATKOVIĆ — stylesheet
   Paleta: ugljen / zlato / mramor.  Fontovi: Fraunces + Hanken Grotesk
   ========================================================================== */

:root {
  /* boje */
  --ink:        #1b1815;   /* topla, gotovo-crna */
  --ink-soft:   #2c2723;
  --char:       #3a342e;
  --gold:       #c19a4b;   /* iz loga */
  --gold-deep:  #a37e34;
  --gold-soft:  #d8bd86;
  --bone:       #f5f1e8;   /* topli mramorni bijeli */
  --bone-dim:   #ece6da;
  --paper:      #faf7f1;
  --stone:      #8c8276;   /* sivo-smeđa */
  --stone-dim:  #b4ab9f;
  --line:       rgba(27,24,21,.12);
  --line-light: rgba(245,241,232,.14);

  /* tipografija */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* mjere */
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 2px;

  --ease: cubic-bezier(.21,.6,.35,1);
}

/* reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* tipografski elementi ---------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--gold-soft); }
.eyebrow.light::before { background: var(--gold-soft); }

/* layout primitivi -------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--char); max-width: 56ch; }

/* gumbi ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  padding: 1rem 1.9rem;
  border-radius: var(--radius);
  transition: all .4s var(--ease);
  position: relative;
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ink); color: var(--bone); }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { background: var(--gold); color: var(--ink); }
.btn--ghost { border: 1px solid var(--line-light); color: var(--bone); }
.btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bone); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.1rem;
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.scrolled {
  background: rgba(250,247,241,.92);
  backdrop-filter: blur(14px);
  padding-block: .7rem;
  box-shadow: 0 1px 0 var(--line), 0 14px 40px -28px rgba(27,24,21,.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .9rem; }
.brand img { height: 40px; width: auto; }
.brand .logo-color { display: none; }
.brand .logo-light { display: block; filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); }
.scrolled .brand .logo-color { display: block; }
.scrolled .brand .logo-light { display: none; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  color: var(--bone); position: relative; padding-block: .3rem;
  transition: color .3s;
}
.scrolled .nav a { color: var(--ink-soft); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--gold); }
.scrolled .nav a.active { color: var(--gold-deep); }

.header-cta { display: flex; align-items: center; gap: 1.3rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .95rem; color: var(--bone);
  transition: color .3s;
}
.scrolled .header-phone { color: var(--ink); }
.header-phone svg { width: 17px; height: 17px; color: var(--gold); }

.burger { display: none; width: 30px; height: 22px; position: relative; }
.burger span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--bone);
  transition: all .35s var(--ease); border-radius: 2px;
}
.scrolled .burger span { background: var(--ink); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 20px; }
body.menu-open .burger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* mobilni meni */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-nav { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3.2rem);
  color: var(--bone); padding-block: .35rem; letter-spacing: -.02em;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.mobile-nav a:hover { color: var(--gold); }
body.menu-open .mobile-nav a { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-nav a:nth-child(1){ transition-delay:.12s }
body.menu-open .mobile-nav a:nth-child(2){ transition-delay:.18s }
body.menu-open .mobile-nav a:nth-child(3){ transition-delay:.24s }
body.menu-open .mobile-nav a:nth-child(4){ transition-delay:.30s }
body.menu-open .mobile-nav a:nth-child(5){ transition-delay:.36s }
.mobile-nav .m-contact {
  margin-top: 2.5rem; font-family: var(--sans); font-size: 1rem;
  color: var(--stone-dim); opacity: 0; transition: opacity .5s .42s;
}
body.menu-open .mobile-nav .m-contact { opacity: 1; }
.mobile-nav .m-contact a { font-family: var(--sans); font-size: 1.05rem; color: var(--gold-soft); display: inline; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  color: var(--bone);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(20,18,15,.92) 0%, rgba(20,18,15,.45) 45%, rgba(20,18,15,.55) 100%);
}
.hero__inner { width: 100%; padding-bottom: clamp(3.5rem, 7vw, 6rem); padding-top: 9rem; }
.hero h1 {
  font-size: clamp(2.7rem, 6.5vw, 5.6rem);
  font-weight: 400; line-height: .98; max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__sub {
  margin-top: 1.7rem; max-width: 50ch; font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: rgba(245,241,232,.86); font-weight: 400;
}
.hero__actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta {
  margin-top: 3.4rem; display: flex; flex-wrap: wrap; gap: 2.6rem;
  border-top: 1px solid var(--line-light); padding-top: 1.8rem;
}
.hero__meta div { }
.hero__meta b { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; color: var(--gold-soft); display: block; line-height: 1; }
.hero__meta span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-dim); }
.scroll-hint {
  position: absolute; right: var(--gutter); bottom: 2.2rem; z-index: 2;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,241,232,.6);
  display: flex; align-items: center; gap: .7rem; writing-mode: vertical-rl;
}
.scroll-hint::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold-soft), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.4;transform:scaleY(.7)} 50%{opacity:1;transform:scaleY(1)} }

/* hero za podstranice (kraći) */
.subhero {
  position: relative; padding-top: 11rem; padding-bottom: clamp(3rem,6vw,5rem);
  color: var(--bone); overflow: hidden;
}
.subhero__bg { position: absolute; inset: 0; z-index: -2; }
.subhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.subhero::before { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(to right, rgba(20,18,15,.9), rgba(20,18,15,.55)); }
.subhero h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 400; max-width: 18ch; }
.subhero p { margin-top: 1.1rem; max-width: 52ch; color: rgba(245,241,232,.82); }
.crumbs { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-dim); margin-bottom: 1.3rem; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span { color: var(--gold-soft); }

/* =========================================================================
   INTRO / O NAMA blok
   ========================================================================= */
.intro { background: var(--paper); }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.intro__media { position: relative; }
.intro__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 40px 80px -50px rgba(27,24,21,.6); }
.intro__media .badge {
  position: absolute; bottom: -28px; right: -10px;
  background: var(--ink); color: var(--bone); padding: 1.4rem 1.6rem;
  border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(27,24,21,.7);
}
.intro__media .badge b { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); display: block; line-height: 1; }
.intro__media .badge span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-dim); }
.intro h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 400; margin-top: 1.2rem; }
.intro h2 em { font-style: italic; color: var(--gold-deep); }
.intro p { margin-top: 1.3rem; color: var(--char); }
.intro .marks { margin-top: 1.8rem; display: grid; gap: .8rem; }
.intro .marks li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 500; }
.intro .marks svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 3px; }
.intro .btn { margin-top: 2rem; }

/* =========================================================================
   USLUGE / kartice
   ========================================================================= */
.services { background: var(--bone); position: relative; }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem,5vw,3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; margin-top: 1.1rem; }
.section-head h2 em { font-style: italic; color: var(--gold-deep); }
.section-head p { margin-top: 1rem; color: var(--char); }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.1rem 1.8rem 2rem;
  display: flex; flex-direction: column; min-height: 290px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s, background .5s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content:""; position:absolute; left:0; top:0; height:3px; width:0; background: var(--gold);
  transition: width .5s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -45px rgba(27,24,21,.5); border-color: transparent; background: var(--ink); color: var(--bone); }
.svc-card:hover::before { width: 100%; }
.svc-card:hover .svc-num { color: var(--gold-soft); }
.svc-card:hover .svc-ic { background: rgba(193,154,75,.18); color: var(--gold-soft); }
.svc-card:hover p { color: rgba(245,241,232,.7); }
.svc-num { font-family: var(--serif); font-size: .95rem; color: var(--stone); letter-spacing: .1em; transition: color .4s; }
.svc-ic {
  width: 48px; height: 48px; border-radius: var(--radius); margin: 1.1rem 0 1.3rem;
  display: grid; place-items: center; background: var(--bone-dim); color: var(--gold-deep);
  transition: background .4s, color .4s;
}
.svc-ic svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.32rem; font-weight: 500; }
.svc-card p { margin-top: .7rem; font-size: .95rem; color: var(--char); transition: color .4s; flex: 1; }
.svc-card .svc-more { margin-top: 1.2rem; font-weight: 600; font-size: .85rem; letter-spacing: .03em; color: var(--gold-deep); display: inline-flex; align-items: center; gap: .4rem; transition: color .4s, gap .3s; }
.svc-card:hover .svc-more { color: var(--gold-soft); gap: .7rem; }

/* =========================================================================
   FEATURE / split sa slikom
   ========================================================================= */
.feature { background: var(--ink); color: var(--bone); overflow: hidden; }
.feature__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; gap: 0; }
.feature__text { padding: clamp(3.5rem,7vw,7rem) clamp(2rem,5vw,5rem); display: flex; flex-direction: column; justify-content: center; }
.feature__text h2 { font-size: clamp(2rem,4vw,3.2rem); font-weight: 400; margin-top: 1rem; }
.feature__text h2 em { font-style: italic; color: var(--gold-soft); }
.feature__text p { margin-top: 1.3rem; color: rgba(245,241,232,.78); max-width: 48ch; }
.feature__list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.feature__list li { display: flex; gap: 1rem; align-items: flex-start; border-top: 1px solid var(--line-light); padding-top: 1.1rem; }
.feature__list b { font-family: var(--serif); color: var(--gold-soft); font-size: 1.4rem; font-weight: 500; flex: none; }
.feature__list span { font-size: .96rem; color: rgba(245,241,232,.8); }
.feature__media { position: relative; min-height: 420px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   GALERIJA RADOVA
   ========================================================================= */
.works { background: var(--paper); }
.works__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2.6rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.g-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 2/3; cursor: pointer; background: var(--bone-dim);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,15,.55), transparent 55%);
  opacity: 0; transition: opacity .45s;
}
.g-item:hover::after { opacity: 1; }
.g-item .g-zoom {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; opacity: 0; transform: translateY(8px) scale(.9);
  transition: all .45s var(--ease);
}
.g-item:hover .g-zoom { opacity: 1; transform: translateY(0) scale(1); }
.g-item .g-zoom svg { width: 18px; height: 18px; }
/* prvi element veći */
.gallery .g-item.tall { grid-row: span 2; aspect-ratio: auto; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,13,11,.94); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; animation: fade .35s; }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); }
.lb-close, .lb-nav { position: absolute; color: var(--bone); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.lb-close { top: 3vh; right: 3vw; border: 1px solid var(--line-light); }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.12); }
.lb-nav { top: 50%; transform: translateY(-50%); border: 1px solid var(--line-light); }
.lb-prev { left: 2vw; } .lb-next { right: 2vw; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }

/* =========================================================================
   MATERIJALI strip
   ========================================================================= */
.materials { background: var(--bone); }
.mat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; margin-top: 2.6rem; }
.mat-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 2rem; background: var(--paper); transition: transform .45s var(--ease), box-shadow .45s; }
.mat-card:hover { transform: translateY(-5px); box-shadow: 0 36px 60px -45px rgba(27,24,21,.45); }
.mat-card h3 { font-size: 1.55rem; font-weight: 500; }
.mat-card h3 span { display:block; font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem; }
.mat-card p { margin-top: .8rem; color: var(--char); font-size: .96rem; }

/* =========================================================================
   CTA traka
   ========================================================================= */
.cta {
  position: relative; color: var(--bone); text-align: center; overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content:""; position:absolute; inset:0; z-index:-1; background: rgba(20,18,15,.82); }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 400; max-width: 20ch; margin: 1.2rem auto 0; }
.cta h2 em { font-style: italic; color: var(--gold-soft); }
.cta p { margin: 1.2rem auto 0; max-width: 50ch; color: rgba(245,241,232,.82); }
.cta__actions { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--ink); color: var(--stone-dim); padding-top: clamp(3.5rem,6vw,5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer-brand img { height: 42px; margin-bottom: 1.3rem; }
.footer-brand p { font-size: .95rem; line-height: 1.7; max-width: 34ch; color: var(--stone-dim); }
.footer-col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.2rem; font-weight: 600; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a, .footer-col li { font-size: .95rem; color: var(--stone-dim); transition: color .3s; }
.footer-col a:hover { color: var(--bone); }
.footer-col .ic-line { display: flex; gap: .7rem; align-items: flex-start; }
.footer-col .ic-line svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1.6rem; font-size: .85rem; }
.footer-bottom a:hover { color: var(--gold-soft); }

/* =========================================================================
   ANIMACIJE — scroll reveal
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   USLUGE stranica — detaljni blokovi
   ========================================================================= */
.svc-detail { background: var(--paper); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; padding-block: clamp(3rem,5vw,4.5rem); border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: none; }
.svc-row.flip .svc-row__media { order: 2; }
.svc-row__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 36px 70px -50px rgba(27,24,21,.55); }
.svc-row__num { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-deep); letter-spacing: .1em; }
.svc-row h3 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 400; margin-top: .6rem; }
.svc-row p { margin-top: 1rem; color: var(--char); }
.svc-row .tags { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.svc-row .tags span { font-size: .82rem; font-weight: 500; padding: .42rem .85rem; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); background: var(--bone); }

/* proces */
.process { background: var(--ink); color: var(--bone); }
.proc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; }
.proc-step { position: relative; padding-top: 2rem; border-top: 2px solid var(--line-light); }
.proc-step b { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-soft); display: block; line-height: 1; }
.proc-step h4 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-top: .9rem; }
.proc-step p { margin-top: .6rem; font-size: .93rem; color: rgba(245,241,232,.72); }

/* o nama — vrijednosti + timeline */
.values { background: var(--bone); }
.val-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; margin-top: 2.6rem; }
.val-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 2rem; }
.val-card .val-ic { width: 52px; height: 52px; border-radius: var(--radius); background: var(--ink); color: var(--gold-soft); display: grid; place-items: center; margin-bottom: 1.3rem; }
.val-card .val-ic svg { width: 26px; height: 26px; }
.val-card h3 { font-size: 1.35rem; font-weight: 500; }
.val-card p { margin-top: .7rem; color: var(--char); font-size: .96rem; }

.timeline { background: var(--paper); }
.tl { margin-top: 3rem; position: relative; max-width: 760px; margin-inline: auto; }
.tl::before { content:""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.tl-item { position: relative; padding-left: 3.2rem; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content:""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--gold); }
.tl-item b { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-deep); }
.tl-item h4 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-top: .2rem; }
.tl-item p { margin-top: .5rem; color: var(--char); font-size: .97rem; }

/* o nama hero split */
.about-intro { background: var(--paper); }
.about-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,5.5rem); align-items: center; }
.about-intro__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-intro__media img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.about-intro__media img:first-child { aspect-ratio: 3/4; margin-top: 2.5rem; }
.about-intro__media img:last-child { aspect-ratio: 3/4; }
.about-intro h2 { font-size: clamp(2rem,4vw,3.1rem); font-weight: 400; margin-top: 1rem; }
.about-intro h2 em { font-style: italic; color: var(--gold-deep); }
.about-intro p { margin-top: 1.2rem; color: var(--char); }
.about-intro p + p { margin-top: 1rem; }

/* kontakt mini */
.contact-mini { background: var(--ink); color: var(--bone); }
.cm-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; margin-top: 2.6rem; }
.cm-card { border: 1px solid var(--line-light); border-radius: var(--radius); padding: 2rem; transition: border-color .4s, transform .4s; }
.cm-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.cm-card .cm-ic { color: var(--gold-soft); margin-bottom: 1rem; }
.cm-card .cm-ic svg { width: 24px; height: 24px; }
.cm-card h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--stone-dim); font-weight: 600; }
.cm-card a, .cm-card p { font-family: var(--serif); font-size: 1.35rem; color: var(--bone); margin-top: .5rem; display: block; }
.cm-card a:hover { color: var(--gold-soft); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .gallery { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .proc-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .burger { display: block; }
  .intro__grid, .feature__grid, .svc-row, .about-intro__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 460px; }
  .feature__media { min-height: 320px; order: -1; }
  .svc-row.flip .svc-row__media { order: 0; }
  .mat-grid, .val-grid, .cm-grid { grid-template-columns: 1fr; }
  .intro__media .badge { right: 1rem; }
}
@media (max-width: 560px) {
  .svc-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.6rem; }
  .gallery .g-item.tall { grid-row: span 1; aspect-ratio: 2/3; }
}

/* ===================== MATERIJALI (dodano) ===================== */
/* kategorijski chipsovi u herou */
.matnav { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1.8rem; }
.matnav a { font-family:var(--sans); font-size:.82rem; letter-spacing:.04em; padding:.5rem 1.05rem;
  border:1px solid var(--line-light); border-radius:999px; color:var(--bone);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.matnav a:hover { background:var(--bone); color:var(--ink); border-color:var(--bone); }

/* trake po vrsti kamena */
.matband { padding-block: clamp(3rem,6vw,5rem); scroll-margin-top:80px; }
.matband--alt { background: var(--bone-dim); }
.matband--note { padding-block: clamp(2rem,4vw,3rem); }

/* zaglavlje kategorije */
.matcat__head { display:grid; grid-template-columns:1.1fr 1fr; gap:1.4rem 2.5rem; align-items:end;
  padding-bottom:1.4rem; border-bottom:1px solid var(--line); margin-bottom:2.8rem; position:relative; }
.matcat__head::after { content:""; position:absolute; left:0; bottom:-1px; width:64px; height:2px; background:var(--gold); }
.matcat__heading { display:flex; align-items:center; gap:1rem; }
.matcat__idx { font-family:var(--serif); font-weight:400; font-size:clamp(2.4rem,5vw,3.6rem);
  line-height:.8; color:var(--gold-soft); opacity:.55; }
.matcat__heading .eyebrow { margin-bottom:.4rem; }
.matcat__heading h2 { font-family:var(--serif); font-weight:400; line-height:1;
  font-size:clamp(1.9rem,3.6vw,2.8rem); }
.matcat__lead { color:var(--char); max-width:54ch; font-size:.98rem; }

/* mreza uzoraka */
.matlib-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:2rem 1.1rem; }
.matlib-card { text-align:center; }
.matlib-card .ph { position:relative; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
.matlib-card .ph::before { content:""; position:absolute; bottom:9%; left:50%; transform:translateX(-50%);
  width:58%; height:9%; border-radius:50%; background: rgba(27,24,21,.20); filter: blur(8px); z-index:0; }
.matlib-card img { position:relative; z-index:1; width:88%; height:88%; object-fit:contain;
  filter: drop-shadow(0 12px 16px rgba(27,24,21,.22)); transition: transform .5s var(--ease); cursor:pointer; }
.matlib-card:hover img { transform: scale(1.08) translateY(-4px); }
.matlib-card figcaption { font-family:var(--serif); font-weight:400; font-size:.98rem; color:var(--ink);
  margin-top:.5rem; transition: color .3s var(--ease); }
.matlib-card:hover figcaption { color:var(--gold-deep); }

.matlib-note { margin:0; color:var(--stone); font-size:.92rem; max-width:72ch; }

/* naslovnica: klikabilni boxevi + centrirani gumb */
a.mat-card { display:block; text-decoration:none; color:inherit; }
.mat-card__more { display:inline-flex; align-items:center; gap:.4rem; margin-top:1.1rem;
  font-family:var(--sans); font-size:.76rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--gold-deep); transition: gap .3s var(--ease); }
a.mat-card:hover .mat-card__more { gap:.7rem; }
.materials .center-cta { display:flex; justify-content:center; margin-top:2.8rem; }

@media (max-width:1100px){ .matlib-grid { grid-template-columns:repeat(4,1fr); } }
@media (max-width:820px){ .matcat__head { grid-template-columns:1fr; align-items:start; } .matlib-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .matlib-grid { grid-template-columns:repeat(2,1fr); } }

/* lightbox materijala - naziv + zoom (koristi .lightbox stil) */
.matlb .matlb__stage { display:flex; flex-direction:column; align-items:center; gap:1.1rem; max-width:92vw; }
.matlb .matlb__stage img { max-width:78vmin; max-height:74vh; width:auto; height:auto; box-shadow:none;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); cursor: zoom-in; transition: transform .35s var(--ease); }
.matlb .matlb__stage img.zoomed { transform: scale(1.7); cursor: zoom-out; }
.matlb figcaption { font-family:var(--serif); color:var(--bone); font-size:1.15rem; letter-spacing:.01em; }
.matlb .lb-hint { font-family:var(--sans); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(245,241,232,.5); margin-top:-.4rem; }

/* ===================== POGON (O nama) ===================== */
.pogon .section-head__lead { max-width:62ch; color:var(--char); margin-top:1rem; }
.pogon-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:2.6rem; }
.pogon-item { aspect-ratio:4/3; }   /* override portretnog .g-item za pejzazne fotke */
@media (max-width:820px){ .pogon-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .pogon-grid { grid-template-columns:1fr; } }


/* ===================== MATERIJALI - NOVA TEKSTUALNA STRANICA ===================== */
.stone-intro .section-head { max-width:820px; margin-bottom:2.4rem; }
.stone-intro .section-head p { color:var(--char); }

.stone-type-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1rem;
}

.stone-type-card {
  background:rgba(255,255,255,.42);
  border:1px solid var(--line);
  padding:clamp(1.4rem, 3vw, 2rem);
  box-shadow:0 18px 45px rgba(27,24,21,.06);
}

.stone-type-card__label {
  display:inline-flex;
  align-items:center;
  font-family:var(--sans);
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold-deep);
  margin-bottom:1rem;
}

.stone-type-card h3 {
  font-family:var(--serif);
  font-size:clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight:400;
  line-height:1.15;
  margin-bottom:.8rem;
}

.stone-type-card p {
  color:var(--char);
  line-height:1.75;
}

.stone-copy {
  max-width:920px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1.2rem 2.4rem;
}

.stone-copy p {
  color:var(--char);
  line-height:1.8;
  margin:0;
}

.matlib-grid--compact {
  grid-template-columns:repeat(4,1fr);
}

#uzorci .matlib-note {
  margin-top:2rem;
}

@media (max-width:900px) {
  .stone-type-grid,
  .stone-copy {
    grid-template-columns:1fr;
  }

  .matlib-grid--compact {
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:560px) {
  .matlib-grid--compact {
    grid-template-columns:repeat(2,1fr);
  }
}

/* ===================== KONTAKT ===================== */
.kontakt-grid { display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; align-items:stretch; }
.kontakt-info h2 { font-family:var(--serif); font-weight:400; font-size:clamp(1.6rem,3vw,2.2rem); }
.kontakt-info .kontakt-sub { color:var(--gold-deep); font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin-top:.3rem; }
.kontakt-info ul { list-style:none; margin:2rem 0 0; padding:0; display:flex; flex-direction:column; gap:1.3rem; }
.kontakt-info li { display:flex; gap:1rem; align-items:flex-start; }
.kontakt-info .k-ico { flex:0 0 42px; height:42px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--gold-deep); }
.kontakt-info .k-ico svg { width:19px; height:19px; }
.kontakt-info li strong { font-family:var(--sans); font-weight:600; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; color:var(--stone); }
.kontakt-info li a { color:var(--ink); }
.kontakt-info li a:hover { color:var(--gold-deep); }
.kontakt-actions { display:flex; flex-wrap:wrap; gap:1rem; margin-top:2.2rem; }
.kontakt-map { min-height:420px; border-radius:var(--radius); overflow:hidden; box-shadow:0 30px 60px -40px rgba(27,24,21,.5); }
.kontakt-map iframe { width:100%; height:100%; min-height:420px; border:0; display:block; filter:grayscale(.2) contrast(1.02); }
@media (max-width:860px){ .kontakt-grid { grid-template-columns:1fr; } .kontakt-map { min-height:340px; } }
