/* ============================================================
   ADVOKATSKA KANCELARIJA IVAN STEFANOVIĆ — POŽAREVAC
   Design system
   ============================================================ */

:root {
  /* Palette — deep forest green, warm gold, cream */
  --ink:        #0e2620;   /* near-black forest green */
  --ink-2:      #143a2f;
  --ink-3:      #1c4c3e;
  --bg:         #f6f2e9;   /* warm cream */
  --bg-2:       #efe9da;
  --paper:      #fbf8f1;
  --gold:       #b08d57;
  --gold-2:     #c7a978;
  --gold-deep:  #8f6f3e;
  --text:       #23271f;
  --text-soft:  #4a4f44;
  --muted:      #7c7e72;
  --line:       rgba(20, 40, 30, 0.14);
  --line-strong:rgba(20, 40, 30, 0.28);
  --on-dark:    #efe9da;
  --on-dark-soft: rgba(239, 233, 218, 0.72);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);

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

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--gold); color: #fff; }

/* --------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.center::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  margin-top: 22px;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-soft);
  max-width: 56ch;
  line-height: 1.75;
}

/* --------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =================================================== HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
              box-shadow 0.4s var(--ease), color 0.4s var(--ease);
  color: var(--on-dark);
}
.site-header.scrolled {
  padding-block: 13px;
  background: rgba(13, 33, 26, 0.92);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 rgba(199, 169, 120, 0.25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0;
}
.monogram {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gold-2);
  flex: none;
  transition: transform 0.5s var(--ease);
}
.brand:hover .monogram { transform: rotate(-8deg); }
.brand-text { line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.72;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold-2);
  transition: width 0.35s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(199, 169, 120, 0.55);
  color: var(--gold-2);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.header-cta:hover { background: var(--gold); border-color: var(--gold); color: #14130f; }

.nav-toggle { display: none; }

/* =================================================== HERO */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  color: var(--on-dark);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg::before {
  /* layered gradient + vignette */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(176,141,87,0.16), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(28,76,62,0.6), transparent 60%),
    linear-gradient(180deg, #0c211b 0%, #0e2620 60%, #0a1c17 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("assets/grain.svg");
  mix-blend-mode: overlay;
}
.hero-para {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(30rem, 60vw, 62rem);
  line-height: 0.7;
  color: rgba(199, 169, 120, 0.06);
  right: -4vw;
  bottom: -16vh;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(56px, 8vh, 110px);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: clamp(24px, 5vh, 48px);
}
.hero-kicker::before { content: ""; width: 44px; height: 1px; background: var(--gold); }

.hero h1 {
  font-size: clamp(3.2rem, 9vw, 8.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.94;
}
.hero h1 .accent { color: var(--gold-2); font-style: italic; font-weight: 500; }

.hero-meta {
  margin-top: clamp(28px, 5vh, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(24px, 5vw, 64px);
  border-top: 1px solid rgba(239,233,218,0.16);
  padding-top: 30px;
}
.hero-desc {
  max-width: 40ch;
  color: var(--on-dark-soft);
  font-size: 1.06rem;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 16px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn-gold {
  background: var(--gold);
  color: #14130f;
  box-shadow: 0 14px 34px -16px rgba(176,141,87,0.8);
}
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost {
  border-color: rgba(239,233,218,0.4);
  color: var(--on-dark);
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  writing-mode: vertical-rl;
}
.hero-scroll .dot {
  writing-mode: horizontal-tb;
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrolldrop 2.2s var(--ease) infinite;
}
@keyframes scrolldrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =================================================== MARQUEE / values strip */
.strip {
  background: var(--ink-2);
  color: var(--on-dark);
  border-block: 1px solid rgba(199,169,120,0.22);
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 20px 38px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  white-space: nowrap;
}
.strip-item span.sep { color: var(--gold-2); font-style: normal; font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =================================================== INTRO / about */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.portrait .ph { position: absolute; inset: 0; }
.portrait-badge {
  position: absolute;
  right: -22px;
  bottom: 28px;
  background: var(--ink);
  color: var(--on-dark);
  padding: 22px 26px;
  max-width: 220px;
}
.portrait-badge .num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold-2);
  line-height: 1;
}
.portrait-badge .lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-top: 6px;
}

.about-body p + p { margin-top: 20px; }
.about-body .sig {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--ink-3);
}
.about-body .sig-sub {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.cred-list {
  margin-top: 30px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.cred-list li {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cred-list .k {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-deep);
  flex: none;
  width: 34px;
}
.cred-list .v { color: var(--text-soft); }

/* =================================================== PRACTICE AREAS */
.areas { background: var(--paper); }
.areas-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.area {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(30px, 3.4vw, 48px);
  background: var(--paper);
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
  overflow: hidden;
}
.area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
  z-index: 0;
}
.area > * { position: relative; z-index: 1; }
.area:hover::before { transform: translateY(0); }
.area:hover { color: var(--on-dark); }
.area:hover .area-num,
.area:hover .area-title { color: var(--gold-2); }
.area:hover .area-desc { color: var(--on-dark-soft); }
.area:hover .area-arrow { opacity: 1; transform: translate(0,0); color: var(--gold-2); }

.area-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  transition: color 0.4s;
}
.area-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  margin-top: 22px;
  transition: color 0.4s;
}
.area-desc {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  transition: color 0.4s;
}
.area-arrow {
  position: absolute;
  top: clamp(30px, 3.4vw, 48px);
  right: clamp(30px, 3.4vw, 48px);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.4s, transform 0.4s var(--ease), color 0.4s;
  color: var(--gold);
}

/* =================================================== FREE CONSULT band */
.consult {
  background: linear-gradient(155deg, var(--ink) 0%, #0a1c17 100%);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.consult .hero-para { color: rgba(199,169,120,0.05); right: -2vw; bottom: -28vh; }
.consult-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.consult h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
}
.consult h2 em { color: var(--gold-2); font-style: italic; }
.consult p { color: var(--on-dark-soft); margin-top: 22px; font-size: 1.08rem; max-width: 46ch; }
.consult-card {
  background: rgba(239,233,218,0.05);
  border: 1px solid rgba(199,169,120,0.3);
  padding: clamp(28px, 3vw, 40px);
  backdrop-filter: blur(4px);
}
.consult-card .price {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--gold-2);
  line-height: 1;
}
.consult-card .price small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-top: 12px;
}
.consult-card ul { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.consult-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; color: var(--on-dark-soft); }
.consult-card li .tick { color: var(--gold-2); flex: none; margin-top: 3px; }
.consult-card .btn { width: 100%; justify-content: center; margin-top: 28px; }

/* =================================================== KATASTAR / e-šalter */
.katastar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}
.katastar-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.katastar-tag {
  position: absolute;
  top: 22px; left: 22px;
  background: var(--ink);
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 9px 15px;
}
.feature-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: 1px solid var(--line); }
.feature-row .fnum {
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 1.1rem;
  flex: none;
  width: 28px;
}
.feature-row h4 { font-size: 1.3rem; }
.feature-row p { color: var(--text-soft); font-size: 0.96rem; margin-top: 6px; }

/* =================================================== PLAĆANJE */
.pay { background: var(--bg-2); }
.pay-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}
.pay-steps {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.pay-steps li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 1rem;
}
.pay-steps .pnum {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold-deep);
}

.qr-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: clamp(26px, 3vw, 40px);
  max-width: 380px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px -40px rgba(20,40,30,0.5);
}
.qr-card::before {
  /* corner ticks */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--gold);
  opacity: 0.35;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) top left, linear-gradient(#000 0 0) top right,
    linear-gradient(#000 0 0) bottom left, linear-gradient(#000 0 0) bottom right;
  -webkit-mask-size: 22px 22px;
  -webkit-mask-repeat: no-repeat;
  mask:
    linear-gradient(#000 0 0) top left, linear-gradient(#000 0 0) top right,
    linear-gradient(#000 0 0) bottom left, linear-gradient(#000 0 0) bottom right;
  mask-size: 22px 22px;
  mask-repeat: no-repeat;
}
.qr-frame {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  display: grid;
  place-items: center;
}
.qr-frame img { width: 100%; max-width: 240px; height: auto; image-rendering: pixelated; }
.qr-card figcaption {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-badge {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 7px 16px;
  border-radius: 999px;
}
.qr-hint {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* =================================================== FAQ */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--text);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-icon { flex: none; position: relative; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--gold-deep);
  left: 50%; top: 50%; transition: transform 0.4s var(--ease);
}
.faq-icon::before { width: 16px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-icon::after { width: 1.5px; height: 16px; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.faq-a-inner { padding-bottom: 26px; color: var(--text-soft); max-width: 62ch; }

/* =================================================== CONTACT */
.contact { background: var(--ink); color: var(--on-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; }
.contact h2 em { font-style: italic; color: var(--gold-2); }
.contact-lead { color: var(--on-dark-soft); margin-top: 22px; max-width: 44ch; font-size: 1.06rem; }

.contact-rows { margin-top: 44px; display: grid; gap: 0; }
.crow {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid rgba(239,233,218,0.14);
  transition: padding-left 0.35s var(--ease);
}
.crow:last-child { border-bottom: 1px solid rgba(239,233,218,0.14); }
.crow:hover { padding-left: 10px; }
.crow .ci {
  width: 44px; height: 44px; flex: none;
  border: 1px solid rgba(199,169,120,0.4);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-2);
}
.crow .ck { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-soft); }
.crow .cv { font-family: var(--serif); font-size: 1.5rem; color: var(--on-dark); }
.crow .cv:hover { color: var(--gold-2); }

.map-frame {
  position: relative;
  min-height: 420px;
  height: 100%;
  border: 1px solid rgba(199,169,120,0.3);
  overflow: hidden;
  filter: grayscale(0.3) contrast(1.05);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin {
  position: absolute;
  left: 22px; bottom: 22px;
  z-index: 2;
  background: var(--ink);
  color: var(--on-dark);
  padding: 16px 20px;
  max-width: 260px;
  pointer-events: none;
}
.map-pin .mt { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-2); }
.map-pin .ms { font-size: 0.9rem; color: var(--on-dark-soft); margin-top: 2px; }

/* =================================================== FOOTER */
.footer {
  background: #0a1c17;
  color: var(--on-dark-soft);
  padding-block: clamp(56px, 7vw, 88px);
  border-top: 1px solid rgba(199,169,120,0.2);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(239,233,218,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .brand-name { color: var(--on-dark); font-size: 1.4rem; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; transition: color 0.25s; }
.footer-nav a:hover { color: var(--gold-2); }
.footer-bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.footer-bottom a:hover { color: var(--gold-2); }

/* =================================================== placeholder */
.ph {
  width: 100%; height: 100%;
  background-image:
    repeating-linear-gradient(45deg, rgba(20,40,30,0.05) 0 10px, transparent 10px 20px);
  display: grid;
  place-items: center;
}
.ph span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  padding: 7px 12px;
  border: 1px solid var(--line);
}

/* =================================================== RESPONSIVE */
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid rgba(199,169,120,0.5);
    border-radius: 50%; background: none; cursor: pointer; color: var(--gold-2);
  }
  .about-grid, .consult-inner, .katastar-grid, .pay-grid, .faq-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .portrait { max-width: 440px; }
  .portrait-badge { right: 16px; }
  .area-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 360px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .cred-list .k { width: 28px; }
}

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10,28,23,0.97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem; color: var(--on-dark);
  padding: 10px 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:hover { color: var(--gold-2); }
.mobile-menu a:nth-child(1){transition-delay:.05s}
.mobile-menu a:nth-child(2){transition-delay:.1s}
.mobile-menu a:nth-child(3){transition-delay:.15s}
.mobile-menu a:nth-child(4){transition-delay:.2s}
.mobile-menu a:nth-child(5){transition-delay:.25s}
.mobile-menu a:nth-child(6){transition-delay:.3s}
.mobile-close {
  position: absolute; top: 22px; right: var(--gutter);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(199,169,120,0.5); background: none;
  color: var(--gold-2); cursor: pointer; font-size: 1.4rem;
}
