/* === Посадочные страницы: раздел «Реконструкция», посёлки ====================
   Подключается вместе с inner.css (шапка page-hero, карточки разборов,
   текстовый блок, призыв). Здесь — блоки, которых на других страницах нет. */

/* --- Фото в шапке --------------------------------------------------------- */
.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.lp-hero-grid .page-hero-text { min-width: 0; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-hero-actions .btn-primary { background: var(--grad-y); color: var(--fm-ink, #1a1a1a); font-weight: 600; }
.lp-hero-actions .btn-primary:hover { background: var(--accent-bright); color: var(--fm-ink, #1a1a1a); }
.lp-hero-actions .btn-secondary { color: var(--text-light); border-color: rgba(245, 243, 239, 0.3); }
.lp-hero-actions .btn-secondary:hover { border-color: var(--text-light); background: rgba(245, 243, 239, 0.06); }
.lp-hero-figure { margin: 0; min-width: 0; }
.lp-hero-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.lp-hero-figure figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--text-light-muted); }

/* --- Общий заголовок секции ---------------------------------------------- */
.lp-section { background: var(--bg-cream); }
.lp-section--white { background: var(--bg-white); }
.lp-head { max-width: 860px; margin-bottom: 44px; }
.lp-head .section-title { font-size: 40px; margin-bottom: 16px; }
.lp-head p { font-size: 17px; line-height: 1.65; color: var(--text-body); max-width: 72ch; }

/* --- Карточки-поводы: «когда пора» -------------------------------------- */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-section--white .lp-card { background: var(--bg-cream); }
.lp-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--text-dark); }
.lp-card p { font-size: 15px; line-height: 1.6; color: var(--text-body); }
.lp-card a { color: var(--accent); font-weight: 600; text-decoration: none; margin-top: auto; padding-top: 6px; }
.lp-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-card-kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--accent); }

/* --- До / после (иллюстрация) ------------------------------------------- */
.lp-ba {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.lp-ba figure { margin: 0; position: relative; min-width: 0; }
.lp-ba img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.lp-ba-label {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(15, 15, 15, 0.72);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 100px;
}
.lp-ba figure:last-child .lp-ba-label { background: var(--grad-y); color: var(--fm-ink, #1a1a1a); }
.lp-ba-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 90ch;
}
.lp-ba-gap { margin-top: 44px; }
.lp-ba-title { font-size: 20px; font-weight: 700; color: var(--text-dark); margin: 0 0 14px; }

/* --- Фото с объекта ------------------------------------------------------ */
.lp-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.lp-photos figure { margin: 0; min-width: 0; }
.lp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--bg-paper); }
.lp-photos figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text-body); }
.lp-photos-more { margin-top: 26px; }
.lp-photos-more a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }

/* --- Этапы --------------------------------------------------------------- */
.lp-steps {
  list-style: none;
  counter-reset: lp-step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
}
.lp-steps li { counter-increment: lp-step; border-top: 2px solid var(--accent); padding-top: 16px; min-width: 0; }
.lp-steps li::before {
  content: counter(lp-step, decimal-leading-zero);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.lp-steps h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.3; }
.lp-steps p { font-size: 14px; line-height: 1.6; color: var(--text-body); }

/* --- Два столбца: текст + список ---------------------------------------- */
.lp-split > .lp-aside { position: sticky; top: 110px; }
.lp-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
.lp-prose p { font-size: 17px; line-height: 1.68; color: var(--text-body); margin: 0 0 16px; }
.lp-prose h3 { font-size: 21px; font-weight: 700; color: var(--text-dark); margin: 28px 0 12px; }
.lp-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.lp-prose ul { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.lp-prose li { font-size: 16px; line-height: 1.6; color: var(--text-body); }
.lp-aside {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: 4px;
  padding: 30px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-aside h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.lp-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-aside li { font-size: 15px; line-height: 1.55; color: var(--text-light-muted); padding-left: 18px; position: relative; }
.lp-aside li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); }
.lp-aside strong { color: var(--text-light); font-weight: 600; }
.lp-aside .btn { align-self: flex-start; margin-top: 8px; }

/* --- Цитата основателя --------------------------------------------------- */
.lp-quote {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 40px;
  padding: 28px 30px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.lp-section--white .lp-quote { background: var(--bg-cream); }
.lp-quote img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.lp-quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-dark); }
.lp-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--text-muted); }

/* FAQ посадочной — та же вёрстка, что на главной (.faq), только без отступа
   под первый экран. Вопросы раскрывает main.js по .faq-item. */
.lp-faq .faq-grid { align-items: start; }

@media (max-width: 1100px) {
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-split > .lp-aside { position: static; }
}
@media (max-width: 768px) {
  .lp-head { margin-bottom: 30px; }
  .lp-head .section-title { font-size: 28px; }
  .lp-head p, .lp-prose p { font-size: 15px; }
  .lp-cards, .lp-photos, .lp-ba { grid-template-columns: minmax(0, 1fr); }
  .lp-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lp-quote { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .lp-quote blockquote { font-size: 16px; }
  .lp-aside { padding: 24px 20px; }
}

/* Ссылки в текстовом блоке: в inner.css для .page-text цвет не задан,
   и ссылка оставалась синей браузерной. */
.page-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-text a:hover { color: var(--text-dark); }

/* --- Пояснения и стоимость на посадочных -------------------------------- */
section.lp-more { padding-block: clamp(42px, 6vw, 84px); }
.lp-more .page-text-inner {
  max-width: 880px;
  margin-inline: auto;
  padding-top: 0;
  border: 0;
}
div.lp-more { background: transparent; }
div.lp-more .page-text-inner { margin-inline: 0; }
.lp-budget-copy {
  margin-bottom: clamp(26px, 4vw, 40px);
  padding: clamp(18px, 3vw, 36px);
  background: var(--fm-surface);
  border: 1px solid var(--fm-line);
  border-radius: 14px;
}
.lp-budget-copy h2 {
  --fm-type-h2: var(--fm-type-h3);
  --fm-tracking-h2: var(--fm-tracking-h3);
  text-wrap: balance;
}
.lp-budget-copy :is(p, ul) { max-width: 66ch; }
.lp-disclosure-content { color: var(--fm-body); font: var(--fm-type-body); }
.lp-disclosure-content p { margin: 0 0 .75em; }
.lp-disclosure-content p:last-child { margin-bottom: 0; }
.lp-disclosure-content a { color: var(--fm-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.lp-updated { font-size: 13px !important; color: var(--text-muted) !important; margin: 0 0 18px !important; }
