:root {
  /* Champagne Estate — премиальная палитра недвижимости */
  --ink: #1a1714;
  --milk: #faf7f2;
  --warm: #f5efe6;
  --stone: #8a8378;
  --stone-light: #e5ddd2;

  --accent: #b8935f;
  --accent-dark: #96784a;
  --accent-deep: #5c4528;
  --accent-glow: rgba(184, 147, 95, 0.42);

  --gold: #d4b87a;
  --gold-light: #e9d4a8;
  --gold-glow: rgba(212, 184, 122, 0.3);

  --night: #1c1815;
  --night-soft: #2a241e;
  --night-deep: #120f0d;

  /* Совместимость со старыми именами */
  --pine: var(--accent);
  --pine-dark: var(--accent-dark);
  --pine-glow: var(--accent-glow);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 5rem;
  --header-pad: 1rem;
  --section-pad: clamp(5rem, 10vw, 9rem);
}

::selection {
  background: rgba(184, 147, 95, 0.28);
  color: var(--ink);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--milk);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1240px; margin: 0 auto; padding-inline: 1.5rem; }

/* ─── Typography ─── */
.overline {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.overline--light { color: rgba(247, 245, 240, 0.55); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1rem; letter-spacing: -0.01em; }

.lead { font-size: 1.125rem; color: var(--stone); max-width: 38rem; line-height: 1.7; }
.prose { max-width: 42rem; font-size: 1.05rem; }
.prose p + p { margin-top: 1rem; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), background 0.3s, box-shadow 0.4s, color 0.3s;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--milk);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 12px rgba(92, 69, 40, 0.2);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px var(--accent-glow);
}
.btn--glow:hover { box-shadow: 0 12px 40px var(--accent-glow); }
.btn--outline-light { border-color: rgba(247, 245, 240, 0.45); color: var(--milk); backdrop-filter: blur(4px); }
.btn--outline-light:hover { background: var(--milk); color: var(--ink); transform: translateY(-2px); }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }

.link-arrow { color: var(--accent-dark); font-weight: 500; font-size: 0.9rem; }
.link-arrow--animated { transition: gap 0.3s var(--ease-out); display: inline-flex; align-items: center; gap: 0.25rem; }
.link-arrow--animated:hover { gap: 0.6rem; }

/* ─── Header (premium floating) ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: var(--header-pad) var(--header-pad) 0;
  pointer-events: none;
  transition: padding 0.5s var(--ease-out), transform 0.45s var(--ease-out);
}
.header > * { pointer-events: auto; }

.header__shell {
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 0.55s var(--ease-out), border-color 0.55s, box-shadow 0.55s, border-radius 0.55s, backdrop-filter 0.55s;
}
.header--transparent .header__shell {
  background: transparent;
  border-color: transparent;
}
.header--scrolled .header__shell {
  background: rgba(247, 245, 240, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  border-color: rgba(232, 228, 220, 0.9);
  box-shadow: 0 8px 40px rgba(20, 20, 19, 0.08), 0 1px 0 rgba(255,255,255,0.6) inset;
  border-radius: 999px;
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0 0.5rem 0 0.75rem;
}
.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
  transition: opacity 0.3s;
}
.logo:hover { opacity: 0.85; }
.logo__mark {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  border-radius: 3px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--milk);
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease-spring);
}
.logo:hover .logo__mark { transform: rotate(-4deg) scale(1.04); }
.header--transparent .logo__mark {
  background: rgba(247, 245, 240, 0.12);
  border: 1px solid rgba(247, 245, 240, 0.25);
  backdrop-filter: blur(8px);
}
.header--scrolled .logo__mark {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: none;
}
.logo__word { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.4s;
}
.logo__tag {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 0.15rem;
  transition: color 0.4s, opacity 0.4s;
}
.header--transparent .logo__name,
.header--transparent .logo__tag,
.header--transparent .nav a,
.header--transparent .header__icon,
.header--transparent .header__phone { color: var(--milk); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
.header--transparent .nav a:not(.is-active) { opacity: 0.82; }
.header--scrolled .logo__name,
.header--scrolled .logo__tag,
.header--scrolled .nav a,
.header--scrolled .header__icon,
.header--scrolled .header__phone { color: var(--ink); }
.header--scrolled .logo__tag { opacity: 0.5; }
.header--scrolled .nav a:not(.is-active) { color: #555; }

/* Nav pill */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(20, 20, 19, 0.04);
  border: 1px solid rgba(20, 20, 19, 0.05);
  justify-self: center;
}
.header--transparent .nav {
  background: rgba(247, 245, 240, 0.08);
  border-color: rgba(247, 245, 240, 0.12);
}
.header--scrolled .nav {
  background: rgba(20, 20, 19, 0.04);
  border-color: rgba(20, 20, 19, 0.06);
}
.nav__glow {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  height: calc(100% - 0.6rem);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out), opacity 0.35s var(--ease-out);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
.header--scrolled .nav__glow { opacity: 1; }
.header--transparent .nav__glow {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.header--transparent .nav__glow.is-visible { opacity: 1; }
.nav a {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: color 0.3s, opacity 0.3s;
  white-space: nowrap;
}
.nav a.is-active { color: var(--milk) !important; opacity: 1 !important; font-weight: 600; }
.header--transparent .nav a.is-active { color: var(--milk) !important; }
.header--transparent .nav a.is-lit { color: var(--milk) !important; opacity: 1 !important; }
.nav a::after { display: none; }

/* Header actions */
.header__phone {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0 0.75rem;
  opacity: 0.85;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.header__phone:hover { opacity: 1; }
.header__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, transform 0.35s var(--ease-spring);
}
.header__icon svg { width: 1.1rem; height: 1.1rem; }
.header__icon:hover {
  background: rgba(20, 20, 19, 0.06);
  transform: scale(1.08);
}
.header--transparent .header__icon:hover { background: rgba(247, 245, 240, 0.12); }
.btn--header {
  padding: 0.6rem 1.25rem;
  font-size: 0.78rem;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--milk);
  border-radius: 999px;
  margin-left: 0.35rem;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, background 0.3s;
}
.btn--header:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-deep) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.header--transparent .btn--header {
  background: rgba(247, 245, 240, 0.12);
  border: 1px solid rgba(247, 245, 240, 0.35);
  backdrop-filter: blur(8px);
}
.header--transparent .btn--header:hover { background: var(--milk); color: var(--ink); }
.header--scrolled .btn--header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: none;
  color: var(--milk);
}

.badge {
  position: absolute; top: 0; right: 0;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%); color: #fff;
  font-size: 0.55rem;
  min-width: 0.95rem; height: 0.95rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.header--transparent .badge { background: var(--milk); color: var(--accent-dark); }

/* Burger */
.burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.burger.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Search panel */
.search-panel {
  position: absolute;
  left: var(--header-pad);
  right: var(--header-pad);
  top: calc(100% + 0.5rem);
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(247, 245, 240, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--stone-light);
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(20, 20, 19, 0.12);
  padding: 1.25rem 0;
  animation: searchIn 0.4s var(--ease-out);
}
@keyframes searchIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.search-panel__inner { padding: 0 1.5rem; }
.search-panel__label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.65rem;
}
.search-panel__field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--stone-light);
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-panel__field:focus-within {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px var(--pine-glow);
}
.search-panel__field svg { width: 1.1rem; height: 1.1rem; color: var(--stone); flex-shrink: 0; }
.search-panel__field input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: 1rem;
  background: transparent;
}
.search-panel__kbd {
  font-size: 0.65rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--stone-light);
  border-radius: 4px;
  color: var(--stone);
  font-family: inherit;
}
.search-panel__results { margin-top: 0.75rem; }

/* Nav drawer (mobile) */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.4s;
}
.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 19, 0.45);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s;
}
.nav-drawer.is-open .nav-drawer__backdrop { opacity: 1; }
.nav-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(100%, 22rem);
  height: 100%;
  background: var(--milk);
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
}
.nav-drawer.is-open .nav-drawer__panel { transform: none; }
.nav-drawer__overline {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2rem;
}
.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.nav-drawer__links a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--stone-light);
  transition: color 0.3s, padding-left 0.35s var(--ease-out);
}
.nav-drawer__links a:hover { color: var(--pine); padding-left: 0.5rem; }
.nav-drawer__cta { width: 100%; margin-top: 1.5rem; }

.icon-btn {
  padding: 0.5rem;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--milk);
  overflow: hidden;
  background: var(--night-deep);
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  pointer-events: none;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  transform: scale(1);
  transition: opacity 1.1s ease, transform 0.01s linear 1.1s;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1.045);
  transition: opacity 1.1s ease, transform 7s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__slide.is-active {
    transform: none;
    transition: opacity 0.35s ease;
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(12, 10, 8, 0.48) 0%, rgba(12, 10, 8, 0.28) 42%, rgba(12, 10, 8, 0.08) 78%, rgba(12, 10, 8, 0.04) 100%),
    linear-gradient(to top, rgba(12, 10, 8, 0.58) 0%, rgba(12, 10, 8, 0.18) 38%, rgba(12, 10, 8, 0.12) 100%);
}
.hero .overline {
  color: var(--gold-light);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.12em;
  line-height: 1.7;
  max-width: 38rem;
}
.hero__title,
.hero__brand-name,
.hero__lead,
.hero__after,
.hero__slogan,
.hero-stat strong,
.hero-stat span,
.hero__scroll {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}
.hero__lead {
  color: rgba(247, 245, 240, 0.96);
  opacity: 1;
  word-spacing: 0.04em;
}
.hero__title {
  word-spacing: 0.06em;
}
.hero__grain {
  display: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + var(--header-pad) + 2rem) 0 5.75rem;
  max-width: 38rem;
}
.hero__brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0 0 1rem;
}
.hero__brand-place {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
.hero__brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--milk);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.hero__title {
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin-bottom: 0.9rem;
  font-weight: 400;
  word-spacing: 0.06em;
}
.hero__title em {
  font-style: italic;
  color: rgba(247, 245, 240, 0.92);
}
.hero__lead {
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 28rem;
  color: rgba(247, 245, 240, 0.95);
  margin-bottom: 1.35rem;
  word-spacing: 0.04em;
}
.hero__lead p { margin: 0; }
.hero__lead p + p { margin-top: 0.75rem; }
.hero__after { display: none; }
.hero__cta { margin-bottom: 0; }
.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  pointer-events: auto;
}
.hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1px solid rgba(247, 245, 240, 0.65);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero__dot.is-active {
  background: var(--milk);
  transform: scale(1.15);
}
.section--promise {
  position: relative;
  background: #fff;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}
.promise {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}
.promise__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.55;
  will-change: transform;
}
.promise__orb--a {
  width: min(48vw, 22rem);
  height: min(48vw, 22rem);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.28), transparent 70%);
}
.promise__orb--b {
  width: min(40vw, 16rem);
  height: min(40vw, 16rem);
  bottom: 4%;
  left: -6%;
  background: radial-gradient(circle, rgba(42, 52, 64, 0.1), transparent 72%);
}
.promise__label {
  opacity: 0;
  transform: translateY(18px) rotate(-2deg);
  transition: opacity 0.7s var(--ease-out), transform 0.85s var(--ease-out);
}
.promise.is-on .promise__label {
  opacity: 1;
  transform: none;
}
.promise__text {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.promise__text p { margin: 0; }
.promise__text p + p { margin-top: 1rem; color: var(--stone); font-size: 1.02rem; }
.promise__line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.promise__text p:first-child {
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.promise__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(115%) rotateX(55deg) rotateZ(-4deg);
  transform-origin: 50% 100%;
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--w, 0) * 38ms + var(--line, 0) * 90ms);
  will-change: transform, opacity;
}
.promise.is-on .promise__word {
  opacity: 1;
  transform: none;
}
.promise__rule {
  height: 1px;
  margin: 1.75rem 0 1.5rem;
  background: transparent;
  overflow: hidden;
}
.promise__rule span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--stone-light);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}
.promise.is-on .promise__rule span {
  transform: scaleX(1);
}
.promise__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 0.25rem;
  perspective: 900px;
}
.promise__stat {
  opacity: 0;
  transform: translateY(36px) rotateX(28deg) rotateY(calc((var(--i, 0) - 1) * -10deg)) scale(0.92);
  transform-origin: 50% 120%;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(0.55s + var(--i, 0) * 0.14s);
  will-change: transform, opacity;
}
.promise.is-on .promise__stat {
  opacity: 1;
  transform: none;
}
.promise__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.1rem);
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.promise__stat span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}
.promise__stat.is-tilting {
  transition: transform 0.12s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .promise__label,
  .promise__word,
  .promise__stat,
  .promise__rule span {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .promise__orb { display: none; }
}
.hero__title-line { display: block; }
.hero__slogan {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  opacity: 0.88;
  margin: 1.25rem 0 2.25rem;
  max-width: 32rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 0.5rem; }
.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 245, 240, 0.15);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat span { font-size: 0.75rem; letter-spacing: 0.06em; word-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(247, 245, 240, 0.78);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s, opacity 0.3s;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}
.hero__scroll:hover { color: var(--milk); }
.hero__scroll-arrow {
  width: 1.15rem;
  height: 1.15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease-in-out infinite;
}
.hero__scroll-line {
  display: none;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: 1; }
  50% { transform: translateY(6px) rotate(45deg); opacity: 0.55; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* Hero entrance */
.hero__line { opacity: 0; transform: translateY(28px); }
.hero.is-loaded .hero__line {
  animation: fadeUp 1s var(--ease-out) forwards;
}
.hero.is-loaded .hero__line[data-reveal-delay="1"] { animation-delay: 0.15s; }
.hero.is-loaded .hero__line[data-reveal-delay="2"] { animation-delay: 0.3s; }
.hero.is-loaded .hero__line[data-reveal-delay="3"] { animation-delay: 0.45s; }
.hero.is-loaded .hero__line[data-reveal-delay="4"] { animation-delay: 0.6s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Marquee ─── */
.marquee {
  overflow: hidden;
  background: var(--night);
  color: var(--milk);
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(212, 184, 122, 0.15);
}
.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 35s linear infinite;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.marquee__track span:nth-child(even) { opacity: 0.35; font-size: 1rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Sections ─── */
.section { padding: 6rem 0; position: relative; }
.section--white { background: #fff; }
.section--muted { background: #f0ece4; }
.section--dark { background: var(--ink); color: var(--milk); }
.section--intro { padding-top: 5rem; }
.section-intro { margin-bottom: 3.5rem; max-width: 36rem; }
.section-intro--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; gap: 2rem; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ─── Location cards ─── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.location-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  display: block;
  color: var(--milk);
}
.location-card__img {
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease-out);
}
.location-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 19, 0.88) 0%, rgba(20, 20, 19, 0.2) 60%, transparent 100%);
  transition: opacity 0.5s;
}
.location-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.75rem;
  transform: translateY(0);
  transition: transform 0.5s var(--ease-out);
}
.location-card__num {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  opacity: 0.5;
  display: block;
  margin-bottom: 0.5rem;
}
.location-card h3 { font-size: 1.65rem; margin-bottom: 0.35rem; }
.location-card p { font-size: 0.85rem; opacity: 0.75; line-height: 1.5; }
.location-card__arrow {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.25rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.location-card:hover .location-card__img { transform: scale(1.08); }
.location-card:hover .location-card__body { transform: translateY(-4px); }
.location-card:hover .location-card__arrow { opacity: 1; transform: translateX(0); }

/* ─── Project cards ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.projects-grid--home { gap: 1.75rem; }
.project-card {
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--stone-light);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.project-card:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0)) translateY(-6px);
  box-shadow: 0 24px 60px rgba(20, 20, 19, 0.12);
}
.project-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--stone-light);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}
.project-card__body { padding: 1.35rem 1.5rem 1.5rem; }
.project-card__loc {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone);
}
.project-card h3 { font-size: 1.45rem; margin: 0.35rem 0 0.5rem; transition: color 0.3s; }
.project-card:hover h3 { color: var(--pine); }
.project-card p { font-size: 0.875rem; color: var(--stone); margin-bottom: 1rem; line-height: 1.55; }
.project-card__footer { display: flex; justify-content: space-between; align-items: center; }
.project-card__price { font-size: 0.875rem; color: var(--pine); font-weight: 500; }
.project-card__arrow {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--stone-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-spring);
}
.project-card:hover .project-card__arrow {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: var(--pine);
  color: var(--milk);
  transform: rotate(-45deg);
}
.project-card--wide { grid-column: span 2; }
.project-card--wide .project-card__media { aspect-ratio: 16/9; }
.project-card--wide h3 { font-size: 1.85rem; }

/* ─── Category blocks ─── */
.section--categories { padding: 5rem 0; background: var(--ink); }
.section--categories .overline,
.section--categories h2 { color: var(--milk); }
.section--categories .overline { opacity: 0.5; }
.categories--visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.category-block {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  color: var(--milk);
  display: block;
}
.category-block__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease-out);
}
.category-block__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 19, 0.9) 0%, rgba(20, 20, 19, 0.35) 100%);
  transition: background 0.5s;
}
.category-block__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}
.category-block h3 { font-size: 1.75rem; margin-bottom: 0.35rem; }
.category-block p { font-size: 0.8rem; opacity: 0.7; margin-bottom: 1rem; }
.category-block__link {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.category-block:hover .category-block__bg { transform: scale(1.1); }
.category-block:hover .category-block__overlay {
  background: linear-gradient(to top, rgba(92, 69, 40, 0.92) 0%, rgba(150, 115, 70, 0.45) 100%);
}
.category-block:hover .category-block__link { opacity: 1; transform: translateY(0); }

/* ─── Quote ─── */
.section--quote { padding: 4rem 0; background: var(--warm); }
.big-quote {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
}
.big-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--accent-deep);
}
.big-quote footer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ─── Blog ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.blog-card {
  padding: 2rem;
  border: 1px solid var(--stone-light);
  border-radius: 3px;
  background: #fff;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.3s;
  display: block;
  position: relative;
  overflow: hidden;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  transition: height 0.5s var(--ease-out);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(20, 20, 19, 0.08);
  border-color: transparent;
}
.blog-card:hover::before { height: 100%; }
.blog-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--stone-light);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.4s;
}
.blog-card:hover .blog-card__num { color: var(--pine); opacity: 0.3; }
.blog-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; transition: color 0.3s; }
.blog-card:hover h3 { color: var(--pine); }
.blog-card p { font-size: 0.875rem; color: var(--stone); line-height: 1.6; }
.blog-card__read {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--pine);
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.blog-card:hover .blog-card__read { opacity: 1; transform: translateY(0); }

/* ─── CTA ─── */
.cta-section {
  position: relative;
  padding: 7rem 0;
  color: var(--milk);
  overflow: hidden;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  background:
  background: linear-gradient(135deg, var(--night-deep) 0%, var(--night) 50%, var(--night-soft) 100%);
  animation: ctaShift 12s ease-in-out infinite alternate;
}
@keyframes ctaShift {
  from { filter: hue-rotate(0deg) brightness(1); }
  to { filter: hue-rotate(8deg) brightness(1.05); }
}
.cta-section__inner { position: relative; max-width: 44rem; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.cta-section__text { font-size: 1.1rem; opacity: 0.8; line-height: 1.7; margin-bottom: 2.5rem; }
.cta-section__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ─── Page hero (inner pages) ─── */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  background: linear-gradient(180deg, #fff 0%, var(--milk) 100%);
}
.project-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  color: var(--milk);
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
}
.project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 19, 0.85), rgba(20, 20, 19, 0.2));
}
.project-hero .container { position: relative; }

.location-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: var(--milk);
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
}
.location-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.78) 0%, rgba(12, 10, 8, 0.35) 55%, rgba(12, 10, 8, 0.2) 100%),
    linear-gradient(to top, rgba(12, 10, 8, 0.88) 0%, rgba(12, 10, 8, 0.25) 55%);
}
.location-hero .container { position: relative; z-index: 1; }
.location-hero h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.location-hero__lead {
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(247, 245, 240, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  margin-top: 0.75rem;
}
.location-about {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.location-about__aside {
  padding: 1.75rem;
  background: var(--warm);
  border-radius: 4px;
}
.location-about__aside p { color: var(--stone); line-height: 1.65; margin-bottom: 1.25rem; }
@media (max-width: 800px) {
  .location-about { grid-template-columns: 1fr; gap: 1.5rem; }
}
.breadcrumbs { font-size: 0.8rem; opacity: 0.7; margin-bottom: 1rem; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ─── Filters ─── */
.filters { margin-bottom: 2rem; }
.filters__cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.filter-pill {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--stone-light);
  border-radius: 2px;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease-out);
}
.filter-pill.active,
.filter-pill:hover {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--milk);
  border-color: var(--pine);
  transform: translateY(-1px);
}
.filters__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 1rem; }
.filters__grid select { padding: 0.55rem; border: 1px solid var(--stone-light); border-radius: 2px; font: inherit; }

/* ─── Misc pages ─── */
.facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2rem; }
.facts-grid--project { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.project-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.project-features__item p:last-child { color: var(--stone); line-height: 1.75; margin: 0; }
.dev-block h3 { margin: 0.5rem 0; }
.dev-block p { color: var(--stone); max-width: 40rem; }
.facts-grid .label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--stone); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; transition: transform 0.5s var(--ease-out); }
.gallery img:hover { transform: scale(1.02); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--stone-light); }
.map-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 3px; margin-bottom: 0.5rem; }
.form-block { max-width: 28rem; }
.form-block input, .form-block textarea {
  width: 100%;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--stone-light);
  border-radius: 2px;
  font: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-block input:focus, .form-block textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px var(--pine-glow);
}
.hp { position: absolute; opacity: 0; height: 0; width: 0; pointer-events: none; }
.form-msg { font-size: 0.875rem; margin-top: 0.5rem; }
.form-msg.ok { color: var(--pine); }
.form-msg.err { color: #b00; }
.empty-state { text-align: center; padding: 4rem 0; color: var(--stone); }
.empty-state h3 { margin-bottom: 0.6rem; color: var(--ink); }
.empty-state p { max-width: 32rem; margin: 0 auto 1.25rem; }

/* ─── Team / dev / contact ─── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.team-card {
  padding: 2rem;
  border: 1px solid var(--stone-light);
  background: #fff;
  border-radius: 3px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); }
.team-card__role { color: var(--pine); font-size: 0.875rem; margin: 0.25rem 0 1rem; }
.dev-card {
  padding: 1.5rem;
  border: 1px solid var(--stone-light);
  border-radius: 3px;
  background: #fff;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.dev-card:hover { transform: translateY(-3px); border-color: var(--pine); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.search-form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.search-form input { flex: 1; padding: 0.75rem; border: 1px solid var(--stone-light); border-radius: 2px; }

/* Legacy category grid (other pages) */
.categories:not(.categories--visual) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.category-block:not(.categories--visual .category-block) {
  padding: 1.5rem;
  border: 1px solid var(--stone-light);
  border-radius: 3px;
  background: #fff;
  transition: border-color 0.3s, transform 0.3s;
}
.category-block:not(.categories--visual .category-block):hover { border-color: var(--pine); transform: translateY(-2px); }

/* ─── Footer v9 (premium wow) ─── */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--milk);
  margin-top: 0;
}

/* Hero CTA band */
.footer__hero {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0 0;
  background: linear-gradient(165deg, var(--night-deep) 0%, var(--night) 45%, var(--night-soft) 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(196, 165, 116, 0.15);
}
.footer__hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: footerOrb 12s ease-in-out infinite alternate;
}
.footer__hero-orb--1 {
  width: 420px; height: 420px;
  top: -120px; right: -80px;
  background: rgba(184, 147, 95, 0.35);
}
.footer__hero-orb--2 {
  width: 300px; height: 300px;
  bottom: 0; left: -60px;
  background: rgba(196, 165, 116, 0.12);
  animation-delay: -4s;
}
@keyframes footerOrb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(20px, -15px) scale(1.08); }
}
.footer__hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.footer__hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
  padding-bottom: 3rem;
}
.footer__eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer__hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.footer__hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--milk) 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer__hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 32rem;
}
.footer__hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
  min-width: min(100%, 20rem);
}
.footer__phone {
  text-align: right;
  transition: opacity 0.3s;
}
.footer__phone:hover { opacity: 0.8; }
.footer__phone-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.35rem;
}
.footer__phone-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.footer__hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
.footer__hero-stats {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}
.footer__hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.footer__stat {
  padding: 1.5rem 0;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__stat:last-child { border-right: none; }
.footer__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: var(--gold);
}
.footer__stat span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
}

/* Main body */
.footer__body {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
}
.footer__watermark {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 10rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(247, 245, 240, 0.025);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}
.footer__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  transition: opacity 0.3s;
}
.footer__logo:hover { opacity: 0.8; }
.footer__logo-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: 1px solid rgba(196, 165, 116, 0.25);
  border-radius: 6px;
  color: var(--milk);
}
.footer__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.footer__logo-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer__logo-tag {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-top: 0.2rem;
}
.footer__desc {
  font-size: 0.9rem;
  line-height: 1.75;
  opacity: 0.6;
  max-width: 26rem;
  margin-bottom: 1.5rem;
}
.footer__socials {
  display: flex;
  gap: 0.5rem;
}
.footer__social {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(247, 245, 240, 0.12);
  background: rgba(247, 245, 240, 0.04);
  transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease-spring);
}
.footer__social svg,
.footer__social img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.footer__social { padding: 0; overflow: hidden; }
.footer__social:hover { transform: translateY(-3px); }
.footer__social--tg:hover { background: rgba(42, 171, 238, 0.25); border-color: #2AABEE; }
.footer__social--max:hover { background: rgba(108, 92, 231, 0.25); border-color: #6C5CE7; }
.footer__social--phone:hover { background: rgba(34, 197, 94, 0.25); border-color: #22C55E; }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}
.footer__col h4 {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1.1rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 0.5rem; }
.footer__col a {
  font-size: 0.88rem;
  color: rgba(247, 245, 240, 0.65);
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.footer__col a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out), margin 0.3s;
  flex-shrink: 0;
}
.footer__col a:hover {
  color: var(--milk);
}
.footer__col a:hover::before {
  width: 0.75rem;
  margin-right: 0.5rem;
}

.footer__contact-card {
  padding: 1.75rem;
  border-radius: 8px;
  background: rgba(247, 245, 240, 0.04);
  border: 1px solid rgba(247, 245, 240, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}
.footer__contact-card h4 {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer__contact-email {
  display: block;
  font-size: 0.9rem;
  color: var(--milk);
  margin-bottom: 0.5rem;
  word-break: break-all;
  transition: color 0.3s;
}
.footer__contact-email:hover { color: var(--gold); }
.footer__address {
  font-size: 0.82rem;
  opacity: 0.5;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.footer__form input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(247, 245, 240, 0.12);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--milk);
  font: inherit;
  font-size: 0.85rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.footer__form input::placeholder { color: rgba(247, 245, 240, 0.35); }
.footer__form input:focus {
  outline: none;
  border-color: rgba(196, 165, 116, 0.5);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.12);
}
.footer__form .btn { width: 100%; margin-top: 0.25rem; }
.footer__form .form-msg { font-size: 0.8rem; margin-top: 0.5rem; color: rgba(247, 245, 240, 0.6); }
.footer__form .form-msg.ok { color: #7dcea0; }

/* Footer marquee */
.footer__marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 0;
  background: rgba(0, 0, 0, 0.3);
}
.footer__marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: footerMarquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  opacity: 0.35;
  white-space: nowrap;
}
.footer__marquee-track span:nth-child(even) { opacity: 0.4; font-size: 0.85rem; }
@keyframes footerMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.footer__bottom {
  padding: 1.25rem 0 1.75rem;
  background: rgba(0, 0, 0, 0.35);
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  opacity: 0.45;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: inherit; transition: opacity 0.3s, color 0.3s; }
.footer__legal a:hover { opacity: 1; color: var(--milk); }
.footer__note { font-style: italic; }

/* Space for floating contact dock on mobile */
@media (max-width: 900px) {
  .footer__bottom { padding-bottom: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .footer__hero-orb,
  .footer__marquee-track { animation: none; }
}

/* No magnetic/transform conflicts in footer */
.footer .btn--magnetic { transform: none !important; }
.footer .btn:hover { transform: translateY(-2px); }
.footer a.footer__social:hover { transform: translateY(-3px); }


/* ─── Contact dock (Telegram / MAX / Phone) ─── */
.contact-dock {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}
.contact-dock__btn {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  overflow: visible;
}
.contact-dock__disc {
  position: relative;
  width: 3.35rem;
  height: 3.35rem;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}
.contact-dock__btn:hover .contact-dock__disc {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.contact-dock__logo {
  position: relative;
  z-index: 1;
  width: 3.35rem;
  height: 3.35rem;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.contact-dock__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(42, 171, 238, 0.18);
  pointer-events: none;
  animation: dockRipple 3.2s ease-out infinite;
}
.contact-dock__btn--telegram .contact-dock__ring { border-color: rgba(42, 171, 238, 0.55); box-shadow: none; }
.contact-dock__btn--max .contact-dock__ring { border-color: rgba(71, 26, 255, 0.45); box-shadow: none; }
.contact-dock__btn--phone .contact-dock__ring { border-color: rgba(52, 199, 89, 0.55); box-shadow: none; }
.contact-dock__ring--delay { animation-delay: 1.6s; }
.contact-dock__btn--max .contact-dock__ring { animation-delay: 0.45s; }
.contact-dock__btn--max .contact-dock__ring--delay { animation-delay: 2.05s; }
.contact-dock__btn--phone .contact-dock__ring { animation-delay: 0.9s; }
.contact-dock__btn--phone .contact-dock__ring--delay { animation-delay: 2.5s; }
@keyframes dockRipple {
  0% { transform: scale(1); opacity: 0.5; }
  70% { opacity: 0.12; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-dock__ring { animation: none; display: none; }
}
.contact-dock__label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  transition: max-width 0.4s var(--ease-out), opacity 0.3s, margin 0.4s, padding 0.4s;
}
.contact-dock__btn:hover .contact-dock__label {
  max-width: 8rem;
  opacity: 1;
  margin-right: 0.55rem;
  padding: 0.35rem 0.75rem;
}

/* Contact page channels */
.contact-channels { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  border: 1px solid var(--stone-light);
  background: #fff;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
}
.contact-channel:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}
.contact-channel__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-channel__icon { background: transparent; padding: 0; }
.contact-channel__icon img { width: 3rem; height: 3rem; border-radius: 50%; display: block; }
.contact-channel--telegram .contact-channel__icon,
.contact-channel--phone .contact-channel__icon,
.contact-channel--max .contact-channel__icon { background: transparent; padding: 0; }
.contact-channel__text { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-channel__text strong { font-size: 1rem; font-weight: 600; }
.contact-channel__text small { font-size: 0.82rem; color: var(--stone); }

/* ─── Loader ─── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--night-deep);
  color: var(--milk);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.page-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader__logo { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.06em; }
.page-loader__line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loaderLine 1.2s ease-in-out infinite;
}
@keyframes loaderLine {
  0%, 100% { transform: scaleX(0.3); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* Logo tagline — see header block */

.hero__title em { font-style: italic; color: rgba(247, 245, 240, 0.95); }

/* ─── Magnetic buttons ─── */
.btn--magnetic { will-change: transform; }
.btn--magnetic span { position: relative; z-index: 1; }
.btn--magnetic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}
.btn--magnetic:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(0.97) !important; }

/* ─── Mission ─── */
.mission {
  padding: 5rem 0;
  background: #fff;
  border-bottom: 1px solid var(--stone-light);
}
.mission__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.mission__cards { display: grid; gap: 1rem; }
.mission-card {
  padding: 1.75rem;
  border: 1px solid var(--stone-light);
  border-radius: 3px;
  background: var(--warm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
}
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(92, 69, 40, 0.12);
  border-color: var(--gold);
}
.mission-card__icon {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--pine);
  opacity: 0.5;
  display: block;
  margin-bottom: 0.75rem;
}
.mission-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.mission-card p { font-size: 0.9rem; color: var(--stone); line-height: 1.6; }
.mission-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--pine);
  font-weight: 500;
  transition: gap 0.3s;
}

/* ─── Location explorer ─── */
.section--explorer { background: var(--milk); }
.location-explorer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  margin-bottom: 3rem;
  min-height: 420px;
}
.location-explorer__visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 380px;
  background: var(--night-deep);
}
.location-explorer__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease-out), transform 1.2s var(--ease-out);
}
.location-explorer__img.is-active { opacity: 1; transform: scale(1); }
.location-explorer__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,19,0.5), transparent 50%);
  pointer-events: none;
}
.location-explorer__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}
.location-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.location-tab {
  padding: 0.55rem 1rem;
  border: 1px solid var(--stone-light);
  background: #fff;
  border-radius: 2px;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}
.location-tab:hover { border-color: var(--pine); color: var(--pine); }
.location-tab.is-active {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: var(--pine);
  color: var(--milk);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--pine-glow);
}
.location-panel { display: none; animation: fadeIn 0.5s var(--ease-out); }
.location-panel.is-active { display: block; }
.location-panel h3 { font-size: 2rem; margin-bottom: 0.75rem; }
.location-panel p { color: var(--stone); line-height: 1.7; margin-bottom: 1.5rem; max-width: 28rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.locations-grid--compact { margin-top: 0; }
.location-card--compact { aspect-ratio: 4/3; }

.section-head__sub { margin-top: 0.5rem; font-size: 0.95rem; }

/* ─── Process ─── */
.section--process { background: var(--ink); color: var(--milk); }
.process { max-width: 52rem; }
.process .overline { color: rgba(247,245,240,0.5); }
.process h2 { margin-bottom: 2rem; }
.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  counter-reset: step;
}
.process__steps li {
  padding: 1.25rem;
  border: 1px solid rgba(247,245,240,0.12);
  border-radius: 3px;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.process__steps li:hover { border-color: rgba(247,245,240,0.35); transform: translateY(-3px); }
.process__steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.process__steps span { font-size: 0.82rem; opacity: 0.65; line-height: 1.5; }

/* ─── CTA with photo ─── */
.cta-section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-section__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 23, 20, 0.92), rgba(92, 69, 40, 0.78));
}
.cta-section .cta-section__bg { animation: none; }

/* ─── About ─── */
.page-hero--about { background: linear-gradient(180deg, #fff, var(--warm)); }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start; }
.about-grid h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.about-values { display: grid; gap: 1rem; }
.about-value {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--stone-light);
  border-radius: 3px;
}
.about-value strong { display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.35rem; }
.about-value p { font-size: 0.88rem; color: var(--stone); }
.cta-inline { text-align: center; }
.cta-inline h2 { margin-bottom: 1.5rem; }

/* ═══ Modern JS UI ═══ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-dark), var(--gold), var(--accent));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 300;
  pointer-events: none;
}
.header--hidden { transform: translateY(-120%); }

/* Toast */
.toast-stack {
  position: fixed;
  bottom: 13rem;
  right: 1.5rem;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  padding: 0.85rem 1.25rem;
  background: var(--ink);
  color: var(--milk);
  font-size: 0.85rem;
  border-radius: 3px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.toast.is-show { opacity: 1; transform: none; }
.toast--err { background: #6b2020; }

/* Ripple */
.btn { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple 0.65s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(2.5); opacity: 0; } }
.btn.is-loading { opacity: 0.7; pointer-events: none; }

/* Split text */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em);
}
.hero.is-loaded .split-word {
  animation: splitIn 0.85s var(--ease-out) forwards;
  animation-delay: calc(0.35s + var(--d, 0s));
}
@keyframes splitIn { to { opacity: 1; transform: none; } }

/* Stagger grid */
.stagger-in {
  animation: staggerIn 0.75s var(--ease-out) forwards;
  animation-delay: var(--stagger, 0s);
  opacity: 0;
  transform: translateY(24px);
}
@keyframes staggerIn { to { opacity: 1; transform: none; } }

/* Image blur-up */
.img-reveal {
  filter: blur(12px);
  transform: scale(1.04);
  transition: filter 0.8s var(--ease-out), transform 1s var(--ease-out);
}
.img-reveal.is-loaded { filter: blur(0); transform: none; }

/* 3D tilt cards */
.project-card, .mission-card {
  transform: perspective(900px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
  transition: transform 0.15s ease-out, box-shadow 0.45s;
}

/* Search */
.search-dropdown.is-open { animation: slideDown 0.35s var(--ease-out); }
.search-hit {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--stone-light);
  transition: padding-left 0.3s var(--ease-out), color 0.2s;
}
.search-hit span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--stone); }
.search-hit:hover { padding-left: 0.5rem; color: var(--pine); }
.search-loading, .search-empty { font-size: 0.85rem; color: var(--stone); padding: 0.5rem 0; }

/* Badge pop */
.badge--pop { animation: badgePop 0.45s var(--ease-spring); }
@keyframes badgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* FAB menu — removed, use contact-dock */

body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .scroll-progress { display: none; }
  .toast-stack { right: 1rem; bottom: 11rem; }
  .contact-dock { bottom: 1rem; right: 1rem; gap: 0.75rem; }
  .contact-dock__disc,
  .contact-dock__logo { width: 3rem; height: 3rem; }
  .contact-dock__btn:hover .contact-dock__label { display: none; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .categories--visual { grid-template-columns: repeat(2, 1fr); }
  .project-card--wide { grid-column: span 2; }
  .mission__grid { grid-template-columns: 1fr; }
  .location-explorer { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .nav a { padding: 0.45rem 0.6rem; font-size: 0.72rem; }
  .header__phone { display: none; }
  .footer__layout { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact-card { grid-column: 1 / -1; max-width: 24rem; }
  .footer__hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__hero-aside { align-items: flex-start; }
  .footer__phone { text-align: left; }
  .footer__hero-btns { justify-content: flex-start; }
}

@media (max-width: 900px) {
  :root {
    --header-h: 4.35rem;
    --header-pad: 0.65rem;
  }
  .container { padding-inline: 1.1rem; }
  .header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem;
    padding: 0 0.25rem 0 0.4rem;
    min-height: var(--header-h);
  }
  .logo {
    gap: 0.5rem;
    min-width: 0;
    max-width: 100%;
  }
  .logo__mark {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.15rem;
    flex-shrink: 0;
  }
  .logo__word { min-width: 0; overflow: hidden; }
  .logo__name {
    font-size: 0.98rem;
    letter-spacing: 0.05em;
  }
  .logo__tag { display: none; }
  .header__actions {
    gap: 0.1rem;
    flex-shrink: 0;
  }
  .header__icon { width: 2.1rem; height: 2.1rem; }
  .burger { width: 2.25rem; height: 2.25rem; }
  .nav { display: none; }
  .burger { display: flex; color: inherit; }
  .hide-mobile { display: none; }
  .hero {
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + var(--header-pad) + 0.5rem);
  }
  .hero__content {
    padding-top: 0.5rem;
    padding-bottom: 4.5rem;
    max-width: 100%;
    width: 100%;
  }
  .hero__brand {
    margin-bottom: 0.75rem;
  }
  .hero__brand-place {
    font-size: 0.66rem;
    letter-spacing: 0.24em;
  }
  .hero__brand-name {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }
  .hero__title {
    max-width: 20ch;
    font-size: clamp(1.2rem, 4.8vw, 1.45rem);
    margin-bottom: 0.7rem;
  }
  .hero .overline {
    margin-bottom: 0.55rem;
    font-size: 0.64rem;
  }
  .hero__lead {
    font-size: 0.92rem;
    margin-bottom: 1.05rem;
    max-width: 22rem;
  }
  .hero__scroll {
    bottom: 0.85rem;
  }
  .hero__dots {
    bottom: 3.1rem;
  }
  .promise__stats { grid-template-columns: 1fr; gap: 1.15rem; }
  .promise__stat {
    transform: translateY(28px) rotateX(18deg) scale(0.96);
  }
  .promise__orb--a { right: -18%; top: -8%; }
  .promise__orb--b { left: -20%; }
  .contact-grid { grid-template-columns: 1fr; }
  .header--scrolled .header__shell { border-radius: 14px; }
  .search-panel__inner { padding: 0; }
  .footer__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
  .footer__contact-card { max-width: none; }
  .footer__hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; padding: 1rem 0; }
  .footer__stat { border: none; background: rgba(255,255,255,0.03); border-radius: 6px; padding: 1.25rem 0.75rem; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__watermark {
    font-size: clamp(2.4rem, 16vw, 5.5rem);
    letter-spacing: 0.04em;
    max-width: 100%;
    overflow: hidden;
  }
  .footer__logo-name { font-size: 1.05rem; }
  .plan-grid,
  .plan-grid--two,
  .gallery { grid-template-columns: 1fr; }
  .project-features { grid-template-columns: 1fr; }
  .table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .invest-growth { padding: 1.5rem 1.15rem; gap: 1.5rem; }
  .invest-growth__row { gap: 0.5rem; }
  .invest-split__media img {
    width: 100%;
    margin-left: 0;
    min-height: 260px;
    object-position: 70% center;
  }
  .invest-yield { padding: 1.35rem 1.15rem 1.25rem; }
  .invest-cover__stats { gap: 1rem 1.25rem; }
  .secondary-nav__item span { font-size: 1.1rem; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .location-hero,
  .project-hero { padding-left: 0; padding-right: 0; }
  .section-intro { margin-bottom: 2.25rem; }
}

@media (max-width: 640px) {
  :root { --header-pad: 0.5rem; }
  .container { padding-inline: 1rem; }
  .container.hero__content {
    padding-top: 0.5rem;
    padding-bottom: 4.5rem;
    padding-inline: 1rem;
  }
  .hero {
    padding-top: calc(var(--header-h) + var(--header-pad) + 0.5rem);
  }
  .section { padding: 3.5rem 0; }
  .locations-grid,
  .projects-grid,
  .categories--visual,
  .blog-grid { grid-template-columns: 1fr; }
  .project-card--wide { grid-column: span 1; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-stat strong { font-size: 1.35rem; }
  .cta-section__actions { flex-direction: column; }
  .cta-section__actions .btn { width: 100%; }
  .process__steps { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; gap: 2rem; }
  .footer__hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .footer__hero-btns { flex-direction: column; width: 100%; }
  .footer__hero-btns .btn { width: 100%; }
  .footer__phone-num { white-space: normal; }
  .editorial { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1rem; }
  .editorial--reverse .editorial__media { order: -1; }
  .editorial__body { padding: 0; }
  .section--editorial-compact .editorial { padding: 0 1rem; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .metrics__item strong { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .invest-grid { grid-template-columns: 1fr; }
  .invest-models { grid-template-columns: 1fr; }
  .invest-growth__row,
  .invest-cover__stats { grid-template-columns: 1fr; }
  .invest-pie__lbl { font-size: 0.8rem; }
  .invest-pie__lbl b { font-size: 1.1rem; }
  .facts-grid,
  .facts-grid--project { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .secondary-nav { grid-template-columns: 1fr; }
  .secondary-nav__item { min-height: 140px; }
  .filters__grid { grid-template-columns: 1fr; }
  .contact-dock { right: 0.75rem; bottom: 0.85rem; }
  .nav-drawer__panel { padding: 5.5rem 1.25rem 2rem; width: min(100%, 22rem); }
}

/* ═══ v8 Premium: Editorial, Metrics, Scroll Reveal ═══ */

.section { padding: var(--section-pad) 0; }

/* Metrics bar */
.section--metrics {
  padding: 4rem 0;
  background: var(--ink);
  color: var(--milk);
}
.section--metrics-dark {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-soft) 100%);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.metrics__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--milk) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metrics__item span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  line-height: 1.5;
}
.metrics__note {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.4;
  margin-top: 2rem;
  font-style: italic;
}
.metrics--light .metrics__item strong {
  background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Home photo mosaic */
.section--home-photos {
  padding: var(--section-pad) 0;
  background: var(--milk);
}
.home-photos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.home-photos--trio {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1rem;
}
.home-photos__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--stone-light);
  display: block;
  color: inherit;
  min-height: 200px;
}
.home-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.home-photos__item:hover img { transform: scale(1.04); }
.home-photos__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.75rem 1rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  background: linear-gradient(transparent, rgba(12, 10, 8, 0.88));
}
.home-photos--trio .home-photos__item {
  min-height: 380px;
  aspect-ratio: 3 / 4;
}
.home-photos--trio .home-photos__cap {
  text-transform: none;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.01em;
  line-height: 1.3;
  padding: 3.5rem 1.25rem 1.2rem;
  font-weight: 500;
}
.home-photos:not(.home-photos--trio) .home-photos__item--hero {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 460px;
}
.home-photos:not(.home-photos--trio) .home-photos__item:nth-child(2),
.home-photos:not(.home-photos--trio) .home-photos__item:nth-child(3) { grid-column: span 4; min-height: 220px; }
.home-photos:not(.home-photos--trio) .home-photos__item:nth-child(4),
.home-photos:not(.home-photos--trio) .home-photos__item:nth-child(5),
.home-photos:not(.home-photos--trio) .home-photos__item:nth-child(6) { grid-column: span 4; min-height: 240px; }
.home-photos:not(.home-photos--trio) .home-photos__item:nth-child(7),
.home-photos:not(.home-photos--trio) .home-photos__item:nth-child(8) { grid-column: span 6; min-height: 260px; }
.home-photos:not(.home-photos--trio) .home-photos__item:nth-child(n+9) { grid-column: span 3; min-height: 210px; }
.home-photos:not(.home-photos--trio) .home-photos__item:nth-child(n+13) { grid-column: span 6; min-height: 240px; }
.home-photos__cta {
  text-align: center;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .home-photos {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(160px, auto);
  }
  .home-photos--trio {
    grid-template-columns: 1fr;
  }
  .home-photos--trio .home-photos__item {
    min-height: 260px;
    aspect-ratio: 16 / 10;
    grid-column: auto;
  }
  .home-photos:not(.home-photos--trio) .home-photos__item--hero {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 260px;
  }
  .home-photos:not(.home-photos--trio) .home-photos__item:nth-child(n+2) {
    grid-column: span 1;
    min-height: 180px;
  }
}
@media (max-width: 520px) {
  .home-photos { grid-template-columns: 1fr; }
  .home-photos--trio { grid-template-columns: 1fr; }
  .home-photos__item--hero,
  .home-photos__item:nth-child(n) {
    grid-column: span 1;
    min-height: 220px;
  }
}

/* Editorial scroll sections */
.section--editorial {
  padding: 0;
  overflow: hidden;
}
.section--editorial-compact { padding: var(--section-pad) 0; }
.section--editorial-compact .editorial { padding: 0 1.5rem; max-width: 1240px; margin: 0 auto; }

.editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) 1.5rem;
}
.editorial--reverse { direction: rtl; }
.editorial--reverse > * { direction: ltr; }

.editorial__media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  background: var(--stone-light);
  will-change: transform;
}
.editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out);
}
.scroll-image.is-revealed img {
  opacity: 1;
  transform: scale(1);
}
.editorial__caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--milk);
  background: rgba(20, 20, 19, 0.55);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out) 0.8s, transform 0.6s var(--ease-out) 0.8s;
}
.scroll-image.is-revealed .editorial__caption {
  opacity: 1;
  transform: none;
}

.editorial__body {
  padding: clamp(2rem, 5vw, 5rem);
}
.editorial__body h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.editorial__body p {
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}
.editorial__body .link-arrow { margin-top: 0.5rem; }

/* Investment page */
.page-hero--invest {
  background: linear-gradient(160deg, var(--night-deep) 0%, var(--night) 100%);
  color: var(--milk);
  padding-bottom: 4rem;
}
.page-hero--invest .overline { color: var(--gold); opacity: 0.8; }
.page-hero--invest .lead { color: rgba(247, 245, 240, 0.75); max-width: 42rem; }

.invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.invest-grid__visual {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.invest-grid__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out);
}
.scroll-image.is-revealed img {
  opacity: 1;
  transform: scale(1);
}
.invest-grid h2 { margin-bottom: 1.5rem; }
.invest-grid .prose { margin-bottom: 2rem; }
.invest-grid .prose strong { color: var(--pine); }

.invest-models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.invest-model {
  padding: 2rem;
  border: 1px solid rgba(247, 245, 240, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.4s, transform 0.45s var(--ease-out), background 0.4s;
}
.invest-model:hover {
  border-color: rgba(196, 165, 116, 0.4);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
}
.invest-model__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  margin-bottom: 1rem;
}
.invest-model h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.invest-model p {
  font-size: 0.9rem;
  opacity: 0.65;
  line-height: 1.65;
}

/* Enhanced hero */
.hero-stat strong:not([data-count]) {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  display: block;
  margin-bottom: 0.25rem;
}

/* Parallax layers */
[data-parallax-layer] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Stagger grid enhanced */
[data-stagger-grid] > * {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
}
[data-stagger-grid] > *.stagger-in {
  animation: staggerIn 0.9s var(--ease-out) forwards;
  animation-delay: var(--stagger, 0s);
}
@keyframes staggerIn {
  to { opacity: 1; transform: none; }
}

/* Section dark */
.section--dark .overline--light { color: rgba(247, 245, 240, 0.45); }
.section--dark h2 { color: var(--milk); }

@media (max-width: 1024px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .editorial { grid-template-columns: 1fr; }
  .editorial--reverse { direction: ltr; }
  .editorial__body { padding: 2rem 0 0; }
  .invest-models { grid-template-columns: 1fr; }
}

/* ═══ Visual media: blog, team, developers ═══ */
.blog-grid--visual { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.blog-card--visual {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--stone-light);
  border-radius: 6px;
  background: #fff;
}
.blog-card--visual::before { display: none; }
.blog-card--visual .blog-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--stone-light);
}
.blog-card--visual .blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.blog-card--visual:hover .blog-card__media img { transform: scale(1.06); }
.blog-card--visual .blog-card__body { padding: 1.5rem; }
.blog-card--visual .blog-card__cat {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: block;
  margin-bottom: 0.5rem;
}
.blog-card--visual h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.blog-card--visual p { font-size: 0.875rem; color: var(--stone); }
.blog-card--visual .blog-card__read {
  opacity: 1;
  transform: none;
  margin-top: 1rem;
}

.blog-hero,
.developer-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  color: var(--milk);
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
}
.blog-hero__overlay,
.developer-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 15, 13, 0.92) 0%, rgba(18, 15, 13, 0.35) 60%, rgba(18, 15, 13, 0.2) 100%);
}
.blog-hero__inner,
.developer-hero__inner { position: relative; max-width: 44rem; }
.blog-hero h1,
.developer-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0.75rem 0; }

.team-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card {
  padding: 0;
  border: 1px solid var(--stone-light);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(92, 69, 40, 0.12);
}
.team-card__photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--stone-light);
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card h3 {
  font-size: 1.35rem;
  padding: 1.25rem 1.5rem 0;
}
.team-card__role { padding: 0 1.5rem; }
.team-card > p:not(.team-card__role) {
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: var(--stone);
  margin: 0.75rem 0;
}
.team-card__phone {
  display: block;
  padding: 0 1.5rem 1.5rem;
  color: var(--accent-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.section--home-team {
  background: #f7f4ef;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.home-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.home-team-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.home-team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: var(--stone-light);
  margin-bottom: 1.15rem;
}
.home-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.home-team-card:hover .home-team-card__photo img { transform: scale(1.04); }
.home-team-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.home-team-card p {
  font-size: 0.92rem;
  color: var(--accent-dark);
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 900px) {
  .home-team-grid { grid-template-columns: 1fr; max-width: 22rem; }
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dev-card {
  padding: 0;
  border: 1px solid var(--stone-light);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: block;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
}
.dev-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 16px 48px rgba(92, 69, 40, 0.1);
}
.dev-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--stone-light);
}
.dev-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.dev-card:hover .dev-card__img img { transform: scale(1.05); }
.dev-card__body { padding: 1.35rem 1.5rem 1.5rem; }
.dev-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.dev-card p { font-size: 0.88rem; color: var(--stone); margin-bottom: 0.75rem; }
.dev-card__count {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
}

.buy-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.buy-way {
  padding: 1.85rem 1.6rem 1.7rem;
  background: #fff;
  border: 1px solid var(--stone-light);
  border-radius: 6px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}
.buy-way:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(26, 23, 20, 0.06);
}
.buy-way__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.85rem;
  opacity: 0.75;
}
.buy-way h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}
.buy-way--compact h3 { margin-bottom: 0; }
.buy-way--wide { grid-column: span 3; }
.buy-way p {
  font-size: 0.92rem;
  color: var(--stone);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 900px) {
  .buy-ways { grid-template-columns: 1fr; }
  .buy-way--wide { grid-column: auto; }
}

.invest-know { max-width: 46rem; }
.invest-know h2 { margin-bottom: 1.1rem; }
.invest-know__list {
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: know;
}
.invest-know__list li {
  counter-increment: know;
  position: relative;
  padding: 0.85rem 0 0.85rem 3.4rem;
  border-top: 1px solid var(--stone-light);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.25;
}
.invest-know__list li:last-child { border-bottom: 1px solid var(--stone-light); }
.invest-know__list li::before {
  content: counter(know, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.9rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.invest-know__formula-lead { margin-bottom: 0.85rem; color: var(--stone); }
.invest-factors { display: grid; gap: 0.7rem; margin-bottom: 1.75rem; }
.invest-factors__row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.invest-chip {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  line-height: 1.3;
}
.invest-chip--plus { background: #edf4ea; color: #2f5a32; }
.invest-chip--minus { background: #f6ece8; color: #7a3b32; }
.invest-know__close {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 42rem;
}

.invest-growth {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 2.25rem;
  background: linear-gradient(145deg, #efe4d4 0%, #e4d5c0 55%, #dcc9ae 100%);
  border-radius: 12px;
  color: #5c4033;
}
.invest-growth__hero strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.invest-growth__hero span {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.05rem;
  max-width: 14rem;
  line-height: 1.4;
}
.invest-growth__label {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  opacity: 0.8;
}
.invest-growth__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.invest-growth__row b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
}
.invest-growth__row span { font-size: 0.78rem; opacity: 0.75; }
.invest-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.invest-split__media {
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  background: #1a1714;
}
.invest-split__media img {
  width: 200%;
  max-width: none;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: right center;
  display: block;
  margin-left: -100%;
}
.invest-bullets {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.invest-bullets li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.2rem;
  color: var(--stone);
  line-height: 1.55;
}
.invest-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.invest-note {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--stone);
  font-style: italic;
}
.invest-cover {
  position: relative;
  color: var(--milk);
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}
.invest-cover__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,10,8,0.78) 0%, rgba(12,10,8,0.45) 100%);
}
.invest-cover__inner { position: relative; z-index: 1; }
.invest-cover h2 { color: inherit; max-width: 22ch; }
.invest-cover__lead { max-width: 36rem; opacity: 0.88; margin: 1rem 0 2rem; }
.invest-cover--safety h2 { max-width: 22ch; margin-bottom: 2rem; }
.invest-cover--safety .invest-cover__shade {
  background: linear-gradient(180deg, rgba(12,10,8,0.72) 0%, rgba(12,10,8,0.58) 100%);
}
.invest-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}
.invest-cols h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.invest-cols--light { margin-top: 0; }
.invest-cols--light h3 { color: inherit; }
.invest-cols--light .invest-bullets li,
.invest-cols--light .invest-note { color: rgba(247, 245, 240, 0.88); }
.invest-cols--light .invest-bullets li::before { background: var(--gold, #c4a574); }
.invest-cover__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 2rem;
  max-width: 48rem;
}
.invest-cover__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.invest-cover__stats span { font-size: 0.88rem; opacity: 0.78; line-height: 1.45; }
.invest-market {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.invest-pie__chart {
  position: relative;
  width: min(300px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(#c4a574 0 40%, #8a8378 40% 65%, #d4c4b0 65% 85%, #b8aea2 85% 100%);
}
.invest-pie__lbl {
  position: absolute;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
  white-space: nowrap;
}
.invest-pie__lbl b { display: block; font-size: 1.35rem; font-weight: 600; }
.invest-pie__lbl--altai { left: 22%; top: 28%; }
.invest-pie__lbl--arkhyz { right: 14%; top: 28%; }
.invest-pie__lbl--sochi { right: 22%; bottom: 18%; }
.invest-banner {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--milk);
  text-align: center;
}
.invest-banner__shade {
  position: absolute;
  inset: 0;
  background: rgba(12,10,8,0.42);
}
.invest-banner__inner { position: relative; z-index: 1; }
.invest-banner h2 {
  color: inherit;
  font-size: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 800px) {
  .invest-growth,
  .invest-split,
  .invest-cols,
  .invest-market { grid-template-columns: 1fr; }
  .invest-growth__row,
  .invest-cover__stats { grid-template-columns: 1fr 1fr; }
}

.section--life { background: #fff; }
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}
.life-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--stone-light);
  aspect-ratio: 3 / 4;
}
.life-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.life-card:hover img { transform: scale(1.04); }
.life-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem 0.85rem;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
  background: linear-gradient(transparent, rgba(12,10,8,0.78));
}
.life-card:nth-child(1),
.life-card:nth-child(4) { grid-row: span 1; }
@media (max-width: 800px) {
  .life-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .life-grid { grid-template-columns: 1fr; }
  .life-card { aspect-ratio: 4 / 5; max-height: 520px; }
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--stone-light);
  border-radius: 8px;
  overflow: hidden;
}
.plan-card__media {
  position: relative;
  background: #f7f5f0;
  padding: 1rem;
}
.plan-card__media img {
  width: 100%;
  height: auto;
  display: block;
}
.plan-card__status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #e8f6e8;
  color: #2a6b2a;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.plan-card__body { padding: 1.35rem 1.4rem 1.5rem; }
.plan-card__city {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.35rem;
}
.plan-card__body h3 { font-size: 1.45rem; margin-bottom: 0.35rem; }
.plan-card__area { color: var(--stone); margin-bottom: 0.85rem; }
.plan-card__area span { opacity: 0.75; }
.plan-card__facts {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.plan-card__facts li {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  background: var(--milk);
  border: 1px solid var(--stone-light);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  color: var(--ink);
}
.plan-card__rooms {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--stone);
}
.plan-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.plan-card__foot strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}
.plan-card__media--night { background: #1a2418; }
.invest-lot__note {
  font-size: 0.88rem;
  color: var(--stone);
  margin: 0 0 1rem;
}
.invest-lot__prices {
  align-items: flex-end;
}
.invest-lot__prices em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.15rem;
}
.invest-lot__old {
  display: block;
  text-decoration: line-through;
  color: var(--stone);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.invest-lot__prices strong {
  display: block;
  font-size: 1.45rem;
  color: var(--accent-deep);
}
.invest-yield {
  margin-top: 2.5rem;
  padding: 2rem 2.1rem 1.6rem;
  background: #fff;
  border: 1px solid var(--stone-light);
  border-radius: 8px;
}
.invest-yield h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}
.invest-yield__top {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.75rem;
}
.invest-yield__meta {
  color: var(--stone);
  line-height: 1.6;
}
.invest-yield__visual {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}
.invest-yield__visual img {
  width: 100%;
  display: block;
}
.invest-yield__interior {
  border-radius: 12px;
  object-fit: cover;
  height: 100%;
  min-height: 180px;
}
.invest-yield__years {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--stone-light);
}
.invest-yield__years div {
  position: relative;
  padding-right: 0.6rem;
}
.invest-yield__years div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.15rem;
  top: 0.55rem;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--accent);
}
.invest-yield__years strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.invest-yield__years span {
  font-size: 0.75rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .plan-grid--two,
  .invest-yield__top,
  .invest-yield__visual { grid-template-columns: 1fr; }
  .invest-yield__years { grid-template-columns: repeat(2, 1fr); }
  .invest-yield__years div:not(:last-child)::after { display: none; }
}

.newbuild-offer {
  max-width: 40rem;
  padding: 2.5rem 0 0.5rem;
}
.newbuild-offer h2 { margin-bottom: 1rem; }
.newbuild-offer .lead { margin-bottom: 1.75rem; }
.newbuild-offer .lead strong {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section--tight { padding-top: 2.5rem; padding-bottom: 0; }
.secondary-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.secondary-nav__item {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
}
.secondary-nav__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}
.secondary-nav__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(12, 10, 8, 0.82));
}
.secondary-nav__item span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}
.secondary-nav__item:hover img { transform: scale(1.05); }
@media (max-width: 800px) {
  .secondary-nav { grid-template-columns: 1fr 1fr; }
  .secondary-nav__item { min-height: 150px; }
}

.footer__body {
  background-image: url('/assets/images/design/pattern-gold.svg');
  background-size: 400px 400px;
}

@media (max-width: 900px) {
  .team-grid,
  .dev-grid,
  .blog-grid--visual { grid-template-columns: 1fr; }
}
