/* =========================================================
   Everest-Land — Land & Real Estate
   ========================================================= */
:root {
  --bg: #0b0e13;
  --bg-2: #0f1318;
  --bg-3: #13171d;
  --card: #12161c;
  --card-2: #161b22;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f0e8;
  --muted: #a3a7ad;
  --muted-2: #7b8087;
  --gold: #c9a457;
  --gold-2: #e0bf72;
  --gold-dark: #a8863f;
  --ink: #15120b;
  --blue: #3d7fe0;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1280px;
  --gutter: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

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

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-2);
  letter-spacing: -0.01em;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
}
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader__logo { width: 84px; height: 84px; }
.preloader__logo .m1, .preloader__logo .m2 { transform-origin: 50% 100%; transform: scaleY(0); animation: rise .9s var(--ease) forwards; }
.preloader__logo .m2 { animation-delay: .12s; }
.preloader__logo .snow { opacity: 0; animation: fade .4s .7s forwards; }
.preloader__logo .w1, .preloader__logo .w2 { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1s .35s var(--ease) forwards; }
.preloader__logo .w2 { animation-delay: .5s; }
.preloader__bar { width: 140px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--gold); animation: load 1.1s var(--ease) forwards; }
@keyframes rise { to { transform: scaleY(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes load { to { width: 100%; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 28px;
  border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--gold-2); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(10, 12, 16, .25); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--ink); border-color: var(--text); }
.btn--dark { background: var(--ink); color: var(--text); height: 46px; padding: 0 24px; font-size: 14px; }
.btn--dark::before { background: #2a2416; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-2); font-weight: 600; font-size: 15px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--gold-2);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before, .eyebrow--center::after {
  content: ""; width: 40px; height: 1.5px; background: var(--gold);
  transform-origin: left; transform: scaleX(var(--line-s, 1));
  transition: transform 1s var(--ease);
}
.eyebrow--center::after { transform-origin: right; }

.h2 {
  margin-top: 22px;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.h2 .serif { display: block; font-size: 1.04em; line-height: 1.05; letter-spacing: -0.01em; }
.h2--inline .serif { display: inline; }

.section { position: relative; padding: 140px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__lead { max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.section__lead .link-arrow { margin-top: 20px; }

/* split text */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line-mask > span { display: inline-block; will-change: transform; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header.is-scrolled { background: rgba(11, 14, 19, 0.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; height: 95px; gap: 40px; transition: height .4s var(--ease); }
.header.is-scrolled .header__inner { height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.logo svg { width: 44px; height: 38px; }
.logo__text { display: grid; line-height: 1; }
.logo__name { font-size: 19px; font-weight: 700; letter-spacing: 0.08em; }
.logo__sub { margin-top: 6px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold); }

.nav { display: flex; gap: 36px; margin: 0 auto; }
.nav a { position: relative; color: rgba(244, 240, 232, 0.72); font-size: 15px; font-weight: 500; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__right { display: flex; align-items: center; gap: 26px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: rgba(244, 240, 232, .85); transition: color .3s; }
.header__phone:hover { color: var(--gold-2); }
.header__phone svg { width: 18px; height: 18px; color: var(--gold); }
.header .btn { height: 44px; padding: 0 22px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.is-menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 14, 19, 0.97);
  backdrop-filter: blur(14px);
  padding: 110px 20px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 44px) 46px);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.is-menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 46px); visibility: visible; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
.mobile-menu nav a span { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold); font-weight: 400; }
.is-menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu nav a:nth-child(6) { transition-delay: .25s; }
.mobile-menu__foot { display: grid; gap: 14px; }
.mobile-menu__foot .header__phone { font-size: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 960px; display: flex; flex-direction: column; overflow: hidden; }
.hero__bg { position: absolute; inset: -6% 0 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, .78) 0%, rgba(8, 10, 12, .45) 45%, rgba(8, 10, 12, .1) 70%, rgba(8, 10, 12, .35) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, .55) 0%, rgba(8, 10, 12, 0) 22%, rgba(8, 10, 12, 0) 70%, rgba(8, 10, 12, .7) 100%);
}
.hero__grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero__inner { flex: 1; display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; padding-top: 140px; padding-bottom: 40px; }
.hero__title { margin-top: 30px; font-size: clamp(46px, 5.6vw, 82px); line-height: 0.98; font-weight: 700; letter-spacing: -0.045em; }
.hero__title .serif { font-size: 1.02em; letter-spacing: -0.015em; line-height: 1.1; }
.hero__text { margin-top: 34px; max-width: 600px; color: rgba(244, 240, 232, .78); font-size: 18px; line-height: 1.62; }
.hero__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__stats { margin-top: 64px; display: flex; gap: 48px; }
.stat { position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -24px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.stat__num { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 10px; font-size: 14px; color: rgba(244, 240, 232, .7); }

.scroll-hint { position: absolute; right: var(--gutter); bottom: 64px; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 240, 232, .55); }
.scroll-hint svg { width: 16px; height: 16px; color: var(--gold); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* Quick pick card */
.pick {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(20, 22, 26, .92), rgba(10, 11, 14, .9));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.pick::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(224, 191, 114, .55), transparent 35%, transparent 70%, rgba(224, 191, 114, .25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pick__title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.pick__sub { margin-top: 4px; color: var(--muted); font-size: 14px; }
.pick form { margin-top: 26px; display: grid; gap: 18px; }
.pick .btn { margin-top: 6px; }
.pick__result { margin-top: 14px; min-height: 20px; text-align: center; font-size: 13px; color: var(--muted); transition: color .3s; }
.pick__result b { color: var(--gold-2); }

/* ---------- Form fields ---------- */
.field { display: grid; gap: 9px; }
.field__label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.input, .select, .textarea {
  width: 100%; height: 54px; padding: 0 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text); font-size: 15px;
  outline: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.input::placeholder, .textarea::placeholder { color: #6c7178; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, .2); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); background: rgba(201, 164, 87, .05); box-shadow: 0 0 0 4px rgba(201, 164, 87, .12); }
.select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23f4f0e8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.select option { background: #14181e; color: var(--text); }
.textarea { height: 96px; padding: 16px 18px; resize: vertical; line-height: 1.5; }
.field.is-invalid .input { border-color: #e06a5a; box-shadow: 0 0 0 4px rgba(224, 106, 90, .12); animation: shake .4s; }
.field__error { font-size: 12px; color: #e88d80; min-height: 0; display: none; }
.field.is-invalid .field__error { display: block; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; background: var(--gold); color: var(--ink); overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.marquee__item::after { content: ""; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; overflow: hidden;
  min-height: 320px;
  padding: 28px;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  isolation: isolate;
  transition: border-color .5s var(--ease), color .5s var(--ease);
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: translateY(101%); transition: transform .7s var(--ease); }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(224, 191, 114, .14), transparent 60%); opacity: 0; transition: opacity .4s; }
.service:hover::after { opacity: 1; }
.service:hover, .service.is-featured { border-color: transparent; }
.service.is-featured::before, .service:hover::before { transform: translateY(0); }
.services__grid:hover .service.is-featured:not(:hover)::before { transform: translateY(101%); }
.services__grid:hover .service.is-featured:not(:hover) { border-color: var(--line); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: #0c0f13; border: 1px solid var(--line); color: var(--gold-2); transition: transform .6s var(--ease), background .4s; }
.service__icon svg { width: 22px; height: 22px; }
.service__num { font-family: var(--serif); font-style: italic; font-size: 28px; color: #5b6068; transition: color .5s; }
.service__body { margin-top: auto; }
.service h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.service p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; transition: color .5s; }
.service__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold-2); transition: color .5s, gap .4s var(--ease); }
.service__more svg { width: 14px; height: 14px; }
.service:hover .service__more { gap: 16px; }

.service:hover .service__icon, .service.is-featured .service__icon { transform: rotate(-8deg) scale(1.04); }
.service:hover, .service.is-featured,
.service:hover p, .service.is-featured p,
.service:hover .service__more, .service.is-featured .service__more,
.service:hover .service__num, .service.is-featured .service__num { color: var(--ink); }
.services__grid:hover .service.is-featured:not(:hover),
.services__grid:hover .service.is-featured:not(:hover) h3 { color: var(--text); }
.services__grid:hover .service.is-featured:not(:hover) p { color: var(--muted); }
.services__grid:hover .service.is-featured:not(:hover) .service__more { color: var(--gold-2); }
.services__grid:hover .service.is-featured:not(:hover) .service__num { color: #5b6068; }
.services__grid:hover .service.is-featured:not(:hover) .service__icon { transform: none; }
.service:hover .service__icon, .service.is-featured .service__icon { background: var(--ink); border-color: transparent; }
.services__grid:hover .service.is-featured:not(:hover) .service__icon { background: #0c0f13; border-color: var(--line); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 560px 1fr; gap: 136px; align-items: center; }
.about__media { position: relative; }
.about__frame { position: absolute; inset: 40px -40px -40px 40px; border: 1px solid var(--line-2); border-radius: 26px; }
.about__img { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 560 / 600; }
.about__img img { width: 100%; height: 118%; object-fit: cover; object-position: 30% 50%; }
.badge-card {
  position: absolute; right: 16px; bottom: 16px;
  padding: 22px 28px;
  border-radius: 18px;
  background: rgba(15, 13, 10, .88);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6);
}
.badge-card__num { font-size: 44px; font-weight: 700; color: var(--gold-2); letter-spacing: -0.03em; line-height: 1; }
.badge-card__label { margin-top: 8px; font-size: 14px; color: var(--muted); }
.about__text { margin-top: 36px; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 540px; }
.checklist { margin-top: 36px; display: grid; gap: 18px; }
.checklist li { display: flex; align-items: center; gap: 16px; font-size: 16px; }
.checklist .tick { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #11140f; border: 1px solid var(--line); color: var(--gold-2); }
.checklist .tick svg { width: 13px; height: 13px; }
.about .btn { margin-top: 44px; }

/* ---------- Catalog ---------- */
.catalog { background: var(--bg-3); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 40px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: rgba(244, 240, 232, .85); transition: background .35s, color .35s, border-color .35s; }
.chip:hover { border-color: var(--gold); color: var(--gold-2); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.catalog__active { display: none; margin: -36px 0 32px; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.catalog__active.is-visible { display: flex; }
.tag-x { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 14px; border-radius: 100px; background: rgba(201, 164, 87, .12); color: var(--gold-2); font-size: 13px; font-weight: 600; }
.tag-x svg { width: 12px; height: 12px; }
.catalog__reset { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

.catalog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.obj {
  position: relative;
  border-radius: var(--radius);
  background: var(--card-2);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .4s, box-shadow .5s var(--ease);
  cursor: pointer;
}
.obj:hover { border-color: rgba(201, 164, 87, .35); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.obj.is-hidden { display: none; }
.obj__media { position: relative; aspect-ratio: 410 / 300; overflow: hidden; }
.obj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.obj:hover .obj__media img { transform: scale(1.07); }
.obj__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 35%); }
.obj__tags { position: absolute; z-index: 1; top: 16px; left: 16px; display: flex; gap: 8px; }
.obj__tag { height: 26px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(15, 18, 22, .78); color: var(--text); backdrop-filter: blur(6px); }
.obj__tag--gold { background: var(--gold); color: var(--ink); }
.obj__fav { position: absolute; z-index: 1; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(15, 18, 22, .6); backdrop-filter: blur(6px); color: var(--text); transition: background .3s, color .3s, transform .3s var(--ease); }
.obj__fav svg { width: 17px; height: 17px; }
.obj__fav:hover { transform: scale(1.1); }
.obj__fav.is-on { background: var(--gold); color: var(--ink); }
.obj__fav.is-on svg { fill: currentColor; }
.obj__body { padding: 26px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.obj__price { font-size: 26px; font-weight: 700; color: var(--gold-2); letter-spacing: -0.02em; }
.obj__title { margin-top: 12px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.obj__loc { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.obj__loc svg { width: 16px; height: 16px; flex: none; }
.obj__meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: rgba(244, 240, 232, .85); }
.obj__meta-wrap { margin-top: 20px; flex: 1; display: flex; flex-direction: column; }
.obj__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 12px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.obj__cta { margin-top: 18px; display: flex; gap: 10px; }
.obj__cta .btn { flex: 1; height: 44px; font-size: 14px; padding: 0 16px; }
.catalog__empty { display: none; padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.catalog__empty.is-visible { display: block; }
.catalog__empty strong { display: block; color: var(--text); font-size: 20px; margin-bottom: 8px; }
.catalog__empty .btn { margin-top: 22px; }
.catalog__more { margin-top: 56px; display: flex; justify-content: center; }

/* ---------- Plot picker (genplan) ---------- */
.picker { background: var(--bg); overflow: hidden; }
.picker__wrap { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.plan {
  position: relative;
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 30% 20%, #18201a 0%, #10140f 55%, #0c0f0d 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 680px;
}
.plan__scroll { position: absolute; inset: 0; }
.plan__toolbar { position: absolute; z-index: 2; left: 20px; right: 20px; top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; pointer-events: none; }
.plan__toolbar > * { pointer-events: auto; }
.plan__legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 10px 16px; border-radius: 100px; background: rgba(10, 12, 14, .75); backdrop-filter: blur(8px); font-size: 12px; color: var(--muted); }
.plan__legend span { display: inline-flex; align-items: center; gap: 8px; }
.plan__legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lg-free { background: rgba(201, 164, 87, .35); border: 1.5px solid var(--gold-2); }
.lg-res { background: repeating-linear-gradient(45deg, #6b6f75 0 2px, transparent 2px 5px); border: 1.5px solid #6b6f75; }
.lg-sold { background: #2a2e33; border: 1.5px solid #3a3f45; }
.plan__name { padding: 10px 16px; border-radius: 100px; background: rgba(10, 12, 14, .75); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.plan__scroll > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan .lot { cursor: pointer; transition: fill .3s, stroke .3s, opacity .4s; }
.plan .lot--free { fill: rgba(201, 164, 87, .16); stroke: var(--gold); stroke-width: 1.5; }
.plan .lot--free:hover, .plan .lot--free:focus { fill: rgba(201, 164, 87, .42); outline: none; }
.plan .lot--res { fill: url(#hatch); stroke: #6b6f75; stroke-width: 1.2; }
.plan .lot--sold { fill: #22262b; stroke: #33383e; stroke-width: 1; cursor: not-allowed; }
.plan .lot.is-selected { fill: var(--gold) !important; stroke: #fff3d1; stroke-width: 2.5; }
.plan .lot.is-dim { opacity: .18; }
.plan .lot-label { font-family: var(--font); font-size: 13px; font-weight: 700; fill: rgba(244, 240, 232, .85); pointer-events: none; text-anchor: middle; dominant-baseline: middle; transition: fill .3s, opacity .4s; }
.plan .lot-label.is-on { fill: var(--ink); }
.plan .lot-label.is-dim { opacity: .2; }
.plan__tip { position: absolute; z-index: 3; pointer-events: none; padding: 10px 14px; border-radius: 12px; background: rgba(10, 12, 14, .92); border: 1px solid var(--line-2); font-size: 13px; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.96); transition: opacity .2s, transform .2s; }
.plan__tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
.plan__tip b { color: var(--gold-2); }
.plan__hint { position: absolute; z-index: 2; left: 20px; bottom: 20px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.plan__hint svg { width: 16px; height: 16px; color: var(--gold); }

.lotcard {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 680px;
}
.lotcard__filters { display: grid; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.range { display: grid; gap: 12px; }
.range__head { display: flex; justify-content: space-between; align-items: baseline; }
.range__val { font-size: 14px; font-weight: 600; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) 0 var(--p, 100%), rgba(255, 255, 255, .12) var(--p, 100%)); outline: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-2); border: 4px solid #1a1508; box-shadow: 0 0 0 1px var(--gold); cursor: pointer; transition: transform .2s; }
.range input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold-2); border: 4px solid #1a1508; cursor: pointer; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(244, 240, 232, .85); cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__ui { width: 44px; height: 24px; border-radius: 24px; background: rgba(255, 255, 255, .12); position: relative; flex: none; transition: background .3s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform .35s var(--ease); }
.toggle input:checked + .toggle__ui { background: var(--gold); }
.toggle input:checked + .toggle__ui::after { transform: translateX(20px); background: var(--ink); }
.toggle input:focus-visible + .toggle__ui { box-shadow: 0 0 0 3px rgba(201, 164, 87, .4); }
.lotcard__count { font-size: 13px; color: var(--muted); }
.lotcard__count b { color: var(--text); }

.lotcard__detail { flex: 1; padding-top: 24px; display: flex; flex-direction: column; }
.lotcard__empty { flex: 1; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; gap: 14px; align-content: center; }
.lotcard__empty svg { width: 46px; height: 46px; color: var(--gold); opacity: .8; margin: 0 auto; }
.lotcard__info { display: none; flex-direction: column; flex: 1; }
.lotcard__info.is-visible { display: flex; }
.lotcard__no { font-family: var(--serif); font-style: italic; color: var(--gold-2); font-size: 18px; }
.lotcard__title { margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.lotcard__price { margin-top: 6px; font-size: 22px; font-weight: 700; color: var(--gold-2); }
.lotcard__specs { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.spec small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.spec span { font-size: 15px; font-weight: 600; }
.lotcard__status { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.lotcard__status i { width: 8px; height: 8px; border-radius: 50%; background: #6fcf8a; box-shadow: 0 0 0 4px rgba(111, 207, 138, .15); }
.lotcard__status.is-res i { background: #c0c4ca; box-shadow: 0 0 0 4px rgba(192, 196, 202, .12); }
.lotcard__info .btn { margin-top: auto; }
.lotcard__actions { margin-top: 22px; display: grid; gap: 10px; }

/* ---------- Steps ---------- */
.steps { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-2) 0%, #0b0e12 100%); padding-bottom: 170px; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; pointer-events: none; -webkit-mask-image: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 80%); }
.topo path { fill: none; stroke: rgba(201, 164, 87, .42); stroke-width: 1; }
.steps__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 80px; }
.step__head { position: relative; display: flex; align-items: center; gap: 18px; }
.step__num { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: #5a5f66; transition: color .8s var(--ease); }
.step.is-on .step__num { color: var(--gold-2); }
.step__line { flex: 1; height: 1px; background: rgba(255, 255, 255, .1); position: relative; }
.step__line::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), rgba(201, 164, 87, .1)); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.step__line::after { content: ""; position: absolute; right: -4px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #5a5f66; transition: background .6s, box-shadow .6s; }
.step.is-on .step__line::after { background: var(--gold-2); box-shadow: 0 0 0 5px rgba(201, 164, 87, .15); }
.step h3 { margin-top: 30px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.step p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 280px; }

/* ---------- Legal ---------- */
.legal__grid { display: grid; grid-template-columns: 1fr 560px; gap: 96px; align-items: start; }
.legal__text { margin-top: 32px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.acc { margin-top: 56px; border-top: 0; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 24px; padding: 22px 0; text-align: left; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; transition: color .3s; }
.acc__btn:hover { color: var(--gold-2); }
.acc__num { font-family: var(--serif); font-style: italic; font-size: 20px; font-weight: 400; color: #5a5f66; width: 20px; flex: none; transition: color .3s; }
.acc__item.is-open .acc__num { color: var(--gold-2); }
.acc__plus { margin-left: auto; width: 16px; height: 16px; position: relative; flex: none; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; opacity: .7; transition: transform .5s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc__item.is-open .acc__plus::after { transform: rotate(0); }
.acc__panel { height: 0; overflow: hidden; transition: height .55s var(--ease); }
.acc__panel p { padding: 0 40px 24px 48px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.legal__media { position: relative; margin-top: 0; }
.legal__img { border-radius: 24px; overflow: hidden; aspect-ratio: 560 / 680; }
.legal__img img { width: 100%; height: 115%; object-fit: cover; object-position: 55% 50%; }
.float-card { position: absolute; left: -40px; bottom: 30px; display: flex; align-items: center; gap: 20px; padding: 22px 28px 22px 24px; border-radius: 18px; background: rgba(10, 8, 6, .9); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(10px); box-shadow: 0 30px 50px -15px rgba(0, 0, 0, .7); }
.float-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-2); }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-size: 22px; font-weight: 700; }
.float-card span { font-size: 13px; color: var(--muted); }
.float-card strong span { font-size: inherit; color: inherit; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: 1fr 1fr 1.18fr; gap: 24px; }
.person { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.person__img { aspect-ratio: 386 / 440; overflow: hidden; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.2s var(--ease), filter 1.2s; filter: saturate(.85); }
.person:hover .person__img img { transform: scale(1.05); filter: saturate(1); }
.person__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 24px; }
.person h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.person p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.person__links { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold-2); transition: background .3s, color .3s, transform .3s var(--ease); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.team-cta { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gold); color: var(--ink); padding: 40px 36px; display: flex; flex-direction: column; }
.team-cta__logo { width: 46px; height: 40px; }
.team-cta h3 { margin-top: 28px; font-size: 30px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.team-cta p { margin-top: 18px; font-size: 16px; line-height: 1.6; color: rgba(21, 18, 11, .78); max-width: 400px; }
.team-cta__foot { margin-top: auto; padding-top: 40px; }
.team-cta small { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(21, 18, 11, .65); }
.team-cta__phone { display: block; margin: 8px 0 20px; font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.team-cta__mtn { position: absolute; right: -40px; bottom: -30px; width: 280px; opacity: .1; pointer-events: none; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-3); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { padding: 34px 32px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease); }
.review:hover { border-color: rgba(201, 164, 87, .3); transform: translateY(-6px); }
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__q { font-family: var(--serif); font-size: 54px; line-height: .6; color: var(--gold); height: 22px; }
.stars { display: flex; gap: 6px; color: var(--gold-2); }
.stars svg { width: 15px; height: 15px; }
.review blockquote { margin: 30px 0 0; font-size: 16px; line-height: 1.6; color: rgba(244, 240, 232, .92); }
.review__author { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #0e1014; border: 1px solid var(--line); color: var(--gold-2); font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.review__author strong { display: block; font-size: 16px; font-weight: 600; }
.review__author span { font-size: 13px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: 112px 0; isolation: isolate; }
.cta__bg { position: absolute; inset: -15% 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 16, .9) 0%, rgba(10, 12, 16, .65) 45%, rgba(10, 12, 16, .25) 100%); }
.cta h2 { font-size: clamp(36px, 4.6vw, 60px); }
.cta__text { margin-top: 30px; max-width: 520px; color: rgba(244, 240, 232, .75); font-size: 18px; line-height: 1.6; }
.cta__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Contacts ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 560px; gap: 80px; align-items: start; }
.contact-list { margin-top: 60px; max-width: 640px; }
.contact { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact:first-child { padding-top: 0; }
.contact__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #0c0f13; border: 1px solid var(--line); color: var(--gold-2); transition: background .3s, color .3s; }
.contact:hover .contact__icon { background: var(--gold); color: var(--ink); }
.contact__icon svg { width: 22px; height: 22px; }
.contact small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.contact a, .contact strong { display: inline-block; margin-top: 4px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; transition: color .3s; }
.contact a:hover { color: var(--gold-2); }
.contact span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.socials { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.socials a svg { width: 16px; height: 16px; color: var(--gold-2); transition: color .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials a:hover svg { color: var(--ink); }

.lead { position: relative; padding: 40px; border-radius: 26px; background: var(--bg-3); border: 1px solid var(--line); }
.lead h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.lead__sub { margin-top: 6px; font-size: 14px; color: var(--muted); }
.lead form { margin-top: 30px; display: grid; gap: 20px; }
.lead__note { text-align: center; font-size: 12px; color: var(--muted-2); }
.lead__note a { text-decoration: underline; text-underline-offset: 2px; }
.lead__obj { display: none; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(201, 164, 87, .08); border: 1px solid rgba(201, 164, 87, .25); font-size: 14px; }
.lead__obj.is-visible { display: flex; }
.lead__obj b { color: var(--gold-2); font-weight: 600; }
.lead__obj button { margin-left: auto; color: var(--muted); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.lead__obj button:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.lead__obj button svg { width: 12px; height: 12px; }

.success { position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: var(--bg-3); display: grid; place-items: center; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.success.is-visible { opacity: 1; visibility: visible; }
.success__check { width: 84px; height: 84px; margin: 0 auto; }
.success__check circle { stroke: var(--gold); stroke-width: 2; fill: none; stroke-dasharray: 260; stroke-dashoffset: 260; }
.success__check path { stroke: var(--gold-2); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.success.is-visible circle { animation: dash .9s var(--ease) forwards; }
.success.is-visible path { animation: dash .5s .6s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.success h4 { margin-top: 26px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.success p { margin-top: 10px; color: var(--muted); max-width: 340px; }
.success .btn { margin-top: 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: 80px 0 48px; }
.footer__grid { display: grid; grid-template-columns: 1fr auto auto auto; gap: 80px; }
.footer__about p { margin-top: 26px; max-width: 310px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.footer ul { margin-top: 20px; display: grid; gap: 14px; }
.footer ul a { color: rgba(244, 240, 232, .8); font-size: 15px; transition: color .3s; }
.footer ul a:hover { color: var(--gold-2); }
.footer__bottom { margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.footer__bottom nav { display: flex; gap: 28px; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(5, 6, 8, .72); backdrop-filter: blur(8px); opacity: 0; transition: opacity .45s; }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__dialog { position: relative; width: 100%; max-width: 520px; max-height: calc(100dvh - 40px); overflow-y: auto; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .45s, transform .6s var(--ease); }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close { position: absolute; z-index: 3; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, transform .4s var(--ease); }
.modal__close:hover { background: rgba(255, 255, 255, .08); transform: rotate(90deg); }
.modal__close svg { width: 14px; height: 14px; }
.modal .lead { padding-top: 44px; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 160; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 14px 20px; border-radius: 14px; background: #1a1f26; border: 1px solid var(--line-2); font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s var(--ease); max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--gold-2); }

/* ---------- Floating call (mobile) ---------- */
.fab { display: none; }

/* ---------- Reveal defaults (before JS) ---------- */
.js [data-reveal] { opacity: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  :root { --gutter: 48px; }
  .nav { gap: 26px; }
  .header__phone span { display: none; }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 90px; }
  .legal__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .contacts__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer__grid { gap: 56px; }
}

@media (max-width: 1100px) {
  .plan { height: auto; aspect-ratio: 800 / 640; }
  .lotcard { min-height: 0; }
  .nav, .header__right .btn, .header__phone { display: none; }
  .burger { display: block; }
  .header__right { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; padding-top: 150px; }
  .hero { min-height: 0; }
  .pick { max-width: 560px; }
  .scroll-hint { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .picker__wrap { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .team-cta { grid-column: 1 / -1; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .section { padding: 100px 0; }
  .section__head { flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
  .section__head--center { align-items: center; }
  .about__grid, .legal__grid, .contacts__grid { grid-template-columns: 1fr; gap: 72px; }
  .about__media { max-width: 560px; margin-right: 40px; }
  .legal__media { max-width: 560px; }
  .float-card { left: 16px; }
  .lead { max-width: 640px; }
  .catalog__active { margin-top: -24px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --radius: 18px; }
  body { font-size: 15px; }
  .section { padding: 80px 0; }
  .h2 { font-size: clamp(32px, 9.4vw, 42px); margin-top: 18px; }
  .eyebrow { font-size: 11px; gap: 12px; }
  .eyebrow::before, .eyebrow--center::after { width: 28px; }
  .section__head { margin-bottom: 36px; gap: 22px; }

  .header__inner, .header.is-scrolled .header__inner { height: 70px; }
  .logo svg { width: 38px; height: 33px; }
  .logo__name { font-size: 16px; }
  .logo__sub { font-size: 8px; }

  .hero__inner { padding-top: 112px; gap: 44px; padding-bottom: 56px; }
  .hero { background: var(--bg); }
  .hero__bg { bottom: auto; height: 115svh; }
  .hero__bg img { object-position: 72% 50%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(8, 10, 12, .6) 0%, rgba(8, 10, 12, .35) 30%, rgba(8, 10, 12, .7) 70%, var(--bg) 100%); }
  .hero__eyebrow { font-size: 10px; letter-spacing: .12em; }
  .hero__title { margin-top: 22px; font-size: clamp(40px, 12vw, 54px); }
  .hero__text { margin-top: 22px; font-size: 16px; }
  .hero__actions { margin-top: 30px; display: grid; grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { margin-top: 40px; gap: 0; justify-content: space-between; }
  .stat { flex: 1; padding-left: 16px; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat::before { left: 0; }
  .stat__num { font-size: 32px; }
  .stat__label { font-size: 12px; line-height: 1.3; margin-top: 8px; }
  .pick { padding: 24px 20px; border-radius: 20px; }
  .pick__title { font-size: 22px; }

  .marquee { padding: 15px 0; }
  .marquee__item { font-size: 13px; gap: 24px; padding-right: 24px; }

  .services__grid { grid-template-columns: 1fr; gap: 14px; }
  .service { min-height: 0; padding: 24px; }
  .service__body { margin-top: 36px; }
  .service h3 { font-size: 20px; }

  .about__media { margin-right: 20px; }
  .about__frame { inset: 20px -20px -20px 20px; }
  .about__img { aspect-ratio: 4 / 4.2; }
  .badge-card { padding: 16px 20px; right: 12px; bottom: 12px; }
  .badge-card__num { font-size: 34px; }
  .checklist li { font-size: 15px; align-items: flex-start; }
  .about .btn { width: 100%; }

  .filters { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .catalog__grid { grid-template-columns: 1fr; gap: 16px; }
  .obj__price { font-size: 24px; }
  .obj__title { font-size: 18px; }
  .catalog__more .btn { width: 100%; }

  .plan { min-height: 0; aspect-ratio: 4 / 4.4; }
  .plan__toolbar { left: 12px; right: 12px; top: 12px; }
  .plan__legend { padding: 8px 12px; gap: 10px; font-size: 11px; }
  .plan__name { display: none; }
  .plan__hint { left: 12px; bottom: 12px; font-size: 11px; }
  .lotcard { padding: 22px 20px; }

  .steps { padding-bottom: 100px; }
  .steps__grid { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .step__head { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; }
  .step__num { font-size: 44px; }
  .step__line { width: 1px; height: auto; flex: 1; margin-left: 18px; }
  .step__line::before { transform: scaleY(var(--fill, 0)); transform-origin: top; background: linear-gradient(180deg, var(--gold), rgba(201, 164, 87, .1)); }
  .step__line::after { right: auto; left: -3px; top: auto; bottom: -4px; }
  .step h3 { margin-top: 8px; font-size: 20px; }
  .step p { margin-top: 10px; }

  .acc__btn { font-size: 16px; gap: 16px; padding: 20px 0; }
  .acc__panel p { padding: 0 8px 20px 36px; font-size: 14px; }
  .legal__img { aspect-ratio: 4 / 4.4; }
  .float-card { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }

  .team__grid { grid-template-columns: 1fr; gap: 16px; }
  .person__img { aspect-ratio: 4 / 4.2; }
  .team-cta { padding: 30px 24px; }
  .team-cta h3 { font-size: 26px; }
  .team-cta__phone { font-size: 24px; }

  .reviews__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 86%; scroll-snap-align: center; padding: 28px 24px; }
  .review:hover { transform: none; }
  .reviews__dots { display: flex; }

  .cta { padding: 90px 0; }
  .cta__bg::after { background: linear-gradient(180deg, rgba(10, 12, 16, .75), rgba(10, 12, 16, .9)); }
  .cta__text { font-size: 16px; }
  .cta__actions { display: grid; }
  .cta__actions .btn { width: 100%; }

  .contact-list { margin-top: 40px; }
  .contact a, .contact strong { font-size: 18px; }
  .contact__icon { width: 46px; height: 46px; }
  .lead { padding: 28px 20px; border-radius: 22px; }
  .lead h3 { font-size: 26px; }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { max-width: none; max-height: 92dvh; transform: translateY(100%); }
  .modal .lead { border-radius: 24px 24px 0 0; padding-top: 40px; }

  .footer { padding: 64px 0 100px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; margin-top: 48px; }
  .footer__bottom nav { gap: 20px; flex-wrap: wrap; }

  .fab {
    display: flex; position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 14px;
    gap: 10px; transform: translateY(150%); transition: transform .6s var(--ease);
  }
  .fab.is-on { transform: none; }
  .fab .btn { flex: 1; height: 52px; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .7); }
  .fab .btn--ghost { flex: 0 0 52px; padding: 0; background: rgba(15, 18, 22, .9); }
}

.reviews__dots { display: none; justify-content: center; gap: 8px; margin-top: 22px; }
.reviews__dots span { width: 6px; height: 6px; border-radius: 6px; background: var(--line-2); transition: width .4s var(--ease), background .4s; }
.reviews__dots span.is-on { width: 22px; background: var(--gold); }

@media (hover: none) {
  .service:not(.is-featured):hover { border-color: var(--line); }
  .service:not(.is-featured):hover::before { transform: translateY(101%); }
  .service:not(.is-featured):hover,
  .service:not(.is-featured):hover h3 { color: var(--text); }
  .service:not(.is-featured):hover p { color: var(--muted); }
  .service:not(.is-featured):hover .service__more { color: var(--gold-2); }
  .service:not(.is-featured):hover .service__num { color: #5b6068; }
  .service:not(.is-featured):hover .service__icon { background: #0c0f13; border-color: var(--line); transform: none; }
  .services__grid:hover .service.is-featured:not(:hover)::before { transform: translateY(0); }
  .services__grid:hover .service.is-featured:not(:hover),
  .services__grid:hover .service.is-featured:not(:hover) h3,
  .services__grid:hover .service.is-featured:not(:hover) p,
  .services__grid:hover .service.is-featured:not(:hover) .service__more,
  .services__grid:hover .service.is-featured:not(:hover) .service__num { color: var(--ink); }
  .services__grid:hover .service.is-featured:not(:hover) .service__icon { background: var(--ink); border-color: transparent; }
  .obj:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; }
}

/* ---------- additions ---------- */
[data-card].is-animating { transition: none !important; }
.obj__go { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); transition: gap .4s var(--ease); }
.obj__go svg { width: 14px; height: 14px; }
.obj:hover .obj__go { gap: 14px; }
.obj:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hint-mob { display: none; }

@media (max-width: 640px) {
  .plan { aspect-ratio: auto; height: auto; min-height: 0; display: flex; flex-direction: column; }
  .plan__toolbar { position: relative; left: 0; right: 0; top: 0; padding: 12px 12px 0; }
  .plan__legend { width: 100%; justify-content: space-between; border-radius: 12px; }
  .plan__scroll { position: relative; inset: auto; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .plan__scroll::-webkit-scrollbar { display: none; }
  .plan__scroll > svg { position: static; display: block; width: 760px; height: auto; }
  .plan__hint { position: static; padding: 0 12px 14px; }
  .hint-desk { display: none; }
  .hint-mob { display: inline; }
}

.mobile-menu .header__phone { display: inline-flex; }
