/* ============================================================
   КРОНВЕРК — leto.css
   Стили страницы ЖК «Лето». Подключается ПОСЛЕ styles.css:
   базовые токены, шапка, подвал, кнопки и .cta берутся оттуда.
   Здесь — только компоненты, уникальные для этой страницы.
   ============================================================ */

/* ---------- Hero ---------- */
.lhero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px);
}
.lhero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.lhero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,9,.6) 0%, rgba(20,16,9,.32) 34%, rgba(20,16,9,.9) 78%, rgba(20,16,9,.96) 100%);
}
.lhero__inner { position: relative; width: 100%; color: var(--cream); }
.lhero__crumbs {
  display: flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--font); color: rgba(244,239,230,.72); margin-bottom: 24px;
}
.lhero__crumbs a:hover { color: var(--gold-light); }
.lhero__crumbs .current { color: var(--cream); }
.lhero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(227,200,146,.16); border: 1px solid rgba(227,200,146,.4);
  color: var(--gold-light); border-radius: var(--r-pill);
  padding: 8px 16px; font: 600 12px/1 var(--font); letter-spacing: .06em; margin-bottom: 18px;
}
.lhero__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }
.lhero__title { font: 800 clamp(44px, 8vw, 104px)/.94 var(--font); letter-spacing: -.03em; margin: 0; text-shadow: 0 2px 30px rgba(20,16,9,.55), 0 1px 4px rgba(20,16,9,.4); }
.lhero__accent { font: italic 500 clamp(44px, 8vw, 104px)/.94 var(--serif); color: var(--gold-light); }
.lhero__text { font: 400 clamp(17px, 2vw, 21px)/1.55 var(--font); color: rgba(244,239,230,.94); max-width: 660px; margin: 22px 0 0; text-shadow: 0 1px 14px rgba(20,16,9,.6); }
.lhero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn--hero-ghost {
  background: rgba(244,239,230,.1); border: 1px solid rgba(244,239,230,.3);
  color: var(--cream); padding: 17px 28px; backdrop-filter: blur(4px);
}
.btn--hero-ghost:hover { background: rgba(244,239,230,.18); }
.lhero__stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 54px); margin-top: 44px; }
.lstat__num { font: 800 clamp(30px, 4vw, 44px)/1 var(--font); color: #fff; }
.lstat__num small { font-size: .55em; font-weight: 600; }
.lstat__label { font: 500 13px/1.3 var(--font); color: rgba(244,239,230,.7); margin-top: 8px; }
.lstat-div { width: 1px; background: rgba(244,239,230,.24); }

/* ---------- Вступление + фичи ---------- */
.lintro {
  display: flex; gap: clamp(36px, 5vw, 80px);
  align-items: flex-start; flex-wrap: wrap;
}
.lintro__head { flex: 1 1 460px; }
.lintro__body { flex: 1 1 460px; }
.lintro__body p { font: 400 17px/1.75 var(--font); color: #5A5346; margin: 0 0 18px; }
.lintro__body p:last-child { margin-bottom: 0; }

.fcards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px; margin-top: 44px;
}
.fcard {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.fcard__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.fcard__title { font: 600 16px/1.35 var(--font); color: var(--ink); }

/* ---------- Преимущества ---------- */
.adv-head { margin-bottom: clamp(36px, 4vw, 52px); max-width: 640px; }
.adv-row {
  display: flex; gap: clamp(24px, 4vw, 56px);
  align-items: center; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px);
}
.adv-row:last-child { margin-bottom: 0; }
.adv-row--reverse { flex-direction: row-reverse; }
.adv__media {
  flex: 1 1 440px; border-radius: 26px; overflow: hidden;
  aspect-ratio: 4 / 3; min-height: 300px;
}
.adv__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adv__body { flex: 1 1 380px; }
.adv__num { font: italic 600 34px/1 var(--serif); color: var(--gold); }
.adv__title { font: 700 clamp(24px, 2.6vw, 32px)/1.12 var(--font); letter-spacing: -.02em; margin: 10px 0 0; }
.adv__text { font: 400 17px/1.7 var(--font); color: #5A5346; margin: 16px 0 0; }
.adv__text + .adv__list { margin-top: 18px; }
.adv__list { display: flex; flex-direction: column; gap: 11px; }
.adv__list-item {
  display: flex; align-items: center; gap: 11px;
  font: 500 16px/1.4 var(--font); color: var(--text-2);
}
.adv__list-item svg { flex-shrink: 0; }

/* ---------- Тёмная полоса цифр ---------- */
.nband { background: var(--ink); color: var(--cream); }
.nband__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 34px;
}
.nband__head { max-width: 360px; }
.nstat__num { font: 800 42px/1 var(--font); color: var(--gold-light); }
.nstat__label { font: 500 15px/1.4 var(--font); color: rgba(244,239,230,.66); margin-top: 8px; }

/* ---------- Галерея ---------- */
.lgallery { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.lgallery__main {
  flex: 1 1 560px; min-width: 0; border-radius: 26px;
  background-color: #E9E1D2; background-size: cover; background-position: center;
  min-height: clamp(340px, 46vw, 600px);
}
.lgallery__thumbs {
  flex: 1 1 220px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; align-content: start;
}
.lgallery__thumb {
  aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; cursor: pointer;
  transition: all .2s; border: 3px solid transparent; opacity: .82;
}
.lgallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lgallery__thumb.gallery__thumb--active { border-color: var(--gold); opacity: 1; }

/* ---------- Планировки ---------- */
.lplans { background: #EFE8DA; }
.lplans__head {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between; margin-bottom: 36px;
}
.ptabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 6px;
}
.ptab {
  padding: 11px 20px; border: 0; border-radius: var(--r-pill);
  font: 600 14px/1 var(--font); cursor: pointer; transition: all .2s;
  background: transparent; color: var(--text-2);
}
.ptab--active { background: var(--ink); color: var(--cream); }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.plan-card {
  background: #fff; border: 1px solid #E7DECF; border-radius: 24px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.plan-card__media {
  background: var(--cream); padding: 24px 24px 8px;
  display: flex; align-items: center; justify-content: center;
}
.plan-card__media img { width: 100%; max-height: 230px; object-fit: contain; display: block; }
.plan-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan-card__rooms { font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.plan-card__area { font: 700 22px/1 var(--font); color: var(--ink); }
.plan-card__price { font: 800 22px/1 var(--font); color: var(--ink); }
.plan-card__feats { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.plan-card__feat { display: flex; align-items: center; gap: 9px; font: 500 14px/1.4 var(--font); color: #5A5346; }
.plan-card__feat svg { flex-shrink: 0; }
.plan-card__link {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--ink); color: var(--cream); border-radius: 13px; padding: 14px;
  font: 600 15px/1 var(--font); transition: background .2s;
}
.plan-card__link:hover { background: var(--gold); }
.plan-note { font: 400 13px/1.5 var(--font); color: var(--muted-2); margin: 22px 0 0; }

/* ---------- Расположение ---------- */
.lloc { display: flex; gap: clamp(32px, 4vw, 56px); align-items: stretch; flex-wrap: wrap; }
.lloc__info { flex: 1 1 440px; }
.lloc__text { font: 400 17px/1.7 var(--font); color: #5A5346; margin: 18px 0 26px; }
.poi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.poi {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.poi__icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.poi__title { font: 600 15px/1.2 var(--font); color: var(--ink); }
.poi__dist { font: 500 13px/1.2 var(--font); color: var(--muted-2); margin-top: 4px; }
.lloc__map {
  flex: 1 1 440px; position: relative; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); min-height: clamp(340px, 40vw, 520px);
}
.lloc__map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-badge {
  position: absolute; left: 22px; bottom: 22px; background: #fff; border-radius: 16px;
  padding: 20px 22px; max-width: 300px; box-shadow: 0 20px 44px -24px rgba(0,0,0,.5);
}
.map-badge__eyebrow { font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.map-badge__addr { font: 700 18px/1.3 var(--font); color: var(--ink); }
.map-badge__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  color: var(--ink); font: 600 14px/1 var(--font);
}
.map-badge__link:hover { color: var(--gold); }

/* ---------- Ход строительства ---------- */
.constr__head {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between; margin-bottom: 34px;
}
.progress { display: flex; align-items: center; gap: 16px; }
.progress__ring {
  width: 74px; height: 74px; border-radius: 50%;
  background: conic-gradient(var(--gold) 0turn .85turn, var(--line-2) .85turn 1turn);
  display: flex; align-items: center; justify-content: center;
}
.progress__ring span {
  width: 56px; height: 56px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font: 800 18px/1 var(--font); color: var(--ink);
}
.progress__label { font: 600 15px/1.4 var(--font); color: var(--muted); }
.constr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.constr-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.constr-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.constr-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.constr-card__body { padding: 18px 22px 22px; }
.constr-card__date { font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.constr-card__title { font: 700 18px/1.3 var(--font); color: var(--ink); margin-top: 8px; }
.constr-card--dark {
  background: var(--ink); color: var(--cream); padding: 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.constr-card--dark .eyebrow { color: var(--gold-light); }
.constr-card__heading { font: 700 22px/1.2 var(--font); margin: 10px 0 8px; }
.constr-card__text { font: 400 15px/1.6 var(--font); color: rgba(244,239,230,.66); margin: 0 0 18px; }

/* ---------- Способы покупки (тёмный бокс) ---------- */
.lbuy__box { background: var(--ink-cta); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); color: var(--cream); }
.lbuy__head {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between; margin-bottom: 38px;
}
.lbuy__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.lmethod { border: 1px solid rgba(244,239,230,.14); border-radius: 18px; padding: 26px 24px; transition: background .25s; }
.lmethod:hover { background: rgba(244,239,230,.04); }
.lmethod__title { font: 700 19px/1.2 var(--font); color: #fff; }
.lmethod__text { font: 400 14px/1.55 var(--font); color: rgba(244,239,230,.66); margin-top: 10px; }

/* ---------- FAQ ---------- */
.lfaq__head { text-align: center; margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.faq-item__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
}
.faq-item__q { font: 700 18px/1.35 var(--font); color: var(--ink); }
.faq-item__icon {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 400 22px/1 var(--font); transition: all .2s;
  background: var(--cream); color: var(--gold);
}
.faq-item__icon::before { content: "+"; }
.faq-item--open .faq-item__icon { background: var(--ink); color: var(--gold-light); }
.faq-item--open .faq-item__icon::before { content: "−"; }
.faq-item__a { font: 400 16px/1.7 var(--font); color: #5A5346; margin: 16px 0 0; display: none; }
.faq-item--open .faq-item__a { display: block; }

/* ---------- Парк Семхозный ---------- */
.eyebrow--green { color: var(--green); }
.park-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 48px); }
.park__lead { font: 400 17px/1.7 var(--font); color: #5A5346; margin: 16px 0 0; }
.park-main { display: flex; gap: clamp(20px, 3vw, 32px); flex-wrap: wrap; align-items: stretch; }
.park__photo { flex: 2 1 520px; min-width: 0; border-radius: 26px; overflow: hidden; min-height: clamp(340px, 42vw, 560px); }
.park__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.park__facts { flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; }
.park-fact { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.park-fact__num { font: 800 30px/1 var(--font); color: var(--ink); }
.park-fact__title { font: 600 15px/1.3 var(--font); color: var(--ink); margin-top: 10px; }
.park-fact__text { font: 400 14px/1.5 var(--font); color: var(--muted); margin-top: 6px; }
.park-fact--dark { background: var(--ink); color: var(--cream); }
.park-fact--dark .park-fact__title { color: var(--cream); }
.park-fact--dark .park-fact__text { color: rgba(244,239,230,.66); }
.park-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,200,146,.16); color: var(--gold-light);
  border-radius: var(--r-pill); padding: 6px 12px;
  font: 600 11px/1 var(--font); letter-spacing: .06em; margin-bottom: 12px;
}
.park-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); }
.park-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 32px); margin-top: clamp(20px, 3vw, 32px); }
.park-fig { margin: 0; border-radius: 26px; overflow: hidden; position: relative; aspect-ratio: 16 / 10; }
.park-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.park-fig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 20px 16px;
  background: linear-gradient(0deg, rgba(20,16,9,.72), transparent);
  color: var(--cream); font: 600 15px/1.3 var(--font);
}

/* ---------- Адаптив ---------- */
@media (max-width: 720px) {
  .adv-row, .adv-row--reverse { flex-direction: column; }
  .plan-grid { grid-template-columns: 1fr; }
}
