/* Голубая айдентика сохраняет читаемость на светлых и тёмных поверхностях. */
body.brand-theme-light :is(h1, h2, h3):not(.cta-title) { color: #318fba; }
body.brand-theme-light :is(h4, h5, h6) { color: #318fba; }
body.brand-theme-light .site-footer h4 { color: #fff; }
body.brand-theme-light :is(h1, h2, h3, h4, h5, h6) a { color: inherit; }
body.brand-theme-light :is(.conditions-grid, .faq-list, .responsibility-detail) summary { color: #318fba; }
/* Калькулятор на тёмной теме использует светлые карточки со своими стилями. */
body.brand-theme-dark .step-head h2 { color: #318fba; }
body.brand-theme-light .final-cta {
  background: linear-gradient(180deg, rgba(255,255,255,.83), rgba(255,255,255,.2)),
              linear-gradient(180deg, #56a8cd, #fff);
}
body.brand-theme-light .final-cta h2 { color: #318fba; }
body.brand-theme-light .hero .hero-title { color: #318fba; }
body.brand-theme-light .site-header .site-identity,
body.brand-theme-light .site-identity:not(.site-identity--light) { color: #318fba; }
body.brand-theme-light .site-footer .site-identity,
body.brand-theme-light .site-identity--light,
body.brand-theme-dark .site-identity { color: #56a8cd; }
.site-identity-tagline, .company-about-slogan, .generic-hero-slogan,
.brand-hero-tagline, .hero-title .hero-brand-descriptor { text-transform: none; }

.review-disclosure { border-block: 1px solid #b8d3df; }
.review-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: .4rem .45rem;
  min-height: 3.5rem;
  padding: .75rem .2rem;
  color: #318fba;
  cursor: pointer;
  font: 700 clamp(1.25rem, 2.4vw, 1.8rem)/1.2 system-ui, sans-serif;
  list-style: none;
}
.review-disclosure > summary::-webkit-details-marker { display: none; }
.review-disclosure > summary::after { content: '+'; font-size: 1.6rem; line-height: 1; }
.review-disclosure[open] > summary::after { content: '−'; }
.review-summary-rating { margin-left: auto; color: #526f7d; font-size: .82rem; font-weight: 500; text-align: right; }
.review-scroll {
  max-height: min(60vh, 36rem);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  padding: .5rem .8rem .8rem 0;
}
.review-scroll:focus-visible, .review-disclosure > summary:focus-visible { outline: 3px solid #318fba; outline-offset: 3px; }
.review-scroll .reviews, .review-scroll .radio-grid, .review-scroll .review-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; margin: 0; }
.review-scroll .review { padding: 1rem 0; }
body.brand-theme-dark .review-disclosure { border-color: rgba(150, 190, 225, .35); }
body.brand-theme-dark .review-disclosure > summary { color: #56a8cd; }
body.brand-theme-dark .review-summary-rating { color: #b6d6e8; }


/* Единая голубая гамма названия, слогана и фирменных акцентов. */
body.brand-theme-light { --blue: #318fba; --teal: #318fba; --teal-600: #318fba; }
body.brand-theme-light :is(.eyebrow, .hero-eyebrow) { color: #318fba; }
body.brand-theme-light .btn-outline { color: #318fba !important; border-color: #318fba !important; }
body.brand-theme-light :is(.why-icon, .contact-card-icon, .service-card-icon, .calc-placeholder-icon) { color: #318fba !important; }
body.brand-theme-light .calc-result-sum { color: #318fba; }
body.brand-theme-light .company-about-slogan,
body.brand-theme-light .page-intro .eyebrow,
body.brand-theme-light .text-link,
body.brand-theme-light .site-header .header-phone,
body.brand-theme-light .site-header .header-brand-tools .menu-toggle,
body.brand-theme-light .site-header .mobile-nav a[aria-current="page"] { color: #318fba; }
body.brand-theme-light .page-intro .eyebrow,
body.brand-theme-light .page-intro .text-link { font-size: 19px; font-weight: 700; }
body.brand-theme-light .final-cta :is(.eyebrow, .cta-phone) {
  color: #318fba;
}
body.brand-theme-light .button:not(.button-secondary) { border-color: #318fba; }
.review-featured { margin: 0 auto .75rem; max-width: 60rem; }
.review-featured.reviews, .review-featured.radio-grid { display: grid; grid-template-columns: minmax(0,1fr); }
.review-featured .review { padding: 1rem 0; }
