/* Разделы многостраничника: всё с префиксом cp-, токены из styles.css */
.cp-in { width: min(var(--content-max-width), calc(100% - var(--content-inline-space))); margin-inline: auto; }
.cp-page { padding-top: calc(var(--header-height) + 32px); }
.cp-hero { padding-bottom: 64px; }
.cp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 24px; }
.cp-hero--plain .cp-hero__grid { grid-template-columns: minmax(0, 760px); }
.cp-hero h1 { margin: 0; font-size: var(--type-page-title-size); line-height: var(--type-page-title-leading); font-weight: 700; }
.cp-hero p { margin: 20px 0 32px; font-size: 18px; line-height: 1.55; color: rgba(33, 34, 27, .78); }
.cp-hero--plain p { margin-bottom: 0; }
.cp-hero figure { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; background: var(--color-light-hover); }
.cp-hero figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-sec { padding: 64px 0; }
.cp-sec--tint { background: #efece4; }
.cp-sec h2, .cp-split h2, .cp-band h2 { margin: 0 0 32px; font-size: 32px; line-height: 1.2; font-weight: 700; }
.cp-stats { padding: 8px 0 32px; }
.cp-stats ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.cp-stats li { padding-top: 16px; border-top: 1px solid rgba(33, 34, 27, .3); }
.cp-stats b { display: block; font-size: 26px; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.cp-stats span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: rgba(33, 34, 27, .72); }
.cp-split { padding: 40px 0; }
.cp-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cp-split--flip figure { order: 2; }
.cp-split figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-light-hover); }
.cp-split figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #21221b; }
.cp-split h2 { margin-bottom: 16px; }
.cp-split p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: rgba(33, 34, 27, .82); }
.cp-more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.cp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.cp-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cp-card { display: block; color: inherit; text-decoration: none; }
.cp-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--color-light-hover); }
.cp-card h3 { margin: 14px 0 4px; font-size: 18px; line-height: 1.3; font-weight: 700; }
.cp-card p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(33, 34, 27, .72); }
.cp-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.cp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: cp; }
.cp-steps li { counter-increment: cp; padding-top: 16px; border-top: 1px solid rgba(33, 34, 27, .3); }
.cp-steps li::before { content: "0" counter(cp); display: block; margin-bottom: 12px; font-size: 14px; color: rgba(33, 34, 27, .6); }
.cp-steps h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.cp-steps p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(33, 34, 27, .78); }
.cp-table { overflow-x: auto; }
.cp-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.cp-table th, .cp-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid rgba(33, 34, 27, .3); text-align: left; vertical-align: top; }
.cp-table thead th { font-size: 13px; font-weight: 600; color: rgba(33, 34, 27, .6); }
.cp-table tbody th { font-weight: 600; }
.cp-note { margin: 16px 0 0; font-size: 14px; color: rgba(33, 34, 27, .72); }
.cp-faq details { border-bottom: 1px solid rgba(33, 34, 27, .3); }
.cp-faq summary { padding: 18px 0; font-size: 17px; font-weight: 600; cursor: pointer; }
.cp-faq details p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: rgba(33, 34, 27, .82); }
.cp-band { padding: 56px 0; background: #21221b; color: #fbf9f3; }
.cp-band .cp-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cp-band h2 { margin: 0 0 8px; }
.cp-band p { margin: 0; max-width: 620px; color: rgba(251, 249, 243, .8); }
.cp-band .button { flex: none; color: #21221b; }
/* на тёмной плашке кнопка светлая */
.cp-band .button-01:not(.ghost) { background-color: #fbf9f3; }
@media (hover: hover) and (pointer: fine) {
  .cp-band .button-01:not(.ghost):hover { background-color: var(--color-light-hover); }
}
.cp-sec--flush { padding-bottom: 0; }
.cp-room-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.cp-room-photos figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-light-hover); }
.cp-room-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-room { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; }
.cp-room__map { min-height: 400px; background: var(--color-light-hover); }
.cp-room__map iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }
.cp-room dl { margin: 0; }
.cp-room dt { margin-top: 20px; font-size: 13px; color: rgba(33, 34, 27, .6); }
.cp-room dt:first-child { margin-top: 0; }
.cp-room dd { margin: 6px 0 0; font-size: 16px; line-height: 1.5; }
.cp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 24px; margin: 0 0 32px; }
.cp-facts div { padding-top: 12px; border-top: 1px solid rgba(33, 34, 27, .3); }
.cp-facts dt { font-size: 13px; color: rgba(33, 34, 27, .6); }
.cp-facts dd { margin: 4px 0 0; font-size: 15px; line-height: 1.4; font-weight: 600; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.cp-chips a { padding: 10px 14px; border: 1px solid rgba(33, 34, 27, .3); font-size: 13px; text-decoration: none; color: inherit; }
.cp-chips a:hover { background: var(--color-light-hover); }
.site-footer__list--wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
@media (max-width: 1199px) {
  .cp-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cp-page { padding-top: calc(var(--header-height) + 20px); }
  .cp-hero { padding-bottom: 32px; }
  .cp-hero__grid, .cp-split__grid, .cp-room { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cp-hero figure { order: -1; }
  .cp-hero h1 { font-size: clamp(25px, 8vw, 34px); }
  .cp-hero p { font-size: 16px; margin: 14px 0 22px; }
  .cp-split--flip figure { order: 0; }
  .cp-sec { padding: 40px 0; }
  .cp-split { padding: 24px 0; }
  .cp-sec h2, .cp-split h2, .cp-band h2 { font-size: 24px; margin-bottom: 20px; }
  .cp-split h2 { margin-bottom: 12px; }
  .cp-cards { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cp-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .cp-card h3 { font-size: 16px; }
  .cp-band .cp-in { flex-direction: column; align-items: flex-start; }
  .cp-stats b { font-size: 22px; }
}
@media (max-width: 340px) {
  .cp-cards--4 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 340px) {
  .showrooms__title { width: 100%; font-size: 24px; }
  .button { box-sizing: border-box; min-width: 0; max-width: 100%; padding-inline: 12px; }
  .faq__item, .faq__question { box-sizing: border-box; min-width: 0; width: 100%; max-width: 100%; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "menu" "contacts" "documents" "socials" "bottom"; }
  .showrooms__inner { width: calc(100% - 32px); }
}
@media (max-width: 340px) {
  .site-header__inner { box-sizing: border-box; width: 100%; padding-inline: 12px; }
  .site-header__logo, .site-header__logo img { width: 92px; height: auto; }
  .mobile-actions { gap: 0; margin-left: auto; }
}
