.footer { position: relative; isolation: isolate; overflow: hidden; background: #302238; border-top: 1px solid #46344f; color: #e9e1ed; }
.footer::before,
.footer::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.footer::before { width: 460px; height: 460px; left: -190px; bottom: -250px; background: rgba(244, 127, 0, .055); }
.footer::after { width: 620px; height: 620px; left: -270px; bottom: -330px; border: 1px solid rgba(255, 177, 94, .12); }
.footer__main { display: grid; grid-template-columns: 1.2fr 1fr .7fr 1.1fr; gap: 40px; padding: 56px 0 48px; }
.footer__main > * { min-width: 0; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #ffb363; }
.footer a:focus-visible,
.footer button:focus-visible { outline: 2px solid #f47f00 !important; outline-offset: 5px; }
.footer__logo { display: inline-block; }
.footer__logo img { display: block; width: 164px; height: auto; }
.footer__description { margin-top: 22px; font-size: 14px; line-height: 22px; color: #c2b5c8; }
.footer__measurement { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-size: 13px; line-height: 20px; }
.footer__measurement img { flex-shrink: 0; }
.footer__actions { display: flex; align-items: center; gap: 10px; }
.footer__call,
.footer .footer__request { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; height: 44px; border-radius: 4px; transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease; }
.footer__call { flex: 0 0 44px; width: 44px; background: linear-gradient(135deg, #9161ac, #6d4088); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 3px 10px rgba(0,0,0,.12); }
.footer__call img { position: relative; z-index: 1; width: 20px; height: 20px; }
.footer .footer__request { flex: 0 1 166px; padding: 0 16px; border: 0; background: #f47f00; color: #fff; font-size: 14px; font-weight: 500; }
.footer__request span { position: relative; z-index: 1; }
.footer__call::before,
.footer__request::before { content: ''; position: absolute; inset: -40% -90%; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-55%); pointer-events: none; }
.footer__call:hover,
.footer__call:focus-visible { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(165,108,198,.28); }
.footer .footer__request:hover,
.footer .footer__request:focus-visible { background: #e97800; transform: translateY(-2px); box-shadow: 0 5px 18px rgba(244,127,0,.2); }
.footer__call:hover::before,
.footer__call:focus-visible::before,
.footer__request:hover::before,
.footer__request:focus-visible::before { animation: footer-button-shimmer 650ms ease-out; }
@keyframes footer-button-shimmer { from { transform: translateX(-55%); } to { transform: translateX(55%); } }
.footer__heading { margin: 0 0 24px; font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: 1px; text-transform: uppercase; color: #c2a5d0; }
.footer__nav ul { display: grid; gap: 13px; list-style: none; padding: 0; margin: 0; }
.footer__nav a { font-size: 14px; line-height: 21px; }
.footer__nav .footer__primary { font-weight: 500; color: #ffb363; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__email { display: inline-block; margin-top: 16px; font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
.footer__address { margin: 22px 0 9px; font-size: 14px; line-height: 21px; font-style: normal; }
.footer__hours { color: #c2b5c8; font-size: 13px; line-height: 20px; }
.footer__hours span { margin-left: 6px; }
.footer__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 24px 0 84px; border-top: 1px solid rgba(229,211,238,.14); color: #bbacc3; font-size: 12px; line-height: 19px; }
.footer__legal { display: grid; gap: 5px; text-align: center; }
.footer__legal a { text-decoration: underline; text-decoration-color: #75627f; text-underline-offset: 3px; }
.footer__credit { text-align: right; }
@media (max-width: 1199px) {
  .footer__main { gap: 24px; grid-template-columns: 1.2fr 1fr .65fr 1.15fr; }
}
@media (max-width: 991px) {
  .footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; padding-top: 40px; }
  .footer__brand { grid-column: 1; grid-row: 1; }
  .footer__contacts { grid-column: 2; grid-row: 1; }
  .footer__bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .footer__legal { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 575px) {
  .footer__main { gap: 32px 20px; padding: 32px 0; grid-template-columns: 1.25fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__description { margin-top: 16px; }
  .footer__measurement { margin-top: 14px; }
  .footer__heading { margin-bottom: 18px; font-size: 11px; letter-spacing: .8px; }
  .footer__nav a { font-size: 13px; line-height: 20px; }
  .footer__nav ul { gap: 12px; }
  .footer__contacts { grid-column: 1 / -1; grid-row: auto; border-top: 1px solid rgba(229,211,238,.14); padding-top: 28px; }
  .footer__bottom { grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: center; padding: 24px 0 92px; }
  .footer__credit { text-align: center; }
  .footer__legal { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer a, .footer button { transition: none; }
  .footer .footer__request:hover, .footer .footer__request:focus-visible,
  .footer__call:hover, .footer__call:focus-visible { transform: none; }
  .footer__call::before, .footer__request::before { display: none; }
}
