/* =========================================================
   TRE CORTI — stylesheet
   ========================================================= */

:root {
  --ink: #1b1a17;
  --ink-soft: #2a2825;
  --stone: #f5f2ec;
  --sand: #e9e3d8;
  --sand-deep: #d9d0c1;
  --brick: #a7694b;
  --brick-light: #c9ab8b;
  --muted: #6f6a62;
  --line: rgba(27, 26, 23, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(88px, 12vw, 160px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brick);
  margin-bottom: 22px;
}
.eyebrow--light { color: var(--brick-light); }

.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.h2 em { font-style: italic; font-weight: 300; }
.h2__small { display: block; font-size: 0.42em; font-style: italic; letter-spacing: .04em; color: var(--muted); margin-top: 10px; }

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--ink-soft);
}

.fineprint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 28px;
}
.fineprint--light { color: rgba(255,255,255,0.45); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  background: transparent;
  color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.btn:hover { background: var(--ink); color: var(--stone); }
.btn--solid { background: var(--brick); border-color: var(--brick); color: #fff; }
.btn--solid:hover { background: #8e5639; border-color: #8e5639; color: #fff; }
.btn--ghost { padding: 12px 18px; letter-spacing: .14em; }
.btn--light { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: rgba(255,255,255,0.86); }
.section--dark .h2 { color: #fff; }

.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
}
.section__head--split .h2 { margin-bottom: 0; }
.section__intro { font-size: 17px; max-width: 520px; margin: 0; color: var(--muted); }
.section--dark .section__intro { color: rgba(255,255,255,0.62); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 26px 0;
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s;
  color: #fff;
}
.nav:not(.is-solid) { text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.nav.is-solid {
  padding: 14px 0;
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-right: 32px; }
.logo-mark { width: 30px; height: 30px; fill: currentColor; opacity: .95; }
.nav.is-solid .logo-mark { fill: var(--brick); }
.nav__wordmark {
  font-family: var(--font-display);
  white-space: nowrap;
  font-size: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav__links { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
.nav__links a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  opacity: .88;
  transition: opacity .3s;
}
.nav__links a:hover { opacity: 1; }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  white-space: nowrap;
  padding: 10px 16px;
  border: 1px solid currentColor;
  transition: background .4s, color .4s;
}
.nav__cta:hover { background: #fff; color: var(--ink); }
.nav.is-solid .nav__cta { border-color: var(--ink); }
.nav.is-solid .nav__cta:hover { background: var(--ink); color: #fff; }

.nav__lang { display: inline-flex; align-items: center; gap: 0; margin-left: 2px; }
.nav__lang a span { display: none; }
.nav__lang a.is-active { border-bottom: 0; opacity: 1 !important; }
.nav__lang a.is-active .flag { box-shadow: 0 0 0 2px currentColor; }
.nav__lang a {
  font-size: 11px !important; letter-spacing: .12em !important;
  padding: 6px 4px; opacity: .55 !important;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__lang .flag { width: 16px; height: 11px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); flex-shrink: 0; }
.nav__lang a::after { display: none !important; }
.nav__lang a.is-active { opacity: 1 !important; border-bottom: 1px solid currentColor; }
.nav__lang a:hover { opacity: 1 !important; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 0 8px;
}
.nav__burger span {
  display: block; height: 1px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  opacity: 0;
  transition: opacity 2.6s ease-in-out;
  animation: heroKb1 22s ease-in-out infinite alternate;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.hero__img--interior { object-position: 55% 50%; animation-name: heroKb2; animation-duration: 24s; }
.hero__img.is-active { opacity: 1; }
@keyframes heroKb1 { from { transform: scale(1.04) translate3d(1%, 0.6%, 0); } to { transform: scale(1.14) translate3d(-1.2%, -0.8%, 0); } }
@keyframes heroKb2 { from { transform: scale(1.14) translate3d(-1.4%, 0.4%, 0); } to { transform: scale(1.04) translate3d(1%, -0.6%, 0); } }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(16,14,12,0.55) 75%, rgba(16,14,12,0.88) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 10vh, 120px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(72px, 12vw, 168px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0 0 24px -0.04em;
}
.hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.92);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brick-light); display: inline-block; }
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  z-index: 2;
  width: 1px; height: 72px;
  overflow: hidden;
  background: rgba(255,255,255,0.2);
}
.hero__scroll span {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 40%;
  background: #fff;
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}
.hero .reveal { transition-delay: .2s; }
.hero .reveal:nth-child(2) { transition-delay: .35s; }
.hero .reveal:nth-child(3) { transition-delay: .5s; }
.hero .reveal:nth-child(4) { transition-delay: .65s; }

/* =========================================================
   INTRO / KONCEPT
   ========================================================= */
.intro__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.intro__text p:last-child { margin-bottom: 0; }
.intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 8px;
}
.stat {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(44px, 4vw, 60px);
  line-height: 1;
  font-weight: 300;
  color: var(--ink);
}
.stat__num small { font-size: .5em; letter-spacing: 0; }
.stat__label { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- O imenu ---------- */
.naming {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.naming__word { display: flex; flex-direction: column; }
.naming__big {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.naming__meaning {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brick);
  margin: 12px 0 18px;
}
.naming__word p { font-size: 15px; color: var(--muted); margin: 0; }
.naming__note { align-self: end; padding: 24px 26px; background: var(--sand); }
.naming__note p { margin: 0; font-size: 14px; color: var(--ink-soft); font-style: italic; font-family: var(--font-display); font-size: 19px; line-height: 1.4; }
@media (max-width: 960px) { .naming { grid-template-columns: 1fr 1fr; } .naming__note { grid-column: span 2; } }
@media (max-width: 560px) { .naming { grid-template-columns: 1fr; } .naming__note { grid-column: span 1; } }

/* =========================================================
   ARHITEKTURA
   ========================================================= */
.section--arch {
  padding: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--sand);
}
.arch__media { position: relative; min-height: 640px; }
.arch__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.arch__text {
  padding: clamp(64px, 8vw, 120px) clamp(32px, 6vw, 96px);
  align-self: center;
}
.pull {
  margin: 0 0 28px;
  padding: 22px 0 22px 26px;
  border-left: 2px solid var(--brick);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  color: var(--ink);
}
.feature-list { margin-top: 32px; border-top: 1px solid var(--line); }
.feature-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.feature-list strong { font-weight: 500; color: var(--ink); }

/* =========================================================
   GALERIJA
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 16px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--sand);
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.25));
  opacity: 0;
  transition: opacity .6s;
}
.gallery__item:hover::after { opacity: 1; }

/* =========================================================
   REZIDENCIJE
   ========================================================= */
.units {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.unit {
  border: 1px solid var(--line-light);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255,255,255,0.025);
  transition: background .5s, border-color .5s, transform .6s var(--ease);
}
.unit:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); transform: translateY(-4px); }
.unit__head { display: flex; align-items: flex-start; gap: 18px; }
.unit__index {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  font-weight: 300;
  color: var(--brick-light);
  min-width: 44px;
}
.unit__name {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.05;
  color: #fff;
  font-weight: 400;
}
.unit__pos { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 8px 0 0; }
.unit__garden {
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.unit__garden-num {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1;
  font-weight: 300;
  color: #fff;
}
.unit__garden-num small { font-size: .45em; }
.unit__garden-label { font-size: 13px; color: rgba(255,255,255,0.55); }
.unit__specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  font-size: 14px;
}
.unit__specs li span { color: rgba(255,255,255,0.55); }
.unit__specs li strong { font-weight: 500; color: #fff; text-align: right; }
.unit__note { font-size: 14px; color: rgba(255,255,255,0.62); margin: 0; flex: 1; }
.unit__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.badge {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.badge--available {
  padding: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--brick-light);
  gap: 12px;
}
.badge--available::before { content: ""; width: 22px; height: 1px; background: var(--brick-light); opacity: .8; }

.rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-light);
}
.rooms__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 18px;
}
.rooms__title span { font-style: italic; color: rgba(255,255,255,0.5); font-weight: 300; }
.rooms__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
}
.rooms__list li span:last-child { color: rgba(255,255,255,0.6); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* =========================================================
   TLOCRTI
   ========================================================= */
.plans { background: #fff; border: 1px solid var(--line); }
.plans__scope { display: flex; flex-wrap: wrap; background: var(--ink); }
.plans__scope-btn {
  flex: 1 1 auto;
  padding: 18px 20px;
  background: none; border: 0;
  border-right: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,0.55);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: color .3s, background .3s;
}
.plans__scope-btn:last-child { border-right: 0; }
.plans__scope-btn:hover { color: #fff; }
.plans__scope-btn.is-active { color: #fff; background: var(--brick); }
.plans__scope-num { font-family: var(--font-display); font-size: 18px; letter-spacing: 0; line-height: 1; opacity: .8; }
.plans__group { display: none; }
.plans__group.is-active { display: block; animation: fadeIn .5s var(--ease); }
.plans__unit-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding: 24px clamp(16px, 3vw, 40px) 20px; border-bottom: 1px solid var(--line); }
.plans__unit-name { font-family: var(--font-display); font-size: 32px; font-weight: 400; }
.plans__unit-head p { margin: 0; font-size: 14px; color: var(--muted); max-width: 640px; }
.plans__tab small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: none; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.plans__stage .plans__img img { max-height: 760px; width: auto; max-width: 100%; margin: 0 auto; }
.plans__tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.plans__tab {
  flex: 1 1 auto;
  padding: 18px 20px;
  background: none;
  border: 0;
  border-right: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s, background .3s;
}
.plans__tab:last-child { border-right: 0; }
.plans__tab:hover { color: var(--ink); }
.plans__tab.is-active { color: var(--ink); background: var(--stone); box-shadow: inset 0 -2px 0 var(--brick); }
.plans__stage { position: relative; padding: clamp(16px, 3vw, 40px); min-height: 360px; }
.plans__img { display: none; cursor: zoom-in; }
.plans__img.is-active { display: block; animation: fadeIn .6s var(--ease); }
.plans__img img { width: 100%; height: auto; }
.plans__hint {
  position: absolute;
  right: 20px; bottom: 14px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   OPREMA
   ========================================================= */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.spec {
  background: var(--sand);
  padding: 36px 30px;
  transition: background .5s;
}
.spec:hover { background: var(--stone); }
.spec svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--brick);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 22px;
}
.spec h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.15;
}
.spec p { font-size: 14px; color: var(--muted); margin: 0; }

/* =========================================================
   LOKACIJA
   ========================================================= */
.location {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.location__list { margin: 28px 0 40px; border-top: 1px solid var(--line); }
.location__list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.location__list strong { font-weight: 500; font-size: 16px; }
.location__list span { font-size: 14px; color: var(--muted); }
.location__map {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--sand);
  overflow: hidden;
}
.location__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter .8s;
}
.location__map:hover iframe { filter: none; }

/* =========================================================
   KONTAKT
   ========================================================= */
.section--contact { color: #fff; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,18,16,0.92) 0%, rgba(20,18,16,0.82) 55%, rgba(20,18,16,0.7) 100%);
}
.section--contact .container { position: relative; z-index: 1; }
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.contact__text p { color: rgba(255,255,255,0.78); }
.contact__details { margin-top: 36px; border-top: 1px solid var(--line-light); }
.contact__line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
}
.contact__line span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.contact__line strong { font-weight: 400; font-size: 18px; font-family: var(--font-display); font-size: 22px; }
a.contact__line:hover strong { color: var(--brick-light); }

.form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-light);
  padding: clamp(28px, 4vw, 44px);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.form input, .form select, .form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 10px 0;
  font: inherit;
  font-weight: 300;
  color: #fff;
  border-radius: 0;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.form select { cursor: pointer; }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brick-light); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.3); }
.form .btn { align-self: flex-start; margin-top: 8px; }
.form__note { font-size: 12px; color: rgba(255,255,255,0.45); margin: 0; }
.form.is-sent { position: relative; }
.form.is-sent::after {
  content: "Hvala na upitu — javit ćemo vam se u najkraćem roku.";
}
html[lang="en"] .form.is-sent::after { content: "Thank you — we will get back to you shortly."; }
html[lang="de"] .form.is-sent::after { content: "Vielen Dank — wir melden uns in Kürze."; }
.form.is-sent::after {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 40px;
  background: rgba(20,18,16,0.96);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.3;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 64px 0 32px; font-size: 13px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}
.footer__brand { display: flex; align-items: flex-start; gap: 16px; color: #fff; }
.footer__brand .logo-mark { fill: var(--brick-light); width: 36px; height: 36px; }
.footer__name { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; }
.footer__tag { display: block; color: rgba(255,255,255,0.5); margin-top: 6px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__cols div { display: flex; flex-direction: column; gap: 4px; }
.footer__h { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14,13,11,0.985);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig { margin: 0; max-width: min(92vw, 1500px); max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox__fig img { max-width: 100%; max-height: 82vh; object-fit: contain; background: #fff; }
.lightbox__fig figcaption { color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: .06em; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: none; border: 0; color: #fff;
  font-size: 44px; line-height: 1;
  width: 60px; height: 60px;
  opacity: .7; transition: opacity .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: 16px; right: 16px; font-size: 36px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 56px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 11px; letter-spacing: .12em; }
  .nav__cta { padding: 10px 14px; }
  .nav__wordmark { font-size: 22px; }
  .nav__logo { margin-right: 20px; gap: 10px; }
}

@media (max-width: 1080px) {
  .units { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .section--arch { grid-template-columns: 1fr; }
  .arch__media { min-height: 420px; }
}

@media (max-width: 1120px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    font-size: 18px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s;
    z-index: -1;
  }
  .nav__links a { font-size: 15px; }
  .nav__lang { margin: 10px 0 0; gap: 14px; }
  .nav__lang a { font-size: 13px !important; gap: 8px; }
  .nav__lang a span { display: inline; }
  .nav__lang a.is-active { border-bottom: 1px solid currentColor; }
  .nav__lang a.is-active .flag { box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
  .nav__lang .flag { width: 20px; height: 14px; }
  .nav.is-open .nav__links {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .6s var(--ease), opacity .4s, visibility 0s;
  }
  .nav.is-open { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; text-shadow: none; }
  .nav.is-open .logo-mark { fill: #fff; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__burger { display: flex; }
  .nav__cta { border-color: rgba(255,255,255,0.5); }

  .intro__grid, .section__head--split, .rooms, .location, .contact, .footer__inner { grid-template-columns: 1fr; }
  .section__head--split { gap: 24px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide { grid-column: span 2; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .intro__stats { grid-template-columns: 1fr; }
  .stat { padding: 24px 20px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide { grid-column: span 1; }
  .specs { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .plans__tab { flex: 1 1 50%; border-bottom: 1px solid var(--line); }
  .plans__scope-btn { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .unit { padding: 28px 22px; }
  .hero__content { padding-bottom: 56px; }
  .lightbox__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   PRIVATNOST
   ========================================================= */
.section--privacy { background: var(--stone); }
.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.privacy__points { margin-top: 36px; border-top: 1px solid var(--line); }
.privacy__points li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.privacy__points li div { display: flex; flex-direction: column; gap: 4px; }
.privacy__points strong { font-weight: 500; font-size: 16px; }
.privacy__points span { font-size: 14px; color: var(--muted); }
.privacy__num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--brick);
  min-width: 44px;
  padding-top: 2px;
}
.privacy__media { position: relative; }
.privacy__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.privacy__caption {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   NETO TABLICA
   ========================================================= */
.neto { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-light); }
.neto__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.neto__head p { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; }
.neto__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.neto__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
  font-variant-numeric: tabular-nums;
}
.neto__table th, .neto__table td { padding: 12px 14px; text-align: right; border-bottom: 1px solid rgba(255,255,255,0.1); white-space: nowrap; }
.neto__table th:first-child, .neto__table td:first-child { text-align: left; white-space: normal; }
.neto__table thead th { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,0.5); border-bottom: 1px solid rgba(255,255,255,0.25); }
.neto__table tbody td { color: rgba(255,255,255,0.6); }
.neto__table tbody td:first-child { color: rgba(255,255,255,0.85); }
.neto__table tbody b { color: #fff; font-weight: 500; }
.neto__table tfoot td { color: rgba(255,255,255,0.75); font-weight: 500; }
.neto__table tfoot tr:first-child td { border-top: 1px solid rgba(255,255,255,0.25); }
.neto__total td { font-family: var(--font-display); font-size: 22px; color: #fff; border-bottom: 0; padding-top: 16px; }
.neto__total td:first-child { font-family: var(--font-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.neto__total td small { font-family: var(--font-body); font-size: 13px; letter-spacing: 0; color: rgba(255,255,255,0.5); font-weight: 300; margin-right: 6px; }
.neto__sub { display: block; font-size: 11px; letter-spacing: .08em; text-transform: none; color: rgba(255,255,255,0.45); margin-top: 4px; }
.neto__table tfoot tr:first-child td b { font-weight: 500; color: #fff; }

/* =========================================================
   OSUNČANOST
   ========================================================= */
.section--sun { background: #15140f; }
.sun { display: grid; grid-template-columns: 1fr; gap: 28px; }
.sun__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  border: 1px solid var(--line-light);
}
.sun__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sun__fact { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--line-light); font-size: 13px; color: rgba(255,255,255,0.6); }
.sun__fact-num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: #fff; }

/* =========================================================
   KARTA + UDALJENOSTI
   ========================================================= */
.map { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--sand); }
.map .leaflet-control-attribution { font-size: 10px; background: rgba(245,242,236,0.85); color: var(--muted); }
.map .leaflet-control-attribution a { color: var(--muted); }
.map-pin { position: relative; }
.map-pin__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(27,26,23,0.25);
  transform: translate(-6px, -6px);
}
.map-pin__label {
  position: absolute; left: 10px; top: -9px;
  white-space: nowrap;
  font: 500 11px/1.4 var(--font-body);
  letter-spacing: .04em;
  color: var(--ink);
  background: rgba(245,242,236,0.92);
  padding: 2px 7px;
  border: 1px solid var(--line);
}
.map-pin--site .map-pin__dot {
  width: 18px; height: 18px;
  background: var(--brick);
  box-shadow: 0 0 0 6px rgba(167,105,75,0.22);
  transform: translate(-9px, -9px);
}
.map-pin--site .map-pin__label { font-family: var(--font-display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; left: 16px; top: -12px; background: var(--ink); color: #fff; border-color: var(--ink); }
.map-pin__label em { font-style: normal; color: var(--brick); margin-left: 4px; }
.map-pin--bus .map-pin__dot { width: 9px; height: 9px; background: #fff; border: 2px solid var(--ink); box-shadow: none; transform: translate(-4px, -4px); }
.map-pin--bus .map-pin__label { font-size: 10px; color: var(--muted); background: rgba(245,242,236,0.85); border-style: dashed; top: -8px; }
.map-pin--left .map-pin__label { left: auto; right: 10px; }
.map-pin--below .map-pin__label { left: -10px; top: 10px; }
.map-pin--below-left .map-pin__label { left: auto; right: -10px; top: 10px; }
.map .leaflet-tile-pane { filter: grayscale(1) contrast(0.92) brightness(1.04); }
.map .leaflet-popup-content-wrapper { border-radius: 0; font: 300 13px/1.5 var(--font-body); color: var(--ink); }
.map .leaflet-popup-content strong { font-weight: 500; }

.distances { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.distances__title { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin-bottom: 20px; }
.distances__title span { font-style: italic; color: var(--muted); font-weight: 300; }
.distances__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.distances__list li { background: var(--stone); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.distances__cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brick); font-weight: 500; }
.distances__name { font-weight: 500; font-size: 15px; }
.distances__addr { font-size: 13px; color: var(--muted); }
.distances__nums { margin-top: 6px; display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.distances__nums b { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--ink); margin-right: 4px; }

@media (max-width: 960px) {
  .privacy, .neto__head { grid-template-columns: 1fr; }
  .privacy__media { order: -1; }
  .privacy__media img { aspect-ratio: 4 / 3; }
  .distances__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sun__facts, .distances__list { grid-template-columns: 1fr; }
}

/* ---------- Konstrukcija ---------- */
.construction {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255,255,255,0.8);
}
.construction .eyebrow { color: var(--brick-light); }
.construction__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 22px;
}
.construction__title em { font-style: italic; }
.construction__text p:last-child { margin-bottom: 0; }
.construction__facts { display: flex; flex-direction: column; border-top: 1px solid var(--line-light); align-self: center; }
.construction__fact { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-light); font-size: 13px; color: rgba(255,255,255,0.6); }
.construction__num { font-family: var(--font-display); font-size: 34px; line-height: 1; color: #fff; white-space: nowrap; }
@media (max-width: 960px) { .construction { grid-template-columns: 1fr; } }
.construction__fact--person strong { color: #fff; font-weight: 500; }
@media (max-width: 560px) { .construction__fact { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Uvjeti kupnje ---------- */
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.term { background: var(--stone); padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.term__num { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--brick); }
.term h4 { font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1.15; }
.term p { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.term__link { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); align-self: flex-start; padding-bottom: 3px; transition: color .3s, border-color .3s; }
.term__link:hover { color: var(--brick); border-color: var(--brick); }
.form__check { flex-direction: row !important; align-items: center; gap: 12px !important; cursor: pointer; }
.form__check input { width: 18px; height: 18px; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--brick); margin: 0; }
.form__check span { font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; color: rgba(255,255,255,0.8) !important; }
@media (max-width: 1080px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .terms { grid-template-columns: 1fr; } }

/* ---------- Zeleni pojas ---------- */
.greenbelt {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.greenbelt__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; margin-bottom: 22px; }
.greenbelt__title em { font-style: italic; }
.greenbelt__list { margin-top: 22px; border-top: 1px solid var(--line); }
.greenbelt__list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.greenbelt__list strong { font-weight: 500; color: var(--ink); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-top: 2px; }
.greenbelt__media { margin: 0; }
.greenbelt__zoom { display: block; cursor: zoom-in; border: 1px solid var(--line); overflow: hidden; }
.greenbelt__zoom img { width: 100%; transition: transform 1.2s var(--ease); }
.greenbelt__zoom:hover img { transform: scale(1.03); }
.greenbelt__media figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
@media (max-width: 960px) { .greenbelt { grid-template-columns: 1fr; } .greenbelt__media { order: -1; } }

/* ---------- Mobile polish ---------- */
.neto__hint { display: none; font-size: 12px; color: rgba(255,255,255,0.45); margin: 0 0 10px; }
@media (max-width: 760px) {
  .neto__hint { display: block; }
  .neto__table th:first-child, .neto__table td:first-child {
    position: sticky; left: 0; z-index: 1;
    background: var(--ink);
    max-width: 150px; min-width: 130px;
    box-shadow: 8px 0 12px -8px rgba(0,0,0,0.6);
  }
  .neto__table { min-width: 640px; font-size: 13px; }
  .neto__table th, .neto__table td { padding: 10px 10px; }
}
@media (max-width: 560px) {
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__meta .dot { display: none; }
  .plans__stage { min-height: 0; padding-bottom: 44px; }
  .plans__scope-btn { font-size: 11px; letter-spacing: .08em; padding: 14px 10px; gap: 8px; }
  .plans__scope-num { font-size: 15px; }
  .plans__tab { padding: 14px 10px; font-size: 11px; letter-spacing: .1em; }
  .map-pin--bus .map-pin__label { display: none; }
  .map-pin__label { font-size: 10px; padding: 1px 5px; }
  .location__map { aspect-ratio: 1 / 1; }
}

/* ---------- Hero readability ---------- */
.hero .eyebrow {
  color: #fff;
  opacity: .95;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  display: inline-flex; align-items: center; gap: 12px;
}
.hero .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brick-light); display: inline-block; }
.hero__title, .hero__sub { text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero__meta { text-shadow: 0 1px 8px rgba(0,0,0,0.45); }

/* ---------- Forma: honeypot i greška ---------- */
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form__error { display: none; margin: 0; font-size: 13px; color: #e6b3a3; }
.form.is-error .form__error { display: block; }
.form .btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Telefon: poziv / WhatsApp ---------- */
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.contact__action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 11px !important; letter-spacing: .16em !important; text-transform: uppercase; font-weight: 500;
  color: #fff !important;
  transition: background .3s, color .3s, border-color .3s;
}
.contact__action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.contact__action:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }

@media (max-width: 560px) {
  .hero .eyebrow { font-size: 10px; letter-spacing: .18em; gap: 10px; white-space: nowrap; }
  .hero .eyebrow::before { width: 18px; }
}
