/* ── RESET & VARIABLES ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #A67C2A;
  --gold-light: #C49535;
  --gold-dark:  #8B6520;
  --gold-pale:  #F5EDD8;
  --gold-bg:    #FBF6EC;
  --cream:      #FDFAF4;
  --white:      #FFFFFF;
  --stone:      #F4F1EB;
  --stone-dk:   #EAE4D8;
  --text:       #1C1A16;
  --text-dim:   #5C5540;
  --text-muted: #9A8F78;
  --border:     #DDD5C0;
  --shadow-sm:  0 2px 14px rgba(100,80,30,.07);
  --shadow-md:  0 6px 32px rgba(100,80,30,.10);
  --shadow-lg:  0 18px 60px rgba(100,80,30,.13);
  --radius:     6px;
  --wa:         #25D366;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAVIGATION ────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 90px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s, height .35s;
}
nav.scrolled {
  height: 72px;
  background: rgba(253,250,244,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img {
  height: 64px; width: auto;
  transition: opacity .2s, filter .45s;
  /* on transparent nav (dark bg): convert logo to white silhouette */
  filter: brightness(0) invert(1);
}
.nav-logo img:hover { opacity: .82; }
nav.scrolled .nav-logo img {
  filter: none;
}

.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.88); text-decoration: none;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
  transition: color .2s, letter-spacing .2s;
  position: relative; padding-bottom: 3px;
}
nav.scrolled .nav-links a { color: var(--text-dim); }
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -1px; left: 0; right: 100%;
  height: 1.5px; background: rgba(255,255,255,.7);
  transition: right .25s ease;
}
nav.scrolled .nav-links a::after { background: var(--gold); }
.nav-links a:hover { color: var(--white); letter-spacing: .11em; }
nav.scrolled .nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--white); }
nav.scrolled .nav-links a.active { color: var(--gold); }

.nav-cta {
  background: transparent;
  border: none;
  color: var(--white) !important;
  padding: .55rem 1.4rem; border-radius: 3px;
  font-weight: 600 !important; font-size: .79rem;
  letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, border-color .2s, transform .15s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: rgba(255,255,255,.14) !important; }
nav.scrolled .nav-cta {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}
nav.scrolled .nav-cta:hover { background: var(--gold-dark) !important; }

.burger {
  display: none; cursor: pointer;
  flex-direction: column; gap: 5px;
  border: none; background: none; padding: 4px;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  display: block; transition: transform .3s, opacity .3s, background .45s;
}
nav.scrolled .burger span { background: var(--text); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 5% 5rem;
  position: relative; overflow: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 76% 18%, rgba(166,124,42,.07) 0%, transparent 48%),
    radial-gradient(circle at 18% 82%, rgba(166,124,42,.05) 0%, transparent 40%),
    radial-gradient(circle, rgba(166,124,42,.11) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px;
}

/* large decorative SVG building silhouette */
.hero-decor {
  position: absolute; right: -2%; top: 0; bottom: 0;
  width: 44%; display: flex; align-items: center; justify-content: flex-end;
  pointer-events: none; opacity: .04;
}
.hero-decor svg { width: 100%; height: auto; }

.hero-inner {
  max-width: 800px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-pale);
  border: 1px solid rgba(166,124,42,.3);
  border-radius: 30px;
  padding: .45rem 1.25rem;
  font-size: .73rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem; font-weight: 600;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .55; transform: scale(.75); }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 900; line-height: 1.08;
  color: var(--text); margin-bottom: 1.5rem;
  letter-spacing: -.025em;
}
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 1.06rem; line-height: 1.84;
  color: var(--text-dim);
  max-width: 600px; margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  background: var(--gold); color: var(--white);
  padding: .92rem 2.2rem; border-radius: 4px;
  text-decoration: none; font-weight: 600; font-size: .92rem;
  letter-spacing: .03em;
  box-shadow: 0 4px 20px rgba(166,124,42,.32);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--gold-dark);
  box-shadow: 0 10px 36px rgba(166,124,42,.50);
}
.btn-outline {
  border: 1.5px solid var(--gold); color: var(--gold);
  padding: .92rem 2.2rem; border-radius: 4px;
  text-decoration: none; font-weight: 500; font-size: .92rem;
  letter-spacing: .03em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-outline:hover {
  background: var(--gold-pale);
  box-shadow: 0 6px 24px rgba(166,124,42,.24);
}

.hero-stats {
  display: flex; gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  justify-content: center;
}
.stat { text-align: center; padding: 0 2.8rem; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-label { font-size: .76rem; color: var(--text-muted); margin-top: 7px; letter-spacing: .04em; }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--text-muted); font-size: .67rem;
  letter-spacing: .14em; text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
  cursor: pointer; text-decoration: none;
}
.scroll-cue svg { width: 18px; height: 18px; stroke: var(--text-muted); stroke-width: 1.6; fill: none; }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── SECTION BASE ──────────────────────────────────────────────── */
section { padding: 6rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .8rem;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 26px; height: 1.5px; background: var(--gold); flex-shrink: 0; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700; color: var(--text);
  line-height: 1.14; margin-bottom: .9rem;
  letter-spacing: -.015em;
}
.section-sub { color: var(--text-dim); font-size: 1rem; line-height: 1.8; max-width: 560px; }
.gold-divider { width: 46px; height: 2px; background: var(--gold); margin: 1.3rem 0; }

/* ── GALLERY (shared) ──────────────────────────────────────────── */
#galerija { background: var(--stone); }

/* placeholder when photo is missing */
.img-ph {
  width: 100%; height: 100%; min-height: inherit;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .65rem;
  background: linear-gradient(135deg, #eae3d8 0%, #d6cdb8 100%);
  color: var(--text-muted);
}
.img-ph svg { width: 32px; height: 32px; stroke: var(--text-muted); stroke-width: 1.2; fill: none; opacity: .4; }
.img-ph span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .5; }

/* ── PROJECT SHOWCASE (home page) ──────────────────────────────── */
.project-showcase { display: flex; flex-direction: column; gap: 1.5rem; }

.project-card {
  display: grid; grid-template-columns: 1.55fr 1fr;
  min-height: 280px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s, transform .35s;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-card:nth-child(even) { grid-template-columns: 1fr 1.55fr; }
.project-card:nth-child(even) .project-img { order: 2; }
.project-card:nth-child(even) .project-info { order: 1; }

.project-img {
  position: relative; overflow: hidden;
}
.project-img .img-ph { min-height: 280px; }
.project-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.project-card:hover .project-img img { transform: scale(1.04); }

.project-cat {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  background: var(--gold); color: var(--white);
  font-size: .67rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 13px; border-radius: 30px;
}

.project-info {
  background: var(--white);
  padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center; gap: .6rem;
}
.project-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem; font-weight: 700;
  color: rgba(166,124,42,.11); line-height: 1;
  margin-bottom: .2rem;
}
.project-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--text); line-height: 1.2;
}
.project-info p { color: var(--text-dim); font-size: .9rem; line-height: 1.78; }
.project-info .usluga-tags { margin-top: .5rem; }

/* ── GALLERY PAGE (radovi.html) ────────────────────────────────── */
.gallery-filters {
  display: flex; gap: .6rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.gallery-filter {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 30px; padding: .5rem 1.3rem;
  font-family: 'DM Sans', sans-serif; font-size: .82rem; font-weight: 500;
  color: var(--text-dim); cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.gallery-filter.active {
  background: var(--gold); border-color: var(--gold);
  color: var(--white); font-weight: 600;
}
.gallery-filter:hover:not(.active) {
  border-color: var(--gold); color: var(--gold);
}

.gallery-panel { display: none; }
.gallery-panel.active { display: block; animation: fade-in .35s ease both; }

/* editorial grid for radovi.html */
.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}
.ge-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); cursor: pointer;
  background: var(--stone-dk);
}
.ge-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.ge-item:hover img { transform: scale(1.06); }
.ge-item .img-ph { min-height: 220px; }

/* size variants */
.ge-item.ge-lg  { grid-column: span 8; grid-row: span 2; }
.ge-item.ge-lg .img-ph { min-height: 450px; }
.ge-item.ge-md  { grid-column: span 4; grid-row: span 1; }
.ge-item.ge-sm  { grid-column: span 4; grid-row: span 1; }
.ge-item.ge-wide { grid-column: span 6; grid-row: span 1; }

.ge-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,26,22,.65) 0%, transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.ge-item:hover .ge-overlay { opacity: 1; }

.ge-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1.25rem;
  transform: translateY(6px);
  opacity: 0; transition: opacity .35s, transform .35s;
}
.ge-item:hover .ge-info { opacity: 1; transform: translateY(0); }

.ge-cat {
  display: inline-block;
  background: var(--gold); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 30px;
  margin-bottom: .4rem;
}
.ge-title { color: #fff; font-size: .9rem; font-weight: 600; line-height: 1.3; }

/* before/after layout */
.gallery-ba {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.gallery-ba .ge-item { height: 400px; }
.gallery-ba .ge-item .img-ph { min-height: 400px; }
.gallery-ba-label {
  position: absolute; top: .8rem; left: .8rem;
  background: rgba(28,26,22,.76); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 30px; z-index: 1;
}

/* responsive gallery */
@media (max-width: 900px) {
  .gallery-editorial { grid-template-columns: repeat(6,1fr); grid-auto-rows: 200px; }
  .ge-item.ge-lg  { grid-column: span 6; grid-row: span 1; }
  .ge-item.ge-lg .img-ph { min-height: 200px; }
  .ge-item.ge-md  { grid-column: span 3; }
  .ge-item.ge-sm  { grid-column: span 3; }
  .ge-item.ge-wide { grid-column: span 6; }
}
@media (max-width: 600px) {
  .project-card { grid-template-columns: 1fr; grid-template-rows: 220px auto; }
  .project-card:nth-child(even) { grid-template-columns: 1fr; }
  .project-card:nth-child(even) .project-img { order: 0; }
  .project-card:nth-child(even) .project-info { order: 0; }
  .project-info { padding: 1.75rem; }
  .gallery-editorial { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .ge-item.ge-lg  { grid-column: span 2; }
  .ge-item.ge-lg .img-ph { min-height: 180px; }
  .ge-item.ge-md, .ge-item.ge-sm, .ge-item.ge-wide { grid-column: span 1; }
  .gallery-ba { grid-template-columns: 1fr; }
  .gallery-ba .ge-item { height: 240px; }
  .gallery-ba .ge-item .img-ph { min-height: 240px; }
}

/* ── KAKO RADIMO ───────────────────────────────────────────────── */
#kako-radimo { background: var(--white); }

.process-header { text-align: center; margin-bottom: 4rem; }
.process-header .section-label {
  justify-content: center;
  display: flex; align-items: center; gap: 10px;
}
.process-header .section-label::before { display: none; }
.process-header .section-sub { margin: 0 auto; text-align: center; }

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

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: left;
  position: relative;
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: rgba(166,124,42,.13);
  line-height: 1; margin-bottom: .75rem;
  display: block;
  width: auto; height: auto; border: none;
  background: none; border-radius: 0;
}
.step-icon { display: none; }
.process-step h3 {
  font-size: .97rem; font-weight: 600; color: var(--text);
  margin-bottom: .6rem;
}
.process-step p { font-size: .85rem; color: var(--text-dim); line-height: 1.72; }

/* ── O NAMA ────────────────────────────────────────────────────── */
#o-nama { background: var(--stone); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.about-text p { color: var(--text-dim); line-height: 1.87; font-size: 1rem; margin-bottom: 1.2rem; }
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.about-feature {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.about-feature:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.about-feature-icon { flex-shrink: 0; margin-top: 2px; }
.about-feature-icon svg {
  width: 22px; height: 22px; stroke: var(--gold);
  stroke-width: 1.7; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.about-feature-text strong { display: block; color: var(--text); font-size: .92rem; margin-bottom: 3px; }
.about-feature-text span { color: var(--text-dim); font-size: .84rem; }

.about-panel {
  background: var(--white);
  border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.about-panel-item {
  padding: 1.8rem 1.6rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background .25s;
}
.about-panel-item:hover { background: var(--gold-bg); }
.about-panel-item:nth-child(2n) { border-right: none; }
.about-panel-item:nth-child(3),
.about-panel-item:nth-child(4) { border-bottom: none; }
.about-panel-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.about-panel-label { font-size: .86rem; color: var(--text-dim); margin-top: 5px; font-weight: 500; }
.about-panel-desc { font-size: .81rem; color: var(--text-muted); margin-top: 7px; line-height: 1.62; }

/* ── USLUGE ────────────────────────────────────────────────────── */
#usluge { background: var(--stone); }
.usluge-header { margin-bottom: 3rem; }
.usluge-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}
.usluga-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.usluga-card.hidden-card { display: none; }
.usluga-card:hover {
  background: var(--gold-bg);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.usluga-icon {
  width: 54px; height: 54px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
  transition: background .25s, transform .25s;
}
.usluga-card:hover .usluga-icon { background: rgba(166,124,42,.2); transform: scale(1.1); }
.usluga-icon svg {
  width: 24px; height: 24px; stroke: var(--gold);
  stroke-width: 1.7; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.usluga-card h3 { color: var(--text); font-size: .97rem; font-weight: 600; margin-bottom: .6rem; }
.usluga-card p  { color: var(--text-dim); font-size: .85rem; line-height: 1.75; }
.usluga-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 1rem; }
.tag {
  font-size: .68rem; color: var(--gold);
  background: var(--gold-pale); border: 1px solid rgba(166,124,42,.2);
  padding: 3px 9px; border-radius: 30px; letter-spacing: .02em;
}
.usluge-toggle-wrap { text-align: center; margin-top: 1.5rem; }
.usluge-toggle {
  background: none; border: 1.5px solid var(--gold); color: var(--gold);
  padding: .75rem 2rem; border-radius: 3px;
  font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s;
}
.usluge-toggle:hover { background: var(--gold-pale); }
.usluge-toggle svg {
  width: 16px; height: 16px; stroke: var(--gold);
  stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s;
}
.usluge-toggle.open svg { transform: rotate(180deg); }

/* ── KONTAKT ───────────────────────────────────────────────────── */
#kontakt { background: var(--white); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

.kontakt-info { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.kontakt-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 1.1rem 1.2rem;
  background: var(--stone); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s, background .25s, transform .25s;
}
.kontakt-item:hover {
  border-color: rgba(166,124,42,.4); background: var(--gold-bg);
  transform: translateX(3px);
}
.ki-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--gold-pale); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.ki-icon svg {
  width: 18px; height: 18px; stroke: var(--gold);
  stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.ki-text strong { display: block; color: var(--text); font-size: .88rem; margin-bottom: 3px; }
.ki-text span   { color: var(--text-dim); font-size: .86rem; }
.ki-text a { color: var(--gold); text-decoration: none; font-weight: 500; }
.ki-text a:hover { text-decoration: underline; }

.kontakt-channels { display: flex; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.btn-channel {
  flex: 1; min-width: 140px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: .9rem 1.2rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: .86rem;
  transition: transform .2s, box-shadow .2s;
}
.btn-channel:hover { box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.btn-ch-wa   { background: var(--wa); color: var(--white); }
.btn-ch-call { background: var(--gold); color: var(--white); }
.btn-channel svg { width: 18px; height: 18px; }
.btn-ch-wa svg { fill: var(--white); stroke: none; }
.btn-ch-call svg { stroke: var(--white); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.kontakt-form { margin-top: 2rem; }
.kontakt-form h3 { color: var(--text); font-size: 1.08rem; font-weight: 600; margin-bottom: .3rem; }
.kontakt-form > p { color: var(--text-muted); font-size: .85rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: .74rem; color: var(--text-muted);
  letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: .45rem; font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--stone);
  border: 1.5px solid var(--border); border-radius: 4px;
  padding: .78rem .95rem; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: .92rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(166,124,42,.12);
}
.form-group textarea { resize: vertical; min-height: 115px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit {
  background: var(--gold); color: var(--white); border: none;
  padding: .95rem 2rem; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .92rem;
  letter-spacing: .03em; cursor: pointer; width: 100%;
  box-shadow: 0 4px 18px rgba(166,124,42,.26);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-submit:hover {
  background: var(--gold-dark);
  box-shadow: 0 10px 32px rgba(166,124,42,.44);
}
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: .7rem; text-align: center; }
.form-note a { color: var(--gold); }
.form-success {
  display: none; background: #f0f9f0;
  border: 1px solid #9ccf9c; border-radius: 4px;
  padding: .95rem 1.1rem; color: #2d7a2d;
  font-size: .88rem; text-align: center; margin-top: 1rem;
}

/* ── FOOTER ────────────────────────────────────────────────────── */
footer { background: var(--text); color: rgba(255,255,255,.55); padding: 4rem 5% 2rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--white); letter-spacing: .03em;
  margin-bottom: 1.2rem; line-height: 1;
}
.footer-wordmark span { color: var(--gold-light); }
.footer-brand p { font-size: .86rem; line-height: 1.74; max-width: 285px; }

.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .2s;
}
.social-btn:hover { background: rgba(166,124,42,.45); }
.social-btn svg {
  width: 16px; height: 16px;
  stroke: rgba(255,255,255,.75); stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.social-btn.wa-btn svg { stroke: none; fill: rgba(255,255,255,.8); }

.footer-col h4 {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.9); margin-bottom: 1.2rem; font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
  color: rgba(255,255,255,.5); text-decoration: none;
  font-size: .86rem; transition: color .2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .77rem; }
.footer-bottom span { color: var(--gold-light); }


/* ── HERO SLIDER ───────────────────────────────────────────────── */
.hero-slider {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 2s ease;
}
.hero-slide.active { opacity: 1; }
.slide-bg {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
}
/* placeholder gradients (swap with real images) */
.slide-bg-1 { background: linear-gradient(145deg, #1a1512 0%, #352d1f 50%, #1e1a14 100%); }
.slide-bg-2 { background: linear-gradient(145deg, #0e1218 0%, #1e2830 50%, #131820 100%); }
.slide-bg-3 { background: linear-gradient(145deg, #18120e 0%, #30201a 50%, #1a1410 100%); }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.58) 0%,
    rgba(0,0,0,.3) 60%,
    rgba(0,0,0,.1) 100%
  );
}

.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 8%; z-index: 10;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .7rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 600;
  margin-bottom: 1.4rem;
  animation: fade-up .8s ease both .1s;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 1.5px; background: var(--gold-light); }
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  font-weight: 900; color: var(--white);
  line-height: 1.06; letter-spacing: -.03em;
  max-width: 720px; margin-bottom: 1.6rem;
  animation: fade-up .9s cubic-bezier(.22,1,.36,1) both .25s;
}
.hero-h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,.72);
  max-width: 480px; line-height: 1.82; margin-bottom: 2.4rem;
  animation: fade-up .8s ease both .42s;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.65);
  color: var(--white);
  padding: .82rem 2rem; border-radius: 4px;
  text-decoration: none; font-weight: 500; font-size: .88rem;
  letter-spacing: .04em;
  transition: background .25s, border-color .25s, transform .2s;
  align-self: flex-start;
  animation: fade-up .8s ease both .45s;
}
.hero-cta:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.9);
  box-shadow: 0 6px 22px rgba(255,255,255,.10);
}

/* slide controls */
.slide-controls {
  position: absolute; bottom: 2.5rem; left: 8%;
  display: flex; align-items: center; gap: 1rem; z-index: 10;
  animation: fade-in .8s ease both 1s;
}
.slide-dots { display: flex; gap: 9px; align-items: center; }
.slide-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.slide-dot.active { background: var(--gold-light); transform: scale(1.4); }
.slide-dot:hover:not(.active) { background: rgba(255,255,255,.65); }
.slide-arrows {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .5rem; z-index: 10;
  animation: fade-in .8s ease both 1s;
}
.slide-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.slide-arrow:hover { background: rgba(255,255,255,.22); transform: scale(1.08); }
.slide-arrow svg { width: 18px; height: 18px; stroke: white; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: rgba(255,255,255,.45); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  z-index: 10; animation: fade-in 1s ease both 1.3s;
}
.hero-scroll svg { width: 18px; height: 18px; stroke: rgba(255,255,255,.45); stroke-width: 1.6; fill: none; animation: bob 2.4s ease-in-out infinite; }

/* ── ABOUT TEASER ──────────────────────────────────────────────── */
.about-teaser { background: var(--white); padding: 6rem 5%; }
.at-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center;
}
.at-text p { color: var(--text-dim); line-height: 1.85; font-size: 1rem; margin-bottom: 1.8rem; }
.at-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.at-stat-item {
  padding: 2rem 1.8rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background .25s;
}
.at-stat-item:hover { background: var(--gold-bg); }
.at-stat-item:nth-child(2n) { border-right: none; }
.at-stat-item:nth-child(3),
.at-stat-item:nth-child(4) { border-bottom: none; }
.at-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.at-label { font-size: .8rem; color: var(--text-dim); margin-top: 6px; }

/* ── HOME PROJECTS ─────────────────────────────────────────────── */
.home-projects { background: var(--stone); padding: 6rem 5%; }
.hp-header { max-width: 1200px; margin: 0 auto 2.5rem; }
.hp-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.hp-item {
  position: relative; height: 360px; overflow: hidden;
  border-radius: var(--radius); cursor: pointer;
}
.hp-item .img-ph { min-height: 360px; }
.hp-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s ease; }
.hp-item:hover img { transform: scale(1.06); }
.hp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,14,.75) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0; transition: opacity .35s;
}
.hp-item:hover .hp-overlay { opacity: 1; }
.hp-cat {
  background: var(--gold); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 30px;
  display: inline-block; margin-bottom: .55rem; width: fit-content;
}
.hp-title { color: var(--white); font-size: 1.02rem; font-weight: 600; line-height: 1.25; }
.hp-cta { max-width: 1200px; margin: 2.5rem auto 0; }

/* ── REVEAL ANIMATION ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
}
@media (max-width: 900px) {
  /* about teaser + home projects tablet */
  .at-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hp-grid { grid-template-columns: 1fr 1fr; }
  .hp-item { height: 280px; }
  .hp-item .img-ph { min-height: 280px; }
  .slide-arrows { display: none; }
  .hero-h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }

  .burger { display: flex; }
  .nav-links {
    display: flex; position: fixed;
    top: 90px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1.5rem 5%; gap: 1.3rem;
    box-shadow: var(--shadow-md);
    visibility: hidden; opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease, visibility 0s .28s;
  }
  .nav-links.open {
    visibility: visible; opacity: 1;
    transform: translateY(0); pointer-events: all;
    transition: opacity .28s ease, transform .28s ease, visibility 0s 0s;
  }
  .nav-cta { display: none; }
  /* mobile open menu: links are dark on cream bg */
  .nav-links.open a { color: var(--text-dim); }
  .nav-links.open a:hover { color: var(--gold); }
  .nav-links.open a::after { background: var(--gold); }
  .gallery-featured { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px; }
  .gallery-featured .gallery-item:first-child { grid-row: 1; grid-column: 1 / 3; }
  .gallery-featured .gallery-item:first-child .img-ph { min-height: 220px; }
  .gallery-uniform { grid-template-columns: 1fr 1fr; }
  .gallery-uniform .gallery-item { height: 200px; }
  .gallery-uniform .img-ph { min-height: 200px; }
  .usluge-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-panel { grid-template-columns: 1fr 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 1.5rem; }
}
@media (max-width: 600px) {
  .hero-content { padding: 0 6%; }
  .slide-controls { left: 6%; }
  .hp-grid { grid-template-columns: 1fr; }
  .hp-item { height: 260px; }
  .hp-item .img-ph { min-height: 260px; }
  .at-stats { grid-template-columns: 1fr; }
  .at-stat-item:nth-child(2n) { border-right: none; }
  .at-stat-item { border-bottom: 1px solid var(--border) !important; }
  .at-stat-item:last-child { border-bottom: none !important; }
  .about-teaser { padding: 4rem 5%; }
  .home-projects { padding: 4rem 5%; }
  nav { height: 72px; }
  .nav-links { top: 72px; }

  section { padding: 3.5rem 5%; }
  .hero { padding: 5.5rem 5% 4rem; }
  .hero-decor { display: none; }
  .hero-badge { font-size: .68rem; padding: .4rem 1rem; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { text-align: center; justify-content: center; padding: 1rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 1.2rem; }
  .stat:last-child { border-bottom: none; }
  .gallery-featured { grid-template-columns: 1fr; grid-template-rows: repeat(3,200px); }
  .gallery-featured .gallery-item:first-child { grid-row: auto; grid-column: auto; }
  .gallery-featured .gallery-item:first-child .img-ph { min-height: 200px; }
  .gallery-uniform { grid-template-columns: 1fr 1fr; }
  .gallery-ba { grid-template-columns: 1fr; }
  .gallery-ba .gallery-item { height: 240px; }
  .gallery-ba .img-ph { min-height: 240px; }
  .usluge-grid { grid-template-columns: 1fr; }
  .about-panel { grid-template-columns: 1fr; }
  .about-panel-item:nth-child(2n) { border-right: none; }
  .about-panel-item:nth-child(3) { border-bottom: 1px solid var(--border); }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .process-step { padding: 1.5rem 1.25rem; }
  .step-num { font-size: 2.2rem; margin-bottom: .5rem; }
  .kontakt-channels { flex-direction: column; }
  .btn-channel { min-width: unset; min-height: 52px; }
  .btn-submit { min-height: 52px; }
  .footer-inner { gap: 1.5rem; }
}

/* ── KEYFRAMES ─────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slide-left {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slide-right {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scale-up {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── SCROLL PROGRESS BAR ───────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 999;
  height: 2px; background: var(--gold);
  width: 0%; pointer-events: none;
  transition: width .08s linear;
}

/* ── HERO ENTRANCE ─────────────────────────────────────────────── */
.hero h1        { animation: fade-up  .8s cubic-bezier(.22,1,.36,1) both; animation-delay: .05s; }
.hero-desc      { animation: fade-up  .8s cubic-bezier(.22,1,.36,1) both; animation-delay: .22s; }
.hero-btns      { animation: fade-up  .8s cubic-bezier(.22,1,.36,1) both; animation-delay: .38s; }
.hero-stats     { animation: fade-in  .9s ease both; animation-delay: .6s; }
.scroll-cue     { animation: fade-in  .8s ease both; animation-delay: .9s; }

/* ── REVEAL VARIANTS ───────────────────────────────────────────── */
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.reveal-right { opacity: 0; transform: translateX(28px);  transition: opacity .65s ease, transform .65s ease; }
.reveal-scale { opacity: 0; transform: scale(.93);        transition: opacity .55s ease, transform .55s ease; }
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}

/* ── NAV LINK HOVER ─────────────────────────────────────────────── */
.nav-links a { transition: color .2s, letter-spacing .2s; }
.nav-links a:hover { letter-spacing: .09em; }

/* ── BUTTON ACTIVE PRESS ────────────────────────────────────────── */
.btn-primary:active, .btn-outline:active,
.btn-channel:active, .btn-submit:active,
.nav-cta:active { transform: scale(.97) translateY(0) !important; }

/* ── GALLERY TAB FADE ───────────────────────────────────────────── */
.gallery-panel.active {
  animation: fade-in .35s ease both;
}

/* ── SERVICE CARD STAGGER ───────────────────────────────────────── */
.usluga-card.stagger-in {
  animation: scale-up .5s cubic-bezier(.22,1,.36,1) both;
}

/* ── PROCESS STEP HOVER ─────────────────────────────────────────── */
.process-step { transition: box-shadow .25s ease, transform .25s ease; }
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
@media (max-width: 600px) {
  .process-step:hover { transform: none; box-shadow: none; }
}

/* ── KONTAKT ITEM SLIDE ─────────────────────────────────────────── */
.kontakt-item { transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.kontakt-item:hover { box-shadow: var(--shadow-sm); }

/* ── ABOUT FEATURE HOVER ────────────────────────────────────────── */
.about-feature { transition: box-shadow .25s, transform .25s, border-color .25s; }
.about-feature:hover { border-left-color: var(--gold-light); }

/* ── STAT NUM PULSE ─────────────────────────────────────────────── */
.stat-num { display: inline-block; }

/* ── FOOTER SOCIAL HOVER ────────────────────────────────────────── */
.social-btn { transition: background .2s, transform .2s; }
.social-btn:hover { transform: scale(1.12); }

/* ── SCROLL-CUE HIDE ON SCROLL ──────────────────────────────────── */
.scroll-cue { transition: opacity .4s ease, animation; }
.scroll-cue.hidden { opacity: 0; pointer-events: none; }

/* ── PAGE HEADER (subpages) */
.page-header {
  padding: 8rem 5% 3.5rem;
  background: var(--stone);
  border-bottom: 1px solid var(--border);
}
.page-header.dark { background: var(--text); }
.page-header.dark .section-label,
.page-header.dark .section-title,
.page-header.dark .section-sub { color: rgba(255,255,255,.85); }
.page-header.dark .section-label { color: var(--gold-light); }
.page-header.dark .section-label::before { background: var(--gold-light); }
.page-header.dark .gold-divider { background: var(--gold-light); }

/* subpage section spacing */
.subpage-section { padding: 5rem 5%; }
.subpage-section:nth-child(even) { background: var(--stone); }

/* cta strip at bottom of home page sections */
.section-cta { margin-top: 2.5rem; }

/* ═══════════════════════════════════════════════════════════════
   MASONRY GALLERY
═══════════════════════════════════════════════════════════════ */
.gallery-masonry {
  columns: 3;
  column-gap: 10px;
}
@media (max-width: 900px) { .gallery-masonry { columns: 2; } }
@media (max-width: 480px)  { .gallery-masonry { columns: 1; } }

.gm-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--stone-dk);
}
.gm-item img {
  width: 100%; height: auto; display: block;
  transition: transform .65s cubic-bezier(.22,1,.36,1);
}
.gm-item:hover img { transform: scale(1.04); }

.gm-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,14,.80) 0%, rgba(20,18,14,.08) 55%, transparent 100%);
  opacity: 0; transition: opacity .32s ease;
}
.gm-item:hover .gm-overlay { opacity: 1; }

.gm-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.3rem 1.25rem;
  transform: translateY(8px); opacity: 0;
  transition: opacity .32s ease, transform .32s ease;
}
.gm-item:hover .gm-info { opacity: 1; transform: translateY(0); }

.gm-cat {
  display: inline-block;
  background: var(--gold); color: var(--white);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 30px;
  margin-bottom: .4rem;
}
.gm-title { color: var(--white); font-size: .9rem; font-weight: 600; line-height: 1.3; }

/* Pre/Posle two-up */
.gallery-twoup {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.gallery-twoup .gm-item { border-radius: 4px; }
.gallery-twoup .gm-item img { height: 440px; object-fit: cover; width: 100%; }
.twoup-label {
  position: absolute; top: .9rem; left: .9rem;
  background: rgba(20,18,14,.78); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 30px; z-index: 1;
}
@media (max-width: 600px) {
  .gallery-twoup { grid-template-columns: 1fr; }
  .gallery-twoup .gm-item img { height: 280px; }
}

/* Gallery panel fade transition */
.gallery-panel { transition: opacity .22s ease; }

/* ═══════════════════════════════════════════════════════════════
   HOME PROJECTS — editorial layout
═══════════════════════════════════════════════════════════════ */
.hp-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}
.hp-item {
  position: relative; overflow: hidden;
  border-radius: 4px; cursor: pointer;
  background: var(--stone-dk);
}
.hp-item:first-child {
  grid-row: span 2;
  min-height: 580px;
}
.hp-item:not(:first-child) { min-height: 283px; }
.hp-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .65s cubic-bezier(.22,1,.36,1);
}
.hp-item:hover img { transform: scale(1.05); }

.hp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,14,.78) 0%, rgba(20,18,14,.06) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0; transition: opacity .32s ease;
}
.hp-item:hover .hp-overlay { opacity: 1; }

@media (max-width: 900px) {
  .hp-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hp-item:first-child { grid-row: span 1; min-height: 280px; }
  .hp-item:not(:first-child) { min-height: 280px; }
}
@media (max-width: 600px) {
  .hp-grid { grid-template-columns: 1fr; }
  .hp-item:first-child, .hp-item:not(:first-child) { min-height: 260px; }
}

/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════════════ */
.lb-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,9,7,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 9000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
}
.lb-backdrop.open { opacity: 1; pointer-events: all; }

.lb-close {
  position: fixed; top: 1.6rem; right: 2rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s; z-index: 1;
}
.lb-close:hover { background: rgba(255,255,255,.18); transform: scale(1.1); }
.lb-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s; z-index: 1;
}
.lb-nav:hover { background: rgba(255,255,255,.16); transform: translateY(-50%) scale(1.08); }
.lb-nav svg { width: 20px; height: 20px; stroke: rgba(255,255,255,.8); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: 1.8rem; }
.lb-next { right: 1.8rem; }

.lb-img-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  max-width: 88vw; max-height: 80vh;
}
#lb-img {
  max-width: 88vw; max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain; display: block;
  border-radius: 2px;
  opacity: 0; transform: scale(.95);
}
.lb-backdrop.open #lb-img { opacity: 1; transform: scale(1); transition: opacity .3s ease, transform .38s cubic-bezier(.22,1,.36,1); }

.lb-spinner {
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,.12);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin .75s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.lb-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
  width: min(88vw, 860px);
  padding: 0 .25rem;
}
.lb-meta { display: flex; align-items: center; gap: .7rem; }
.lb-badge {
  background: var(--gold); color: var(--white);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 30px;
}
.lb-caption { color: rgba(255,255,255,.6); font-size: .84rem; font-weight: 500; }
.lb-count { color: rgba(255,255,255,.25); font-size: .78rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; }

@media (max-width: 700px) {
  .lb-prev, .lb-next { display: none; }
  #lb-img { max-width: 96vw; max-height: 78vh; }
  .lb-footer { width: 92vw; }
}

/* ── MOBILE MENU OPEN — nav gets cream background ──────────────── */
nav.menu-open {
  background: rgba(253,250,244,.97) !important;
  border-bottom-color: var(--border) !important;
  box-shadow: var(--shadow-md) !important;
}
nav.menu-open .nav-logo img { filter: none !important; }
nav.menu-open .burger span  { background: var(--text) !important; }

/* ── BURGER BUTTON — remove dots/artifacts ──────────────────────── */
.burger {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.burger:focus, .burger:focus-visible { outline: none; box-shadow: none; }
.nav-links li { list-style: none !important; }
.nav-links li::marker, .nav-links li::before { display: none !important; content: '' !important; }

/* ── iOS TAP FIX ─────────────────────────────────────────────────── */
a, button, [role="button"] {
  touch-action: manipulation;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
a:focus, button:focus, [role="button"]:focus { outline: none; }

