@font-face { font-family: 'Inter Tight'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/inter-tight-cyrillic-1db25f77.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/inter-tight-latin-989fe0a6.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215; }

/* Палитра и размеры. --dark/--ink/--accent/--accent-soft/--light подставляет сборка из site.json */
:root {
  --dark: #3a0b1e;
  --ink: #7e1c43;
  --accent: #e2b25e;
  --accent-soft: #f0c97c;
  --showcard: var(--accent-soft); /* фон плитки «Записаться на показ»; theme.showcard в site.json */
  --mort-bg: linear-gradient(100deg, #faf5f0 0%, #f6efe9 45%, #efe5dc 100%); /* фон блока ипотеки; theme.mortBg (цвет) в site.json */
  --light: #faf5f2;
  --dark-rgb: 58 11 30;
  --text2: #4d333d;
  --muted2: #8f7781;
  --line2: #dbc8cd;
  --tint: #f4e9ea;
  --btn: #d79b34;
  --btn-text: #2c0816;
  --btn-hover: #7e1c43;
  --btn-hover-text: #ffffff;
  --text: #2c1820;
  --muted: #725c65;
  --soft: #ab979f;
  --line: #eee1e3;
  --card-dark: rgba(255, 255, 255, .05);
  --r: 20px;
  --r-sm: 14px;
  --wrap: 1296px;
  --hdr: 84px;
  --ease: cubic-bezier(.2, .65, .3, 1);
  --shadow: 0 18px 40px -24px rgb(var(--dark-rgb) / .35);
}

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--ink); letter-spacing: -.035em; line-height: 1.06; }
h2 { font-size: clamp(34px, 4.2vw, 56px); margin-bottom: 20px; }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.h2--w { margin-bottom: 40px; max-width: 820px; }
p { margin: 0 0 14px; }
button { font: inherit; cursor: pointer; color: inherit; }
dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ph { background: linear-gradient(135deg, #e9e6e1, #d9dbe4); aspect-ratio: 4 / 3; width: 100%; }
.nw { white-space: nowrap; }
.is-locked { overflow: hidden; }

/* ===== Кнопки ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 30px; border: 0; border-radius: var(--r-sm); background: var(--btn); color: var(--btn-text); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s, transform .2s; }
.btn:hover { background: var(--btn-hover); color: var(--btn-hover-text); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 17px; }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--dark); }
.btn--accent:hover { background: var(--accent-soft); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75); }
.btn--ghost:hover { background: #fff; color: var(--dark); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn--line:hover { background: var(--ink); color: #fff; box-shadow: none; }

/* ===== Шапка ===== */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 8px 28px -16px rgb(var(--dark-rgb) / .25); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.hdr.is-scrolled .hdr__in { border-bottom-color: transparent; }
.logo { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1.1; flex: none; }
.logo__img { height: 40px; width: auto; }
.logo--light .logo__img { height: 44px; }
.logo__name { font-weight: 600; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: var(--dark); }
.logo__place { font-size: 12px; color: var(--muted); margin-top: 3px; }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__place { color: rgba(255, 255, 255, .6); }
.nav { display: flex; gap: 40px; margin: 0 auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--muted2); white-space: nowrap; transition: color .2s; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.hdr__phone { color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 16px; }
.hdr__call, .burger { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); transition: background .2s, transform .2s; }
.hdr__call:hover, .burger:hover { background: var(--dark); transform: scale(1.04); }
.burger { display: none; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 50%; width: 20px; margin-left: -10px; height: 2px; background: #fff; content: ''; transition: .25s; }
.burger span { top: 22px; } .burger span::before { top: -6px; margin: 0; left: 0; } .burger span::after { top: 6px; margin: 0; left: 0; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ===== Первый экран ===== */
.hero { position: relative; z-index: 2; overflow-x: clip; background: #fff; --p: 0; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: var(--dark); z-index: 0; }
.hero__arcs, .hero__arcs::before, .hero__arcs::after { position: absolute; border: 1px solid var(--tint); border-radius: 50%; pointer-events: none; }
.hero__arcs { width: 760px; height: 760px; left: -420px; top: 120px; }
.hero__arcs::before { content: ''; width: 900px; height: 900px; left: 1450px; top: -40px; }
.hero__arcs::after { content: ''; width: 600px; height: 600px; left: 1200px; top: -620px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 800px) minmax(0, 1fr); gap: 28px; max-width: 1640px; margin: 0 auto; align-items: start; }
.hero__center { text-align: center; padding: 48px 0 0; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(56px, 7.2vw, 108px); line-height: .98; letter-spacing: -.045em; }
.hero__eyebrow { display: block; font-size: 16px; letter-spacing: 0; color: var(--soft); margin-bottom: 10px; line-height: 1.4; }
.hero__lead { font-size: 16px; color: var(--muted); max-width: 580px; margin: 28px 0 36px; }
.hero__note { font-size: 11px; color: var(--soft); margin: 12px 0 0; letter-spacing: .02em; }
.hero__main { width: 100%; margin: 52px 0 150px; position: relative; z-index: 3; }
.hero__main img { transform: translate3d(0, calc(var(--p) * 150px), 0) scale(calc(1 + var(--p) * .42)); transform-origin: 50% 30%; will-change: transform; box-shadow: 0 calc(var(--p) * 40px) calc(var(--p) * 80px) -30px rgb(var(--dark-rgb) / .45); }
.hero__main img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: var(--r); }
.hero__side { display: grid; gap: 24px; padding-top: 220px; will-change: transform; transition: opacity .2s linear; }
.hero__side--l { transform: translate3d(calc(var(--p) * -200px), 0, 0); }
.hero__side--r { transform: translate3d(calc(var(--p) * 200px), 0, 0); }
.hero__center > .hero__eyebrow, .hero h1, .hero__lead { will-change: opacity; }
.hero__side img { width: 100%; object-fit: cover; border-radius: var(--r); }
.hero__side--l img:first-child { aspect-ratio: 1 / 1.36; }
.hero__side--l img:last-child { aspect-ratio: 1 / 1.3; width: 92%; }
.hero__side--r img:first-child { aspect-ratio: 1 / 1.36; }
.hero__side--r img:last-child { aspect-ratio: 1 / 1.3; width: 92%; justify-self: end; }
.hero__mob { display: none; }

/* ===== Тёмные блоки ===== */
.dark { background: var(--dark); color: rgba(255, 255, 255, .78); padding: clamp(64px, 8vw, 120px) 0; position: relative; overflow: hidden; }
.dark--first { padding-top: clamp(96px, 10vw, 150px); }
.dark h2, .dark h3 { color: #fff; }
.dark .sec__lead { color: rgba(255, 255, 255, .55); }
.dark + .dark { padding-top: 0; }
.dark--first::before { content: ''; position: absolute; width: 1100px; height: 1100px; right: -380px; top: -240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)); pointer-events: none; }

/* ===== Светлые секции ===== */
.sec { padding: clamp(64px, 8vw, 120px) 0; }
.sec--light { background: var(--light); }
.sec--top0 { padding-top: 0; }
.sec--split { background: linear-gradient(180deg, var(--light) 50%, #fff 50%); }
.sec--split-up { background: linear-gradient(180deg, #fff 50%, var(--light) 50%); }
.sec--bot0 { padding-bottom: 0; }
.sec__head { max-width: 760px; margin-bottom: 48px; }
.sec__head--c { text-align: center; margin-left: auto; margin-right: auto; }
.sec__lead { font-size: 16px; color: var(--muted); max-width: 640px; }
.sec__head--c .sec__lead { margin: 0 auto; }

/* Ваш новый дом */
.home__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.home__text h2 { max-width: 360px; }
.home__text p { color: rgba(255, 255, 255, .6); max-width: 400px; margin: 28px 0 36px; font-size: 16px; }
.home__list li { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.home__list li:first-child { padding-top: 0; }
.home__v { display: flex; align-items: baseline; gap: 12px; }
.home__list b { white-space: nowrap; font-size: clamp(42px, 4.6vw, 64px); font-weight: 400; color: #fff; letter-spacing: -.04em; line-height: 1; }
.home__list i { font-style: normal; color: var(--accent-soft); font-size: 18px; }
.home__list span { color: rgba(255, 255, 255, .5); font-size: 15px; }

/* Фото-карточки */
.tiles { display: grid; gap: 16px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 100px); }
.tile { position: relative; border-radius: var(--r); overflow: hidden; background: var(--dark); min-height: 300px; isolation: isolate; }
.tile img, .tile .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform 1s var(--ease); z-index: -2; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--dark-rgb) / 0) 35%, rgb(var(--dark-rgb) / .88) 100%); }
.tile__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.tile h3 { color: #fff; font-size: 21px; font-weight: 400; margin-bottom: 6px; }
.tile p { color: rgba(255, 255, 255, .7); font-size: 14px; margin: 0; line-height: 1.45; max-width: 340px; }

/* Локация */
.ico { width: 60px; height: 60px; flex: none; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; }
.ico svg { width: 20px; height: 20px; }
.ico--light { background: var(--tint); color: var(--ink); width: 52px; height: 52px; border-radius: 14px; }
.locg { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 32px; align-items: center; }
.locg__col li { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.locg__col li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.locg__col b { display: block; color: var(--accent-soft); font-size: 20px; font-weight: 400; letter-spacing: -.01em; }
.locg__col span { font-size: 14px; color: rgba(255, 255, 255, .55); }
.locg__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / .9; }
.locg__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.locg__img:hover img, .veranda__in:hover img, .pickb:hover .pickb__bg img { transform: scale(1.04); }
.locg__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--dark-rgb) / 0) 40%, rgb(var(--dark-rgb) / .7)); }
.locg__img figcaption { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 1; text-align: center; color: #fff; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; }
.map { position: relative; margin-top: 64px; min-height: 440px; border-radius: var(--r); overflow: hidden; background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__btn { border: 0; background: var(--btn); color: var(--btn-text); border-radius: var(--r-sm); padding: 16px 30px; font-weight: 500; }
.map__addr { color: var(--muted); font-size: 15px; margin: 0; }
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.places h3 { font-size: 17px; margin-bottom: 8px; }
.places p { font-size: 14px; color: rgba(255, 255, 255, .55); margin: 0; }

/* Ваш новый уровень жизни */
.bento { display: grid; grid-template-columns: .75fr .85fr .75fr 1.05fr; grid-template-rows: 340px 340px; gap: 16px; grid-template-areas: 'a a b c' 'd e e f'; }
.bento .tile { min-height: 0; }
.b-a { grid-area: a; } .b-b { grid-area: b; } .b-c { grid-area: c; } .b-d { grid-area: d; } .b-e { grid-area: e; } .b-f { grid-area: f; }
.showcard { width: 100%; height: 100%; border: 0; border-radius: var(--r); background: var(--showcard); color: #fff; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; transition: background .3s; }
.showcard:hover { background: var(--accent); }
.showcard__ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .25); display: grid; place-items: center; margin-bottom: auto; }
.showcard__ico svg { width: 18px; height: 18px; }
.showcard__t { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; margin: 24px 0 18px; }
.showcard__go { font-size: 13px; display: inline-flex; align-items: center; gap: 10px; }
.showcard__go svg { width: 22px; transition: transform .25s; }
.showcard:hover .showcard__go svg { transform: translateX(4px); }
.b-f { display: flex; flex-direction: column; justify-content: center; padding: 8px 8px 8px 24px; }
.b-f h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 28px; }
.b-f p { font-size: 14px; color: rgba(255, 255, 255, .5); margin-bottom: 28px; }
.b-f .btn { align-self: flex-start; }

/* Широкий баннер с подписью */
.veranda { background: linear-gradient(180deg, var(--dark) 55%, #fff 55%); }
.veranda__in { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1248 / 430; }
.veranda__in img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.veranda__in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--dark-rgb) / .62), rgb(var(--dark-rgb) / .18) 55%, rgb(var(--dark-rgb) / 0) 75%); }
.veranda__in figcaption { position: absolute; z-index: 1; text-shadow: 0 2px 24px rgb(var(--dark-rgb) / .35); left: 6%; top: 14%; color: #fff; font-size: clamp(32px, 4.4vw, 60px); line-height: 1; letter-spacing: -.04em; max-width: 520px; }
.veranda__in--r { margin-top: clamp(48px, 6vw, 80px); }
.veranda__in--r::after { background: linear-gradient(270deg, rgb(var(--dark-rgb) / .62), rgb(var(--dark-rgb) / .18) 55%, rgb(var(--dark-rgb) / 0) 75%); }
.veranda__in--r figcaption { left: auto; right: 7%; text-align: right; }

/* Комфорт и безопасность */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split__img img, .split__img .ph { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.igrid { display: grid; gap: 28px 32px; margin-top: 44px; }
.igrid--2 { grid-template-columns: 1fr 1fr; }
.igrid--4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.igrid li { display: flex; gap: 16px; align-items: center; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Презентация */
.pres { position: relative; margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; background: var(--ink); border-radius: var(--r); padding: clamp(28px, 4.5vw, 64px); }
.pres h2 { color: var(--accent-soft); font-size: clamp(32px, 3.6vw, 50px); margin-bottom: 16px; }
.pres__body > p { color: rgba(255, 255, 255, .62); font-size: 15px; max-width: 470px; margin-bottom: 28px; }
.pres__img { position: relative; align-self: stretch; }
.pres__img img { position: absolute; right: -6%; top: -34%; width: 112%; max-width: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); }
.pres__badge { position: absolute; right: 4%; bottom: -8%; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 11px; color: var(--ink); background: radial-gradient(circle, #fff 60%, rgba(255, 255, 255, .6)); box-shadow: 0 0 0 10px rgba(255, 255, 255, .12); line-height: 1.2; padding: 10px; }
.pres .btn { background: var(--accent-soft); color: var(--dark); }
.pres .btn:hover { background: var(--accent); }

/* ===== Формы ===== */
.lead { display: grid; gap: 12px; }
.lead__fields { display: grid; gap: 10px; }
.fld { display: block; }
.fld input { width: 100%; height: 56px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 18px; font: inherit; font-size: 16px; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s; }
.fld input::placeholder { color: var(--soft); }
.fld input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(var(--dark-rgb) / .1); }
.fld.is-bad input { border-color: #e0605a; box-shadow: 0 0 0 4px rgba(224, 96, 90, .12); }
.lead__foot { display: grid; gap: 12px; }
.lead__foot .btn { width: 100%; }
.consent { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.35; color: var(--muted); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; margin: 0; width: 20px; height: 20px; flex: none; border: 1.5px solid var(--line2); border-radius: 6px; background: #fff center/14px no-repeat; transition: background-color .2s, border-color .2s; cursor: pointer; }
.consent input:checked { background-color: var(--ink); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.consent.is-bad input { border-color: #e0605a; box-shadow: 0 0 0 4px rgba(224, 96, 90, .12); }
.consent a { color: inherit; text-decoration: underline; text-decoration-color: rgba(110, 115, 137, .4); text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.lead__err { font-size: 14px; color: #d4524c; margin: 0; }
.lead__note { font-size: 13px; color: var(--soft); margin: 0; text-align: center; }
.is-sending .btn { opacity: .7; pointer-events: none; }
.lead--row { max-width: 640px; }
.lead--row .lead__foot { grid-template-columns: 1fr; justify-items: start; gap: 14px; }
.lead--row .lead__foot .btn { width: auto; min-width: 220px; }
.pres .consent, .pres .consent a { color: rgba(255, 255, 255, .62); }
.pres .consent input { border-color: rgba(255, 255, 255, .45); background-color: transparent; }
.pres .consent input:checked { background-color: var(--accent-soft); border-color: var(--accent-soft); }
.pres .fld input { border-color: transparent; }
.pres .fld input:focus { box-shadow: 0 0 0 4px rgba(242, 190, 142, .35); }
.pres .lead__err { color: #ffb3ad; }

/* Квартиры, в которых светло */
.comfort { padding-bottom: 0; }
.comfort__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; position: relative; z-index: 1; }
.comfort__h h2 { font-size: clamp(32px, 3.6vw, 50px); }
.comfort__grid li:not(.comfort__h) { max-width: 300px; }
.comfort__ico { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 26px; box-shadow: 0 6px 20px -10px rgb(var(--dark-rgb) / .25); }
.comfort__ico img { width: 100%; height: 100%; object-fit: cover; }
.comfort__grid h3 { font-size: 19px; font-weight: 400; margin-bottom: 10px; }
.comfort__grid p { font-size: 14px; color: var(--muted); margin: 0; }
.comfort__banner { position: relative; margin-top: clamp(24px, 3vw, 48px); height: clamp(420px, 46vw, 640px); overflow: hidden; z-index: 0; }
.comfort__banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.comfort__banner::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--light) 0%, rgba(247, 247, 250, 0) 30%), linear-gradient(0deg, rgb(var(--dark-rgb) / .72), rgb(var(--dark-rgb) / 0) 55%); }
.comfort__banner .wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; padding-bottom: 56px; }
.comfort__bt { max-width: 420px; color: rgba(255, 255, 255, .8); }
.comfort__bt h3 { color: #fff; font-size: clamp(32px, 3.6vw, 50px); font-weight: 400; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.comfort__bt p { font-size: 14px; margin: 0; }

/* Планировки */
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--tint); border-radius: var(--r-sm); margin-bottom: 24px; }
.tabs button { border: 0; background: transparent; border-radius: 11px; padding: 12px; font-size: 14px; color: var(--muted2); transition: background .25s, color .25s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(var(--dark-rgb) / .08); }
.tabs--dark { background: rgba(255, 255, 255, .06); }
.tabs--dark button { color: rgba(255, 255, 255, .5); }
.tabs--dark button:hover { color: #fff; }
.tabs--dark button[aria-selected=true] { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.flats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flat { background: #fff; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.flat[hidden] { display: none; }
.flat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flat__img { aspect-ratio: 1.15; position: relative; margin-bottom: 20px; }
.flat__img img, .flat__img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.flat__title { font-size: 13px; font-weight: 400; color: var(--muted2); letter-spacing: 0; }
.flat__price { font-size: 19px; color: var(--ink); margin: 4px 0 20px; letter-spacing: -.01em; }
.flat .btn { margin-top: auto; }

/* Ипотека */
.mort { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; border-radius: var(--r); overflow: hidden; background: var(--mort-bg); min-height: 420px; }
.mort__body { padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.mort__body > p { color: var(--muted); font-size: 15px; max-width: 380px; margin-bottom: 36px; }
.mort__row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.mort__stat { margin: 0; font-size: 12px; color: var(--muted); max-width: 150px; line-height: 1.35; }
.mort__stat b { display: block; font-size: 24px; font-weight: 400; color: var(--ink); }
.mort__img { position: relative; }
.mort__img > img, .mort__img > .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.banks { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 10px; }
.banks li { width: 56px; height: 56px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 10px; box-shadow: 0 6px 18px -8px rgb(var(--dark-rgb) / .3); font-size: 10px; color: var(--muted); text-align: center; line-height: 1.1; }
.banks img { max-height: 30px; width: auto; }
.banks__more b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }

/* Подберём квартиру */
.pickb { position: relative; border-radius: var(--r); overflow: hidden; min-height: 480px; display: flex; align-items: center; justify-content: flex-end; background: #f2efea; }
.pickb__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.pickb__body { position: relative; width: 48%; padding: 48px 56px 48px 0; }
.pickb--fade { background: var(--tint); }
.pickb--fade .pickb__bg { -webkit-mask-image: linear-gradient(90deg, #000 25%, transparent 50%); mask-image: linear-gradient(90deg, #000 25%, transparent 50%); }
.pickb h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 18px; }
.pickb__body > p { font-size: 14px; color: var(--soft); margin-bottom: 14px; }
.pickb__checks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 36px; }
.pickb__checks li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink); }
.pickb__checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Кроме квартир */
.extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extra li { background: #fff; border-radius: var(--r); padding: 28px 28px 0; display: flex; flex-direction: column; overflow: hidden; }
.extra h3 { font-size: 19px; font-weight: 400; margin-bottom: 12px; }
.extra p { font-size: 14px; color: var(--soft); margin-bottom: 22px; }
.extra .btn { align-self: flex-start; }
.extra__img { margin: auto -28px 0; padding-top: 20px; }
.extra__img img, .extra__img .ph { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: bottom; transition: transform .8s var(--ease); }
.extra li:hover .extra__img img { transform: scale(1.04); }

/* Галерея: мозаика как в оригинале */
.galb { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 200px 270px 200px; gap: 16px; grid-template-areas: 'a a b c' 'a a d d' 'e f d d'; }
.gallery__btn { position: relative; border: 0; padding: 0; background: var(--tint); display: block; width: 100%; height: 100%; cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.gallery__btn img, .gallery__btn .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .8s var(--ease); }
.gallery__btn:hover img { transform: scale(1.04); }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; } .g-e { grid-area: e; } .g-f { grid-area: f; }
.g-x { display: none; }
.galb__more { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-size: 13px; background: rgb(var(--dark-rgb) / .35); transition: background .3s; }
.galb__more b { font-size: 20px; font-weight: 600; }
.g-d:hover .galb__more { background: rgb(var(--dark-rgb) / .5); }

/* О комплексе */
.about { display: grid; grid-template-columns: 1.45fr 1fr; gap: 64px; align-items: start; padding-top: clamp(64px, 8vw, 110px); }
.about__text p { color: var(--text2); font-size: 16px; }
.more summary { cursor: pointer; color: var(--ink); font-weight: 500; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: '↓'; }
.more[open] summary { display: none; }
.specs { background: #fff; border-radius: var(--r); padding: 32px; position: sticky; top: calc(var(--hdr) + 24px); }
.specs h3 { margin-bottom: 16px; }
.specs dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { text-align: right; color: var(--ink); }
.specs .btn { margin-top: 24px; }

/* Для кого / гарантии / статьи */
.aud, .docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud li { background: var(--light); border-radius: var(--r); padding: 28px; }
.aud__n { display: block; font-size: 13px; color: var(--accent); margin-bottom: 28px; }
.aud h3, .docs h3 { font-size: 18px; margin-bottom: 8px; }
.aud p, .docs p { font-size: 14px; color: var(--muted); margin: 0; }
.docs li { border-top: 1px solid var(--accent); padding-top: 22px; }
.arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.arts--2 { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.arts a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; height: 100%; }
.arts__img { border-radius: var(--r); overflow: hidden; margin-bottom: 6px; }
.arts__img img, .arts__img .ph { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.arts a:hover .arts__img img { transform: scale(1.04); }
.arts h3 { font-size: 20px; }
.arts p { font-size: 15px; color: var(--muted); margin: 0; }
.arts__more { margin-top: auto; color: var(--ink); font-weight: 500; font-size: 15px; }
.arts__all { margin: 40px 0 0; text-align: center; }
.arts__meta { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.blog { padding-top: 56px; }
.blog__h1 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 16px; }
.blog h2 { font-size: clamp(28px, 3vw, 40px); margin: 64px 0 28px; }
.blog__new:has(ul:empty) { display: none; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; margin-top: -15px; line-height: 30px; font-size: 28px; font-weight: 300; color: var(--ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { font-size: 18px; font-weight: 400; }
.faq details p { color: var(--text2); padding-bottom: 22px; max-width: 720px; font-size: 16px; margin: 0; }
.faq--cut details:nth-of-type(n+9) { display: none; }
.faq__all { margin-top: 24px; border: 1px solid var(--line2); background: transparent; color: var(--ink); border-radius: var(--r-sm); padding: 14px 24px; font-size: 15px; transition: background .2s, color .2s; }
.faq__all:hover { background: var(--ink); color: #fff; }

/* Застройщик */
.dark--top { padding-top: clamp(64px, 8vw, 120px) !important; }
.awards { margin-top: 8px; }
.awards li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 14px; color: rgba(255, 255, 255, .6); }
.awards li::before { content: '★'; position: absolute; left: 0; color: var(--accent-soft); }

/* Ход строительства */
.prog__lead { margin: -20px 0 32px; }
.slider { position: relative; border-radius: var(--r); overflow: hidden; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; height: auto; }
.slider__item[hidden] { display: none; }
.slider__item img { aspect-ratio: 16 / 8; }
.slider__nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .2s, transform .2s; }
.slider__nav:hover { background: #fff; transform: scale(1.06); }
.slider__nav--prev { left: 20px; } .slider__nav--next { right: 20px; }
.stages { width: 100%; max-width: 640px; border-collapse: collapse; margin-top: 32px; }
.stages th, .stages td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stages th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.stages--dark th { color: rgba(255, 255, 255, .4); }
.stages--dark th, .stages--dark td { border-color: rgba(255, 255, 255, .09); }
.stages--dark td { color: rgba(255, 255, 255, .8); }

/* Условия покупки */
.options__head { display: grid; grid-template-columns: 1.15fr 1fr .55fr; gap: 24px; padding: 0 32px 12px; font-size: 12px; color: rgba(255, 255, 255, .3); }
.options li { display: grid; grid-template-columns: 1.15fr 1fr .55fr; gap: 24px; align-items: center; border-radius: var(--r); padding: 26px 32px; transition: background .3s; }
.options li:nth-child(odd) { background: var(--card-dark); }
.options li:hover { background: rgba(255, 255, 255, .08); }
.options h3 { color: var(--accent-soft) !important; font-size: 19px; font-weight: 400; margin: 0; }
.options p { color: rgba(255, 255, 255, .78); font-size: 14px; margin: 0; }
.options__go { border: 0; background: none; color: var(--accent-soft); font-size: 14px; display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; padding: 8px 0; justify-self: start; }
.options__go svg { transition: transform .25s; }
.options li:hover .options__go svg { transform: translateX(5px); }
.calc { margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; background: #fff; color: var(--text); border-radius: var(--r); overflow: hidden; }
.calc__inputs { padding: 40px; display: grid; gap: 24px; }
.calc__inputs h3 { color: var(--ink) !important; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 14px; color: var(--muted); }
.calc output { color: var(--ink); font-weight: 500; }
.calc input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); }
.calc__res { background: var(--light); padding: 40px; display: flex; flex-direction: column; gap: 8px; }
.calc__res > span { color: var(--muted); font-size: 14px; }
.calc__res > b { font-size: 44px; font-weight: 400; color: var(--ink); letter-spacing: -.035em; }
.calc__res small { color: var(--muted); }
.calc__stats { display: flex; gap: 24px; margin: 16px 0 24px; flex-wrap: wrap; }
.calc__stats li { color: var(--muted); font-size: 14px; }
.calc__stats b { color: var(--ink); font-size: 22px; font-weight: 400; }

/* Онлайн-показ */
.cta__card { position: relative; border-radius: var(--r); overflow: hidden; background: #f4f1ed; min-height: 560px; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; z-index: 0; }
.cta__card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(246, 243, 239, .97) 0%, rgba(246, 243, 239, .95) 46%, rgba(246, 243, 239, 0) 72%); }
.cta__body { position: relative; z-index: 2; padding: clamp(28px, 4.5vw, 64px); max-width: 820px; }
.cta__body h2 { color: var(--ink) !important; font-size: clamp(32px, 4vw, 56px); margin-bottom: 14px; }
.cta__body .sec__lead { color: var(--muted) !important; font-size: 15px; margin-bottom: 28px; }
.cta__dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; vertical-align: middle; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); } 70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.cta .lead--row { max-width: 760px; }

/* Подвал */
.ftr { background: var(--dark); color: rgba(255, 255, 255, .7); padding: 24px 0 28px; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ftr__label { font-size: 14px; color: var(--accent-soft); margin-bottom: 14px; }
.ftr__big { color: #fff; text-decoration: none; }
.ftr__addr { font-style: normal; color: #fff; }
.ftr__muted { color: rgba(255, 255, 255, .5); }
.ftr__note { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .45); }
.ftr__bottom { padding-top: 22px; font-size: 12px; color: rgba(255, 255, 255, .4); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ftr__bottom p { margin: 0; }
.ftr__links a, .ftr__bottom a { color: rgba(255, 255, 255, .55); }

/* Модальные окна */
.modal, .lightbox { border: 0; padding: 0; border-radius: 24px; max-width: min(440px, calc(100vw - 24px)); width: 100%; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.modal::backdrop, .lightbox::backdrop { background: rgba(18, 21, 33, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .4s var(--ease); }
.modal[open]::backdrop, .lightbox[open]::backdrop { animation: fadeIn .3s; }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal .lead { padding: 44px 36px 32px; position: relative; gap: 14px; }
.lead__title { font-size: 28px; padding-right: 32px; }
.lead__text { color: var(--muted); font-size: 15px; margin: 0 0 6px; }
.modal__x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; font-size: 28px; line-height: 1; color: var(--muted2); z-index: 2; transition: background .2s, color .2s; }
.modal__x:hover { background: var(--light); color: var(--ink); }
.lightbox { max-width: min(1400px, 96vw); background: #000; border-radius: 16px; }
.lightbox img { max-height: 90vh; width: 100%; object-fit: contain; }
.lightbox .modal__x { background: rgba(255, 255, 255, .9); color: var(--ink); }
.lb__nav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 28px; display: grid; place-items: center; }
.lb__nav--prev { left: 14px; } .lb__nav--next { right: 14px; }

/* Мобильная кнопка заявки */
.sticky-cta { display: none; }

/* Служебные страницы */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 28px; }
.doc h2 { font-size: 22px; margin: 28px 0 12px; }
.doc p { font-size: 16px; color: var(--text2); }
.thanks { min-height: 60vh; text-align: center; display: flex; align-items: center; }
.thanks h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 16px; }
.thanks p { max-width: 560px; margin: 0 auto 28px; color: var(--muted); }

/* ===== Спасибо ===== */
.ty__hero { position: relative; overflow: hidden; background: var(--dark); color: rgba(255, 255, 255, .8); min-height: calc(100svh - var(--hdr)); display: flex; align-items: center; padding: clamp(48px, 6vw, 90px) 0; text-align: center; }
.ty__bg { position: absolute; inset: 0; }
.ty__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: ty-zoom 9s var(--ease) forwards; }
.ty__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--dark-rgb) / .78) 0%, rgb(var(--dark-rgb) / .88) 55%, rgb(var(--dark-rgb) / .97) 100%); }
.ty__in { position: relative; width: 100%; }
.ty__in > * { animation: ty-up .9s var(--ease) both; }
.ty__eyebrow { animation-delay: .35s; } .ty__hero h1 { animation-delay: .45s; } .ty__lead { animation-delay: .55s; } .ty__btns { animation-delay: .65s; }
.ty__check { width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgb(255 255 255 / .06); box-shadow: 0 0 0 10px rgb(255 255 255 / .03); animation: ty-pop .7s var(--ease) both; }
.ty__check circle { stroke-dasharray: 183; stroke-dashoffset: 183; animation: ty-draw .8s .15s var(--ease) forwards; }
.ty__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ty-draw .45s .75s var(--ease) forwards; }
.ty__eyebrow { margin: 0 0 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.ty__hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 76px); max-width: 15ch; margin: 0 auto 22px; }
.ty__lead { max-width: 600px; margin: 0 auto; font-size: 18px; }
.ty__lead span { display: block; margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .55); }
.ty__steps { list-style: none; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; animation: none; }
.ty__steps li { padding: 26px 26px 24px; border-radius: var(--r); background: var(--card-dark); border: 1px solid rgb(255 255 255 / .09); backdrop-filter: blur(6px); animation: ty-up .9s var(--ease) both; animation-delay: calc(.8s + var(--i) * .12s); }
.ty__steps b { display: block; font-weight: 500; font-size: 14px; color: var(--accent); margin-bottom: 18px; }
.ty__steps h2 { color: #fff; font-size: 24px; margin: 0 0 10px; }
.ty__steps p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .65); }
.ty__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.ty__btns .btn svg { flex: none; }
.ty__more h2 { margin-bottom: 12px; }
.ty__arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.ty__art { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.ty__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--tint); margin-bottom: 10px; }
.ty__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ty__art:hover .ty__img img { transform: scale(1.05); }
.ty__art b { font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ty__art > span:not(.ty__img) { font-size: 21px; line-height: 1.25; color: var(--ink); letter-spacing: -.02em; }
.ty__art i { font-style: normal; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); margin-top: 4px; }
.ty__art:hover i { color: var(--accent); }
@keyframes ty-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ty-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
@keyframes ty-zoom { to { transform: scale(1); } }
@media (max-width: 900px) {
  .ty__steps, .ty__arts { grid-template-columns: 1fr; }
  .ty__steps { gap: 10px; }
  .ty__steps li { padding: 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .ty__steps b { grid-row: span 2; margin: 3px 0 0; }
  .ty__steps h2 { font-size: 20px; margin-bottom: 4px; }
}
@media (max-width: 560px) {
  .ty__hero { text-align: left; align-items: flex-start; }
  .ty__check { margin-left: 0; width: 72px; height: 72px; }
  .ty__hero h1, .ty__lead { margin-left: 0; }
  .ty__lead { font-size: 16px; }
  .ty__btns { flex-direction: column; }
  .ty__btns .btn { width: 100%; }
}

/* Списки с галочками (статьи) */
.ticks li { position: relative; padding: 13px 0 13px 32px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 17px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23e0ad7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* Статьи */
.art__head { padding-top: 56px; max-width: 900px; margin-left: auto; margin-right: auto; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--ink); }
.art h1 { font-size: clamp(36px, 5vw, 64px); }
.art__lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--text2); margin: 22px 0 12px; }
.art__date { font-size: 14px; color: var(--muted); }
.art__cover { margin-top: 36px; margin-bottom: 56px; }
.art__cover img, .art__cover .ph { border-radius: var(--r); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.art__grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; padding-bottom: 96px; }
.art__toc-in { position: sticky; top: calc(var(--hdr) + 24px); background: var(--light); border-radius: var(--r); padding: 24px; font-size: 14px; }
.art__toc ol { padding-left: 18px; margin: 12px 0 20px; display: grid; gap: 8px; }
.art__toc a { color: var(--ink); text-decoration: none; }
.art__toc a:hover { text-decoration: underline; }
.art__body { max-width: 760px; }
.art__body section { margin-bottom: 44px; }
.art__body h2 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 16px; }
.art__body p { font-size: 18px; line-height: 1.7; color: var(--text); }
.steps { padding-left: 0; counter-reset: s; list-style: none; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 60px; background: var(--light); border-radius: var(--r-sm); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; display: grid; place-items: center; }
.acta { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--ink); color: rgba(255, 255, 255, .8); border-radius: var(--r); padding: 30px 34px; margin-top: 28px; }
.acta h3 { color: var(--accent-soft); margin-bottom: 6px; font-weight: 400; font-size: 22px; }
.acta p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .65); }
.acta .btn { background: var(--accent-soft); color: var(--dark); }
.acta .btn:hover { background: var(--accent); }
.art__back a { color: var(--ink); font-weight: 500; }

/* Запасные блоки для других сайтов шаблона */
.numbers { background: var(--dark); color: #fff; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers__grid > div { padding: 36px 20px 36px 0; }
.numbers b { display: block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 400; color: var(--accent-soft); }
.numbers span { font-size: 15px; color: rgba(255, 255, 255, .7); }

/* ===== Анимации (как на Тильде) ===== */
.rv { opacity: 0; transform: translateY(48px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv--img { transform: translateY(48px) scale(.96); }
.rv.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideL { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.hero__center > * { animation: fadeUp 1.1s var(--ease) both; }
.hero h1 { animation-delay: .1s; }
.hero__lead { animation-delay: .25s; }
.hero__center > .btn { animation-delay: .4s; }
.hero__note { animation-delay: .5s; }
.hero__main, .hero__mob { animation-delay: .55s; }
.hero__side--l img { animation: slideL 1.3s .65s var(--ease) both; }
.hero__side--r img { animation: slideR 1.3s .65s var(--ease) both; }
.hero__side img:nth-child(2) { animation-delay: .8s; }

/* ===== Адаптив ===== */
@media (max-width: 1240px) {
  .nav { display: none; }
  .hdr__phone { margin-left: auto; }
  .burger { display: grid; }
  .nav-open .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: var(--hdr); background: #fff; padding: 8px 24px 24px; gap: 0; box-shadow: var(--shadow); }
  .nav-open .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .nav-open .nav a::after { display: none; }
  .igrid--4 { grid-template-columns: repeat(2, 1fr); }
  .places { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .hero::after { display: none; }
  .hero__grid { grid-template-columns: 1fr; margin: 0; }
  .hero__side, .hero__main { display: none; }
  .hero__center { padding: 36px 24px 0; }
  .hero__mob { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 880px; margin: 48px 0 0; text-align: left; }
  .hero__mob > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); transform: translate3d(calc(var(--p) * -28px), 0, 0); }
  .hero__mob > img:nth-of-type(2) { transform: translate3d(calc(var(--p) * 28px), 0, 0); }
  .hero__mobbig { grid-column: 1 / -1; position: relative; border-radius: var(--r); overflow: hidden; }
  .hero__mobbig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transform: scale(calc(1 + var(--p) * .18)); transform-origin: 50% 80%; }
  .hero__mobbig::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .42)); pointer-events: none; }
  .hero__mobbig span { position: absolute; z-index: 1; left: 24px; right: 20px; bottom: 22px; color: #fff; font-size: 34px; line-height: 1; letter-spacing: -.04em; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
  .hero { padding-bottom: 72px; }
}
@media (max-width: 900px) {
  .home__grid, .split, .pres, .mort, .about, .faq-wrap, .calc { grid-template-columns: 1fr; gap: 40px; }
  .tile { min-height: 260px; }
  .tiles--3 { grid-template-columns: 1fr 1fr; }
  .tiles--3 > :first-child { grid-column: 1 / -1; }
  .flats { grid-template-columns: repeat(2, 1fr); }
  .locg { grid-template-columns: 1fr; gap: 0; }
  .locg__img { order: -1; margin-bottom: 24px; aspect-ratio: 16 / 9; }
  .locg__col + .locg__col li:first-child { border-top: 0; }
  .locg__col li:last-child { border-bottom: 0; }
  .locg__col:last-child li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-template-areas: 'a a' 'b c' 'd e' 'f f'; }
  .bento .tile { min-height: 260px; }
  .b-a { min-height: 320px !important; }
  .b-f { padding: 24px 0 0; }
  .veranda__in { aspect-ratio: 4 / 3; }
  .comfort__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .comfort__h { grid-column: 1 / -1; }
  .comfort__banner { margin-top: 32px; }
  .comfort__banner .wrap { justify-content: flex-start; }
  .pres__img img { position: static; width: 100%; margin: 0; }
  .pres__badge { display: none; }
  .mort__img { min-height: 300px; }
  .pickb { flex-direction: column; align-items: stretch; min-height: 0; }
  .pickb__bg { position: static; height: 260px; }
  .pickb--fade .pickb__bg { -webkit-mask-image: none; mask-image: none; }
  .pickb__body { width: 100%; padding: 32px 24px 36px; }
  .extra li { padding: 22px 20px 0; }
  .galb { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px 220px; grid-template-areas: 'a a' 'b c' 'e f' 'd d'; gap: 10px; }
  .aud, .docs { grid-template-columns: 1fr 1fr; }
  .arts { gap: 16px; }
  .specs { position: static; }
  .options__head { display: none; }
  .options li { grid-template-columns: 1fr; gap: 6px; padding: 22px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .art__grid { grid-template-columns: 1fr; gap: 24px; }
  .art__toc { display: none; }
  .art__cover img, .art__cover .ph { aspect-ratio: 16 / 10; }
  .acta { flex-direction: column; align-items: flex-start; }
  .slider__item img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  :root { --hdr: 72px; --r: 18px; }
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hdr__in { gap: 10px; }
  .hdr .logo { margin-right: auto; min-width: 0; }
  .hdr .logo__img { height: 34px; max-width: 100%; }
  .hdr .logo__name { font-size: 16px; }
  .hdr__phone { display: none; }
  .hdr__call { width: 44px; height: 44px; }
  .burger { width: 48px; height: 48px; box-shadow: none; }
  .burger span { top: 23px; }
  .hero h1 { font-size: 52px; }
  .hero__lead { font-size: 15px; margin: 16px 0 28px; }
  .hero__center > .btn { width: 100%; max-width: 300px; }
  .igrid--2, .igrid--4 { grid-template-columns: 1fr; gap: 18px; }
  .tabs { grid-auto-flow: row; grid-template-columns: 1fr; }
  .flats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flat { padding: 14px; }
  .flat__title { font-size: 12px; }
  .flat__price { font-size: 15px; margin-bottom: 12px; }
  .flat .btn { padding: 0 8px; font-size: 13px; min-height: 42px; }
  .comfort__grid { grid-template-columns: 1fr; }
  .tiles--3, .extra, .arts, .arts--2 { grid-template-columns: 1fr; }
  .tiles--3 > :first-child { grid-column: auto; }
  .tile { min-height: 280px; }
  .locg__img { aspect-ratio: 4 / 3; }
  .home__list li { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .home__list b { font-size: 44px; }
  .veranda__in::after, .veranda__in--r::after { background: linear-gradient(180deg, rgb(var(--dark-rgb) / .6), rgb(var(--dark-rgb) / 0) 60%); }
  .veranda__in figcaption, .veranda__in--r figcaption { left: 20px; right: 20px; top: 20px; text-align: left; font-size: 30px; }
  .ftr__grid { padding-bottom: 28px; }
  .places, .aud, .docs { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-areas: 'a' 'b' 'c' 'd' 'e' 'f'; }
  .b-b { min-height: 220px; }
  .lead--row .lead__foot { grid-template-columns: 1fr; gap: 14px; }
  .lead--row .lead__foot .btn { width: 100%; }
  .pres, .cta__body, .calc__inputs, .calc__res { padding: 24px; }
  .cta__card { min-height: 0; padding-bottom: 200px; }
  .cta__card::before { background: linear-gradient(180deg, rgba(246, 243, 239, .97) 0%, rgba(246, 243, 239, .94) 68%, rgba(246, 243, 239, 0) 88%); }
  .map { min-height: 340px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 24px; }
  .modal .lead { padding: 40px 22px 24px; }
  .lead__title { font-size: 24px; }
  .banks { right: 12px; bottom: 12px; }
  .banks li { width: 48px; height: 48px; padding: 8px; }
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .sticky-cta.is-shown { transform: none; }
  .sticky-cta .btn { padding: 0 8px; gap: 8px; min-height: 50px; font-size: 14px; min-width: 0; }
  .sticky-cta .btn svg { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 374px) {
  .sticky-cta .btn { font-size: 13px; gap: 6px; padding: 0 6px; letter-spacing: -.01em; }
  .sticky-cta .btn svg { width: 16px; height: 16px; }
}
.art__body section p a, .art__body section li a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art__body section p a:hover, .art__body section li a:hover { color: var(--accent); }
