:root {
  --bg: #f4f7fb;
  --bg-white: #ffffff;
  --surface: #ffffff;
  --surface-muted: #eef3f9;
  --border: #dce4ee;
  --text: #1a2332;
  --muted: #5c6b7e;
  --accent: #0077c8;
  --accent-hover: #005fa3;
  --cta: #e85a24;
  --cta-hover: #cf4a1a;
  --success: #0a8f5c;
  --shadow: 0 4px 24px rgba(26, 35, 50, 0.08);
  --shadow-hover: 0 12px 40px rgba(26, 35, 50, 0.12);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Syne", var(--font);
  --radius: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header — светлый, контакты на виду */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover {
  color: var(--text);
  border-color: var(--border);
  text-decoration: none;
  background: var(--surface-muted);
}
.nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  border-color: var(--accent);
  background: rgba(0, 119, 200, 0.09);
  text-decoration: none;
}

.site-nav-main {
  justify-content: flex-end;
}

.breadcrumb {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 14px;
}
.breadcrumb .sep {
  margin: 0 0.35em;
  opacity: 0.5;
}
.breadcrumb a {
  color: var(--muted);
  font-weight: 500;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  align-items: center;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
.site-footer-inner {
  text-align: center;
}
.footer-tagline {
  margin: 0 0 10px;
  font-size: 0.9rem;
}
.footer-meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.footer-meta a {
  font-weight: 500;
}
.footer-note {
  margin: 0 auto 10px;
  max-width: 640px;
  font-size: 0.86rem;
}

.phone {
  font-weight: 700;
  white-space: nowrap;
  font-size: 1.05rem;
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8f4 0%, #ffe8dc 100%);
  border: 1px solid #f5d0c0;
}
.phone:hover {
  text-decoration: none;
  border-color: var(--cta);
  color: var(--cta-hover);
}

/* Блок «до ремонта» — скрытые коммуникации и планирование */
.preplan {
  padding: 40px 0 48px;
  background: linear-gradient(165deg, #ffffff 0%, #eef5fc 55%, #e8f2fa 100%);
  border-bottom: 1px solid var(--border);
}

.preplan-inner {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 36px;
  align-items: start;
}

@media (max-width: 900px) {
  .preplan-inner {
    grid-template-columns: 1fr;
  }
}

.preplan-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.preplan-lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 640px;
}

.preplan-text {
  margin: 0 0 20px;
  color: var(--text);
  max-width: 640px;
  font-size: 0.98rem;
}

.preplan-actions {
  margin-bottom: 0;
}

.preplan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preplan-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.preplan-card strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.badge-region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 90, 36, 0.35);
}
.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(232, 90, 36, 0.4);
}

.btn-secondary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 119, 200, 0.25);
}
.btn-secondary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn-outline {
  background: var(--bg-white);
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: #f0f8ff;
  text-decoration: none;
}

/* Sections */
.section {
  padding: 52px 0;
}
.section.alt {
  background: var(--bg-white);
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-desc {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 640px;
  font-size: 1.02rem;
}

/* Площади — быстрый путь к покупке */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}

.area-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.area-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  text-decoration: none;
}
.area-card .m2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent);
}
.area-card p {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Карточки товаров */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
}

.product-card .carousel {
  position: relative;
  aspect-ratio: 4/3;
  background: #e8ecf2;
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  height: 100%;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.carousel-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.carousel-nav button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.carousel-nav button.active {
  background: var(--accent);
}

.product-card .body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}
.product-card h3 a {
  color: var(--text);
}
.product-card h3 a:hover {
  color: var(--accent);
}
.product-card .meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.product-card .price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  margin-top: auto;
}
.product-card .price span {
  color: var(--cta);
  font-size: 0.95rem;
  font-weight: 700;
  margin-left: 4px;
}
.product-card .install {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.product-card-actions .btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  font-size: 0.88rem;
}

/* Мульти-сплит блок */
.multi-block {
  background: linear-gradient(135deg, #f0f7ff 0%, #e5f0fc 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 8px;
  box-shadow: var(--shadow);
}
.multi-block h2,
.multi-block h3.subsection-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
.multi-block p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 8px;
}

/* Прайс монтажа */
.price-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: -8px 0 28px;
  max-width: 720px;
}

.price-category {
  margin-bottom: 40px;
}

.price-category h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-white);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table th,
.price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.price-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
  background: var(--surface-muted);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td:last-child {
  font-weight: 700;
  white-space: nowrap;
  color: var(--cta);
}

.price-table .muted {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.88rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--surface-muted);
}
.site-footer a {
  font-weight: 500;
}

/* Каталог: фильтры */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  align-items: flex-end;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.filters input,
.filters select {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  min-width: 160px;
}

/* Страница товара */
.product-page .hero-product {
  padding-top: 24px;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 36px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

.product-carousel-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef1f6;
  box-shadow: var(--shadow);
}
.product-carousel-main .carousel-track img {
  min-height: 300px;
}
.carousel-arrows {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  gap: 8px;
  background: var(--bg-white);
}
.carousel-arrows button {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}
.carousel-arrows button:hover {
  background: var(--border);
}

.buy-box {
  position: sticky;
  top: 88px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.buy-box .price-main {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}
.buy-box .price-main .currency {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 600;
}
.buy-box .install-line {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 0.95rem;
}
.buy-box .btn-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.buy-box .btn {
  width: 100%;
}
.buy-box .hint {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.product-desc-prose {
  margin-top: 24px;
  line-height: 1.75;
  color: var(--text);
  font-size: 1rem;
}

.product-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 6px;
}
.product-tag-chip {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--accent);
}
.product-tag-chip.sm {
  font-size: 0.72rem;
  padding: 3px 8px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.product-specs {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 6px 16px;
  margin: 16px 0 20px;
  padding: 16px 18px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.product-specs dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.product-specs dd {
  margin: 0;
  color: var(--text);
}

/* Верхняя полоса доверия */
.trust-ribbon {
  padding: 14px 20px 18px;
  background: linear-gradient(90deg, #f6fafd 0%, #eef6fc 50%, #f6fafd 100%);
  border-bottom: 1px solid var(--border);
}
.trust-ribbon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px 24px;
}
.trust-ribbon-list li {
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.trust-ribbon-list strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.hero-microcopy {
  margin: 12px 0 0;
  max-width: 640px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* Блок конверсии + сравнение с рынком */
.conversion-block {
  background: linear-gradient(180deg, #fff 0%, #f0f6fc 100%);
  border-top: 1px solid var(--border);
}
.conversion-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) {
  .conversion-inner {
    grid-template-columns: 1fr;
  }
}
.conversion-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.65;
}
.conversion-list li {
  margin-bottom: 8px;
}
.conversion-aside {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}
.conversion-aside-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--accent);
}
.conversion-aside-text {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.conversion-aside-source {
  margin: 0 0 18px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}
.conversion-aside-source a {
  font-weight: 600;
}
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.conversion-hint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

/* Страница монтажа: пакет */
.package-highlight {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .package-highlight {
    grid-template-columns: 1fr;
  }
}
.package-highlight-main {
  background: var(--bg-white);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-hover);
}
.package-label {
  margin: 0 0 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--muted);
}
.package-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--cta);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.package-price span {
  font-size: 1.25rem;
  font-weight: 700;
}
.package-note {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}
.package-includes {
  margin: 0 0 14px;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
}
.package-includes li {
  margin-bottom: 6px;
}
.package-foot {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.package-highlight-aside {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.aside-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
}
.aside-list {
  margin: 0 0 14px;
  padding-left: 1.1rem;
}
.aside-list li {
  margin-bottom: 10px;
}
.aside-cite {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}
.aside-cite a {
  font-weight: 600;
}

/* ----- Интерактивный подбор (/podbor) ----- */
.wizard-page {
  padding-top: 24px;
  padding-bottom: 48px;
}
.wizard-lead {
  max-width: 760px;
}
.wizard-progress {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0 28px;
  min-height: 12px;
}
.wizard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.wizard-dot.done {
  background: var(--accent-muted, #6b9bd1);
}
.wizard-dot.active {
  background: var(--accent, #2563eb);
  transform: scale(1.2);
}
.wizard-q {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 8px;
}
.wizard-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 20px;
  max-width: 640px;
  line-height: 1.5;
}
.wizard-panel {
  display: none;
  animation: wizardFade 0.25s ease;
}
.wizard-panel.active {
  display: block;
}
@keyframes wizardFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.wizard-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.wizard-card {
  flex: 1 1 200px;
  max-width: 320px;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  background: var(--surface);
  font: inherit;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, background 0.15s;
}
.wizard-card span {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
}
.wizard-card:hover {
  border-color: var(--accent, #2563eb);
}
.wizard-card.selected {
  border-color: var(--accent, #2563eb);
  background: rgba(37, 99, 235, 0.06);
}
.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.wizard-actions-final {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.wizard-tag-sections {
  margin-bottom: 8px;
}
.wizard-tag-group {
  margin-bottom: 22px;
}
.wizard-tag-group-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 700;
}
.wizard-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wizard-tag-choice {
  cursor: pointer;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}
.wizard-tag-choice:has(input:focus-visible) {
  outline: 2px solid var(--accent, #2563eb);
  outline-offset: 2px;
}
.wizard-tag-choice input {
  margin-top: 3px;
  flex-shrink: 0;
}
.wizard-summary {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 20px;
}
.wizard-soften {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.btn-sm {
  font-size: 0.82rem;
  padding: 8px 12px;
}
.wizard-nav-row {
  margin-top: 28px;
  padding-top: 8px;
}
.wizard-nested {
  margin-top: 24px;
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
}
.wizard-subq {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--text);
}
.wizard-hint-tight {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 0.88rem;
}
.wizard-options-compact {
  gap: 10px;
}
.wizard-card-num {
  flex: 0 1 140px;
  max-width: 180px;
  text-align: center;
  padding: 12px 16px;
}
.wizard-mount-note {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-muted);
  white-space: pre-line;
  margin: 0 0 22px;
  max-width: 820px;
}
@media (max-width: 560px) {
  .wizard-card {
    flex: 1 1 100%;
    max-width: none;
  }
}

.legal-prose {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
}
.legal-prose p {
  margin: 0 0 14px;
}
.legal-prose a {
  color: var(--accent);
}

.site-lead-block {
  padding: 18px 0 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.site-lead-block h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--text);
}
.site-lead-block .lead-form-leadin {
  margin: -8px 0 12px;
  font-size: 0.92rem;
  max-width: 52rem;
}
.site-lead-block .lead-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px 14px;
  align-items: start;
}
.site-lead-block label.lead-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.site-lead-block input[type='text'],
.site-lead-block input[type='tel'],
.site-lead-block textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
}
.site-lead-block textarea {
  min-height: 72px;
  resize: vertical;
}
.site-lead-block .lead-msg {
  grid-column: 1 / -1;
  min-height: 1.2em;
  font-size: 0.85rem;
  margin: 0;
}
.site-lead-block .lead-msg.error {
  color: #b4233c;
}
.site-lead-block .lead-msg.ok {
  color: var(--success);
}
.footer-legal-links a {
  color: var(--muted);
}

/* Header messengers */
.header-messengers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  border: 1px solid var(--border);
}
.header-messenger.wa {
  background: #efe9ff;
  color: #5b35b1;
  border-color: #d8c9ff;
}
.header-messenger.tg {
  background: #e8f4fc;
  color: #0a66a4;
  border-color: #c9e4f8;
}

/* Cookie consent */
.cookie-consent-bar {
  position: fixed;
  z-index: 200;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 14px 16px 16px;
  font-size: 0.9rem;
}
.cookie-consent-bar p {
  margin: 0 0 12px;
  color: var(--text);
}
.cookie-consent-bar .muted {
  font-size: 0.82rem;
  margin-bottom: 10px !important;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-consent-actions button {
  font: inherit;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
}
.cookie-consent-actions button.cookie-accept-marketing {
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
  color: #fff;
  border-color: transparent;
}

/* Catalog SSR flat list */
.catalog-ssr-flat {
  margin: 20px 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  background: var(--surface);
}
.catalog-ssr-flat-summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  list-style-position: outside;
}
.catalog-flat-nav {
  padding: 0 16px 14px;
  max-height: 320px;
  overflow-y: auto;
}
.catalog-flat-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: var(--text);
}
.catalog-flat-price {
  color: var(--muted);
  white-space: nowrap;
}

/* 404 */
.error-code {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 8px;
  letter-spacing: -0.04em;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

/* Contacts */
.contacts-page .subh {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 10px;
}
.contacts-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-top: 24px;
}
.contacts-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.contacts-block-lines {
  line-height: 1.6;
}
.contacts-map-wrap {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
  background: var(--surface-muted);
}
.contacts-map-iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Reviews */
.reviews-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.review-card {
  margin: 0;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.review-text {
  margin: 0 0 12px;
  font-size: 0.96rem;
}
.review-author {
  font-weight: 600;
  color: var(--text);
}
.review-rating {
  margin-left: 8px;
  color: var(--cta);
  letter-spacing: 0.05em;
}

/* Articles */
.articles-index-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.articles-index-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.articles-index-list a {
  font-weight: 600;
}
.art-excerpt {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}
.article-bc {
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.article-body.prose {
  margin-top: 16px;
  max-width: 720px;
  line-height: 1.65;
}
.article-body.prose ul {
  padding-left: 1.35rem;
}
.cta-leads-block {
  max-width: 720px;
}
