/* ═══════════════════════════════════════════════════════════════
   SIENA home — siena.asuperstition.com
   Creme-light base · #D5953C amber · glass surfaces · dark toggle
   Type: Sofia Sans (display, Bulgarian Cyrillic) + Manrope (body)
═══════════════════════════════════════════════════════════════ */

:root {
  --bg:        #F5F0E6;
  --bg-2:      #EDE4D2;
  --surface:   #FBF8F1;
  --ink:       #221D14;
  --ink-soft:  #574F3E;
  --muted:     #857B66;
  --line:      rgba(34, 29, 20, .13);
  --line-soft: rgba(34, 29, 20, .07);

  --accent:      #D5953C;
  --accent-deep: #B0762A;
  --accent-soft: rgba(213, 149, 60, .15);
  --accent-glow: rgba(213, 149, 60, .38);

  --ok:   #5F7D4F;
  --hold: #C0871F;
  --sold: #8B8272;

  --glass:        rgba(251, 248, 241, .66);
  --glass-strong: rgba(251, 248, 241, .82);
  --glass-line:   rgba(255, 255, 255, .55);
  --glass-dark:      rgba(22, 18, 12, .46);
  --glass-dark-line: rgba(255, 255, 255, .18);

  --dark-bg:   #0D0B09;
  --dark-bg-2: #120F0C;
  --dark-ink:  #F2EAD9;

  --shadow-1: 0 10px 30px rgba(34, 29, 20, .08);
  --shadow-2: 0 24px 60px rgba(34, 29, 20, .16);

  --font-display: "Sofia Sans", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --header-h: 74px;
  --radius: 20px;
  --radius-sm: 12px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: min(1660px, calc(100vw - 48px));
}

[data-theme="dark"] {
  --bg:        #0D0B09;
  --bg-2:      #13100D;
  --surface:   #18140F;
  --ink:       #F2EAD9;
  --ink-soft:  #CFC3AA;
  --muted:     #9C9179;
  --line:      rgba(242, 234, 217, .15);
  --line-soft: rgba(242, 234, 217, .07);

  --accent-soft: rgba(213, 149, 60, .12);

  --glass:        rgba(19, 16, 13, .6);
  --glass-strong: rgba(19, 16, 13, .84);
  --glass-line:   rgba(255, 255, 255, .12);

  --dark-bg:   #0A0806;
  --dark-bg-2: #0E0B09;

  --shadow-1: 0 10px 30px rgba(0, 0, 0, .3);
  --shadow-2: 0 24px 60px rgba(0, 0, 0, .5);
}

/* ── Base ──────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: var(--wrap); margin-inline: auto; }

section { position: relative; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 16px; height: 16px; }

/* ── Typography ────────────────────────────────────────────── */

.display-xl, .display-lg, .display-md {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.display-xl { font-size: clamp(46px, 7.6vw, 104px); }
.display-lg { font-size: clamp(34px, 4.6vw, 60px); }
.display-md { font-size: clamp(27px, 3.4vw, 42px); }

.lede {
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--accent);
  flex: none;
}
.copper { color: var(--accent); font-style: normal; }

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s, background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--primary:hover { box-shadow: 0 12px 32px var(--accent-glow); }

.btn--glass {
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-dark-line);
  color: #F6F1E7;
}
.btn--glass:hover { background: rgba(22, 18, 12, .62); }

.btn--outline {
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ── Reveal / motion ───────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-38px); }
.reveal--right { transform: translateX(38px); }
.reveal--zoom { transform: scale(.94); }
.reveal--left.in, .reveal--right.in, .reveal--zoom.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Header ────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.01);
  -webkit-backdrop-filter: blur(0.3125rem);
  backdrop-filter: blur(0.3125rem);
  border-bottom: 0.0625rem solid hsla(0, 0%, 100%, 0.1);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease);
}
.nav.is-solid {
  background: rgba(251, 248, 241, .48);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom-color: var(--line-soft);
  color: var(--ink);
  box-shadow: 0 6px 30px rgba(34, 29, 20, .06);
}
[data-theme="dark"] .nav.is-solid {
  background: rgba(13, 11, 9, .48);
}
.nav__inner {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.5vw, 28px);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  line-height: 1;
  margin-right: auto;
}
.logo .mark {
  width: 11px; height: 11px;
  background: var(--accent);
  align-self: center;
  transform: rotate(45deg);
  border-radius: 2px;
  flex: none;
}
.logo .t1 { font-size: 24px; font-weight: 800; letter-spacing: .04em; }
.logo .t2 { font-size: 17px; font-weight: 300; letter-spacing: .1em; color: var(--accent); }

.nav__links {
  display: flex;
  gap: clamp(12px, 1.3vw, 28px);
  list-style: none;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  text-decoration: none;
  font-size: 16.5px;
  font-weight: 700;
  white-space: nowrap;
  opacity: .92;
  transition: opacity .25s, color .25s;
}
.nav__links a .icon {
  width: 19px; height: 19px;
  color: var(--accent);
  opacity: .95;
  transition: transform .3s var(--ease-out);
}
.nav__links a:hover .icon { transform: translateY(-2px); }
.nav__links a:hover { opacity: 1; color: var(--accent); }

/* бутонът „Запитване" в хедъра — едър колкото менюто */
.nav__inner > .btn--primary {
  font-size: 16.5px;
  padding: 12px 24px;
}

.theme-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  opacity: .75;
  transition: opacity .25s, transform .4s var(--ease-out);
}
.theme-btn:hover { opacity: 1; transform: rotate(24deg); }
.theme-btn .i-moon { display: block; }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  position: relative;
  z-index: 101;
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s, top .35s var(--ease-out);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 8vw 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; display: grid; gap: 6px; }
.mobile-menu a.mm-link {
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
  transition: color .25s;
}
.mobile-menu a.mm-link:hover { color: var(--accent); }
.mobile-menu .mm-idx {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .1em;
}
.mobile-menu__foot {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: var(--ink-soft);
}

/* ── Hero (scroll descent) ─────────────────────────────────── */

.hero { height: 300vh; }
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #1a1f18;
}
.hero__layer {
  position: absolute;
  inset: 0;
}
.hero__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__layer--aerial img { transform-origin: 55% 57%; will-change: transform; }
.hero__layer--lawn { opacity: 0; will-change: opacity; }
.hero__layer--lawn img { transform-origin: 50% 62%; will-change: transform; }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 15, 10, .52) 0%, rgba(18, 15, 10, 0) 34%),
    linear-gradient(0deg, rgba(18, 15, 10, .74) 0%, rgba(18, 15, 10, .3) 38%, rgba(18, 15, 10, 0) 58%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  inset: auto 0 0 0;
  padding-bottom: clamp(84px, 14vh, 150px);
  color: #F6F1E7;
  will-change: transform, opacity;
}
/* прогресивно затъмняване + блър зад заглавието за четимост */
.hero__content::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: -34vh;
  z-index: -1;
  background: linear-gradient(0deg, rgba(15, 12, 8, .78) 0%, rgba(15, 12, 8, .4) 48%, rgba(15, 12, 8, 0) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.05);
  backdrop-filter: blur(20px) saturate(1.05);
  -webkit-mask-image: linear-gradient(0deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(0deg, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero__content .eyebrow { color: rgba(246, 241, 231, .85); }
.hero__content .eyebrow::before { background: var(--accent); }
.hero__title { max-width: 11ch; text-shadow: 0 3px 40px rgba(0, 0, 0, .35); }
.hero__lede {
  margin-top: 22px;
  max-width: 52ch;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: rgba(246, 241, 231, .88);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* фаза 2: огромен надпис, стапящ се в долния ръб към следващата секция */
.hero__phase2 {
  position: absolute;
  inset: auto 0 -1vh 0;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  pointer-events: none;
  padding: 0 2vw;
}
.hero__phase2 .eyeline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}
.hero__phase2 .eyeline::before, .hero__phase2 .eyeline::after {
  content: "";
  width: clamp(24px, 4vw, 60px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.hero__phase2 .eyeline::after { background: linear-gradient(90deg, var(--accent), transparent); }
.hero__phase2 .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 11.5vw, 200px);
  line-height: .94;
  letter-spacing: -.02em;
  color: #F6F1E7;
  text-shadow: 0 8px 80px rgba(0, 0, 0, .4);
  -webkit-mask-image: linear-gradient(180deg, #000 34%, rgba(0, 0, 0, .42) 72%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 34%, rgba(0, 0, 0, .42) 72%, transparent 98%);
  text-wrap: balance;
}
.hero__phase2 .big em { font-style: normal; color: var(--accent); }

.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(246, 241, 231, .75);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero__hint .line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, var(--accent));
  overflow: hidden;
  position: relative;
}
.hero__hint .line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: #F6F1E7;
  animation: hint-drop 2.1s var(--ease-out) infinite;
}
@keyframes hint-drop {
  0% { top: -100%; }
  60%, 100% { top: 110%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100vh; }
  .hero__phase2 { display: none; }
  .hero__hint { display: none; }
}

/* ── Section header pattern ────────────────────────────────── */

.section { padding: clamp(84px, 11vw, 148px) 0; }
.section--tint { background: var(--bg-2); }

/* „Листове" — всяка секция се плъзга със заоблен ръб върху предишната */
:root { --sheet-r: clamp(22px, 3.2vw, 40px); }
.sheet {
  position: relative;
  z-index: 2;
  isolation: isolate;
  margin-top: calc(-1 * var(--sheet-r));
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  overflow: hidden;
  background: var(--bg);
}
.sheet--tint { background: var(--bg-2); }
.sheet--dark { background: var(--dark-bg); }

/* Избледнял фотографски фон в секция */
.bg-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  --fade: var(--bg);
}
.bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .07;
}
.bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--fade) 0%, transparent 32%, transparent 68%, var(--fade) 100%);
}
.sheet--dark .bg-photo { --fade: var(--dark-bg); }
.sheet--dark .bg-photo img { opacity: .13; filter: saturate(.75); }
.footer .bg-photo { --fade: var(--dark-bg-2); }
.footer .bg-photo img { opacity: .11; filter: saturate(.7); }
[data-theme="dark"] .bg-photo img { opacity: .05; }
[data-theme="dark"] .sheet--dark .bg-photo img, [data-theme="dark"] .footer .bg-photo img { opacity: .11; }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: 28px 64px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.sec-head .lede { justify-self: end; padding-bottom: 6px; }
@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lede { justify-self: start; }
}

/* ── About ─────────────────────────────────────────────────── */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* медията се разлива до левия ръб на екрана */
.about__media {
  position: relative;
  margin-left: calc(50% - 50vw);
}
.about__media .ph {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: 0 var(--radius) var(--radius) 0;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.about__media .ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out);
}
.about__media .ph img.is-active { opacity: 1; }
.about__media:hover .ph img.is-active { transform: scale(1.04); }
.about__viewlab {
  position: absolute;
  z-index: 2;
  top: clamp(14px, 2vw, 24px);
  left: clamp(14px, 2vw, 24px);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-dark-line);
  color: #F6F1E7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .4s;
}

.about__ph2 {
  position: absolute;
  top: clamp(-34px, -3vw, -20px);
  right: -6%;
  width: 38%;
  border-radius: 14px;
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-2);
  transform: rotate(2.5deg);
  transition: transform .6s var(--ease-out), border-color .4s;
  z-index: 2;
}
.about__ph2 img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}
.about__media:hover .about__ph2 { transform: rotate(0deg) translateY(-4px); }
@media (max-width: 960px) {
  .about__ph2 { display: none; }
}

.about__body p { color: var(--ink-soft); margin-bottom: 1em; }
.about__body p strong { color: var(--ink); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.feature {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 65%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--accent-glow); }
.feature:hover::before { opacity: 1; }
.feature .icon {
  width: 30px; height: 30px;
  color: var(--accent);
  margin-bottom: 14px;
  transition: transform .4s var(--ease-out);
}
.feature:hover .icon { transform: translateY(-3px) scale(1.08); }
.feature.is-view { border-color: var(--accent); box-shadow: 0 10px 30px var(--accent-glow); }
.feature.is-view::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.feature .ti {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17.5px;
  margin-bottom: 6px;
}
.feature .tx { font-size: 14px; line-height: 1.6; color: var(--muted); }

.about__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* филмова лента с кадри, разляна до двата ръба */
.about__strip-wrap {
  overflow: hidden;
  margin: clamp(48px, 6vw, 90px) calc(50% - 50vw) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.about__strip {
  display: flex;
  width: max-content;
  animation: strip-move 60s linear infinite;
}
.about__strip:hover { animation-play-state: paused; }
.about__strip figure {
  margin-right: 14px;
  border-radius: 14px;
  overflow: hidden;
  flex: none;
}
.about__strip img {
  height: clamp(140px, 15vw, 220px);
  width: auto;
  display: block;
  transition: transform .8s var(--ease-out);
}
.about__strip figure:hover img { transform: scale(1.06); }
@keyframes strip-move {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .about__strip { animation: none; }
  .about__strip-wrap { overflow-x: auto; }
}

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { margin-inline: calc(50% - 50vw); }
  .about__media .ph { border-radius: 0; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ── Park (image + glass card + stats) ─────────────────────── */

.park {
  position: relative;
  min-height: 130vh;
}
.park__media {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.park__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.park__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 15, 10, 0) 36%, rgba(18, 15, 10, .22) 62%, rgba(18, 15, 10, .6) 100%);
}
/* меко преливане от кремавата секция към снимката */
.park__media::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(90px, 16vh, 180px);
  z-index: 1;
  background: linear-gradient(180deg, var(--bg), transparent);
  transition: background .4s;
}
.park__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(26px, 5vh, 64px);
}
.park__boxes {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

/* кутия 1 — информация (плътен акцент) */
.park__info {
  padding: clamp(30px, 4vw, 54px);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #E7B060 0%, var(--accent) 42%, var(--accent-deep) 100%);
  color: #221709;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.park__info .eyebrow { color: rgba(34, 23, 9, .7); }
.park__info .eyebrow::before { background: #221709; }
.park__info p {
  color: rgba(34, 23, 9, .85);
  margin-top: 16px;
  font-size: 15.5px;
  font-weight: 500;
  max-width: 58ch;
}

/* кутия 2 — числа (плътно тъмно) */
.park__facts {
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--radius);
  background: rgba(12, 10, 8, .95);
  border: 1px solid rgba(242, 234, 217, .12);
  color: #F2EAD9;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.park__facts .hd {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(242, 234, 217, .55);
  margin-bottom: 6px;
}
.park__facts .fact {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(242, 234, 217, .12);
}
.park__facts .fact:last-child { border-bottom: 0; padding-bottom: 0; }
.park__facts .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1;
  min-width: 2.6ch;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.park__facts .icon { width: 30px; height: 30px; align-self: center; flex: none; color: var(--accent); }
.park__facts .lab {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(242, 234, 217, .82);
}

@media (max-width: 900px) {
  .park__boxes { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .park { min-height: 0; }
  .park__media { position: relative; height: auto; }
  .park__media img { position: absolute; inset: 0; width: 100%; height: 110%; }
  .park__overlay { position: relative; padding: clamp(90px, 16vw, 130px) 0 clamp(50px, 10vw, 90px); }
}

/* ── Локация: Leaflet карта с маршрути и POI ───────────────── */

.locmap { padding-bottom: clamp(84px, 11vw, 148px); }
.locmap__frame {
  position: relative;
  margin-inline: auto;
}
.locmap__map {
  height: clamp(480px, 72vh, 760px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  z-index: 1;
}
.leaflet-container { background: var(--bg-2); font-family: var(--font-body); }
.leaflet-tile-pane { filter: grayscale(.45) sepia(.22) hue-rotate(-12deg) saturate(.85) brightness(1); }
[data-theme="dark"] .leaflet-tile-pane { filter: grayscale(.65) sepia(.3) hue-rotate(-10deg) saturate(.55) brightness(.52); }
.leaflet-control-attribution { font-size: 10px; opacity: .55; }
.leaflet-control-zoom a { color: var(--ink) !important; background: var(--glass-strong) !important; border-color: var(--line) !important; }

/* маркер на комплекса с пулс */
.siena-marker, .poi-marker { position: relative; pointer-events: auto; }
.siena-marker .core {
  position: absolute; top: 50%; left: 50%;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%);
}
.siena-marker .ring, .siena-marker .ring2 {
  position: absolute; top: 50%; left: 50%;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  transform: translate(-50%, -50%);
  animation: mk-pulse 2.2s ease-out infinite;
}
.siena-marker .ring2 { animation-delay: .75s; }
@keyframes mk-pulse {
  0% { opacity: .9; width: 22px; height: 22px; }
  100% { opacity: 0; width: 74px; height: 74px; }
}
.siena-marker .label, .poi-marker .label {
  position: absolute;
  top: 26px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24, 20, 14, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #F6F1E7;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.siena-marker .label { background: var(--accent); color: #16120c; border-color: rgba(255, 255, 255, .4); }
.poi-marker .core {
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #221D14;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
}
.poi-marker .label { top: 20px; }

.leaflet-popup-content-wrapper {
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  color: var(--ink);
}
.leaflet-popup-tip { background: var(--glass-strong); }
.leaflet-popup-content { margin: 14px 18px; font-family: var(--font-body); }
.pop-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
[data-theme="dark"] .pop-eyebrow { color: var(--accent); }
.pop-title { font-family: var(--font-display); font-weight: 800; font-size: 16px; margin-top: 3px; color: var(--ink); }
.pop-desc { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* POI панел върху картата */
.locmap__poi {
  position: absolute;
  z-index: 5;
  top: 22px; right: 22px;
  bottom: 22px;
  width: min(340px, calc(100% - 44px));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.locmap__poi-head {
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.locmap__poi-head .ti { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.locmap__poi-head .su { font-size: 12px; color: var(--muted); margin-top: 2px; }
.locmap__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.locmap__chips .chip { padding: 6px 12px; font-size: 12px; border-width: 1px; }
.locmap__poi-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  scrollbar-width: thin;
}
.poi-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-out);
}
.poi-item:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateX(3px); }
.poi-item.is-active { border-color: var(--accent); background: var(--accent-soft); }
.poi-item .icon { width: 18px; height: 18px; color: var(--accent); }
.poi-item .body { flex: 1; min-width: 0; }
.poi-item .name { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poi-item .cat { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.poi-item .time { font-size: 12.5px; font-weight: 800; color: var(--accent-deep); flex: none; font-variant-numeric: tabular-nums; }
[data-theme="dark"] .poi-item .time { color: var(--accent); }

.locmap__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.locmap__note .icon { width: 15px; height: 15px; color: var(--accent); }

@media (max-width: 900px) {
  .locmap__poi { position: static; width: auto; margin-top: 14px; max-height: 380px; }
  .locmap__map { height: min(64vh, 520px); }
}

/* ── Masterplan ────────────────────────────────────────────── */

.plan {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: clamp(84px, 10vw, 130px) 0 var(--sheet-r);
}
.plan__head {
  width: var(--wrap);
  margin-inline: auto;
  margin-bottom: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 24px 60px;
  align-items: end;
}
.plan__head .eyebrow { color: rgba(242, 234, 217, .6); }
.plan__head .lede { color: rgba(242, 234, 217, .75); }
@media (max-width: 900px) { .plan__head { grid-template-columns: 1fr; } }

.mp {
  position: relative;
  height: min(92vh, 940px);
  overflow: hidden;
  background: #0B0A08;
  touch-action: pan-y;
}
.mp.is-active { touch-action: none; }
.mp__inner {
  position: absolute;
  top: 0; left: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.mp__inner img {
  width: 100%; height: 100%;
  display: block;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
.mp__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mp__svg polygon {
  fill: rgba(213, 149, 60, 0);
  stroke: rgba(213, 149, 60, .0);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill .3s, stroke .3s;
  pointer-events: auto;
  outline: none;
}
.mp.is-active .mp__svg polygon,
.mp__svg polygon:focus-visible {
  stroke: rgba(213, 149, 60, .85);
  fill: rgba(213, 149, 60, .08);
}
.mp__svg polygon:hover,
.mp__svg polygon:focus-visible,
.mp__svg polygon.is-current {
  fill: rgba(213, 149, 60, .3) !important;
  stroke: #E8B269 !important;
  stroke-width: 2.4;
}
.mp__svg polygon.st-sold { cursor: default; }
.mp__svg polygon.st-sold:hover { fill: rgba(120, 112, 96, .3) !important; stroke: #8B8272 !important; }

.mp-badge { pointer-events: none; }
.mp-badge circle { fill: rgba(24, 20, 14, .82); stroke: rgba(246, 241, 231, .4); stroke-width: 1; }
.mp-badge.st-available circle { stroke: #7FA26B; }
.mp-badge.st-reserved circle { stroke: var(--accent); }
.mp-badge text {
  fill: #F6F1E7;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
}

.mp:not(.is-locked) { cursor: grab; }
.mp.is-grabbing, .mp.is-grabbing .mp__svg polygon { cursor: grabbing; }

/* lock overlay */
.mp__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 13, 10, .18);
  border: 0;
  opacity: 0;
  transition: opacity .35s;
  cursor: pointer;
}
.mp.is-locked .mp__overlay { pointer-events: auto; }
.mp:not(.is-locked) .mp__overlay { display: none; }
.mp.is-locked:hover .mp__overlay, .mp.is-locked .mp__overlay:focus-visible { opacity: 1; }
.mp__overlay-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border-radius: 16px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-dark-line);
  color: #F6F1E7;
  transform: translateY(8px) scale(.97);
  transition: transform .35s var(--ease-out);
  text-align: left;
}
.mp.is-locked:hover .mp__overlay-badge,
.mp.is-locked .mp__overlay:focus-visible .mp__overlay-badge { transform: none; }
.mp__overlay-badge .icon { width: 26px; height: 26px; color: var(--accent); }
.mp__overlay-badge .ti { font-weight: 800; font-size: 15px; }
.mp__overlay-badge .su { font-size: 12.5px; opacity: .75; }
@media (hover: none) {
  .mp.is-locked .mp__overlay { opacity: 1; background: transparent; }
  .mp.is-locked .mp__overlay-badge { transform: none; }
}

/* floating cards over the map */
.mp__title {
  position: absolute;
  z-index: 5;
  top: clamp(16px, 3vw, 34px);
  left: clamp(16px, 3vw, 34px);
  max-width: 420px;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-dark-line);
  color: #F6F1E7;
  pointer-events: none;
}
.mp__title .ti { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1.15; }
.mp__title .su { font-size: 13px; color: rgba(246, 241, 231, .75); margin-top: 6px; }

.mp__legend {
  position: absolute;
  z-index: 5;
  top: clamp(16px, 3vw, 34px);
  right: clamp(16px, 3vw, 34px);
  display: grid;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-dark-line);
  color: #F6F1E7;
  font-size: 13px;
  pointer-events: none;
}
.mp__legend .row { display: flex; align-items: center; gap: 10px; }
.mp__legend .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mp__legend .val { margin-left: auto; font-weight: 800; padding-left: 18px; }

.mp__controls {
  position: absolute;
  z-index: 5;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 999px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-dark-line);
  color: #F6F1E7;
}
.mp__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s, color .25s;
}
.mp__btn:hover { background: var(--accent); color: #16120c; }
.mp__zoom {
  min-width: 52px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.mp__sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .18); margin-inline: 4px; }

/* house info card */
.mp__card {
  position: absolute;
  z-index: 6;
  left: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  width: min(360px, calc(100vw - 32px));
  padding: 24px;
  border-radius: 18px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-line);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease-out);
}
.mp__card.is-open { opacity: 1; visibility: visible; transform: none; }
.mp__card .hn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mp__card .pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.pill--available { background: rgba(95, 125, 79, .16); color: var(--ok); }
.pill--reserved { background: rgba(213, 149, 60, .18); color: var(--accent-deep); }
.pill--sold { background: rgba(139, 130, 114, .18); color: var(--sold); }
[data-theme="dark"] .pill--available { color: #9DBE8A; }
[data-theme="dark"] .pill--reserved { color: #E4AE64; }
[data-theme="dark"] .pill--sold { color: #B5AC9B; background: rgba(139, 130, 114, .25); }
.mp__card .specs {
  list-style: none;
  margin: 16px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.mp__card .specs li { display: flex; align-items: center; gap: 9px; }
.mp__card .specs .icon { width: 17px; height: 17px; color: var(--accent); }
.mp__card .close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background-color .25s, color .25s;
}
.mp__card .close:hover { background: var(--accent-soft); color: var(--ink); }

.mp__hintbar {
  width: var(--wrap);
  margin-inline: auto;
  padding: 18px 0 22px;
  font-size: 13px;
  color: rgba(242, 234, 217, .55);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.mp__hintbar span { display: inline-flex; align-items: center; gap: 8px; }
.mp__hintbar .icon { width: 15px; height: 15px; }

@media (max-width: 760px) {
  .mp { height: 76vh; }
  .mp__title { max-width: min(300px, 60vw); padding: 14px 18px; }
  .mp__title .ti { font-size: 16px; }
  .mp__title .su { display: none; }
  .mp__legend { top: auto; bottom: 76px; right: 12px; padding: 12px 14px; font-size: 12px; gap: 5px; }
  .mp__controls { right: 12px; bottom: 12px; }
  .mp__card { left: 12px; bottom: 12px; }
}

/* ── Gallery ───────────────────────────────────────────────── */

.gal__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all .3s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #16120c; }

.gal__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(120px, 16vw, 220px);
  grid-auto-flow: dense;
  gap: 14px;
}
.gitem {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 0;
  padding: 0;
  grid-column: span 2;
  grid-row: span 2;
  animation: gitem-in .6s var(--ease-out) both;
}
.gitem--w { grid-column: span 3; }
.gitem--tall { grid-row: span 3; }
.gitem--hero { grid-column: span 4; grid-row: span 3; }
.gitem.is-hidden { display: none; }
.gal__grid:not(.is-expanded) .gitem.is-capped { display: none; }
.gal__more-wrap { text-align: center; margin-top: 30px; }
@keyframes gitem-in {
  from { opacity: 0; transform: scale(.96) translateY(12px); }
  to { opacity: 1; transform: none; }
}
.gitem img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.gitem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(12deg, rgba(18, 15, 10, .62) 0%, rgba(18, 15, 10, 0) 42%);
  opacity: 0;
  transition: opacity .45s;
}
.gitem .cap {
  position: absolute;
  z-index: 2;
  left: 18px; right: 18px; bottom: 14px;
  color: #F6F1E7;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .45s var(--ease-out), opacity .45s;
  text-align: left;
}
.gitem .cap .icon { width: 16px; height: 16px; color: var(--accent); }
.gitem:hover img, .gitem:focus-visible img { transform: scale(1.06); }
.gitem:hover::after, .gitem:focus-visible::after { opacity: 1; }
.gitem:hover .cap, .gitem:focus-visible .cap { transform: none; opacity: 1; }

@media (max-width: 860px) {
  .gal__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(130px, 24vw, 200px); }
  .gitem, .gitem--w, .gitem--hero { grid-column: span 2; grid-row: span 2; }
  .gitem--tall { grid-row: span 2; }
}

/* lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 11, 8, .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__img {
  max-width: min(92vw, 1500px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}
.lb__cap {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(246, 241, 231, .85);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.lb__cap .n { font-variant-numeric: tabular-nums; opacity: .6; }
.lb__btn {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-dark-line);
  color: #F6F1E7;
  transition: background-color .25s, transform .25s;
}
.lb__btn:hover { background: var(--accent); color: #16120c; transform: scale(1.06); }
.lb__close { top: 22px; right: 22px; }
.lb__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb__prev:hover { transform: translateY(-50%) scale(1.06); }
.lb__next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 700px) {
  .lb__prev { left: 10px; }
  .lb__next { right: 10px; }
  .lb__btn { width: 44px; height: 44px; }
}

/* ── News ──────────────────────────────────────────────────── */

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ncard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s;
}
.ncard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--accent-glow); }
.ncard__media {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
}
.ncard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.ncard:hover .ncard__media img { transform: scale(1.06); }
.ncard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(18, 15, 10, .25), transparent 45%);
}
.ncard__when {
  position: absolute;
  z-index: 2;
  top: 14px; left: 14px;
  display: grid;
  justify-items: center;
  padding: 9px 14px 8px;
  border-radius: 12px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-dark-line);
  color: #F6F1E7;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
}
.ncard__when b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 4px;
}
.ncard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 26px 26px;
}
.ncard__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.ncard__meta .tag { color: var(--accent); }
.ncard__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.ncard h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.ncard p { font-size: 14.5px; color: var(--muted); flex: 1; }
.ncard__more {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
}
[data-theme="dark"] .ncard__more { color: var(--accent); }
.ncard__more .icon { transition: transform .35s var(--ease-out); }
.ncard:hover .ncard__more .icon { transform: translateX(5px); }

@media (max-width: 860px) {
  .news__grid { grid-template-columns: 1fr; }
  .ncard__meta { margin-bottom: 22px; }
}

/* ── Investor ──────────────────────────────────────────────── */

.investor {
  background: var(--dark-bg);
  color: var(--dark-ink);
  overflow: hidden;
}
.investor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: .5;
  pointer-events: none;
}
.investor__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 100px);
}
.investor .eyebrow { color: rgba(242, 234, 217, .55); }
.investor p { color: rgba(242, 234, 217, .78); margin-top: 18px; max-width: 56ch; }
.investor__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid rgba(242, 234, 217, .16);
  background: rgba(242, 234, 217, .04);
}
.investor__logo {
  height: 38px;
  width: auto;
  display: block;
}
.footer__inv .investor__logo { height: 32px; }

.istats { display: grid; gap: 8px; align-content: center; }
.istat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 16px;
  border: 1px solid rgba(242, 234, 217, .1);
  background: rgba(242, 234, 217, .035);
  transition: border-color .4s, background-color .4s, transform .4s var(--ease-out);
}
.istat:hover { border-color: var(--accent-glow); background: rgba(213, 149, 60, .07); transform: translateX(6px); }
.istat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1;
  color: var(--accent);
  min-width: 3.4ch;
  font-variant-numeric: tabular-nums;
}
.istat .lab { font-size: 15px; font-weight: 600; color: rgba(242, 234, 217, .82); }

@media (max-width: 900px) {
  .investor__grid { grid-template-columns: 1fr; }
}

/* ── CTA ───────────────────────────────────────────────────── */

.cta {
  position: relative;
  padding: clamp(110px, 15vw, 200px) 0;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
}
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 12, 8, .55);
}
.cta__card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 26px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid var(--glass-dark-line);
  color: #F6F1E7;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
}
.cta__card .eyebrow { color: rgba(246, 241, 231, .75); justify-content: center; }
.cta__card p { margin-top: 18px; color: rgba(246, 241, 231, .85); }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* ── Footer ────────────────────────────────────────────────── */

.footer {
  background: var(--dark-bg-2);
  color: var(--dark-ink);
  padding-top: clamp(70px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
/* горна лента: заглавие + контактни карти + форма */
.footer__cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.footer__lede {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(242, 234, 217, .72);
  max-width: 48ch;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
}
.ccard {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(242, 234, 217, .045);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(242, 234, 217, .11);
  text-decoration: none;
  transition: border-color .35s, background-color .35s, transform .35s var(--ease-out);
}
a.ccard:hover { border-color: var(--accent-glow); background: rgba(213, 149, 60, .09); transform: translateY(-3px); }
.ccard .icon { width: 21px; height: 21px; color: var(--accent); margin-top: 2px; }
.ccard .lab {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(242, 234, 217, .5);
}
.ccard .val {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(242, 234, 217, .92);
}

/* средна зона: марка + колони с връзки */
.footer__mid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(30px, 4vw, 70px);
  padding: clamp(44px, 5vw, 70px) 0;
  border-top: 1px solid rgba(242, 234, 217, .1);
}
.footer .logo { color: var(--dark-ink); margin: 0 0 18px; }
.footer__blurb { font-size: 14.5px; line-height: 1.65; color: rgba(242, 234, 217, .65); max-width: 34ch; }
.footer__inv { margin-top: 26px; }
.footer__mid .footer__contacts { margin-top: 0; }
.footer__social { display: flex; gap: 10px; margin-top: 26px; }
.footer__social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 234, 217, .18);
  color: rgba(242, 234, 217, .8);
  transition: all .3s;
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #16120c; transform: translateY(-3px); }

.footer h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242, 234, 217, .5);
  margin-bottom: 20px;
}
.footer__nav ul { list-style: none; display: grid; gap: 11px; }
.footer__nav a, .footer__contacts a {
  text-decoration: none;
  font-size: 15px;
  color: rgba(242, 234, 217, .85);
  transition: color .25s;
}
.footer__nav a:hover, .footer__contacts a:hover { color: var(--accent); }
.footer__contacts { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.footer__contacts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(242, 234, 217, .85); }
.footer__contacts .icon { color: var(--accent); margin-top: 3px; }

/* form */
.form-card {
  padding: clamp(26px, 3vw, 38px);
  border-radius: 22px;
  background: rgba(242, 234, 217, .05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 234, 217, .12);
}
.form-card h4 { color: var(--dark-ink); font-size: 20px; letter-spacing: 0; text-transform: none; margin-bottom: 6px; }
.form-card .fs { font-size: 13.5px; color: rgba(242, 234, 217, .6); margin-bottom: 22px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgroup { display: grid; gap: 7px; }
.fgroup--full { grid-column: 1 / -1; }
.fgroup label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(242, 234, 217, .65); }
.fgroup input, .fgroup textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(242, 234, 217, .16);
  background: rgba(16, 13, 10, .5);
  color: var(--dark-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .3s, box-shadow .3s;
}
.fgroup input:focus, .fgroup textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(213, 149, 60, .18);
}
.fgroup textarea { resize: vertical; min-height: 96px; }
.fgroup .err { font-size: 12.5px; color: #E08A6D; display: none; }
.fgroup.has-err input, .fgroup.has-err textarea { border-color: #C96A48; }
.fgroup.has-err .err { display: block; }

.fconsent {
  grid-column: 1 / -1;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(242, 234, 217, .65);
  cursor: pointer;
}
.fconsent input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: none;
}
.fconsent.has-err { color: #E08A6D; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.form-success .icon {
  width: 54px; height: 54px;
  color: var(--accent);
  margin: 0 auto 18px;
}
.form-success .ti { font-family: var(--font-display); font-weight: 800; font-size: 23px; }
.form-success p { font-size: 14.5px; color: rgba(242, 234, 217, .7); margin-top: 8px; }
.contact-form.is-done form { display: none; }
.contact-form.is-done .form-success { display: block; }

.footer__watermark {
  display: block;
  margin-top: clamp(30px, 4vw, 50px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(90px, 18.5vw, 300px);
  line-height: .78;
  text-align: center;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 234, 217, .14);
  -webkit-mask-image: linear-gradient(180deg, #000 15%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 15%, transparent 100%);
  user-select: none;
  pointer-events: none;
  transform: translateY(8%);
}
.footer__bar {
  border-top: 1px solid rgba(242, 234, 217, .1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(242, 234, 217, .5);
}
.footer__bar a { color: inherit; text-decoration: none; }
.footer__bar a:hover { color: var(--accent); }

@media (max-width: 1060px) {
  .footer__cta-row { grid-template-columns: 1fr; }
  .footer__mid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fgrid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer__mid { grid-template-columns: 1fr; }
}

/* ── Responsive nav ────────────────────────────────────────── */

@media (max-width: 1500px) {
  .nav__links { display: none; }
  .burger { display: block; }
}
@media (max-width: 640px) {
  .nav__inner > .btn--primary { display: none; }
  .nav__inner { gap: 14px; }
}
@media (min-width: 1501px) {
  .mobile-menu { display: none; }
}

/* ── Back to top ───────────────────────────────────────────── */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease-out), background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #16120c; }
