/* Shared footer information architecture — RЕМОНТАРИ corporate site + demo shop. */
.footer-refresh {
  --footer-bg: #102d22;
  --footer-bg-soft: #173b2c;
  --footer-text: #d8e6dc;
  --footer-muted: #a9bdb0;
  --footer-link: #d0e0d5;
  --footer-accent: #69d49a;
  margin: 0 !important;
  padding: 54px 0 20px !important;
  color: var(--footer-text) !important;
  background: radial-gradient(ellipse at 8% 0%, rgba(27,111,74,.18), transparent 34%), var(--footer-bg) !important;
  border: 0 !important;
  font-family: inherit;
}
.footer-refresh .unified-footer-grid {
  width: min(1280px, calc(100% - 64px)) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 1.35fr) minmax(135px, .82fr) minmax(140px, .84fr) minmax(120px, .72fr) minmax(190px, 1fr) !important;
  align-items: start;
  gap: 34px 38px !important;
}
.footer-refresh .unified-footer-brand,
.footer-refresh .unified-footer-col { min-width: 0; }
.footer-refresh .footer-brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 10px;
  background: #fff;
}
.footer-refresh .footer-brand-link img {
  display: block;
  width: 210px !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
}
.footer-refresh .footer-brand-link-shop img { width: 205px !important; }
.footer-refresh .unified-footer-brand p {
  max-width: 310px;
  margin: 16px 0 9px;
  color: #e0eae3;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
}
.footer-refresh .unified-footer-note {
  display: block;
  max-width: 315px;
  color: var(--footer-muted);
  font-size: 11px;
  line-height: 1.6;
}
.footer-refresh .unified-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-refresh .unified-footer-col h2 {
  margin: 3px 0 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.01em;
}
.footer-refresh .unified-footer-col > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  color: var(--footer-link) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 550 !important;
  letter-spacing: 0 !important;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .16s ease, transform .16s ease;
}
.footer-refresh .unified-footer-col > a:hover {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-refresh .unified-footer-col > a:focus-visible,
.footer-refresh .footer-legal-links a:focus-visible,
.footer-refresh .footer-brand-link:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.footer-refresh .footer-demo-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  color: #b9e8cb;
  background: rgba(105,212,154,.13);
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .02em;
}
.footer-refresh .footer-contact-group { gap: 10px; }
.footer-refresh .footer-contact-group .footer-contact-link {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}
.footer-refresh .footer-contact-hint {
  max-width: 230px;
  margin-top: 1px;
  color: var(--footer-muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.footer-refresh .footer-legal-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 2px;
  padding-top: 18px;
  border-top: 1px solid rgba(222,239,227,.15);
  color: var(--footer-muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.footer-refresh .footer-copyright-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.footer-refresh .footer-copyright-block > span:first-child {
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}
.footer-refresh .footer-legal-entity { color: #b6c9bc; }
.footer-refresh .footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-refresh .footer-legal-links a {
  color: #c8d9ce;
  font-size: 10.5px;
  line-height: 1.45;
  text-decoration: none;
}
.footer-refresh .footer-legal-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-refresh-shop .unified-footer-grid {
  grid-template-columns: minmax(210px, 1.25fr) repeat(4, minmax(118px, .78fr)) minmax(175px, .95fr) !important;
}
.footer-refresh-shop .unified-footer-brand p { max-width: 285px; }

@media (max-width: 1120px) {
  .footer-refresh { padding: 44px 0 18px !important; }
  .footer-refresh .unified-footer-grid,
  .footer-refresh-shop .unified-footer-grid {
    width: min(920px, calc(100% - 48px)) !important;
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(140px, .9fr)) !important;
    gap: 28px 26px !important;
  }
  .footer-refresh .unified-footer-brand { grid-column: 1 / -1; }
  .footer-refresh .unified-footer-brand p,
  .footer-refresh .unified-footer-note { max-width: 560px; }
  .footer-refresh .footer-contact-group { grid-column: 1 / -1; }
  .footer-refresh .footer-contact-group .footer-contact-hint { max-width: 420px; }
  .footer-refresh .footer-legal-row { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .footer-refresh { padding: 34px 0 calc(22px + env(safe-area-inset-bottom, 0px)) !important; }
  .footer-refresh .unified-footer-grid,
  .footer-refresh-shop .unified-footer-grid {
    width: calc(100% - 36px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
  }
  .footer-refresh .unified-footer-brand,
  .footer-refresh .footer-contact-group,
  .footer-refresh .footer-legal-row { grid-column: 1 / -1; }
  .footer-refresh .footer-brand-link { min-height: 44px; }
  .footer-refresh .footer-brand-link img { width: 190px !important; }
  .footer-refresh .unified-footer-brand p { margin-top: 13px; font-size: 12px; }
  .footer-refresh .unified-footer-note { font-size: 10.5px; }
  .footer-refresh .unified-footer-col { gap: 9px; }
  .footer-refresh .unified-footer-col h2 { margin-bottom: 4px; font-size: 13px; }
  .footer-refresh .unified-footer-col > a { font-size: 11.5px !important; line-height: 1.5 !important; }
  .footer-refresh .footer-contact-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .footer-refresh .footer-contact-group h2,
  .footer-refresh .footer-contact-hint { grid-column: 1 / -1; }
  .footer-refresh .footer-contact-group .footer-contact-link { font-size: 12.5px !important; }
  .footer-refresh .footer-legal-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-refresh .footer-copyright-block { align-items: flex-start; flex-direction: column; gap: 4px; }
  .footer-refresh .footer-legal-links { justify-content: flex-start; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 14px; }
  .footer-refresh .footer-legal-links a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-refresh .unified-footer-col > a { transition: none; }
}

.footer-refresh .footer-register-link {
  color: #8de0ad !important;
  font-weight: 850 !important;
}
.footer-refresh .footer-register-link:hover { color: #fff !important; }
