/* Перспектива 24 — сервисные лендинги (service-page).
   Направление: «Фотографии на галерейной стене» — спокойная страница, фото
   разного размера как принты, крупные тихие заголовки, много воздуха.
   Токены — палитра и типографика бренда. Подключается вместо team-page.css. */

.tp-land{
  /* tokens */
  --ink:#111827;
  --muted:#4b5563;
  --bg:#ffffff;
  --surface:#f3f4f6;
  --accent:#1c93d1;        /* фирменный синий: плашки, декор */
  --accent-ink:#0e6a9e;    /* текстовый синий с контрастом 5:1 на белом */
  --accent-deep:#0b5c8b;
  --line:#d6d9de;          /* только поля форм */
  --on-photo:#ffffff;

  --font:'Roboto', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --mx: clamp(20px, 6vw, 150px);
  --t-display: clamp(44px, 7.4vw, 116px);
  --t-h2: clamp(28px, 3.2vw, 46px);
  --t-lead: clamp(18px, 1.4vw, 21px);

  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding: 0 0 clamp(72px, 9vh, 120px);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.tp-land *, .tp-land *::before, .tp-land *::after{ box-sizing: border-box; }
.tp-land img{ max-width: 100%; }
.tp-land a{ color: inherit; }

/* ── капли ──────────────────────────────────────────────────────────── */
.land-crumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  padding: 22px var(--mx) 0; font-size: 13px; color: var(--muted); }
.land-crumbs a{ color: var(--muted); text-decoration: none; }
.land-crumbs a:hover{ color: var(--ink); }
.land-crumbs .sep{ color: #c7cbd1; }
.land-crumbs [aria-current]{ color: var(--ink); }

/* ── герой: ступенчатый заголовок + два принта + форма ──────────────── */
.land-hero{ position: relative; min-height: min(860px, calc(100svh - 132px));
  padding: clamp(40px, 6vh, 88px) var(--mx) clamp(56px, 8vh, 96px);
  display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px;
  align-content: center; row-gap: clamp(28px, 4vh, 48px); overflow: hidden; }

.land-display{ grid-column: 1 / -1; margin: 0; z-index: 2;
  font-weight: 400; font-size: var(--t-display); line-height: .98; letter-spacing: -.035em; }
.land-display-line{ display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.land-display-inner{ display: block; }
.land-display-line--two{ padding-left: clamp(0px, 32vw, 460px); }

.land-hero-photo{ position: absolute; z-index: 1; display: block; text-decoration: none;
  overflow: hidden; background: var(--surface); }
.land-hero-photo img{ display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.land-hero-photo:hover img{ transform: scale(1.03); }
.land-hero-photo:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }
.land-hero-photo--top{ top: clamp(76px, 11vh, 122px); right: var(--mx); width: clamp(180px, 20vw, 300px); aspect-ratio: 16 / 10; }
.land-hero-photo--side{ left: var(--mx); top: 50%; width: clamp(200px, 22vw, 350px);
  aspect-ratio: 4 / 5; margin-top: clamp(60px, 9vh, 130px); }
.land-photo-cap{ position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px;
  font-size: 13px; color: var(--on-photo); background: rgba(17,24,39,.6); }

.land-hero-copy{ grid-column: 6 / 12; position: relative; z-index: 2; }
.land-hero-lead{ margin: 0 0 21px; font-size: var(--t-lead); line-height: 1.5;
  color: var(--muted); max-width: 36ch; }

/* ── формы ───────────────────────────────────────────────────────────── */
.land-form{ display: flex; flex-direction: column; gap: 13px; max-width: 460px; }
.land-form-row{ display: flex; gap: 8px; }
.land-form-code{ position: relative; display: inline-flex; }
.land-form-code > span{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.land-form-code select{ height: 50px; padding: 0 8px; border: 1px solid var(--line); border-radius: 0;
  background: var(--bg); font: 500 15px var(--font); color: var(--ink); cursor: pointer; }
.land-input{ flex: 1; min-width: 0; height: 50px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 0; background: var(--bg);
  font: 400 15px var(--font); color: var(--ink); }
.land-input::placeholder{ color: #8a9099; }
.land-input:focus, .land-form-code select:focus{ outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }

.land-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--accent-ink); color: #fff; font: 500 15px var(--font); letter-spacing: .01em;
  transition: background .16s ease, transform .05s ease; }
.land-btn:hover{ background: var(--accent-deep); }
.land-btn:active{ transform: translateY(1px); }
.land-btn:focus-visible{ outline: 2px solid var(--ink); outline-offset: 3px; }

.land-consent{ display: flex; gap: 9px; align-items: flex-start; font-size: 13px;
  line-height: 1.5; color: var(--muted); }
.land-consent input{ margin-top: 2px; flex: none; width: 17px; height: 17px; accent-color: var(--accent-ink); }
.land-consent a{ color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

.land-hero-alt{ display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 500;
  color: var(--accent-ink); text-decoration: none; }
.land-hero-alt:hover{ color: var(--ink); }
.land-hero-alt span{ display: inline-block; transition: transform .16s ease; }
.land-hero-alt:hover span{ transform: translateX(4px); }
.land-note{ font-size: 13px; color: var(--accent-ink); min-height: 18px; margin: 0; }

/* ── вступление: проза + высокий принт ───────────────────────────────── */
.land-intro{ display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px;
  padding: clamp(120px, 16vh, 210px) var(--mx) clamp(110px, 14vh, 180px); }
.land-intro-copy{ grid-column: 1 / 8; max-width: 58ch; }
.land-intro-prose p{ margin: 0 0 21px; color: var(--muted); }
.land-intro-prose p:first-child{ font-size: var(--t-lead); line-height: 1.55; color: var(--ink); margin-bottom: 34px; }
.land-intro-prose p:last-child{ margin-bottom: 0; }
.land-intro-prose strong{ color: var(--ink); font-weight: 500; }
.land-intro-photo{ grid-column: 9 / 12; margin: clamp(0px, 4vh, 56px) 0 0; }
.land-intro-photo img{ display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ── свежие варианты: таблица справа, живой принт слева ─────────────── */
.land-listing{ padding: 0 var(--mx) clamp(130px, 17vh, 210px); }
.land-h2{ margin: 0; font-weight: 500; font-size: var(--t-h2); line-height: 1.04; letter-spacing: -.025em; }
.land-listing-title{ max-width: 20ch; padding-left: clamp(0px, 3vw, 44px); }
.land-listing-grid{ display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px;
  margin-top: clamp(64px, 9vh, 108px); }
.land-listing-photo{ grid-column: 1 / 5; align-self: end; margin: 0; position: relative;
  overflow: hidden; background: var(--surface); }
.land-listing-photo img{ display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: opacity .3s ease; }
.land-listing-photo img.is-swapping{ opacity: .15; }
.land-listing-table{ grid-column: 7 / 13; display: flex; flex-direction: column; }
.land-listing-word{ margin: 0 0 22px; font-size: 13px; color: var(--muted); }
.land-row{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto 22px;
  column-gap: 18px; align-items: baseline; padding: 13px 0; text-decoration: none; }
.land-row + .land-row{ margin-top: 0; }
.land-row-kind{ font-size: 15px; color: var(--muted); white-space: nowrap; }
.land-row-addr{ font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .16s ease; }
.land-row-price{ font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.land-row-arrow{ width: 18px; height: 18px; color: var(--accent-ink); opacity: 0;
  transform: translateX(-6px); transition: opacity .16s ease, transform .16s ease; align-self: center; }
.land-row:hover .land-row-addr, .land-row:focus-visible .land-row-addr{ color: var(--accent-ink); }
.land-row:hover .land-row-arrow, .land-row:focus-visible .land-row-arrow{ opacity: 1; transform: none; }
.land-row:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.land-listing-all{ margin-top: 46px; font-size: 15px; font-weight: 500; color: var(--accent-ink); text-decoration: none; }
.land-listing-all:hover{ color: var(--ink); }

/* ── сцена «что входит в работу» ────────────────────────────────────── */
.land-scene{ position: relative; height: 190vh; }
.land-scene-stage{ position: sticky; top: 0; height: 100svh; overflow: hidden; background: #232a35; }
.land-scene-bg{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.84) saturate(.92); }
.land-scene-scrim{ position: absolute; inset: 0; background: rgba(17,24,39,.52); }
.land-scene-copy{ position: relative; height: 100%; display: flex; align-items: center; }
.land-scene-list{ list-style: none; margin: 0 auto; padding: 0 var(--mx); max-width: 620px; color: var(--on-photo); }
.land-scene-h{ margin: 0 0 clamp(22px, 4vh, 40px); font-weight: 500; font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05; letter-spacing: -.02em; }
.land-scene-item{ margin-top: clamp(14px, 2.6vh, 26px); }
.land-scene-item:first-of-type{ margin-top: 0; }
.land-scene-t{ margin: 0; font-size: clamp(19px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.015em;
  color: rgba(255,255,255,.72); transition: color .3s ease; }
.land-scene-item.is-active .land-scene-t{ color: #fff; font-weight: 500; }
.land-scene-d{ margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 15px; line-height: 1.5;
  color: rgba(255,255,255,.9); transition: max-height .45s ease, opacity .45s ease, margin .45s ease; }
.land-scene-item.is-active .land-scene-d{ max-height: 140px; opacity: 1; margin-top: 8px; }
.land-scene-prints{ position: absolute; inset: 0; pointer-events: none; }
.land-scene-print{ position: absolute; width: clamp(150px, 16vw, 240px); object-fit: cover; opacity: 0;
  transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.land-scene-print.is-on{ opacity: 1; transform: none; }
.land-scene-print--l{ left: var(--mx); top: 22%; aspect-ratio: 4 / 5; }
.land-scene-print--r{ right: var(--mx); top: 42%; aspect-ratio: 1 / 1; }
.land-scene-print--l:nth-of-type(3){ aspect-ratio: 3 / 2; top: 58%; }

/* ── шаги: лента ─────────────────────────────────────────────────────── */
.land-steps{ padding: clamp(120px, 16vh, 200px) 0 clamp(110px, 14vh, 170px); }
.land-steps-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 0 var(--mx); }
.land-steps-head .land-h2{ max-width: 18ch; }
.land-steps-nav{ display: flex; gap: 10px; }
.land-steps-btn{ width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 0;
  background: var(--ink); color: #fff; cursor: pointer; transition: background .16s ease; }
.land-steps-btn:hover{ background: #000; }
.land-steps-btn:active{ transform: translateY(1px); }
.land-steps-btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }
.land-steps-btn svg{ width: 20px; height: 20px; }
.land-progress{ height: 6px; margin: clamp(21px, 4vh, 34px) var(--mx) 0; background: var(--surface); }
.land-progress span{ display: block; height: 100%; width: 20%; background: var(--ink); }
.land-steps-row{ list-style: none; margin: 0; padding: 34px var(--mx) 8px; display: flex; gap: 32px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.land-steps-row::-webkit-scrollbar{ display: none; }
.land-step{ flex: 0 0 clamp(250px, 24vw, 310px); scroll-snap-align: start; display: flex; flex-direction: column; }
.land-step-t{ margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.land-step-d{ margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 30ch; }
.land-step-photo{ margin-top: calc(var(--step-gap, 64px) + 28px); width: 100%; aspect-ratio: 8 / 13;
  object-fit: cover; }

/* ── статистика: строка крупных цифр ─────────────────────────────────── */
.land-stats{ padding: 0 var(--mx) clamp(100px, 13vh, 160px); }
.land-stats-row{ list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.land-stat-value{ margin: 0; font-size: clamp(40px, 5vw, 72px); font-weight: 400;
  line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.land-stat-label{ margin: 14px 0 0; font-size: 17px; font-weight: 500; }
.land-stat-sub{ margin: 4px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 680px){
  .land-stats-row{ grid-template-columns: 1fr; row-gap: 36px; }
}

/* ── отзывы: цитата поверх фото ─────────────────────────────────────── */
.land-quote-stage{ position: relative; margin: 0; height: min(88svh, 780px); min-height: 460px;
  overflow: hidden; background: #232a35; }
.land-quote-stage > img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.8); }
.land-quote-stage::after{ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  /* нейтральный скрим под цитатой на фото */
  background: linear-gradient(180deg, transparent, rgba(17,24,39,.62)); /* taste-skill-ignore */ }
.land-quote-text{ position: absolute; right: var(--mx); bottom: clamp(110px, 14vh, 170px);
  max-width: 36rem; color: var(--on-photo); z-index: 1; }
.land-quote-text blockquote{ margin: 0; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2;
  letter-spacing: -.02em; font-weight: 400; }
.land-quote-name{ margin: 18px 0 0; font-size: 15px; color: rgba(255,255,255,.85); }
.land-quote-more{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(28px, 5vw, 80px); padding: clamp(64px, 9vh, 110px) var(--mx) clamp(110px, 14vh, 170px); }
.land-quote-mini{ margin: 0; }
.land-quote-mini blockquote{ margin: 0; font-size: 17px; line-height: 1.6; }
.land-quote-mini figcaption{ margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ── вопросы: сплит с высоким фото ──────────────────────────────────── */
.land-faq{ background: var(--surface); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 110px); padding: clamp(110px, 14vh, 170px) var(--mx); }
.land-faq-main .land-h2{ max-width: 12ch; }
.land-faq-facts{ list-style: none; margin: clamp(28px, 4vh, 44px) 0 clamp(36px, 5vh, 56px);
  padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.land-faq-facts a{ color: var(--accent-ink); text-decoration: none; font-weight: 500; }
.land-faq-facts a:hover{ text-decoration: underline; text-underline-offset: 3px; }
.land-faq-item summary{ display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 0; cursor: pointer; list-style: none; font-size: 21px; line-height: 1.3; }
.land-faq-item summary::-webkit-details-marker{ display: none; }
.land-faq-item summary:hover{ color: var(--accent-ink); }
.land-faq-item summary:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.land-faq-item summary .ico{ flex: none; width: 20px; height: 20px; color: var(--accent-ink);
  transition: transform .25s ease; }
.land-faq-item[open] summary .ico{ transform: rotate(180deg); }
.land-faq-a{ margin: -8px 0 0; max-width: 54ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
.land-faq-actions{ margin-top: clamp(36px, 5vh, 52px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; }
.land-link{ font-size: 15px; font-weight: 500; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.land-link:hover{ color: var(--ink); }
.land-faq-photos{ position: relative; margin: 0; padding-bottom: 80px; }
.land-faq-tall{ display: block; width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.land-faq-sq{ position: absolute; left: calc(-1 * clamp(24px, 3vw, 52px)); bottom: 106px;
  width: clamp(120px, 11vw, 172px); aspect-ratio: 1 / 1; object-fit: cover; }

/* ── финал: одна фраза, одно действие ───────────────────────────────── */
.land-end{ padding: clamp(120px, 18vh, 230px) var(--mx) clamp(96px, 14vh, 170px); }
.land-end-sentence{ margin: 0; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; max-width: 38ch; }
.land-end-form{ margin-top: 30px; }
.land-credits{ margin: clamp(72px, 10vh, 120px) 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 62ch; }

/* ── моушен ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference){
  .land-display-inner{ transform: translateY(112%); animation: land-rise .7s cubic-bezier(.16,1,.3,1) forwards; }
  .land-display-line--two .land-display-inner{ animation-delay: .09s; }
  @keyframes land-rise{ to{ transform: none; } }

  html.js .land-rise{ opacity: 0; transform: translateY(20px);
    transition: opacity .3s ease, transform .3s cubic-bezier(.16,1,.3,1); }
  html.js .land-rise.is-in{ opacity: 1; transform: none; }
  html.js .land-rise.is-in:nth-child(2){ transition-delay: .07s; }
  html.js .land-rise.is-in:nth-child(3){ transition-delay: .14s; }
}

@media (prefers-reduced-motion: reduce){
  .land-scene{ height: auto; }
  .land-scene-stage{ position: static; height: auto; }
  .land-scene-copy{ display: block; padding: clamp(90px, 12vh, 150px) 0; }
  .land-scene-bg{ position: absolute; }
  .land-scene-item .land-scene-d{ max-height: none; opacity: 1; margin-top: 8px; }
  .land-scene-item .land-scene-t{ color: #fff; }
  .land-scene-prints{ display: none; }
  .tp-land *{ transition: none !important; animation: none !important; }
}

/* ── адаптив ─────────────────────────────────────────────────────────── */
@media (min-width: 1200px){
  .land-step{ flex: 0 0 calc((100% - 96px) / 4); }
  .land-steps-nav, .land-progress{ display: none; }
  .land-steps-row{ overflow-x: visible; }
}
@media (max-width: 1180px){
  .land-hero-copy{ grid-column: 6 / 13; }
  .land-steps-nav, .land-progress{ display: none; }
  .land-steps-row{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; overflow-x: visible; }
}
@media (max-width: 1023px){
  .land-scene-copy{ align-items: flex-end; }
  .land-scene-list{ padding-bottom: clamp(56px, 9vh, 110px); }
  .land-scene-print--l{ display: none; }
  .land-scene-print--r{ top: clamp(76px, 12vh, 140px); width: clamp(120px, 18vw, 170px); }
  .land-hero{ grid-template-columns: repeat(6, minmax(0,1fr)); }
  .land-hero-photo--side{ position: static; grid-column: 1 / 4; margin: clamp(28px, 5vh, 56px) 0 0; width: 100%; }
  .land-hero-photo--top{ width: clamp(160px, 24vw, 280px); }
  .land-hero-copy{ grid-column: 1 / -1; }
  .land-hero-copy .land-hero-lead{ margin-left: 33%; }
  .land-hero-copy form{ margin-left: 33%; }
  .land-intro-copy{ grid-column: 1 / -1; }
  .land-intro-photo{ grid-column: 2 / 6; margin-top: 56px; }
  .land-listing-grid{ grid-template-columns: repeat(6, minmax(0,1fr)); }
  .land-listing-photo{ grid-column: 1 / 4; }
  .land-listing-table{ grid-column: 1 / -1; margin-top: 48px; }
  .land-faq{ grid-template-columns: 1fr; }
  .land-faq-photos{ order: -1; padding-bottom: 72px; margin-bottom: 24px; }
  .land-faq-tall{ min-height: 0; aspect-ratio: 4 / 5; height: auto; }
}
@media (max-width: 680px){
  .tp-land{ --mx: 20px; }
  .land-crumbs{ padding-top: 66px; }
  .land-hero{ min-height: 0; padding-top: 24px; }
  .land-display{ font-size: 9vw; }
  .land-display-line--two{ padding-left: 20vw; }
  .land-hero-photo--top{ grid-column: 3 / -1; justify-self: end; width: 56%; }
  .land-display{ margin-top: 18px; }
  .land-hero-photo--side{ grid-column: 1 / -1; max-width: 72%; }
  .land-hero-copy .land-hero-lead, .land-hero-copy form{ margin-left: 0; }
  .land-hero-copy{ margin-top: 8px; }
  .land-intro{ padding-top: clamp(96px, 13vh, 150px); }
  .land-intro-photo{ grid-column: 1 / -1; max-width: 340px; }
  .land-listing-photo{ grid-column: 1 / -1; max-width: 320px; }
  .land-listing-title{ padding-left: 0; }
  .land-row{ grid-template-columns: minmax(0,1fr) auto 22px; grid-template-areas: "kind price arrow" "addr price arrow"; row-gap: 3px; }
  .land-row-kind{ grid-area: kind; }
  .land-row-addr{ grid-area: addr; white-space: normal; font-weight: 400; color: var(--muted); }
  .land-row:hover .land-row-addr{ color: var(--accent-ink); }
  .land-row-price{ grid-area: price; align-self: center; }
  .land-row-arrow{ grid-area: arrow; }
  .land-scene-copy{ align-items: flex-end; padding-bottom: clamp(48px, 8vh, 90px); }
  .land-scene-print{ width: 40vw; }
  .land-quote-more{ grid-template-columns: 1fr; gap: 40px; }
  .land-quote-text{ left: var(--mx); right: var(--mx); }
  .land-faq-sq{ left: auto; right: 14px; bottom: 86px; }
  .land-end-form .land-form-row{ flex-direction: column; }
  .land-end-form .land-btn{ width: 100%; }
}

:root{ --land-mx: clamp(20px, 6vw, 150px); }
body > div.fixed.z-50{ padding-left: var(--land-mx); padding-right: var(--land-mx); }
body > footer.w-full{ padding-left: var(--land-mx); padding-right: var(--land-mx); }
body > div.fixed.z-50 header nav{ padding-left: 0; padding-right: 0; }

/* ── умный хедер: прячется при прокрутке вниз ───────────────────────── */
@media (min-width: 681px){
  body > .max-w\[110rem\].fixed{ transition: transform .3s ease; }
  body > .max-w\[110rem\].fixed.land-header-away{ transform: translateY(-100%); }
}

body .ql-label{ font-size: 13px; }

/* ── «Купить квартиру»: порядок и плотность под рекламный первый экран ─ */
.land-field-label{ display: block; margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--ink); }
.tp-land--buy{ display: flex; flex-direction: column; --radius: 16px; --land-gap: clamp(144px, 18vh, 233px); }
.tp-land--buy .land-hero-shot,
.tp-land--buy .land-quote-stage,
.tp-land--buy .land-faq-photos,
.tp-land--buy .land-step-photo,
.tp-land--buy .land-faq-tall,
.tp-land--buy .land-faq-sq,
.tp-land--buy .land-quote-stage > img,
.tp-land--buy .land-btn,
.tp-land--buy .land-input,
.tp-land--buy .land-form-code select,
.tp-land--buy .land-steps-btn,
.tp-land--buy .land-row,
.tp-land--buy .land-benefits-list li{
  border-radius: var(--radius);
}
.tp-land--buy .land-hero-shot,
.tp-land--buy .land-quote-stage,
.tp-land--buy .land-faq-photos{ overflow: hidden; }
.tp-land--buy .land-row{
  background: var(--surface);
  padding-left: 16px;
  padding-right: 16px;
  margin-bottom: 8px;
}
.tp-land--buy .land-benefits-list li{
  background: var(--surface);
  padding: 16px 18px;
}
.tp-land--buy .land-crumbs{ order: 0; }
@media (min-width: 681px){
  .tp-land--buy .land-crumbs{ padding-top: 4rem; }
}
/* контент распределён по всей высоте первого экрана: заголовок сверху,
   фото с формой в середине, статистика у нижней кромки; отступ снизу —
   только чтобы цифры не прилипали к краю, остальной ритм даёт .land-benefits */
.tp-land--buy .land-hero{ order: 1; min-height: 0; align-content: space-between; padding-top: 0; padding-bottom: clamp(24px, 4vh, 48px); row-gap: 0;
  /* golden split: узкая и широкая части относятся как 1 : 1.618,
     средняя колонка — воздух между ними (плюс межколонники 24px) */
  grid-template-columns: minmax(0, 4.6fr) clamp(24px, 4vw, 55px) minmax(0, 7.4fr); }
.tp-land--buy .land-benefits{ order: 2; padding-top: var(--land-gap); padding-bottom: var(--land-gap); }
.tp-land--buy .land-end{ order: 3; padding-top: 0; padding-bottom: var(--land-gap); }
.tp-land--buy .land-listing{ order: 4; padding-top: 0; padding-bottom: var(--land-gap); }
.tp-land--buy .land-steps{ order: 5; padding-top: 0; padding-bottom: var(--land-gap); }
.tp-land--buy .land-quote{ order: 6; padding: 0 var(--mx) var(--land-gap); }
.tp-land--buy .land-faq{ order: 7; padding-top: var(--land-gap); padding-bottom: var(--land-gap); }
.tp-land--buy .land-intro{ order: 8; padding-top: 0; padding-bottom: var(--land-gap); }

.tp-land--buy .land-hero{ align-items: center; }
.tp-land--buy .land-display{ align-self: start; margin-top: clamp(55px, 8vh, 89px); margin-bottom: 21px; }
.tp-land--buy .land-hero-shot{ position: relative; grid-column: 1; display: block; margin-top: 0;
  align-self: center; overflow: hidden; background: var(--surface); text-decoration: none; }
.tp-land--buy .land-hero-shot img{ display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.tp-land--buy .land-hero-copy{ grid-column: 3; align-self: center; }
.tp-land--buy .land-form-row{ align-items: center; }
.tp-land--buy .land-hero .land-input,
.tp-land--buy .land-hero .land-form-code select{
  height: 50px; line-height: 50px; padding-top: 0; padding-bottom: 0;
}
.tp-land--buy .land-display-line--two{ padding-left: 0; }
.tp-land--buy .land-consent{ align-items: center; }
.tp-land--buy .land-consent input{ width: 20px; height: 20px; margin-top: 0; }
.tp-land--buy .land-hero-shot{ margin: 0; }
.tp-land--buy .land-hero .land-stats-row{ grid-column: 1 / -1; margin-top: 34px; }
.land-chips{ display: flex; flex-direction: column; gap: 8px; }
.land-chip-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.land-chip-row > span{ flex: none; min-width: 4.6rem; font-size: 13px; color: var(--muted); }
.land-chip{ height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--bg); font: 500 14px var(--font); color: var(--ink); cursor: pointer; }
.land-chip.is-on{ background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.land-chip:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.land-tease{ grid-template-columns: minmax(0, .7fr) minmax(0, 1.4fr) auto; cursor: default; }
.land-tease:hover .land-row-addr{ color: inherit; }
.land-tease-note{ margin: 13px 0 13px; max-width: 42ch; font-size: 15px; line-height: 1.5; color: var(--muted); }
.tp-land--buy .land-tease-block .land-h2{ max-width: 16ch; }
.tp-land--buy .land-tease-block .land-listing-table{ margin-top: 21px; }

.tp-land--buy .land-listing-photo{ display: none; }
.tp-land--buy .land-listing-grid{ margin-top: 28px; }
.tp-land--buy .land-listing-table{ grid-column: 1 / -1; }
.tp-land--buy .land-row{ min-height: 48px; align-items: center; }
.tp-land--buy .land-row-price{ font-size: 20px; }
.tp-land--buy .land-row-arrow{ opacity: 1; transform: none; }

.land-benefits{ padding: clamp(28px, 4vh, 56px) var(--mx); }
.land-benefits-list{ list-style: none; margin: 21px 0 0; padding: 0; display: grid; gap: 21px; max-width: 720px; }
.land-benefits-list h3{ margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.land-benefits-list p{ margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

.tp-land--buy .land-quote-stage{ height: auto; min-height: 0; }
.tp-land--buy .land-quote-stage::after{ display: none; }
.tp-land--buy .land-quote-stage > img{ position: relative; height: 240px; }
.tp-land--buy .land-quote-text{ position: relative; left: auto; right: auto; bottom: auto;
  max-width: 40rem; margin: 0; padding: 28px var(--mx) 8px; color: var(--ink); }
.tp-land--buy .land-quote-name{ color: var(--muted); }
.tp-land--buy .land-quote-list{
  list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 13px; max-width: 720px;
}
.tp-land--buy .land-quote-list li{
  margin: 0; background: var(--surface); border-radius: var(--radius); padding: 18px 20px;
}
.tp-land--buy .land-quote-list blockquote{
  margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink);
}
.tp-land--buy .land-quote-list p{ margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.tp-land--buy .land-quote .land-link{ display: inline-block; margin-top: 21px; }
.tp-land--buy .land-quote-more{ padding-top: 28px; padding-bottom: var(--land-gap); }

html:has(.tp-land--buy){
  /* scroll-behavior:smooth здесь осознанно нет: короткую доводку делает сам
     механизм snap, а плавный корень превращает её в «тянущий» перелёт */
  scroll-snap-type: y proximity;
}
@media (min-width: 681px){
  /* десктоп: примагничены заголовки блоков — встают у верхней кромки,
     контент сразу читабелен; доводка короче, чем при центрировании */
  .tp-land--buy .land-h2{
    scroll-snap-align: start;
    scroll-margin-top: clamp(84px, 10vh, 120px);
  }
}
@media (prefers-reduced-motion: reduce){
  html:has(.tp-land--buy){ scroll-snap-type: none; }
}

.tp-land--buy .land-faq{ display: block; }
.tp-land--buy .land-faq-photos{ display: none; }
.tp-land--buy .land-faq-main .land-h2{ max-width: 14ch; }
.tp-land--buy .land-faq-facts{
  flex-direction: row; flex-wrap: wrap; align-items: baseline;
  gap: 6px 21px; margin: 13px 0 0; font-size: 15px; color: var(--muted);
}
.tp-land--buy .land-faq-list{ margin-top: 34px; }
.tp-land--buy .land-faq-item{ border-top: 1px solid rgba(17,24,39,.12); }
.tp-land--buy .land-faq-item:last-child{ border-bottom: 1px solid rgba(17,24,39,.12); }
.tp-land--buy .land-faq-item summary{ font-size: 21px; padding: 21px 0; }
.tp-land--buy .land-faq-a{ margin: 0 0 18px; max-width: 68ch; }
.tp-land--buy .land-faq-actions{ margin-top: 28px; }

@media (min-width: 1024px){
  .tp-land--buy .land-hero-lead{ font-size: 28px; line-height: 1.35; }
}
@media (min-width: 681px) and (max-width: 1023px){
  .tp-land--buy .land-hero-lead{ font-size: 24px; line-height: 1.4; }
  .tp-land--buy .land-hero-copy{ margin-top: 36px; }
}
@media (max-width: 1023px){
  .tp-land--buy .land-hero-shot,
  .tp-land--buy .land-hero-copy{ grid-column: 1 / -1; }
  .tp-land--buy .land-hero-copy .land-hero-lead,
  .tp-land--buy .land-hero-copy form{ margin-left: 0; }
}
@media (max-width: 680px){
  .tp-land--buy .land-hero{ padding-top: 0; }
  .tp-land--buy .land-display{ order: 1; font-size: 40px; margin-top: 144px; margin-bottom: 34px; }
  .tp-land--buy .land-hero-copy{ order: 2; margin-top: 0; }
  .tp-land--buy .land-hero .land-stats-row{ order: 3; margin-top: 55px; row-gap: 13px; }
  .tp-land--buy .land-hero .land-stat{
    display: flex; flex-wrap: nowrap; align-items: baseline; gap: 4px; min-width: 0;
  }
  .tp-land--buy .land-hero .land-stat-value{ font-size: 16px; flex: none; }
  .tp-land--buy .land-hero .land-stat-label,
  .tp-land--buy .land-hero .land-stat-sub{ margin: 0; flex: none; white-space: nowrap; }
  .tp-land--buy .land-hero .land-stat-label{ font-size: 12px; }
  .tp-land--buy .land-hero .land-stat-sub{ font-size: 9px; }
  .tp-land--buy .land-hero-shot{ display: none; }
  .tp-land--buy .land-faq-photos{ display: none; }
  .tp-land--buy .land-hero-lead{ margin-bottom: 13px; }
  .tp-land--buy .land-btn{ width: 100%; }
}

/* ── высота секций: герой на весь экран всегда; на мобильном каждый
   блок лендинга — минимум весь экран ──────────────────────────────────── */
/* snap-правила — выше, у html:has(.tp-land--buy) */
.tp-land--buy .land-hero{ min-height: 100vh; min-height: 100svh; }
@media (max-width: 680px){
  /* блоки = полноэкранные слайды, поэтому докрутка обязательная:
     внутри блоков выше экрана прокрутка остаётся свободной (spec про
     oversized snap areas), к границам блок магнитит всегда */
  html:has(.tp-land--buy){ scroll-snap-type: y mandatory; }
  .tp-land--buy .land-hero,
  .tp-land--buy .land-benefits,
  .tp-land--buy .land-listing,
  .tp-land--buy .land-steps,
  .tp-land--buy .land-quote,
  .tp-land--buy .land-faq,
  .tp-land--buy .land-intro{
    min-height: 100vh; min-height: 100svh;
    scroll-snap-align: start;
    /* высота фиксированной шапки, чтобы заголовок блока не уходил под неё */
    scroll-margin-top: 64px;
  }
  .tp-land--buy .land-hero{ scroll-margin-top: 0; }
  /* заголовки не соперничают с блоками за точку прилипания */
  .tp-land--buy .land-h2{ scroll-snap-align: none; }
  /* у высоких блоков опора есть и в конце: дочитанный блок виден до низа */
  .tp-land--buy .land-steps::after,
  .tp-land--buy .land-quote::after,
  .tp-land--buy .land-faq::after{ content:""; display:block; scroll-snap-align: end; }
  /* хвост лендинга и футер тоже зоны отдыха, иначе mandatory утягивает
     наверх и подвал становится недоступен */
  .tp-land--buy .land-intro::after{ content:""; display:block; scroll-snap-align: end; }
  body > footer{ scroll-snap-align: start end; scroll-margin-top: 64px; }
}
@media (max-width: 680px) and (prefers-reduced-motion: reduce){
  html:has(.tp-land--buy){ scroll-snap-type: none; }
}
