/* ==================================================================
   ТЕКСТОВЫЕ СТРАНИЦЫ: «О проекте», «Брокерам», сценарии на «Инвесторам»
   Единый вертикальный ритм: шапка → 64 px → секции через 72 px.
   ================================================================== */
.pg .pick-head{padding:34px 0 0;max-width:900px}
.pg .pick-head h1{margin-bottom:18px;line-height:1.08}
.pg .pick-sum{font-size:17px;line-height:1.6;max-width:820px}

.pg-sec{margin:72px 0}
.pg .pick-head + .pg-sec{margin-top:56px}
.pg-sec .sec-head{max-width:820px;margin-bottom:28px}
.pg-sec .sec-head h2{margin-bottom:12px;line-height:1.12}
.pg-sec .sec-head p{margin:0}
.pg-sec > .btn{margin-top:24px}
.pg-note{margin-top:16px;font-size:13.5px;line-height:1.6;color:var(--muted);max-width:820px}

/* Карточки с цифрами */
.pg-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.pg-facts.is-4{grid-template-columns:repeat(4,1fr)}
.pg-fact{background:var(--white);border:1px solid var(--line);border-radius:var(--r);padding:20px 22px}
.pg-fact b{display:block;font-family:var(--f-mono);font-size:28px;font-weight:500;color:var(--ink);
  letter-spacing:-.02em;line-height:1.1;margin-bottom:8px}
.pg-fact b small{font-size:14px;margin-left:6px;letter-spacing:0}
.pg-fact span{display:block;font-size:14px;line-height:1.5;color:var(--muted)}

/* Карточки-факты и списки — одинаковые внутренние поля */
.pg-sec .feats .feat{padding:28px 26px}
.pg-sec .feat-n{margin-bottom:12px}
.pg-sec .ba-list{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.pg-sec .ba-list > div{padding:22px 20px}
.pg-sec .hp-pack{padding:30px 28px}

.pg .plan-cta{margin-top:72px}

@media(max-width:900px){
  .pg-facts,.pg-facts.is-4{grid-template-columns:1fr 1fr}
  .pg-sec{margin:56px 0}
  .pg .pick-head + .pg-sec{margin-top:40px}
}
@media(max-width:520px){
  .pg-facts,.pg-facts.is-4{grid-template-columns:1fr}
  .pg .pick-head h1 br{display:none}
}
.pg .plan-types{margin-bottom:20px}
.pg .plan-types + .pg-note{margin-bottom:56px}
.pg .ptype-media{height:360px;display:flex;align-items:center;justify-content:center}
.pg .ptype-media img{width:100%;height:100%;object-fit:contain;padding:16px;cursor:zoom-in}
.pg .ptype-body{justify-content:center}
@media(max-width:760px){.pg .ptype-media{height:300px}}

/* ==================================================================
   ФОТО НА СТРАНИЦАХ
   .ph-hero  — широкий кадр под заголовком страницы
   .ph-strip — ряд из трёх кадров
   .ph-split — текст рядом с кадром
   ================================================================== */
.ph-hero{position:relative;margin:34px 0 44px;border-radius:var(--r-lg);overflow:hidden;background:var(--paper-2);aspect-ratio:21/9}
.ph-hero picture,.ph-strip picture,.ph-split picture{display:block;width:100%;height:100%}
.ph-hero img,.ph-strip img,.ph-split img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in}
.ph-hero figcaption{position:absolute;left:0;right:0;bottom:0;padding:44px 26px 18px;color:#fff;font-size:14px;line-height:1.45;
  background:linear-gradient(to top,rgba(10,31,24,.82) 20%,transparent);pointer-events:none}
.ph-hero figcaption b{display:block;font-family:var(--f-display);font-weight:600;font-size:clamp(17px,1.9vw,22px);margin-bottom:4px;letter-spacing:-.01em}
.ph-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0 0}
.ph-strip figure{margin:0;min-width:0}
.ph-strip .ph-img{border-radius:var(--r);overflow:hidden;aspect-ratio:3/2;background:var(--paper-2)}
.ph-strip figcaption{margin-top:9px;font-size:13.5px;color:var(--muted);line-height:1.45}
.ph-strip.is-wide{grid-template-columns:2fr 1fr 1fr}
.ph-strip.is-wide figure:first-child .ph-img{aspect-ratio:auto;height:100%}
.ph-strip.is-wide figure:first-child{display:flex;flex-direction:column}
.ph-strip.is-wide figure:first-child .ph-img{flex:1;min-height:0}
.ph-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:40px;align-items:center;margin:28px 0 0}
.ph-split.is-rev{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.ph-split.is-rev .ph-img{order:-1}
.ph-split .ph-img{border-radius:var(--r-lg);overflow:hidden;aspect-ratio:3/2;background:var(--paper-2)}
.ph-split h2{margin-bottom:14px}
.ph-split p{color:var(--muted);font-size:16px;line-height:1.65}
.ph-split p+p{margin-top:12px}
.ph-split ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px}
.ph-split li{position:relative;padding-left:22px;font-size:15px;line-height:1.5}
.ph-split li::before{content:"";position:absolute;left:2px;top:.55em;width:8px;height:8px;border-radius:50%;background:var(--sage)}
.ph-note{margin-top:10px;font-size:12.5px;color:var(--muted)}
@media(max-width:900px){
  .ph-hero{aspect-ratio:16/9;margin-top:26px;margin-bottom:36px}
  .ph-strip,.ph-strip.is-wide{grid-template-columns:1fr 1fr}
  .ph-strip.is-wide figure:first-child{grid-column:1/-1}
  .ph-strip.is-wide figure:first-child .ph-img{aspect-ratio:16/9;height:auto}
  .ph-strip > figure:nth-child(3):last-child{grid-column:1/-1}
  .ph-strip > figure:nth-child(3):last-child .ph-img{aspect-ratio:16/9}
  .ph-split,.ph-split.is-rev{grid-template-columns:1fr;gap:22px}
  .ph-split.is-rev .ph-img{order:0}
}
@media(max-width:560px){
  .ph-hero{aspect-ratio:4/3;border-radius:var(--r)}
  .ph-hero figcaption{padding:36px 16px 14px;font-size:13px}
  .ph-strip,.ph-strip.is-wide{grid-template-columns:1fr;gap:18px}
  .ph-strip > figure:nth-child(3):last-child .ph-img,.ph-strip.is-wide figure:first-child .ph-img{aspect-ratio:3/2}
}

/* Карта Яндекса на странице «Локация» */
.imap-canvas{position:relative}
.imap-cat:disabled{cursor:default}
.imap-cat:focus-visible{outline:3px solid #C9922F;outline-offset:3px}
@media(min-width:901px){.imap .imap-fail{padding-left:370px}}
.imap-pin{pointer-events:none}
.imap-pin.is-hot span{transform:rotate(-45deg) scale(1.35)}

/* Отдельные фото-блоки между разделами: свой воздух сверху и снизу */
.ph-block{margin:72px 0}
.ph-block > .ph-split:first-child{margin-top:0}
.ph-strip + .ph-note{margin-top:12px}
@media(max-width:900px){.ph-block{margin:56px 0}}

/* Частые вопросы: колонка по центру, текст внутри — по левому краю */
.faq-center .sec-head{max-width:820px;margin-left:auto;margin-right:auto;text-align:center}
.faq-center .faq,.faq-mid{margin-left:auto!important;margin-right:auto!important;max-width:820px}
.faq-center .faq-item,.faq-mid .faq-item{text-align:left}
.faq-mid .faq-group > h2{text-align:center}
.faq-foot{display:flex;justify-content:center;max-width:820px;margin:0 auto}
.faq-a{max-width:none}

/* Сроки передачи ключей — две карточки, как в презентации */
.keys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:640px}
.key-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;row-gap:3px;align-items:center;
  padding:14px 16px 14px 18px;background:var(--white);border:1px solid var(--line);border-radius:var(--r);min-width:0}
.key-card .key-corp{grid-column:1;grid-row:1}
.key-card .key-when{grid-column:1;grid-row:2}
.key-corp{font-size:12.5px;color:var(--muted)}
.key-when{font-size:16px;font-weight:600;color:var(--ink);white-space:nowrap}
.key-when .num{font-family:var(--f-mono);font-weight:500}
/* на тёмном первом экране */
.keys-dark{margin:-8px 0 30px}
.keys-dark .key-card{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);backdrop-filter:blur(6px)}
.keys-dark .key-corp{color:rgba(255,255,255,.62)}
.keys-dark .key-when{color:#fff}
.keys-page{margin:0 0 44px}
@media(max-width:560px){
  .keys{grid-template-columns:1fr}
  .key-when{font-size:15px}
}
.ph-hero + .keys-page{margin-top:-20px}

/* ==================================================================
   Посадочные страницы под поисковые запросы (seo-landing.php)
   ================================================================== */
.sl .sl-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.sl .loc-facts-row{margin-bottom:8px}
.sl-lots h2,.sl-text h2,.sl-links h2{margin-bottom:18px}
.sl-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sl-card{display:flex;flex-direction:column;padding:16px;background:var(--white,#fff);border:1px solid var(--line,#e4e2db);border-radius:16px;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.sl-card:hover{border-color:var(--pine,#064E3B);box-shadow:0 8px 24px rgba(16,28,23,.08);transform:translateY(-2px)}
.sl-plan{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;margin-bottom:12px;background:var(--paper-2,#f3efe8);border-radius:12px;overflow:hidden}
.sl-plan img{width:86%;height:86%;object-fit:contain}
.sl-promo{position:absolute;top:8px;left:8px;padding:3px 9px;border-radius:999px;background:#D9481C;color:#fff;font-size:12px;font-weight:600}
.sl-sub{font-size:13px;color:var(--muted,#6b6f6a)}
.sl-title{margin:4px 0 8px;font-weight:600;font-size:16px;line-height:1.3}
.sl-price{margin-top:auto;font-size:20px;font-weight:700}
.sl-ppm{font-size:13px;color:var(--muted,#6b6f6a)}
.sl-more{margin-top:20px}
.sl-text{max-width:820px}
.sl-text p{font-size:17px;line-height:1.6}
.sl-links ul{display:flex;flex-wrap:wrap;gap:10px 24px;list-style:none;padding:0;margin:0}
.sl-links a{font-weight:600}
@media(max-width:1000px){.sl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.sl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sl-card{padding:12px}.sl-price{font-size:17px}.sl .sl-acts .btn{width:100%}}
.sl-inst{margin-top:2px;font-size:13px;color:var(--pine,#064E3B);font-weight:500}

/* Прайс-лист */
.pr-cnt{font:500 15px var(--f-body);color:var(--muted);margin-left:8px}
.pr-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.pr-table{width:100%;border-collapse:collapse;font-size:14px;min-width:760px}
.pr-table th{text-align:left;font-weight:600;color:var(--muted);padding:8px 10px;border-bottom:1.5px solid var(--line-hi);white-space:nowrap}
.pr-table td{padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.pr-table td.num{font-variant-numeric:tabular-nums}
.pr-table tr.is-promo td{background:#FFF4EE}
.pr-promo{padding:1px 7px;border-radius:999px;background:#D9481C;color:#fff;font-size:11px;font-weight:600}
@media print{.hdr,.ftr,.fab,.pr-noprint,.cookie,#cookie-note{display:none!important}.pr-table{min-width:0;font-size:11px}.pr-table td,.pr-table th{padding:4px 6px}}
.sl-more{display:flex;flex-wrap:wrap;gap:10px}
.cfield-note{display:block;margin-top:6px;font-size:12.5px;line-height:1.4;color:var(--muted)}

/* Статьи */
.st-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:34px 0 60px}
.st-card{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--white);color:inherit;text-decoration:none;transition:border-color .15s}
.st-card:hover{border-color:var(--pine)}
.st-card b{font-size:18px;line-height:1.3}
.st-card span{font-size:15px;line-height:1.5;color:var(--muted)}
.st-date{margin-top:10px;font-size:13px;color:var(--muted)}
.st-body{max-width:780px;margin:34px 0 40px;font-size:17px;line-height:1.65}
.st-body h2{margin:34px 0 12px;font-size:24px}
.st-body ul{padding-left:20px}
.st-body li{margin-bottom:8px}
.st-body a{color:var(--pine);font-weight:600}
.st-table{width:100%;border-collapse:collapse;font-size:15px;margin:10px 0}
.st-table th,.st-table td{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.st-table th{color:var(--muted);font-weight:600}
.st-note{font-size:14px;color:var(--muted)}
@media(max-width:760px){.st-list{grid-template-columns:1fr}.st-body{font-size:16px}.st-table{font-size:13px}.st-table th,.st-table td{padding:7px 5px}}
.st-body p{margin:0 0 14px}
.pr .sl-acts{margin-top:22px}

/* ===== Условия покупки: блок «Рассрочка без удорожания» ===== */
.inst-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px;align-items:stretch;
  margin:40px 0 8px;padding:44px;border-radius:var(--r-lg);background:var(--ink);color:#fff}
.inst-hero h2{color:#fff;font-size:clamp(24px,2.6vw,34px);line-height:1.15;margin:0 0 14px}
.inst-lead{color:rgba(255,255,255,.82);font-size:16px;line-height:1.55;margin:0 0 22px;max-width:560px}
.inst-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:26px}
.inst-facts div{padding:14px 16px;border-radius:var(--r);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.inst-facts b{display:block;font-family:var(--f-display);font-size:28px;line-height:1.1;color:var(--champagne)}
.inst-facts span{display:block;margin-top:4px;font-size:13px;color:rgba(255,255,255,.75)}
.inst-acts{display:flex;flex-wrap:wrap;gap:10px}
.inst-hero .inst-btn{background:var(--champagne);color:var(--ink)}
.inst-hero .inst-btn:hover{background:var(--champagne-hi)}
.inst-hero .inst-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.inst-hero .inst-btn-ghost:hover{border-color:#fff;background:transparent}
.inst-calc{display:flex;flex-direction:column;padding:28px;border-radius:var(--r);background:var(--white);color:var(--text)}
.inst-calc label{font-size:13px;color:var(--muted)}
.inst-price{display:block;font-family:var(--f-display);font-size:28px;margin:4px 0 12px;color:var(--ink)}
.inst-calc input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:6px;margin:10px 0 0;border-radius:3px;cursor:pointer;
  background:linear-gradient(to right,var(--pine) var(--fill,50%),var(--sage-soft) var(--fill,50%))}
.inst-calc input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:#fff;border:3px solid var(--pine);box-shadow:0 2px 6px rgba(0,0,0,.2)}
.inst-calc input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;border:3px solid var(--pine)}
.inst-scale{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:6px 0 16px}
.inst-res{margin:0;display:grid;gap:0;border-top:1px solid var(--line)}
.inst-res div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.inst-res dt{font-size:14px;color:var(--muted)}
.inst-res dd{margin:0;font-weight:600;font-size:17px;color:var(--ink);white-space:nowrap}
.inst-res div:nth-child(2) dd{color:var(--pine);font-size:20px}
.inst-calc-acts{margin-top:auto;padding-top:18px;display:flex;flex-direction:column;align-items:center;gap:12px}
.inst-link{font-weight:600;color:var(--pine)}
@media(max-width:900px){
  .inst-hero{grid-template-columns:1fr;padding:24px 18px;gap:20px}
  .inst-facts b{font-size:22px}
  .inst-acts .btn{flex:1 1 100%}
}

/* v75: корпус А — только с чистовой отделкой, подаём как плюс */
.key-card .key-fin{grid-column:1/-1;grid-row:3;font-size:12.5px;color:var(--pine);margin-top:2px}
.keys-dark .key-card .key-fin{color:#BFE3C9}

/* v75: брокерам — запись клиента на показ */
.br-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.pg .br-show{margin-top:28px;margin-bottom:56px;scroll-margin-top:90px}
.br-show .br-alt{margin-top:14px;font-size:14.5px}
.br-show .br-alt a{font-weight:600}
.bs-grp{display:flex;flex-direction:column;margin-bottom:14px}
.bs-grp .bs-cap{margin-bottom:8px}
#br-show-form .bs-grp input{margin:0 0 11px}
#br-show-form .bs-grp input:last-child{margin-bottom:0}
.bs-cap{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.bs-when{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.bs-when>div{display:flex;flex-direction:column}
.bs-when input,.bs-when select{width:100%}
.bs-when input,.bs-when select{font-family:var(--f-body);font-size:15.5px;color:var(--text);padding:12px 14px;border:1.5px solid var(--line-hi);border-radius:var(--r-sm);background:var(--white);min-height:50px}
.bs-when input:focus,.bs-when select:focus{border-color:var(--pine);outline:none}
.bs-grp input{margin-bottom:0}
.pg .br-show{align-items:start}
.nw{white-space:nowrap}
.inst-calc .inst-sel{width:100%;margin:6px 0 14px;padding:11px 12px;border:1.5px solid var(--line-hi);border-radius:var(--r-sm);background:var(--white);font:inherit;font-size:15px;color:var(--text)}

/* Брокерам: выбор «показ / бронь», ссылка под блоком партнёрства */
.bs-task{display:flex;gap:6px;margin:16px 0 14px}
.bs-task label{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;background:#fff}
.bs-task label:has(input:checked){border-color:var(--green,#064E3B);background:#E6EFE9}
.bs-task input{accent-color:var(--green,#064E3B);margin:0}
.br-skip{margin:-8px 0 8px;font-size:15px;color:var(--muted)}
.br-skip a{font-weight:600}
.br-pm{margin:14px 0 4px}
.br-pm-cap{display:block;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.br-pm-acts{display:flex;flex-wrap:wrap;gap:8px}
.br-pm-btn{display:inline-flex;align-items:center;padding:10px 16px;border-radius:12px;background:#fff;border:1px solid var(--line);font-weight:600;font-size:15px;color:var(--ink,#16211C);text-decoration:none}
.br-pm-btn:hover{border-color:var(--green,#064E3B)}
/* фиксация клиента брокером: ответ в форме */
.bs-fix-res{margin-top:12px;padding:14px 16px;border-radius:10px;font-size:14.5px;line-height:1.5;display:flex;flex-direction:column;gap:4px}
.bs-fix-res[hidden]{display:none}
.bs-fix-res.ok{background:#E6EFE9;border:1px solid #9CC3AE;color:#0B3B2B}
.bs-fix-res.warn{background:#FBF1E2;border:1px solid #E5C79A;color:#5A3A0E}
.bs-fix-res>b{font-size:15.5px}
#br-show-form [hidden]{display:none}
