/* ALU BOND: dizajn sustav
   Paleta, tipografija i mjere su CSS varijable na vrhu. */

:root {
  /* paleta */
  --carbon: #0e100f;
  --graphite: #171a18;
  --graphite-2: #202421;
  --graphite-3: #2a2f2b;
  --ivory: #f0ece3;
  --ivory-2: #f7f4ee;
  --sand: #d8d1c5;
  --sand-2: #e6e0d5;
  --olive: #596357;
  --bronze: #a77b4d;
  --bronze-ink: #7a5632;     /* bronza za tekst na svijetloj podlozi (kontrast 5.9:1) */
  --bronze-light: #c9a27a;   /* bronza za tekst na tamnoj podlozi */

  --ink: #171a18;
  --ink-2: #474b46;          /* sekundarni tekst na slonovači (8:1) */
  --on-dark: #f0ece3;
  --on-dark-2: #b8b3a8;      /* sekundarni tekst na grafitu (8.6:1) */
  --line: rgba(23, 26, 24, .14);
  --line-strong: rgba(23, 26, 24, .32);
  --line-dark: rgba(240, 236, 227, .14);
  --danger-dark: #f2a58e;

  /* tipografija */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* mjere */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr: 72px;
  --radius: 2px;
  --section: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--hdr);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, .98rem + .1vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--graphite);
  color: var(--ivory);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico { width: 20px; height: 20px; flex: none; }
.ico.flip { transform: scaleX(-1); }

/* ---------- Tipografija ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  color: var(--bronze-ink);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.kicker-dark { color: var(--bronze-light); }

.h2 {
  font-weight: 600;
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.section-head { max-width: 640px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-lead { margin-top: 1rem; color: var(--ink-2); font-size: 1.08rem; max-width: 52ch; }

/* ---------- Dugmad ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .93rem; }
.btn-block { width: 100%; }

.btn-dark { background: var(--graphite); color: var(--ivory); }
.btn-dark:hover { background: var(--graphite-3); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.btn-text { padding-inline: .6rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
.btn-text:hover { text-decoration-color: var(--bronze); }
.btn-ivory { background: var(--ivory); color: var(--graphite); }
.btn-ivory:hover { background: #ffffff; }
.btn-line-dark { border-color: rgba(240, 236, 227, .35); color: var(--ivory); background: transparent; }
.btn-line-dark:hover { border-color: var(--ivory); }

/* ---------- Zaglavlje ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--hdr);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid,
.site-header.menu-open {
  background: rgba(240, 236, 227, .97);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-right: auto;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: .06em;
}
.brand-mark { width: 26px; height: 26px; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav ul a,
.nav-phone {
  position: relative;
  padding-block: .5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: .96rem;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav ul a:hover::after,
.site-nav ul a:focus-visible::after { transform: scaleX(1); }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(240, 236, 227, .7);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--hdr) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .9rem 0; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .nav-phone { min-height: 48px; font-size: 1.1rem; }
}
@media (max-width: 480px) { .header-cta { display: none; } }

/* =========================================================
   HERO: statična ograda od antracit lamela preko cijele širine
   (bez interakcije; sve je CSS, samo sokl koristi teksturu betona)
   ========================================================= */

.hero {
  --sp: clamp(26px, 4.2vh, 44px);      /* razmak lamela */
  --le: calc(var(--sp) * .84);          /* lamela bez procjepa */
  --plinth: clamp(56px, 10vh, 96px);
  --post: clamp(14px, 1.3vw, 22px);
  --bay: clamp(300px, 30vw, 520px);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  min-height: 88svh;
  padding: calc(var(--hdr) + 3rem) 0 calc(var(--plinth) + 3rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--graphite);
  color: var(--on-dark);
}

.hero-fence { position: absolute; inset: 0; z-index: -1; }
.hero-fence > * { position: absolute; left: 0; right: 0; }

/* lamele: mat RAL 7016, procjepi propuštaju prigušeno dnevno svjetlo */
.hf-slats {
  top: var(--hdr);
  bottom: var(--plinth);
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), rgba(0,0,0,0) 40%, rgba(0,0,0,.1)),
    repeating-linear-gradient(180deg,
      #7a8287 0,
      #646b70 1.5px,
      #545b60 3.5px,
      #474e53 calc(var(--sp) * .4),
      #3a4045 calc(var(--le) - 5px),
      #292e31 calc(var(--le) - 2px),
      #1c2022 var(--le),
      #b5ae9f var(--le),
      #a39c8e var(--sp));
}
.hf-slats::after {
  /* fino zrno plastifikacije */
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/teksture/zrno.webp") 0 0 / 256px 256px;
  mix-blend-mode: soft-light;
  opacity: .3;
}
.hf-posts {
  top: calc(var(--hdr) - 4px);
  bottom: var(--plinth);
  background: repeating-linear-gradient(90deg,
    transparent 0,
    transparent calc(var(--bay) - var(--post)),
    #1d2124 calc(var(--bay) - var(--post)),
    #4b5257 calc(var(--bay) - var(--post) * .6),
    #3a4045 calc(var(--bay) - var(--post) * .3),
    #202427 var(--bay));
  background-position: calc(var(--bay) * -.35) 0;
  filter: drop-shadow(4px 0 6px rgba(0,0,0,.35));
}
.hf-rail {
  top: var(--hdr);
  height: clamp(12px, 1.6vh, 18px);
  background: linear-gradient(180deg, #7a8287, #4f565b 30%, #33393d 75%, #1c2022);
  box-shadow: 0 3px 8px rgba(0,0,0,.35);
}
.hf-plinth {
  bottom: 0;
  height: var(--plinth);
  background:
    linear-gradient(180deg, rgba(255,255,255,.3) 0, rgba(255,255,255,.06) 3px, rgba(0,0,0,0) 6px, rgba(0,0,0,0) 70%, rgba(0,0,0,.18) 100%),
    url("../assets/teksture/beton.webp") 0 0 / 420px 420px,
    #a8a397;
  box-shadow: 0 -6px 12px rgba(0,0,0,.35);
}
.hf-shade {
  /* zatamnjenje iza teksta, da je naslov čitljiv na lamelama */
  top: 0;
  bottom: var(--plinth);
  background:
    linear-gradient(90deg, rgba(14,16,15,.86) 0%, rgba(14,16,15,.72) 38%, rgba(14,16,15,.25) 72%, rgba(14,16,15,.08) 100%),
    linear-gradient(180deg, rgba(14,16,15,.9) 0, rgba(14,16,15,0) calc(var(--hdr) + 40px));
}

.hero-copy { position: relative; }
.hero .kicker { color: var(--bronze-light); }
.hero-title {
  max-width: 14ch;
  font-weight: 600;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.04em;
  color: var(--ivory);
}
.hero-lead {
  margin-top: 1.25rem;
  max-width: 40ch;
  color: #d9d4c9;
  font-size: clamp(1.05rem, .98rem + .35vw, 1.3rem);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2rem; }

/* Sekundarna dugmad na lamelama: tamna puna podloga i svijetao rub, uvijek vidljiva */
.btn-glass { background: rgba(14, 16, 15, .78); border-color: rgba(240, 236, 227, .7); color: var(--ivory); }
.btn-glass:hover { background: var(--ivory); border-color: var(--ivory); color: var(--graphite); }
.btn-wa .ico { width: 22px; height: 22px; color: #4cc27a; }
.btn-wa:hover .ico { color: #1f8f4e; }
.hero :focus-visible { outline-color: var(--bronze-light); }

@media (max-width: 760px) {
  .hf-shade { background: linear-gradient(180deg, rgba(14,16,15,.9) 0, rgba(14,16,15,.72) 30%, rgba(14,16,15,.6) 100%); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* Zaglavlje dok je iznad tamnog heroja: svijetao tekst */
.site-header:not(.is-solid):not(.menu-open) { color: var(--ivory); }
.site-header:not(.is-solid):not(.menu-open) .header-cta { background: var(--ivory); color: var(--graphite); }
.site-header:not(.is-solid):not(.menu-open) .nav-toggle { border-color: rgba(240, 236, 227, .45); background: rgba(14, 16, 15, .5); }
.site-header:not(.is-solid):not(.menu-open) .nav-toggle-bars,
.site-header:not(.is-solid):not(.menu-open) .nav-toggle-bars::before,
.site-header:not(.is-solid):not(.menu-open) .nav-toggle-bars::after { background: var(--ivory); }
.site-header:not(.is-solid):not(.menu-open) :focus-visible { outline-color: var(--bronze-light); }

/* =========================================================
   Sekcije
   ========================================================= */

.section { padding-block: var(--section); }

/* Traka povjerenja */
.trust { background: var(--sand-2); border-bottom: 1px solid var(--line); }
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1.15rem .5rem 1.15rem 0;
  font-weight: 500;
  font-size: .95rem;
  border-top: 1px solid var(--line);
}
.trust-list li:nth-child(-n+2) { border-top: 0; }
.trust-list .ico { color: var(--bronze-ink); }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .trust-list li { border-top: 0; padding: 1.4rem 0; }
  .trust-list li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
}

/* Ponuda */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.offer-card { display: flex; flex-direction: column; background: var(--ivory-2); }
.offer-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.offer-media img,
.offer-media svg { width: 100%; height: 100%; object-fit: cover; }
.offer-drawing { background: var(--ivory); }
.offer-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.25rem; }
.offer-body h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.offer-body p { margin-top: .45rem; color: var(--ink-2); font-size: .96rem; }
.offer-links { display: flex; gap: 1.5rem; margin-top: auto; padding-top: 1.25rem; }
.offer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
}
.offer-links a:hover { text-decoration-color: var(--bronze); }
.offer-more { margin-top: 1.5rem; color: var(--ink-2); font-size: .96rem; max-width: 70ch; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .offer-grid { grid-template-columns: repeat(4, 1fr); } }

.tag {
  position: absolute;
  top: .75rem; left: .75rem;
  z-index: 1;
  padding: .28rem .55rem;
  border: 1px solid var(--line-strong);
  background: rgba(240, 236, 227, .94);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
}
.tag-photo { border-color: transparent; background: rgba(23, 26, 24, .88); color: var(--ivory); }
/* na crtežima je natpis pri vrhu, pa oznaka ide dolje */
.offer-drawing .tag { top: auto; bottom: .75rem; }
.g-drawing .tag { top: auto; bottom: calc(.75rem + 2.7rem); }

/* Galerija */
.gallery { background: var(--graphite); color: var(--on-dark); }
.gallery .kicker { color: var(--bronze-light); }
.gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter {
  min-height: 44px;
  padding: .5rem 1rem;
  border: 1px solid rgba(240, 236, 227, .22);
  border-radius: var(--radius);
  background: transparent;
  font-weight: 500;
  font-size: .94rem;
  touch-action: manipulation;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: rgba(240, 236, 227, .6); }
.filter[aria-pressed="true"] { background: var(--ivory); border-color: var(--ivory); color: var(--graphite); }
.gallery :focus-visible { outline-color: var(--bronze-light); }

.gal-group + .gal-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.gal-group[hidden] { display: none; }
.gal-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line-dark);
}
.gal-group-head h3 { font-size: 1.15rem; font-weight: 600; }
.gal-group-head p { color: var(--on-dark-2); font-size: .92rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: clamp(240px, 70vw, 320px);
  gap: .75rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(220px, 34vw, 300px); }
  .gallery-grid:not(.is-filtered) .g-feature { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 21vw, 290px); }
  .gallery-grid:not(.is-filtered) .g-feature { grid-column: span 2; grid-row: span 2; }
}
.gallery-grid-drawings { grid-auto-rows: auto; }
@media (min-width: 640px) { .gallery-grid-drawings { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery-grid-drawings { grid-template-columns: repeat(5, 1fr); } }

.g-item[hidden] { display: none; }
.g-item.is-entering { animation: g-in .35s var(--ease) both; }
@keyframes g-in { from { opacity: 0; } to { opacity: 1; } }

.g-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--graphite-2);
  text-align: left;
  cursor: zoom-in;
  transition: border-color .25s;
}
.g-card > img,
.g-card > svg {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.g-drawing > svg { flex: none; aspect-ratio: 4 / 3; background: var(--ivory); }
.g-title {
  padding: .8rem 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.3;
}
.g-card:hover { border-color: rgba(240, 236, 227, .45); }
.g-card:hover > img,
.g-card:focus-visible > img { transform: scale(1.03); }

.gallery-foot { display: flex; justify-content: flex-start; margin-top: 2.5rem; }
.gallery .btn-line { border-color: rgba(240, 236, 227, .35); color: var(--ivory); }
.gallery .btn-line:hover { background: var(--ivory); color: var(--graphite); border-color: var(--ivory); }

/* Modal */
.g-dialog {
  width: min(1000px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--on-dark);
  overflow: auto;
}
.g-dialog::backdrop { background: rgba(14, 16, 15, .82); }
.g-dialog[open] { animation: d-in .25s var(--ease); }
@keyframes d-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gd-inner { position: relative; display: grid; }
.gd-visual { background: var(--carbon); }
.gd-visual [hidden] { display: none; }
.gd-visual img,
.gd-visual svg { width: 100%; aspect-ratio: 1 / 1; max-height: 60vh; object-fit: cover; }
.gd-visual svg { aspect-ratio: 4 / 3; object-fit: contain; background: var(--ivory); }
.gd-body { display: grid; gap: .9rem; align-content: start; padding: clamp(1.4rem, 3vw, 2.25rem); }
.gd-body .tag { position: static; justify-self: start; }
.gd-body h2 { font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.1; letter-spacing: -.02em; }
#gd-desc { color: var(--on-dark-2); }
.gd-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.gd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
}
.gd-step {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .4rem .2rem;
  border: 0;
  background: none;
  color: var(--on-dark-2);
  font-weight: 500;
}
.gd-step:hover { color: var(--on-dark); }
.gd-count { color: var(--on-dark-2); font-size: .9rem; }
.gd-close {
  position: absolute;
  top: .6rem; right: .6rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(14, 16, 15, .85);
  color: var(--on-dark);
}
.gd-close:hover { border-color: var(--on-dark); }
.g-dialog :focus-visible { outline-color: var(--bronze-light); }
@media (min-width: 820px) {
  .gd-inner { grid-template-columns: 1.2fr 1fr; }
  .gd-visual { display: flex; align-items: center; }
  .gd-visual img { height: 100%; max-height: none; aspect-ratio: auto; min-height: 460px; }
  .gd-body { padding-top: 3.5rem; }
}

/* Proces */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-strong); }
.steps li { padding: 1.5rem 0 1.75rem; border-bottom: 1px solid var(--line); }
.step-n { display: block; margin-bottom: .9rem; color: var(--bronze-ink); font-size: .92rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.steps p { margin-top: .4rem; color: var(--ink-2); max-width: 32ch; }
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { border-bottom: 0; padding-top: 1.75rem; }
}

/* Kontakt */
.contact { background: var(--graphite); color: var(--on-dark); }
.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.contact-phone {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.contact-phone:hover { color: #ffffff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.contact-details { margin-top: 2.25rem; border-top: 1px solid var(--line-dark); }
.contact-details > div {
  display: grid;
  gap: .2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.contact-details dt { color: var(--on-dark-2); font-size: .88rem; }
.contact-details dd { font-weight: 500; overflow-wrap: anywhere; }
.contact-details a { display: inline-block; padding-block: .3rem; text-underline-offset: 4px; text-decoration-color: rgba(240, 236, 227, .4); }
.contact-details a:hover { text-decoration-color: var(--on-dark); }
@media (min-width: 560px) { .contact-details > div { grid-template-columns: 9rem 1fr; } }
.open-state { display: inline-block; margin-left: .5rem; color: var(--on-dark-2); font-size: .88rem; font-weight: 400; }
.open-state:empty { display: none; }
.open-state.is-open { color: #b9c7a9; }
.contact :focus-visible { outline-color: var(--bronze-light); }

.inquiry {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line-dark);
  background: var(--carbon);
}
.inquiry h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; }
.form-note { margin-top: -.4rem; color: var(--on-dark-2); font-size: .92rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 500; font-size: .94rem; }
.opt { color: var(--on-dark-2); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .9rem;
  border: 1px solid rgba(240, 236, 227, .22);
  border-radius: var(--radius);
  background: var(--graphite-2);
  font-size: 1rem;
  transition: border-color .2s;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-2) 50%), linear-gradient(135deg, var(--on-dark-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 124px; line-height: 1.5; }
.field ::placeholder { color: #858175; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(240, 236, 227, .45); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--bronze-light); outline-offset: 0; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--danger-dark); }
.field-error { color: var(--danger-dark); font-size: .9rem; }
.field-error:empty { display: none; }
.form-status { color: var(--on-dark); font-size: .95rem; }
.form-status:empty { display: none; }
.form-status a { color: inherit; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Footer */
.site-footer { padding-block: 3rem 2rem; background: var(--carbon); color: var(--on-dark); }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-note { margin-top: .8rem; max-width: 44ch; color: var(--on-dark-2); font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; align-content: start; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-copy { padding-top: 1.5rem; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); font-size: .88rem; }
.site-footer :focus-visible { outline-color: var(--bronze-light); }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-copy { grid-column: 1 / -1; }
}

/* Plutajuće WhatsApp dugme: pojavljuje se tek ispod heroja */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(240, 236, 227, .25);
  border-radius: 50%;
  background: var(--graphite);
  color: var(--ivory);
  box-shadow: 0 6px 18px rgba(14, 16, 15, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
.wa-float .ico { width: 24px; height: 24px; }
.wa-float:hover { background: var(--graphite-3); }

/* Smanjeno kretanje */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
