/* Раскладка текстовых страниц (page.html), посадочных (landing-*.html) и акций (promo-*.html). Компоненты — в components.css. */

/* ================= Текстовая страница ================= */
.info-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.info-body > p:first-child { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); }
.info-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: var(--gap); }
.info-help { display: grid; gap: 12px; }
.info-help p { font-size: var(--fs-xs); }
.page-hero .page-hero-aside .btn svg { width: 18px; height: 18px; }
@media (max-width: 1000px) { .info-layout { grid-template-columns: minmax(0, 1fr); } .info-side { position: static; } }

/* ================= Посадочная ================= */
.land-hero .lead { color: var(--dark-ink-2); }
.land-hero .ticks { margin-top: 22px; }
.land-hero .ticks li { color: var(--dark-ink); font-size: var(--fs-body); }
.land-hero .ticks li::before { background-color: rgba(255,255,255,.12); }
.land-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
.land-hero-cta small { flex-basis: 100%; font-size: var(--fs-xs); color: var(--dark-ink-2); }
.land-hero-cta small a { color: var(--dark-ink); text-decoration: underline; text-underline-offset: 3px; }
.land-hero .page-hero-img { aspect-ratio: 1; max-width: 520px; justify-self: end; width: 100%; }
.land-hero .page-hero-img figcaption { position: absolute; }
.land-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.land-why .card { display: grid; gap: 10px; align-content: start; }
.land-why h3 { font-size: var(--fs-h4); }
.land-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.land-toc > * { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: var(--r-s); background: var(--bg); font-weight: 600; font-size: var(--fs-sm); box-shadow: var(--sh-card); transition: color var(--dur-1), box-shadow var(--dur-2); }
.land-toc a:hover { color: var(--accent); box-shadow: var(--sh-hover); }
.land-toc svg { width: 16px; height: 16px; flex: none; }
.land-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; scroll-margin-top: calc(var(--header-h) + 16px); }
.land-block + .land-block { margin-top: var(--sec); padding-top: var(--sec); border-top: 1px solid var(--line); }
.land-media { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: var(--gap); }
.land-media img { width: 100%; border-radius: var(--r-l); aspect-ratio: 1; object-fit: cover; background: var(--surface-2); }
.land-copy { display: grid; gap: var(--sp-6); min-width: 0; }
.land-copy > .h2 { font-size: clamp(26px, 2.6vw, 36px); }
.land-copy .prose { max-width: none; }
.land-note { display: grid; gap: 6px; padding: clamp(18px, 2vw, 26px); border-radius: var(--r-m); background: var(--dark); color: var(--dark-ink); }
.land-note b { font-family: var(--font-h); font-size: var(--fs-h4); letter-spacing: -.01em; }
.land-note p { color: var(--dark-ink-2); font-size: var(--fs-sm); }
.land-note--accent { background: var(--accent); }
.land-note--accent p { color: rgba(255,255,255,.88); }
.land-expert { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.land-expert img { border-radius: var(--r-l); width: 100%; aspect-ratio: 1; object-fit: cover; }
.land-expert .cluster { margin-top: 8px; }
.land-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.land-results img { border-radius: var(--r-m); width: 100%; aspect-ratio: 1; object-fit: cover; }
.land-products { display: grid; gap: 12px; }
.land-products .card { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 22px; align-items: center; padding: 14px 22px 14px 14px; }
.land-products img { width: 168px; height: 168px; border-radius: var(--r-s); object-fit: cover; }
.land-products h3 { font-size: var(--fs-h5); line-height: 1.3; letter-spacing: -.01em; margin-bottom: 6px; }
.land-products p { font-size: var(--fs-sm); line-height: 1.55; }
.table td:not(:first-child) { white-space: normal; }
.table--matrix td:not(:first-child), .table--matrix th:not(:first-child) { text-align: center; }
.table--matrix .yes { color: var(--success); font-weight: 700; }
.table--matrix .no { color: var(--ink-3); }
@media (max-width: 1000px) {
  .land-block, .land-expert { grid-template-columns: minmax(0, 1fr); }
  .land-media { position: static; }
  .land-media img, .land-expert img { aspect-ratio: 16/10; }
  .land-hero .page-hero-img { justify-self: start; max-width: none; aspect-ratio: 16/10; }
}
@media (max-width: 820px) { .land-why, .land-results { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .land-products .card { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 12px 12px 18px; gap: 14px; } .land-products img { width: 100%; height: auto; aspect-ratio: 16/10; } }

/* ================= Акция ================= */
.promo-terms { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.promo-terms .offer-big { font-size: clamp(30px, 3.4vw, 48px); }
.promo-terms img { border-radius: var(--r-l); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.promo-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.promo-facts li { padding: 12px 16px; border-radius: var(--r-s); background: var(--surface); display: grid; gap: 2px; }
.promo-facts small { font-size: var(--fs-micro); color: var(--ink-3); }
.promo-facts b { font-family: var(--font-h); font-size: 19px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.promo-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); }
.promo-features li { display: grid; gap: 10px; align-content: start; padding: var(--card-pad); border-radius: var(--r-m); background: var(--bg); box-shadow: var(--sh-card); }
.promo-features h3 { font-size: var(--fs-h5); line-height: 1.3; }
.promo-features p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 900px) { .promo-terms { grid-template-columns: minmax(0, 1fr); } }
.h2--long { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; max-width: 34ch; }
.promo-terms .offer-tag { justify-self: start; }
.promo-terms .stack > .offer-big span { display: block; color: var(--accent); }
.table--matrix td span { font-size: 18px; line-height: 1; }

/* ================= Новости: лента и запись ================= */
.news-list { display: grid; gap: clamp(24px, 3vw, 40px); }
.news-chips .count { margin-left: 2px; }
.post-body { max-width: none; overflow-wrap: break-word; }
.post-body > .post-cover { margin-top: 0; }
.post-img { display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); border-radius: var(--r-m); overflow: hidden; cursor: zoom-in; }
.post-img img { width: 100%; max-height: 640px; object-fit: contain; background: var(--surface); }
.post-cover .post-img img { max-height: 560px; object-fit: cover; }
.post-photos { margin-block: 1.6em; }
.post-photo-video { position: relative; background: var(--dark) !important; cursor: pointer !important; }
.post-photo-video .play { width: 52px; height: 52px; }
.post-video { margin-block: 1.6em; max-width: 720px; }
.post-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--r-m); overflow: hidden; background: var(--dark); }
.post-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-tags { margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.post-tags .chips a { text-decoration: none; color: var(--ink); }
.post-tags .chips a:hover { color: #fff; }
.page-hero-meta a.badge:hover { background: var(--accent-hover); }

/* ================= Акции, контакты, карьера ================= */
.promo-list { display: grid; gap: var(--gap); }
.promo-list .offer { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.promo-list .offer-img { min-height: 300px; }
@media (max-width: 600px) { .promo-list .offer { grid-template-columns: 1fr; } .promo-list .offer-img { min-height: 0; } }
.contacts-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contacts-list { display: grid; gap: 26px; }
.contacts-list .contact a:not(.link-arrow), .contacts-list .contact b { font-family: var(--font-h); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.015em; line-height: 1.3; display: block; }
.contacts-list .contact em { display: block; font-style: normal; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 2px; }
.contacts-list .contact .link-arrow { margin-top: 8px; font-size: var(--fs-sm); }
.contacts-map { border-radius: var(--r-l); overflow: hidden; background: var(--surface-2); aspect-ratio: 4/3; box-shadow: var(--sh-card); }
.contacts-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contacts-req { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contacts-req .lead { margin-top: 14px; }
@media (max-width: 1000px) { .contacts-grid, .contacts-req { grid-template-columns: minmax(0, 1fr); } .contacts-map { aspect-ratio: 16/11; } }
.career-banner { margin: 0 0 var(--sec); border-radius: var(--r-l); overflow: hidden; background: var(--surface); }
.career-banner img { width: 100%; }
.career-jobs summary span { display: grid; gap: 4px; }
.career-jobs summary small { font-family: var(--font-b); font-weight: 500; font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: 0; }
.career-jobs .acc-body { max-width: 80ch; color: var(--ink); font-size: var(--fs-body); }

/* ================= Поиск, 404, документы ================= */
.search-res, .nf { display: grid; gap: clamp(24px, 3vw, 40px); }
.search-form { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: var(--r-btn); background: var(--surface); max-width: 760px; }
.search-form > span { display: inline-flex; color: var(--ink-3); }
.search-form svg { width: 20px; height: 20px; }
.search-form .input { flex: 1; min-width: 0; background: none; border: 0; padding-inline: 0; box-shadow: none; }
.search-sec { display: grid; gap: 18px; }
.search-sec .h3 .count { vertical-align: middle; }
.search-links, .nf-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.search-links .ccard > span:first-child, .nf-links .ccard > span:first-child { display: none; }
.doc-body { max-width: 80ch; font-size: var(--fs-sm); overflow-wrap: break-word; }
@media (max-width: 560px) { .search-form { flex-wrap: wrap; border-radius: var(--r-m); padding: 12px; } .search-form > span { display: none; } .search-form .btn { width: 100%; } }
.search-links .ccard, .nf-links .ccard { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px; }
