:root {
  --brand-primary: #0057a6;
  --brand-hover: #004582;
  --brand-accent: #007fae;
  --brand-sky: #92dbff;
  --brand-white: #fff;
  --brand-ink: #192e3d;
  --brand-muted: #526572;
  --brand-line: #cbdfe9;
  --brand-control-border: #6a8294;
  --brand-tint: #eaf5fb;
  --brand-surface: #f5f8fa;
  --brand-shadow: 0 8px 24px rgba(0, 87, 166, 0.12);
  --site-blue: var(--brand-primary);
  --site-blue-dark: var(--brand-hover);
  --site-sky: var(--brand-tint);
  --site-yellow: var(--brand-accent);
  --site-warm: var(--brand-tint);
  --site-ink: var(--brand-ink);
  --site-muted: var(--brand-muted);
  --site-line: var(--brand-line);
  --site-surface: var(--brand-surface);
  --site-dark: var(--brand-primary);
}

.site-header-desktop,
#mobile-panel {
  background: var(--brand-white);
  border-bottom: 1px solid var(--brand-line);
  box-shadow: none;
}

.site-header-desktop__brand {
  gap: 18px;
}

.site-header-desktop__logo img {
  width: 210px;
  height: auto;
  aspect-ratio: 2000 / 492;
  object-fit: contain;
}

.site-header-desktop__badge {
  padding-left: 16px;
  border-left: 1px solid var(--brand-line);
}

.site-header-desktop__nav a,
.site-header-desktop__phone,
.site-header-desktop__hours,
.site-header-desktop__online-text {
  color: var(--brand-ink);
}

.site-header-desktop__callback,
.site-header-desktop__address,
.site-header-desktop__nav a:hover,
.site-header-desktop__phone:hover,
.site-header-desktop__address:hover {
  color: var(--brand-primary);
}

#mobile-panel .mobile-panel-burger span {
  background: var(--brand-primary);
}

#mobile-panel .rosgaz-mobile-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

#mobile-panel .mobile-panel-logo {
  max-width: none;
}

#mobile-panel .mobile-panel-call {
  color: var(--brand-primary);
  background: var(--brand-tint);
  border-color: var(--brand-line);
}

#mobile-panel .mobile-panel-lead,
#mobile-panel .mobile-panel-lead:hover {
  background: var(--brand-primary);
  box-shadow: none;
  border-radius: 6px;
  letter-spacing: 0;
}

#mobile-menu .mobile-menu-body {
  background: var(--brand-white);
  border-radius: 8px;
}

#mobile-menu .mobile-menu-nav a,
#mobile-menu .mobile-menu-meta,
#mobile-menu .mobile-menu-messengers a {
  border-radius: 6px;
}

.hero {
  min-height: 610px;
}

.hero-inner {
  padding: 48px 32px 46px 50px;
}

.hero-features {
  padding: 48px 48px 46px 20px;
}

.hero-title {
  font-size: 42px;
  line-height: 1.16;
  max-width: 660px;
}

.hero-accent {
  display: block;
  color: var(--brand-sky);
}

.hero-eyebrow {
  padding: 0;
  margin-bottom: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-sky);
  font-size: 13px;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
}

.hero-price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1280px) {
  .hero-price-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero-price-card { padding: 14px 10px; }
  .hero-price-card strong { font-size: 18px; }
}

@media (min-width: 901px) {
  #block205 .price-packages {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hero-installment-card {
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: var(--brand-white);
  box-shadow: none;
}

.hero-installment-kicker {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-primary);
  font-size: 12px;
}

.hero-installment-title {
  color: var(--brand-primary);
  font-size: 32px;
}

.hero-installment-card p,
.hero-installment-card li {
  color: var(--brand-ink);
}

.hero-installment-card li::before {
  background: var(--brand-accent);
  width: 6px;
  height: 6px;
  margin-top: 8px;
}

.hero-feature img {
  filter: brightness(0) saturate(100%) invert(84%) sepia(14%) saturate(1110%) hue-rotate(166deg);
}

.btn-blue,
.hero-inner > .btn,
.location-route,
.btn-strt input,
.btn-gold,
.fixed-order-btn .btn,
#zone53 .btn-gold {
  background: var(--brand-primary) !important;
  color: var(--brand-white) !important;
  box-shadow: var(--brand-shadow) !important;
}

.btn-blue:hover,
.hero-inner > .btn:hover,
.location-route:hover,
.btn-strt input:hover,
.btn-gold:hover,
.fixed-order-btn .btn:hover,
#zone37 .gbo-button:hover:not(:disabled) {
  background: var(--brand-hover) !important;
  color: var(--brand-white) !important;
}

#zone45 .right-section {
  background: var(--brand-white);
  border: 1px solid var(--brand-line);
  box-shadow: var(--brand-shadow);
}

#zone45 .subtitle {
  color: var(--brand-ink);
}

#block209 .right-section .lead-request-form .input-field-standart input[type="text"] {
  background: var(--brand-surface);
  color: var(--brand-ink);
  border: 1px solid var(--brand-control-border);
}

.form-installment,
#block205 .installment-strip,
#block205 .type-block-economy,
#zone37 .benefits-box {
  border: 1px solid var(--brand-line);
  border-radius: 6px;
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.form-installment input,
.form-consent input {
  accent-color: var(--brand-primary);
}

.installment-strip strong,
#block205 .type-block-economy,
#zone37 .benefits-heading {
  color: var(--brand-primary);
}

#zone37 .gbo-header {
  border-top-color: var(--brand-accent);
}

#zone37 .gbo-subtitle {
  color: var(--brand-white);
}

#zone53 {
  background: var(--brand-primary);
}

#zone53 .section-kicker,
.cost-steps-heading-wrap p {
  color: var(--brand-white);
}

#contacts-map {
  background: var(--brand-surface);
}

.location-layout,
.location-panel {
  background: var(--brand-white);
  border-color: var(--brand-line);
  box-shadow: none;
}

.location-panel h2,
.location-address,
.location-panel .location-hours {
  color: var(--brand-ink);
}

.location-panel p {
  color: var(--brand-muted);
}

.contact-cta__kicker {
  color: var(--brand-primary);
  background: var(--brand-tint);
}

.location-label,
.location-call,
.location-call:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.yandex-map-widget > a:first-child {
  top: auto;
  bottom: 12px;
  padding: 10px 14px;
  border: 1px solid var(--brand-line);
  border-radius: 6px;
  background: var(--brand-white);
  color: var(--brand-primary);
  font-size: 13px;
  line-height: 1.4;
}

footer,
#zone36,
#zone36 > .zone-bg {
  background: var(--brand-white);
}

#zone36 .footer-copy {
  color: var(--brand-ink);
}

#zone36 .footer-address,
#zone36 .footer-info-copy {
  color: var(--brand-muted);
}

#zone36 .footer-link {
  color: var(--brand-primary);
}

#zone36 .footer-link:hover {
  color: var(--brand-hover);
}

.footer-brand {
  display: block;
  width: 190px;
  height: auto;
  margin-bottom: 20px;
}

:where(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 4px;
}

.utility-page {
  background: var(--brand-surface);
  color: var(--brand-ink);
}

.utility-page main {
  border-top: 4px solid var(--brand-primary);
}

.utility-page a {
  color: var(--brand-primary);
}

.utility-page .btn {
  color: var(--brand-white);
  background: var(--brand-primary);
}

.utility-page .btn-secondary {
  color: var(--brand-primary);
  background: var(--brand-tint);
}

.utility-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 32px;
}

@media (max-width: 1120px) and (min-width: 781px) {
  .site-header-desktop__logo img { width: 170px; }
  .site-header-desktop__brand { gap: 10px; }
  .site-header-desktop__badge { padding-left: 10px; }
  .site-header-desktop__inner { gap: 12px; }
  .hero-title { font-size: 36px; }
  .hero-installment-title { font-size: 28px; }
}

@media (max-width: 920px) and (min-width: 781px) {
  .site-header-desktop__badge { display: none; }
  .site-header-desktop__logo img { width: 148px; }
}

@media (max-width: 780px) {
  .hero { min-height: 0; }
  .hero-inner {
    padding: 38px 20px 24px;
    align-items: flex-start;
    text-align: left;
  }
  .hero-title { font-size: 32px; line-height: 1.18; }
  .hero-eyebrow { font-size: 12px; margin-bottom: 18px; }
  .hero-subtitle { font-size: 16px; }
  .hero-features { padding: 12px 20px 34px; }
  .hero-installment-title { font-size: 28px; }
  .hero-price-card { text-align: left; }
  #zone45 .right-section { border-radius: 8px; }
  .utility-page main { padding: 24px; }
  .utility-page h1 { font-size: 28px; overflow-wrap: anywhere; }
}

@media (max-width: 360px) {
  #mobile-panel { padding: 0 8px; gap: 7px; }
  #mobile-panel .mobile-panel-actions { gap: 6px; }
  #mobile-panel .mobile-panel-lead { padding: 0 9px; font-size: 10px; }
  .hero-title { font-size: 24px; }
  .hero-price-card strong { font-size: 12px; }
  .hero-installment-title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
