﻿@import url("./css2.css");

:root {
  --color-text: #212121;
  --color-accent-green: #51a50e;
  --color-accent-green-hover: #3e8809;
  --color-accent-green-ring: #9fe650;
  --color-accent-blue: #3496ce;
  --color-accent-orange: #ff4200;
  --color-muted: #757575;
  --color-divider: #6cb600;
  --header-h-desktop: 96px;
  --header-h-mobile: auto;
  --bp-wide: 1200px;
  --bp-tablet: 960px;
  --bp-mobile: 640px;
  --layout-pad: 20px;
  --radius-card: 12px;
  --font-ui: "Manrope", Arial, Helvetica, sans-serif;
  --header-metric-border-color: #c5c5c5;
  --header-metric-border-hover: #a8a8a8;
  --header-metric-radius: 10px;
  --yandex-badge-h: clamp(40px, 2.5vw + 34px, 47px);
  --yandex-badge-logo-h: clamp(13px, 1.8vw + 10px, 16px);
  --yandex-badge-star-h: clamp(12px, 1.6vw + 9px, 14px);
  --yandex-badge-score-size: clamp(12px, 1.6vw + 9px, 14px);
  --yandex-badge-label-size: clamp(9px, 1.1vw + 7px, 10px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Резервируем место под вертикальный скроллбар: при overflow:hidden на body полоса исчезает без сдвига вёрстки (модалка, лайтбокс). */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--color-text);
  background: #fff;
}

body.modal-open,
body.install-lightbox-open {
  overflow: hidden;
}

.layout-wide {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--layout-pad);
  padding-right: var(--layout-pad);
}

/* Контейнеры записи страницы не сужают лендинг: hero и секции — на всю ширину viewport */
.vipseptic-landing-entry,
.vipseptic-front-page-entry {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Обычные страницы (не политика, не лендинг): ограниченная ширина и читаемая типографика */
.page-main:not(.vipseptic-policy-page) {
  /*padding-block: 48px 64px;*/
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-article {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry {
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry > * {
  margin-top: 0;
  margin-bottom: 1rem;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry > :first-child {
  margin-top: 0;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry > :last-child {
  margin-bottom: 0;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry h1,
.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry h2,
.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry h3,
.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry h4,
.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry h5,
.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry h6 {
  margin: 2rem 0 1rem;
  color: var(--color-text);
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry h1 {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry h3 {
  font-size: 22px;
  line-height: 1.25;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry p,
.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry li {
  font-size: 18px;
  line-height: 1.75;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry ul,
.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry li + li {
  margin-top: 0.5rem;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry a {
  color: var(--color-accent-blue);
  text-decoration: none;
}

.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry a:hover,
.page-main:not(.vipseptic-policy-page) .vipseptic-page-entry a:focus-visible {
  text-decoration: underline;
}

/* Пустой Gutenberg-блок «Код» — иначе <pre> даёт зазор под header */
.wp-block-code:has(> code:empty) {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  height: 0;
  overflow: hidden;
}

/* Пустые <p> от wpautop — полоса над футером */
.entry-content p:empty,
.vipseptic-front-page-entry p:empty,
.vipseptic-page-entry p:empty,
.vipseptic-landing-entry p:empty {
  display: none;
  margin: 0;
  padding: 0;
}

.entry-content p:has(> br:only-child),
.vipseptic-front-page-entry p:has(> br:only-child),
.vipseptic-page-entry p:has(> br:only-child),
.vipseptic-landing-entry p:has(> br:only-child) {
  display: none;
  margin: 0;
  padding: 0;
}

/* ---------- Header (как promo.kolodcov.ru: ряд блоков + рамки + зелёные разделители) ---------- */
.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  overflow-x: clip;
}

/* Обёртка шапка — контент — подвал (та же иерархия на главной и Woo). */
.vipseptic-site {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: clamp(12px, 2.5vw, 28px);
  row-gap: 12px;
  min-height: var(--header-h-desktop);
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-zone {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  flex-shrink: 0;
  min-width: 0;
}

.header-zone--brand {
  flex: 0 1 auto;
}

.header-zone--metrics {
  flex: 0 1 auto;
}

.header-zone--metrics > .header-metrics {
  flex: 0 1 auto;
}

.header-zone--contact {
  flex: 0 0 auto;
  margin-left: auto;
}

.header-zone--cart {
  flex: 0 0 auto;
}

.header-leading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.header-logo-link {
  flex-shrink: 0;
  line-height: 0;
}

.header-logo {
  display: block;
  height: 20px !important;
  width: auto !important;
  max-height: 40px;
  /*max-width: min(193px, 50vw);*/
}

.header-tagline {
  margin: 0;
  max-width: 188px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.header-tagline a {
  color: inherit;
  text-decoration: none;
}

.header-tagline a:hover {
  text-decoration: underline;
}

.header-vrule {
  flex-shrink: 0;
  width: 3px;
  height: 40px;
  border-radius: 1px;
  background: var(--color-divider);
}

.header-metrics {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 1.5vw, 20px);
  flex-shrink: 0;
}

.header-vrule--in-metrics {
  display: block;
}

.header-trust {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.yandex-badge,
.header-metric-box {
  box-sizing: border-box;
  border: 1px solid var(--header-metric-border-color);
  border-radius: var(--header-metric-radius);
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.yandex-badge:hover,
.header-metric-box:hover {
  border-color: var(--header-metric-border-hover);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .yandex-badge,
  .header-metric-box {
    transition: none;
  }
}

.yandex-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  min-height: var(--yandex-badge-h);
  padding: 5px 8px;
  font-family: var(--font-ui);
  text-decoration: none;
  color: inherit;
  line-height: 1.2;
}

.yandex-badge:focus-visible {
  outline: 2px solid var(--color-accent-green);
  outline-offset: 2px;
}

.yandex-badge__row {
  display: flex;
  min-width: 0;
}

.yandex-badge__row--rating {
  align-items: center;
  flex-wrap: wrap;
  column-gap: 4px;
  row-gap: 2px;
}

.yandex-badge__logo {
  display: block;
  flex-shrink: 0;
  height: var(--yandex-badge-logo-h);
  width: auto;
}

.yandex-badge__score {
  flex-shrink: 0;
  font-size: var(--yandex-badge-score-size);
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.yandex-badge__stars {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(1px, 0.3vw, 2px);
  margin-left: 2px;
}

.yandex-badge__star {
  display: block;
  flex-shrink: 0;
  height: var(--yandex-badge-star-h);
  width: auto;
}

/*
 * WooCommerce layout: `.woocommerce-page img { height: auto; max-width: 100%; }`
 * на body архивов WC — перебивает размеры бейджа/лого в шапке (intrinsic 73–99px).
 */
body.woocommerce-page .site-header .yandex-badge__logo {
  height: var(--yandex-badge-logo-h);
  width: auto;
  max-width: none;
}

body.woocommerce-page .site-header .yandex-badge__star {
  height: var(--yandex-badge-star-h);
  width: auto;
  max-width: none;
}

body.woocommerce-page .site-header .header-logo {
  max-width: none;
}

.yandex-badge__row--label {
  font-size: var(--yandex-badge-label-size);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-muted);
  overflow-wrap: anywhere;
}

.header-counter-box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 59px;
  min-width: 0;
  padding: 7px 14px 9px;
}

.header-counter-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text);
}

.header-counter-value {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.header-contact {
  flex-shrink: 0;
  text-align: right;
  padding-left: 0;
}

.header-hours {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 2px;
}

.header-hours__time,
.header-hours__days {
  display: inline;
}

.header-phone {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.header-phone a {
  color: inherit;
  text-decoration: none;
}

.header-phone a:hover {
  color: var(--color-accent-blue);
}

.header-consult {
  display: inline-flex;
  align-items: center;
  /*margin-top: 5px;*/
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-orange);
  /*text-decoration: underline;*/
  text-underline-offset: 2px;
}

/*
.header-consult::before {
  content: "→";
  margin-right: 5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
*/

.header-consult:hover {
  color: var(--color-accent-blue);
}

@media (min-width: 961px) {
  .header-hours {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: 0.35em;
  }

  .header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .header-contact-info,
  .header-contact-phones {
    display: contents;
  }

  .header-hours {
    order: 1;
  }

  .header-contact-phones .header-phone:nth-child(1) {
    order: 2;
  }

  .header-contact-phones .header-phone:nth-child(2) {
    order: 3;
  }

  .header-consult {
    order: 4;
  }
}

/* WP: WooCommerce cart in header — fragment .header-cart__count */
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  color: var(--color-accent-green);
  text-decoration: none;
  transition: color 0.15s ease;
}

.header-cart:hover {
  color: var(--color-accent-green-hover);
}

.header-cart:focus-visible {
  outline: 2px solid var(--color-accent-green-ring);
  outline-offset: 2px;
  border-radius: 8px;
}

.header-cart__icon {
  display: block;
  width: 28px;
  height: 28px;
  line-height: 0;
}

.header-cart__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.header-cart__count {
  position: absolute;
  top: 6px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-accent-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
}

.header-cart__count--empty {
  display: none;
}

@media (max-width: 1080px) {
  .header-tagline {
    max-width: 150px;
    font-size: 11px;
  }
}

@media (max-width: 960px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand cart"
      "metrics contact";
    align-items: center;
    column-gap: 12px;
    row-gap: 12px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header-inner:not(:has(.header-zone--cart)) {
    grid-template-areas:
      "brand brand"
      "metrics contact";
  }

  .header-zone {
    gap: 12px;
  }

  .header-zone--brand {
    grid-area: brand;
    min-width: 0;
  }

  .header-zone--metrics {
    grid-area: metrics;
    min-width: 0;
    justify-content: flex-start;
  }

  .header-zone--contact {
    grid-area: contact;
    justify-self: end;
    min-width: 0;
    margin-left: 0;
  }

  .header-zone--cart {
    grid-area: cart;
    justify-self: end;
    align-self: center;
    margin-left: 0;
  }

  .header-leading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .header-logo {
    height: 18px;
  }

  .header-tagline {
    max-width: min(280px, 72vw);
    font-size: 10px;
  }

  .header-vrule {
    display: none;
  }

  .header-metrics {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  .header-trust,
  .header-counter-box {
    min-width: 100px;
  }

  .header-vrule--in-metrics {
    display: none;
  }

  .header-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px 12px;
    width: auto;
    min-width: 0;
    max-width: 100%;
    text-align: right;
  }

  .header-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(112px, 36vw);
    gap: 2px;
  }

  .header-contact-info .header-hours {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 0;
    width: 100%;
    line-height: 1.25;
    text-align: right;
  }

  .header-contact-info .header-hours__time,
  .header-contact-info .header-hours__days {
    display: block;
  }

  .header-contact-info .header-consult {
    display: block;
    width: 100%;
    margin-top: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-align: right;
    line-height: 1.25;
  }

  .header-contact-phones {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
  }

  .header-contact-phones .header-phone {
    font-size: clamp(11px, 3.4vw, 17px);
    line-height: 1.2;
    letter-spacing: 0;
  }

  .header-contact-phones .header-phone,
  .header-contact-phones .header-phone a {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    container-type: inline-size;
    container-name: header-inner;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand contact-info cart"
      "metrics contact-phones contact-phones";
  }

  .site-header-inner:not(:has(.header-zone--cart)) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand contact-info"
      "metrics contact-phones";
  }

  .header-zone--contact {
    display: contents;
  }

  .header-contact {
    display: contents;
  }

  .header-contact-info {
    grid-area: contact-info;
    justify-self: center;
    align-self: center;
    flex: 0 0 auto;
    max-width: none;
    width: max-content;
  }

  .header-contact-info .header-hours {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: baseline;
    width: auto;
    white-space: nowrap;
    column-gap: 0.35em;
  }

  .header-contact-info .header-hours__time,
  .header-contact-info .header-hours__days {
    display: inline;
    white-space: nowrap;
  }

  .header-contact-info .header-consult {
    display: inline-block;
    width: auto;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  .header-contact-phones {
    grid-area: contact-phones;
    justify-self: end;
    align-self: center;
    min-width: 0;
    max-width: 100%;
  }

  .header-contact-phones .header-phone {
    font-size: clamp(11px, 3.4vw, 17px);
    line-height: 1.2;
    letter-spacing: 0;
  }

  .header-contact-phones .header-phone a {
    white-space: nowrap;
  }

  .header-tagline {
    max-width: 160px;
    flex: 0 1 auto;
  }

  .header-metrics {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr);
    align-items: stretch;
    gap: 12px;
    min-width: 0;
    width: 100%;
  }

  .header-trust,
  .header-counter-box {
    min-width: 100px;
    width: 100%;
  }

  .header-trust .yandex-badge {
    width: 100%;
    max-width: 100%;
  }

  @media (max-width: 520px) {
    .site-header-inner {
      grid-template-areas:
        "brand cart cart"
        "contact-info . contact-phones"
        "metrics metrics metrics";
    }

    .site-header-inner:not(:has(.header-zone--cart)) {
      grid-template-areas:
        "brand brand brand"
        "contact-info . contact-phones"
        "metrics metrics metrics";
    }

    .header-contact-info {
      justify-self: start;
      align-self: center;
      min-width: 0;
      max-width: calc(100cqi - max(8.25rem, 34vw) - 8px);
      width: max-content;
      align-items: flex-start;
      text-align: left;
    }

    .header-contact-info .header-hours {
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: flex-start;
      align-items: baseline;
      width: auto;
      max-width: 100%;
      white-space: nowrap;
      column-gap: 0.35em;
    }

    .header-contact-info .header-hours__time,
    .header-contact-info .header-hours__days {
      display: inline;
      white-space: nowrap;
    }

    .header-contact-info .header-consult {
      display: block;
      width: max-content;
      max-width: 100%;
      white-space: normal;
      overflow-wrap: break-word;
      word-break: normal;
      hyphens: none;
      text-align: left;
      line-height: 1.2;
    }

    .header-contact-phones {
      justify-self: end;
      align-self: center;
      flex-shrink: 0;
    }
  }
}

@container header-inner (max-width: 540px) {
  .site-header-inner {
    grid-template-areas:
      "brand cart cart"
      "contact-info . contact-phones"
      "metrics metrics metrics";
  }

  .site-header-inner:not(:has(.header-zone--cart)) {
    grid-template-areas:
      "brand brand brand"
      "contact-info . contact-phones"
      "metrics metrics metrics";
  }

  .header-contact-info {
    justify-self: start;
    align-self: center;
    min-width: 0;
    max-width: calc(100cqi - max(8.25rem, 34vw) - 8px);
    width: max-content;
    align-items: flex-start;
    text-align: left;
  }

  .header-contact-info .header-hours {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: baseline;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    column-gap: 0.35em;
  }

  .header-contact-info .header-hours__time,
  .header-contact-info .header-hours__days {
    display: inline;
    white-space: nowrap;
  }

  .header-contact-info .header-consult {
    display: block;
    width: max-content;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    text-align: left;
    line-height: 1.2;
  }

  .header-contact-phones {
    justify-self: end;
    align-self: center;
    flex-shrink: 0;
  }
}

@media (max-width: 520px) {
  .header-counter-box {
    min-height: auto;
  }

  .header-counter-box .header-counter-label {
    font-size: 10px;
  }

  .header-counter-value {
    font-size: 16px;
  }
}

/* ---------- Hero ---------- */
.page-main {
  padding-top: 0;
  overflow-x: clip;
}

.vipseptic-policy-page {
  padding-block: 48px 64px;
}

.vipseptic-policy-page .vipseptic-policy-article {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.vipseptic-policy-page .vipseptic-policy-content {
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.vipseptic-policy-page .vipseptic-policy-content > * {
  margin-top: 0;
  margin-bottom: 1rem;
}

.vipseptic-policy-page .vipseptic-policy-content > :first-child {
  margin-top: 0;
}

.vipseptic-policy-page .vipseptic-policy-content > :last-child {
  margin-bottom: 0;
}

.vipseptic-policy-page .vipseptic-policy-content h1,
.vipseptic-policy-page .vipseptic-policy-content h2,
.vipseptic-policy-page .vipseptic-policy-content h3,
.vipseptic-policy-page .vipseptic-policy-content h4,
.vipseptic-policy-page .vipseptic-policy-content h5,
.vipseptic-policy-page .vipseptic-policy-content h6 {
  margin: 2rem 0 1rem;
  color: var(--color-text);
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vipseptic-policy-page .vipseptic-policy-content h1 {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.vipseptic-policy-page .vipseptic-policy-content h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
}

.vipseptic-policy-page .vipseptic-policy-content h3 {
  font-size: 22px;
  line-height: 1.25;
}

.vipseptic-policy-page .vipseptic-policy-content p,
.vipseptic-policy-page .vipseptic-policy-content li {
  font-size: 18px;
  line-height: 1.75;
}

.vipseptic-policy-page .vipseptic-policy-content ul,
.vipseptic-policy-page .vipseptic-policy-content ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.vipseptic-policy-page .vipseptic-policy-content li + li {
  margin-top: 0.5rem;
}

.vipseptic-policy-page .vipseptic-policy-content a {
  color: var(--color-accent-blue);
  text-decoration: none;
}

.vipseptic-policy-page .vipseptic-policy-content a:hover,
.vipseptic-policy-page .vipseptic-policy-content a:focus-visible {
  text-decoration: underline;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(920px, 100vh);
  background: #1a1a1a;
  color: #fff;
  padding-bottom: 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Чуть вправо — дом и техника на фото читаются лучше */
  object-position: 62% center;
  display: block;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Читаемость текста слева без сплошной «чёрной стены» */
  background: linear-gradient(
    105deg,
    rgba(18, 18, 18, 0.92) 0%,
    rgba(18, 18, 18, 0.55) 38%,
    rgba(18, 18, 18, 0.12) 62%,
    transparent 78%
  );
  pointer-events: none;
}

.hero-bg-dim-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(
    to top,
    rgba(18, 18, 18, 0.88) 0%,
    rgba(18, 18, 18, 0.35) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 24px;
    align-items: start;
  }

  .hero {
    min-height: auto;
  }
}

.hero-copy {
  max-width: 640px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.35;
  opacity: 0.95;
}

.hero-rule {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 0 16px;
  max-width: 485px;
}

.hero-quiz-hint {
  margin: 0 0 24px;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.35;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--color-accent-green);
  border: 2px solid var(--color-accent-green);
  border-radius: 7px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: var(--color-accent-green-hover);
  color: #fff;
  border-color: var(--color-accent-green-ring);
  animation: pk-btn-ring-breathe 2.4s ease-in-out infinite;
}

.btn-primary:active {
  animation: none;
  background: #337007;
  box-shadow:
    0 0 0 2px rgba(159, 230, 80, 0.75),
    0 4px 14px rgba(81, 165, 14, 0.22);
}

.feature-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

/* Виджеты в зоне карточек: обёртка WP не ломает CSS grid */
.hero .feature-grid > .widget.vipseptic-home-widget {
  display: contents;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  position: relative;
  padding: 16px 16px 16px 36px;
  border-radius: var(--radius-card);
  background: var(--color-accent-blue);
  border: 1px solid var(--color-accent-blue);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent-green);
}

.feature-card strong {
  font-weight: 700;
}

.feature-card a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero: синие карточки — rgba, не opacity на блоке, чтобы белый текст не тускнел */
.hero .feature-card {
  background: rgba(52, 150, 206, 0.55);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.hero .feature-card:hover,
.hero .feature-card:focus-within {
  background: rgba(52, 150, 206, 0.9);
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.hero .feature-card a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

/*
 * Hero / синие блоки: как на promo.kolodcov.ru (Tilda Zero Block, артборд 1200px).
 * Левая колонка 350×100px, правая 324×100px; между колонками ~68px, между строками ~51px.
 */
.hero .feature-grid {
  grid-template-columns: minmax(0, 350px) minmax(0, 324px);
  column-gap: clamp(16px, 5vw, 68px);
  row-gap: clamp(16px, 3vw, 51px);
  width: fit-content;
  max-width: 100%;
  justify-content: start;
}

.hero .feature-card {
  /* Не flex: иначе <strong> и текст после него становятся отдельными flex-item и визуально «в две колонки». */
  min-height: 100px;
  width: 100%;
}

@media (max-width: 960px) {
  .hero .feature-grid {
    grid-template-columns: 1fr;
    width: auto;
    column-gap: 16px;
    row-gap: 16px;
  }

  .hero .feature-card {
    min-height: 70px;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .hero .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
  }
}

@media (max-width: 359px) {
  .hero .feature-card {
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: clamp(11px, 3.2vw, 14px);
  }

  .hero .feature-card::before {
    top: 18px;
  }
}

/* ---------- Quiz flow + каталог брендов ---------- */
.quiz-flow {
  scroll-margin-top: calc(var(--header-h-desktop) + 12px);
}

.quiz-intro {
  padding: 48px 0 28px;
  background: #f8f8f8;
}

.quiz-intro-title {
  margin: 0 0 20px;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.35;
}

.quiz-intro-accent {
  color: #0f8cd5;
}

.quiz-intro-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  font-size: clamp(14px, 1.65vw, 20px);
  line-height: 1.55;
}

.quiz-intro-lead {
  margin: 0;
  min-width: 0;
}

.quiz-intro-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-accent-green);
}

.quiz-intro-gift {
  margin: 0;
  min-width: 0;
}

@media (max-width: 960px) {
  .quiz-intro-columns {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: stretch;
  }

  .quiz-intro-plus {
    width: auto;
    margin: 4px auto;
  }
}

@media (max-width: 640px) {
  .quiz-intro {
    padding: 32px 0 20px;
    background: #fff;
  }
}

.quiz-widget-wrap {
  padding-bottom: 56px;
}

.quiz-widget {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 0;
  min-height: 520px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #fff;
  box-shadow:
    4px 14px 42px rgba(0, 0, 0, 0.09),
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.04);
  align-items: stretch;
}

.quiz-sidebar {
  background: #eff8ef;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid #deeade;
}

.quiz-sidebar-badge {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-green);
}

.quiz-consultant {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.quiz-consultant-photo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.quiz-consultant-bubble {
  flex: 1;
  min-width: 0;
  background: #e5f1e5;
  border-radius: 10px;
  padding: 10px 12px;
}

.quiz-consultant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 6px;
}

.quiz-consultant-name {
  font-size: 14px;
  font-weight: 700;
}

.quiz-consultant-role {
  font-size: 11px;
  color: var(--color-muted);
}

.quiz-consultant-msg {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.quiz-sidebar-note {
  margin: auto 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--color-text);
}

.quiz-main {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.quiz-progress {
  height: 8px;
  border-radius: 4px;
  background: rgba(59, 161, 81, 0.2);
  overflow: hidden;
  margin-bottom: 10px;
}

.quiz-progress-bar {
  height: 100%;
  width: 20%;
  border-radius: 4px;
  background: rgb(59, 161, 81);
  transition: width 0.25s ease;
}

.quiz-step-label {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
}

.quiz-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.quiz-steps-area {
  flex: 1;
  min-height: 0;
}

.quiz-step {
  display: none;
  flex: 1;
}

.quiz-step.is-active {
  display: block;
}

.quiz-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.quiz-q-title {
  margin: 0 0 14px;
  padding: 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quiz-options--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .quiz-options,
  .quiz-options--triple {
    grid-template-columns: 1fr;
  }
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #deeade;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.quiz-option:has(input:checked) {
  border-color: var(--color-accent-green);
  background: rgba(81, 165, 14, 0.06);
}

.quiz-option input {
  accent-color: rgb(59, 161, 81);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.quiz-field-error {
  margin: 10px 0 0;
  font-size: 13px;
  color: #c62828;
  display: none;
}

.quiz-field-error.is-visible {
  display: block;
}

.quiz-final-intro {
  margin-bottom: 16px;
}

.quiz-final-title {
  margin: 0 0 8px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.3;
}

.quiz-final-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-muted);
}

.quiz-final-fields .form-field {
  margin-bottom: 12px;
}

.quiz-final-fields .form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.quiz-final-fields .form-field input[type="text"],
.quiz-final-fields .form-field input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid #deeade;
  border-radius: 6px;
}

.quiz-policy {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-text);
}

.quiz-policy a {
  color: inherit;
  text-decoration: underline;
}

.quiz-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
}

.quiz-footer-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.quiz-widget--final-step .quiz-footer-toolbar {
  align-items: center;
}

.quiz-footer-captcha-block {
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 420px;
}

.quiz-footer-captcha-block[hidden] {
  display: none !important;
}

.quiz-footer-captcha-block .smart-captcha-container {
  margin: 0;
  min-height: 100px;
}

.quiz-footer-captcha-block .quiz-policy {
  margin-top: 6px;
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding-top: 0;
}

/*
.quiz-btn-next::after {
  content: " →";
  font-weight: 700;
}
*/

.quiz-btn-back:not(:disabled):hover {
  border-color: #999;
}

@media (max-width: 640px) {
  .quiz-footer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .quiz-widget--final-step .quiz-footer-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .quiz-footer-captcha-block {
    max-width: none;
  }

  .quiz-actions {
    justify-content: flex-end;
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  background: #fff;
  border: 2px solid #cfcfcf;
  border-radius: 7px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--color-accent-green);
  color: var(--color-accent-green);
}

.btn-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quiz-btn-next[hidden],
.quiz-btn-next.is-hidden,
.quiz-widget--final-step .quiz-btn-next {
  display: none !important;
}

.quiz-btn-submit[hidden],
.quiz-btn-submit.is-hidden {
  display: none !important;
}

.quiz-widget--final-step .quiz-btn-submit:not([hidden]):not(.is-hidden) {
  display: inline-flex;
}

.quiz-success {
  padding: 24px;
  background: #e8f5e9;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
}

@media (max-width: 960px) {
  .quiz-widget {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .quiz-sidebar {
    border-right: none;
    border-bottom: 1px solid #deeade;
  }
}

.catalog-brands-section {
  padding: 56px 0 64px;
  background: #fff;
}

.catalog-brands-head {
  margin-bottom: 28px;
}

.catalog-brands-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.35;
}

.catalog-brands-lead {
  margin: 0;
  font-size: clamp(14px, 1.65vw, 18px);
  line-height: 1.55;
  max-width: 920px;
}

.catalog-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 40px);
  row-gap: clamp(28px, 4vw, 44px);
}

@media (max-width: 960px) {
  .catalog-brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(20px, 3vw, 32px);
    row-gap: clamp(24px, 4vw, 36px);
  }
}

@media (max-width: 640px) {
  .catalog-brands-grid {
    grid-template-columns: 1fr;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    column-gap: 0;
    row-gap: 20px;
  }

  .catalog-brands-section {
    padding: 36px 0 48px;
  }
}

.brand-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  column-gap: 12px;
  row-gap: 0;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  width: 100%;
  height: 100%;
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.07),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.brand-card-media {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 212px;
  margin-bottom: 12px;
}

.brand-card-media img {
  max-width: 100%;
  max-height: 236px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-card-name {
  grid-column: 1;
  grid-row: 2;
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  min-width: 0;
}

.brand-card-price {
  grid-column: 2;
  grid-row: 2;
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-accent-orange);
  text-align: right;
  white-space: nowrap;
}

.brand-card-models {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
}

.brand-card-btn {
  grid-column: 1 / -1;
  grid-row: 4;
  margin-top: 0;
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-green);
  background: #fff;
  border: 2px solid var(--color-accent-green);
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

a.brand-card-btn:visited {
  color: var(--color-accent-green);
}

a.brand-card-btn:hover:visited {
  color: #fff;
}

.brand-card-btn::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  /*background: url("../../../assets/images/main/asset-3d655bc603.svg") center / contain no-repeat;*/
}

.brand-card-btn:hover {
  background: var(--color-accent-green);
  color: #fff;
}

.brand-card-btn:hover::after {
  filter: brightness(0) invert(1);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 28px 24px 24px;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close svg {
  width: 23px;
  height: 23px;
}

.modal-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.modal-desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--color-muted);
  text-align: center;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.form-field input {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
}

.form-field input:focus {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 0;
}

.form-error {
  color: #c62828;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.modal-form-actions {
  margin-top: 20px;
}

.modal-form-actions .btn-primary {
  width: 100%;
  border-radius: 5px;
}

.form-success {
  display: none;
  padding: 16px;
  background: #e8f5e9;
  border-radius: 5px;
  text-align: center;
  font-size: 15px;
}

.form-success.is-visible {
  display: block;
}

.modal-footer-note {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 300;
  text-align: center;
  color: var(--color-text);
}

.modal-footer-note a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.hp-field {
  position: absolute;
  left: -5000px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Подбор под клиента, блок 21 500 + примеры, СНТ ---------- */
.band-personal-pick {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(380px, 48vw, 450px);
  background: #1a1a1a;
}

.band-personal-pick-bg {
  position: absolute;
  inset: 0;
  background:
    url("../../../assets/images/main/asset-0dba3c1810.jpg") center / cover no-repeat;
}

.band-personal-pick-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0.235turn,
    rgba(33, 33, 33, 0.94) 32%,
    rgba(33, 33, 33, 0.45) 48%,
    rgba(33, 33, 33, 0) 68%
  );
}

@media (max-width: 960px) {
  .band-personal-pick-scrim {
    background: linear-gradient(
      165deg,
      rgba(33, 33, 33, 0.92) 20%,
      rgba(33, 33, 33, 0.6) 55%,
      rgba(33, 33, 33, 0.35) 100%
    );
  }
}

.band-personal-pick-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 420px);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding-top: clamp(32px, 5vw, 52px);
  padding-bottom: clamp(32px, 5vw, 52px);
}

@media (max-width: 960px) {
  .band-personal-pick-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .band-personal-pick-list {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
}

.band-personal-pick-title {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.band-personal-pick-list {
  margin: 0 0 clamp(22px, 3vw, 32px);
  padding-left: 1.35em;
  max-width: 560px;
  font-size: clamp(14px, 1.65vw, 18px);
  line-height: 1.55;
  color: #fff;
}

.band-personal-pick-list li {
  margin-bottom: 0.45em;
}

.band-personal-pick-list li:last-child {
  margin-bottom: 0;
}

.band-personal-pick-art {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
}

.band-personal-pick-art img {
  max-width: min(404px, 100%);
  height: auto;
  display: block;
}

@media (max-width: 960px) {
  .band-personal-pick-art {
    justify-self: center;
    max-width: 290px;
  }
}

.install-milestone {
  background: #fff;
}

.install-milestone-head {
  padding: clamp(36px, 4vw, 48px) 0 clamp(16px, 2vw, 24px);
  text-align: center;
}

.install-milestone-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text);
}

.install-milestone-sub {
  margin: 0;
  font-size: clamp(15px, 1.65vw, 18px);
  line-height: 1.55;
  color: var(--color-text);
}

.install-showcase-shell {
  position: relative;
  padding-bottom: 56px;
  background: #fff;
}

.install-showcase-visual {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(248, 248, 248, 0) 0%,
    rgba(248, 248, 248, 0.92) 18%,
    rgba(248, 248, 248, 0.96) 100%
  );
}

.install-showcase-inner {
  position: relative;
  z-index: 1;
}

.install-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

@media (max-width: 960px) {
  .install-examples-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.install-example-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.install-example-media {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  line-height: 0;
  background: #eaeaea;
}

.install-example-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 360 / 257;
  object-fit: cover;
}

.install-example-model {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.install-example-loc {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text);
}

.install-example-pin {
  flex-shrink: 0;
  width: 17px;
  height: auto;
  display: block;
}

.install-example-photo-btn {
  align-self: flex-start;
}

@media (max-width: 960px) {
  .install-example-photo-btn {
    align-self: stretch;
    justify-content: center;
  }
}

.community-montage {
  padding: 30px 0 45px;
  background: #fff;
}

.community-montage-inner {
  text-align: center;
}

.community-montage-title {
  margin: 0 auto 26px;
  max-width: 920px;
  font-size: clamp(18px, 2.8vw, 30px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
}

.community-montage-cta {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}

@media (max-width: 640px) {
  .community-montage-cta {
    width: 100%;
    max-width: 340px;
  }
}

/* ---------- Видео-презентация (секция .reviews-section--ceo-band) + блок магазинов + замер ---------- */
.reviews-section {
  scroll-margin-top: calc(var(--header-h-desktop) + 12px);
  padding: 44px 0 56px;
  background: #fff;
}

.reviews-section--ceo-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /*padding: clamp(52px, 7vw, 92px) 0 clamp(64px, 9vw, 104px);*/
  background: #1a2330;
}

.reviews-section--ceo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("../../../assets/images/main/background_video.jpg") center / cover no-repeat;
}

.reviews-section--ceo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(10, 18, 28, 0.68);
}

.reviews-section--ceo-band > .layout-wide {
  position: relative;
  z-index: 2;
}

.reviews-section--ceo-band .reviews-section-title-dark {
  color: #fff;
}

.reviews-section--ceo-band .reviews-section-lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 52rem;
}

.reviews-section--ceo-band .reviews-section-head {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.ceo-video-band {
  margin-top: clamp(12px, 2vw, 20px);
  padding-block: clamp(12px, 2.5vw, 24px);
}

.ceo-video-band-inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  width: 100%;
}

@media (min-width: 961px) {
  .ceo-video-band-inner {
    grid-template-columns: 284px minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .ceo-video-band-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ceo-video-band-inner .ceo-video-side-card {
    text-align: left;
    max-width: 36rem;
    width: 100%;
  }
}

.reviews-section-head {
  margin-bottom: clamp(28px, 4vw, 40px);
  text-align: center;
}

@media (min-width: 961px) {
  .reviews-section-head {
    text-align: left;
  }
}

.reviews-section-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.35;
}

.reviews-section-title-dark {
  color: var(--color-text);
  font-weight: 600;
}

.reviews-section-lead {
  margin: 0;
  font-size: clamp(15px, 1.65vw, 18px);
  line-height: 1.55;
  max-width: 720px;
}

@media (min-width: 961px) {
  .reviews-section-lead {
    margin-left: 0;
  }
}

@media (max-width: 960px) {
  .reviews-section-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Карточка справа — те же приёмы, что у синих блоков в hero */
.reviews-section--ceo-band .ceo-video-side-card {
  margin: 0;
  align-self: center;
  background: rgba(52, 150, 206, 0.52);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.reviews-section--ceo-band .ceo-video-side-card:hover,
.reviews-section--ceo-band .ceo-video-side-card:focus-within {
  background: rgba(52, 150, 206, 0.92);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.reviews-section--ceo-band .ceo-video-side-card a {
  color: #fff;
}

.reviews-section--ceo-band .ceo-video-side-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.ceo-video-stack {
  display: block;
  width: 100%;
  max-width: 240px; /* +56px к ширине ≈ +100px к высоте при 9:16 */
  padding-block: 24px;
}

@media (min-width: 768px) {
  .ceo-video-stack {
    max-width: 292px;
    padding-block: 32px;
  }
}

@media (min-width: 961px) {
  .ceo-video-stack {
    max-width: 284px;
    padding-block: 40px;
  }
}

@media (max-width: 960px) {
  .ceo-video-stack {
    margin-left: auto;
    margin-right: auto;
  }
}

.ceo-video-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 427px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1218;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-sizing: border-box;
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.2);
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

@media (min-width: 768px) and (max-width: 960px) {
  .ceo-video-frame {
    max-height: 520px;
  }
}

@media (min-width: 961px) {
  .ceo-video-frame {
    max-height: 505px;
  }
}

/*
 * Резерв высоты без «aspect-ratio + height:auto»: только абсолютные дети
 * дают 0px по содержимому в части браузеров — видео пропадает.
 * padding-bottom % считается от ширины блока; 16/9 × 100% = портрет 9:16.
 */
.ceo-video-frame::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 177.777777778%;
}

.ceo-video-el {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  transition: filter 0.3s ease;
}

.ceo-video-fault {
  position: absolute;
  inset: 0;
  z-index: 3;
  box-sizing: border-box;
  padding: clamp(12px, 3vw, 18px);
  overflow: auto;
  background: rgba(252, 252, 252, 0.98);
  border-radius: inherit;
  font-size: 13px;
  line-height: 1.45;
  color: #222;
  text-align: left;
}

.ceo-video-fault-title {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}

.ceo-video-fault-text {
  margin: 0 0 10px;
}

.ceo-video-fault-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #555;
}

.ceo-video-fault-cmd {
  margin: 0;
  padding: 10px 12px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.35;
  word-break: break-word;
  white-space: pre-wrap;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.ceo-video-frame--fault .ceo-video-el {
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 960px) and (pointer: fine) {
  .ceo-video-frame--hover-mode {
    cursor: pointer;
  }

  .pk-motion-enhanced .ceo-video-frame--hover-mode:hover {
    border-color: rgba(52, 150, 206, 0.55);
    box-shadow:
      0 22px 56px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.12),
      0 0 48px rgba(52, 150, 206, 0.18);
  }

  /* Затемнение без слоя поверх video — стабильнее в Chromium, чем отдельный оверлей */
  .pk-motion-enhanced .ceo-video-frame--hover-mode:hover .ceo-video-el {
    filter: brightness(0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ceo-video-frame {
    transition: none;
  }

  .ceo-video-el {
    transition: none;
  }

  .ceo-video-frame--hover-mode:hover,
  .pk-motion-enhanced .ceo-video-frame--hover-mode:hover {
    transform: none;
  }

  .pk-motion-enhanced .ceo-video-frame--hover-mode:hover .ceo-video-el {
    filter: none;
  }
}

/* ---------- Популярные категории (после видео CEO) ---------- */
.popular-categories-section {
  scroll-margin-top: calc(var(--header-h-desktop) + 12px);
  padding: 40px 0 48px;
  background: #fff;
  border-top: 1px solid rgba(26, 35, 48, 0.08);
}

.popular-categories-head {
  margin-bottom: clamp(28px, 4vw, 40px);
  text-align: center;
}

.popular-categories-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text);
}

.popular-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.5vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 641px) {
  .popular-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 961px) {
  .popular-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 36px);
  }
}

.popular-categories-grid > li {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.popular-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-card);
  transition: color 0.22s ease;
}

@keyframes popular-cat-hover-shadow {
  0% {
    box-shadow:
      0 6px 22px rgba(26, 35, 48, 0.1),
      0 0 0               1px rgba(26, 35, 48, 0.06);
  }

  70% {
    box-shadow:
      0 18px 48px rgba(52, 150, 206, 0.32),
      0 8px 20px rgba(26, 35, 48, 0.14),
      0 0 0               1px rgba(52, 150, 206, 0.35),
      0 0 36px rgba(52, 150, 206, 0.16);
  }

  100% {
    box-shadow:
      0 14px 40px rgba(52, 150, 206, 0.28),
      0 6px 16px rgba(26, 35, 48, 0.12),
      0 0 0               1px rgba(52, 150, 206, 0.28),
      0 0 28px rgba(52, 150, 206, 0.12);
  }
}

.popular-cat-media {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #f3f5f7;
  box-shadow:
    0 6px 22px rgba(26, 35, 48, 0.1),
    0 0 0               1px rgba(26, 35, 48, 0.06);
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.popular-cat-media picture,
.popular-cat-media img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0);
  transition: filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.popular-cat-label {
  margin-top: 14px;
  font-size: clamp(15px, 1.55vw, 18px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.popular-cat-card:hover .popular-cat-label {
  color: var(--color-accent-blue);
}

.popular-cat-card:focus-visible {
  outline: 3px solid var(--color-accent-blue);
  outline-offset: 4px;
}

.popular-cat-card:focus-visible .popular-cat-label {
  color: var(--color-accent-blue);
}

@media (hover: hover) and (pointer: fine) {
  .popular-cat-card:hover .popular-cat-media {
    animation: popular-cat-hover-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .popular-cat-card:hover .popular-cat-media img {
    filter: brightness(1.04) saturate(1.03);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .popular-cat-card:hover .popular-cat-media {
    animation: none;
    box-shadow:
      0 14px 40px rgba(52, 150, 206, 0.28),
      0 6px 16px rgba(26, 35, 48, 0.12),
      0 0 0               1px rgba(52, 150, 206, 0.28),
      0 0 28px rgba(52, 150, 206, 0.12);
  }
}

.popular-cat-card:focus-visible .popular-cat-media {
  box-shadow:
    0 14px 40px rgba(52, 150, 206, 0.28),
    0 6px 16px rgba(26, 35, 48, 0.12),
    0 0 0               1px rgba(52, 150, 206, 0.28),
    0 0 28px rgba(52, 150, 206, 0.12);
}

.popular-cat-card:focus-visible .popular-cat-media img {
  filter: brightness(1.04) saturate(1.03);
}

/* ---------- Магазины ---------- */
.stores-section {
  padding: 40px 0 56px;
  background: #fff;
}

.stores-intro {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.stores-intro-title {
  margin: 0 0 16px;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.35;
}

.stores-intro-lead {
  margin: 0;
  max-width: 900px;
  font-size: clamp(15px, 1.65vw, 18px);
  line-height: 1.55;
}

.stores-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 56px);
}

.store-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

@media (max-width: 960px) {
  .store-card {
    grid-template-columns: 1fr;
  }

  .store-card-media {
    order: -1;
  }
}

.store-card-region {
  margin: 0 0 16px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3;
}

.store-card-detail {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.store-card-detail p {
  margin: 0 0 0.35em;
}

.store-card-detail strong {
  font-weight: 600;
}

.store-card-highlight {
  margin-top: 0.75em !important;
  margin-bottom: 0.75em !important;
}

.store-card-routes {
  margin: 0.5em 0 1em;
  padding-left: 1.1em;
}

.store-card-routes li {
  margin-bottom: 0.25em;
}

.store-card-media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
  line-height: 0;
  background: #f5f5f5;
}

.store-card-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 5 / 4;
}

.btn-map-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-orange);
  text-decoration: none;
  background: #fff;
  border: 2px solid var(--color-accent-orange);
  border-radius: 30px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.btn-map-route::after {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("../../../assets/images/main/asset-3d655bc603.svg") center / contain no-repeat;
  filter: invert(39%) sepia(93%) saturate(2476%) hue-rotate(360deg)
    brightness(101%) contrast(103%);
}

.btn-map-route:hover {
  background: var(--color-accent-orange);
  color: #fff;
}

.btn-map-route:hover::after {
  filter: brightness(0) invert(1);
}

/* ---------- Баннер «Замер» ---------- */
.measure-cta {
  position: relative;
  overflow: hidden;
  min-height: clamp(380px, 50vw, 450px);
  background: #1a1a1a;
}

.measure-cta-bg {
  position: absolute;
  inset: 0;
  background:
    url("../../../assets/images/main/asset-0dba3c1810123.png") center / cover no-repeat;
  transform: scale(1.02);
}

.measure-cta-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0.235turn,
    rgba(33, 33, 33, 0.94) 32%,
    rgba(33, 33, 33, 0.45) 48%,
    rgba(33, 33, 33, 0) 66%
  );
}

@media (max-width: 960px) {
  .measure-cta-scrim {
    background: linear-gradient(
      180deg,
      rgba(33, 33, 33, 0.88) 0%,
      rgba(33, 33, 33, 0.55) 45%,
      rgba(33, 33, 33, 0.35) 100%
    );
  }
}

.measure-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(32px, 5vw, 48px);
}

@media (max-width: 960px) {
  .measure-cta-inner {
    text-align: center;
    justify-items: center;
  }
}

.measure-cta-title {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: clamp(22px, 3.8vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.measure-cta-list {
  margin: 0 0 clamp(22px, 3vw, 32px);
  padding-left: 1.35em;
  max-width: 540px;
  font-size: clamp(14px, 1.65vw, 18px);
  line-height: 1.55;
  color: #fff;
}

@media (max-width: 960px) {
  .measure-cta-list {
    text-align: left;
    padding-left: 1.35em;
  }
}

.measure-cta-list li {
  margin-bottom: 0.4em;
}

.measure-cta-list li:last-child {
  margin-bottom: 0;
}

/* Крупная CTA в баннерах «подбор» и «замер»: один класс в разметке — без расхождения по каскаду */
.band-personal-pick .measure-cta-btn,
.measure-cta .measure-cta-btn {
  appearance: none;
  -webkit-appearance: none;
  min-height: 70px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  max-width: 100%;
}

.measure-cta-art {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
}

.measure-cta-art img {
  max-width: min(404px, 100%);
  height: auto;
  display: block;
}

@media (max-width: 960px) {
  .measure-cta-art {
    justify-self: center;
    max-width: 280px;
  }
}

/* ---------- Подвал ---------- */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  padding: clamp(28px, 4vw, 40px) 0;
}

.site-footer-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 48px);
}

.site-footer-col {
  flex: 0 0 auto;
  min-width: 0;
}

.site-footer-col--main {
  flex: 0 0 min(280px, 34%);
  max-width: 280px;
}

.site-footer-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
}

.site-footer-note {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted);
}

.site-footer-note a {
  color: var(--color-accent-blue);
  font-weight: 600;
  text-decoration: none;
}

.site-footer-note a:hover {
  text-decoration: underline;
}

.site-footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--color-muted);
}

.site-footer-col--contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: clamp(32px, 5vw, 72px);
}

.site-footer-col--contact > * {
  margin: 0;
}

.site-footer-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
}

.site-footer-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.2;
}

.site-footer-phone {
  display: block;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer-phone a {
  display: block;
  color: var(--color-text);
  text-decoration: none;
}

.site-footer-phone a:hover {
  color: var(--color-accent-blue);
}

.site-footer-hours {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer-links--catalog {
  flex: 0 0 auto;
  min-width: max-content;
}

.site-footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent-blue);
  text-decoration: none;
}

.site-footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .site-footer-inner {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 28px;
    text-align: center;
  }

  .site-footer-col--main {
    flex-basis: auto;
    max-width: none;
  }

  .site-footer-col--contact {
    margin-left: 0;
  }

  .site-footer-links {
    align-items: center;
  }

  .site-footer-links--catalog {
    margin-left: 0;
    min-width: 0;
  }
}

/* =============================================================================
   Motion layer (Promo Kolodcov) — только при .pk-motion-enhanced на <html>
   WP: этот блок можно вынести в отдельный motion.css и enqueue вторым после style.css
   ============================================================================= */

@keyframes pk-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Только opacity: translate на предке ломает отрисовку <video> в Chromium при composite-слоях */
@keyframes pk-fade-soft {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pk-btn-ring-breathe {
  0%,
  100% {
    box-shadow:
      0 0 0 2px var(--color-accent-green-ring),
      0 0 12px rgba(159, 230, 80, 0.28),
      0 8px 22px rgba(81, 165, 14, 0.28);
  }

  50% {
    box-shadow:
      0 0 0 3px rgb(178, 240, 90),
      0 0 22px rgba(159, 230, 80, 0.42),
      0 8px 26px rgba(81, 165, 14, 0.32);
  }
}

@keyframes pk-ripple-expand {
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

.site-header {
  transition:
    box-shadow 0.35s ease,
    background-color 0.25s ease;
}

.site-header.pk-header--elevated {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* Hero: появление контента после pk-hero-motion-ready (ставится motion.js) */
.pk-motion-enhanced .hero.pk-hero-motion-ready .hero-copy > * {
  animation: pk-fade-up 0.62s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .hero-title {
  animation-delay: 0.02s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .hero-lead {
  animation-delay: 0.1s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .hero-rule {
  animation-delay: 0.16s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .hero-quiz-hint {
  animation-delay: 0.22s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .btn-primary {
  animation-delay: 0.28s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .feature-card {
  animation: pk-fade-up 0.52s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .feature-card:nth-child(1) {
  animation-delay: 0.12s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .feature-card:nth-child(2) {
  animation-delay: 0.17s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .feature-card:nth-child(3) {
  animation-delay: 0.22s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .feature-card:nth-child(4) {
  animation-delay: 0.27s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .feature-card:nth-child(5) {
  animation-delay: 0.32s;
}

.pk-motion-enhanced .hero.pk-hero-motion-ready .feature-card:nth-child(6) {
  animation-delay: 0.37s;
}

.pk-motion-enhanced
  .pk-motion-reveal:not(.pk-motion-visible):not(.hero) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.pk-motion-enhanced .pk-motion-reveal.pk-motion-visible:not(.hero) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

/*
 * Для видео Chromium нестабилен, когда reveal-враппер двигается через transform.
 * Оставляем только opacity-появление именно у #ceo-video, не трогая остальные секции.
 */
.pk-motion-enhanced
  .reviews-section--ceo-band.pk-motion-reveal:not(.pk-motion-visible) {
  opacity: 0;
  transform: none;
}

.pk-motion-enhanced
  .reviews-section--ceo-band.pk-motion-reveal.pk-motion-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-flow.pk-motion-visible .quiz-intro-title,
.quiz-flow.pk-motion-visible .quiz-intro-columns > * {
  animation: pk-fade-up 0.52s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.quiz-flow.pk-motion-visible .quiz-intro-columns > *:nth-child(1) {
  animation-delay: 0.05s;
}

.quiz-flow.pk-motion-visible .quiz-intro-columns > *:nth-child(2) {
  animation-delay: 0.12s;
}

.quiz-flow.pk-motion-visible .quiz-intro-columns > *:nth-child(3) {
  animation-delay: 0.19s;
}

.catalog-brands-section.pk-motion-visible .catalog-brands-head > * {
  animation: pk-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.catalog-brands-section.pk-motion-visible .catalog-brands-head > *:nth-child(2) {
  animation-delay: 0.08s;
}

.catalog-brands-section.pk-motion-visible .brand-card {
  animation: pk-fade-up 0.48s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(1) {
  animation-delay: 0.02s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(2) {
  animation-delay: 0.05s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(3) {
  animation-delay: 0.08s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(4) {
  animation-delay: 0.11s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(5) {
  animation-delay: 0.14s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(6) {
  animation-delay: 0.17s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(7) {
  animation-delay: 0.2s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(8) {
  animation-delay: 0.23s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(9) {
  animation-delay: 0.26s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(10) {
  animation-delay: 0.29s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(11) {
  animation-delay: 0.32s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(12) {
  animation-delay: 0.35s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(13) {
  animation-delay: 0.38s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(14) {
  animation-delay: 0.41s;
}

.catalog-brands-section.pk-motion-visible .brand-card:nth-child(15) {
  animation-delay: 0.44s;
}

.band-personal-pick.pk-motion-visible .band-personal-pick-copy > *,
.measure-cta.pk-motion-visible .measure-cta-inner > * {
  animation: pk-fade-up 0.52s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.band-personal-pick.pk-motion-visible .band-personal-pick-title {
  animation-delay: 0.04s;
}

.band-personal-pick.pk-motion-visible .band-personal-pick-list {
  animation-delay: 0.12s;
}

.band-personal-pick.pk-motion-visible .measure-cta-btn,
.measure-cta.pk-motion-visible .measure-cta-btn {
  animation-delay: 0.16s;
}

.measure-cta.pk-motion-visible .measure-cta-title {
  animation-delay: 0.04s;
}

.measure-cta.pk-motion-visible .measure-cta-list {
  animation-delay: 0.1s;
}

.measure-cta.pk-motion-visible .measure-cta-art {
  animation-delay: 0.12s;
}

.install-milestone.pk-motion-visible .install-milestone-head > * {
  animation: pk-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.install-milestone.pk-motion-visible .install-milestone-sub {
  animation-delay: 0.08s;
}

.community-montage.pk-motion-visible .community-montage-inner > * {
  animation: pk-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.community-montage.pk-motion-visible .community-montage-inner > *:nth-child(2) {
  animation-delay: 0.1s;
}

.reviews-section.pk-motion-visible .reviews-section-head > * {
  animation: pk-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.reviews-section.pk-motion-visible .reviews-section-lead {
  animation-delay: 0.08s;
}

.reviews-section.pk-motion-visible .ceo-video-stack {
  animation: pk-fade-soft 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

.stores-section.pk-motion-visible .stores-intro > * {
  animation: pk-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.stores-section.pk-motion-visible .stores-intro-lead {
  animation-delay: 0.08s;
}

.stores-section.pk-motion-visible .store-card {
  animation: pk-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.stores-section.pk-motion-visible .store-card:nth-child(2) {
  animation-delay: 0.08s;
}

.popular-categories-section.pk-motion-visible .popular-categories-head > * {
  animation: pk-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.popular-categories-section.pk-motion-visible .popular-cat-card {
  animation: pk-fade-up 0.48s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.popular-categories-section.pk-motion-visible
  .popular-categories-grid
  > li:nth-child(1)
  .popular-cat-card {
  animation-delay: 0.02s;
}

.popular-categories-section.pk-motion-visible
  .popular-categories-grid
  > li:nth-child(2)
  .popular-cat-card {
  animation-delay: 0.06s;
}

.popular-categories-section.pk-motion-visible
  .popular-categories-grid
  > li:nth-child(3)
  .popular-cat-card {
  animation-delay: 0.1s;
}

.popular-categories-section.pk-motion-visible
  .popular-categories-grid
  > li:nth-child(4)
  .popular-cat-card {
  animation-delay: 0.14s;
}

.popular-categories-section.pk-motion-visible
  .popular-categories-grid
  > li:nth-child(5)
  .popular-cat-card {
  animation-delay: 0.18s;
}

.popular-categories-section.pk-motion-visible
  .popular-categories-grid
  > li:nth-child(6)
  .popular-cat-card {
  animation-delay: 0.22s;
}

/* Кнопки: без сдвига по вертикали при hover — только цвет/тень из .btn-primary:hover */

.btn-primary:focus-visible {
  outline: 3px solid var(--color-accent-blue);
  outline-offset: 3px;
}

.header-consult {
  transition: color 0.2s ease, text-underline-offset 0.2s ease;
}

.pk-motion-enhanced .header-consult:hover {
  text-underline-offset: 4px;
}

.brand-card {
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}

.pk-motion-enhanced .brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(52, 150, 206, 0.2);
}

.brand-card-btn:focus-visible {
  outline: 3px solid var(--color-accent-blue);
  outline-offset: 3px;
}

/* Ripple (motion.js) */
.pk-ripple {
  position: absolute;
  left: var(--pk-rx, 50%);
  top: var(--pk-ry, 50%);
  width: var(--pk-rd, 200px);
  height: var(--pk-rd, 200px);
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.55;
  animation: pk-ripple-expand 0.55s ease-out forwards;
}

.brand-card-btn .pk-ripple {
  background: rgba(255, 255, 255, 0.35);
}

/* Модальное окно */
.modal-dialog {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.modal-overlay:not(.is-open) .modal-dialog {
  transform: scale(0.94) translate3d(0, 16px, 0);
  opacity: 0;
}

.modal-overlay.is-open .modal-dialog {
  transform: scale(1) translate3d(0, 0, 0);
  opacity: 1;
}

.modal-close {
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-close:focus-visible {
  outline: 3px solid var(--color-accent-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }

  .hero .feature-card {
    transition: none;
  }

  .btn-primary:hover {
    animation: none;
    box-shadow:
      0 0 0 2px var(--color-accent-green-ring),
      0 8px 22px rgba(81, 165, 14, 0.32);
  }

  .pk-motion-enhanced .hero .hero-copy > *,
  .pk-motion-enhanced .hero .feature-card,
  .quiz-flow.pk-motion-visible .quiz-intro-title,
  .quiz-flow.pk-motion-visible .quiz-intro-columns > *,
  .catalog-brands-section.pk-motion-visible .catalog-brands-head > *,
  .catalog-brands-section.pk-motion-visible .brand-card,
  .band-personal-pick.pk-motion-visible .band-personal-pick-copy > *,
  .measure-cta.pk-motion-visible .measure-cta-inner > *,
  .install-milestone.pk-motion-visible .install-milestone-head > *,
  .community-montage.pk-motion-visible .community-montage-inner > *,
  .reviews-section.pk-motion-visible .reviews-section-head > *,
  .reviews-section.pk-motion-visible .ceo-video-stack,
  .stores-section.pk-motion-visible .stores-intro > *,
  .stores-section.pk-motion-visible .store-card,
  .popular-categories-section.pk-motion-visible .popular-categories-head > *,
  .popular-categories-section.pk-motion-visible .popular-cat-card {
    animation: none !important;
  }

  .pk-motion-enhanced
    .pk-motion-reveal:not(.pk-motion-visible):not(.hero) {
    opacity: 1 !important;
    transform: none !important;
  }

  .pk-motion-enhanced .btn-primary:hover {
    transform: none;
  }

  .pk-motion-enhanced .brand-card:hover {
    transform: none;
    box-shadow: none;
  }

  .modal-dialog {
    transition: opacity 0.12s ease;
  }

  .modal-overlay:not(.is-open) .modal-dialog {
    transform: none;
  }

  .modal-overlay.is-open .modal-dialog {
    transform: none;
  }

  .modal-close:hover {
    transform: none;
  }

  .pk-ripple {
    display: none !important;
  }
}
