/* The footer continues the shared page background. */
.page-footer { padding: 0 0 26px; color: #c2c6cf; }
.footer-inner { width: min(1200px, calc(100% - 96px)); margin-inline: auto; border-top: 1px solid #34353c; }
.footer-main { display: grid; grid-template-columns: 1.65fr 1fr 1.1fr; gap: 56px; padding: 54px 0 46px; }
.footer-identity { display: flex; align-items: flex-start; gap: 17px; align-self: start; width: fit-content; color: #eceef2; font-size: 34px; font-weight: 450; line-height: 1.17; letter-spacing: -.055em; }
.footer-identity-muted { color: #979da9; }
.footer-symbol { display: grid; place-items: center; width: 40px; height: 40px; margin-top: 2px; flex: none; color: #b9a791; }
.footer-symbol svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.footer-label { margin: 0 0 17px; color: #9097a4; font-size: 11px; font-weight: 400; letter-spacing: .025em; }
.footer-nav a { display: flex; align-items: center; min-height: 40px; width: fit-content; font-size: 14px; line-height: 1.5; }
.footer-connections > a { display: flex; align-items: center; min-height: 40px; width: fit-content; }
.footer-phone { color: #e7e9ef; font-size: 20px; letter-spacing: -.035em; white-space: nowrap; }
.footer-email { font-size: 14px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 10px; }
.footer-socials a { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; font-size: 12px; }
.footer-socials span { color: #a9957c; }
.footer-bottom { position: relative; padding-top: 17px; min-height: 80px; border-top: 1px solid #24262c; }
.footer-up { position: absolute; right: 0; top: 17px; display: flex; align-items: center; gap: 20px; font-size: 12px; }
.footer-up-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #44464e; border-radius: 50%; color: #e0e3e9; transition: border-color .2s, background .2s; }
.footer-up svg { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.footer-up:hover .footer-up-icon { border-color: #b6a38c; background: #c8b0920a; }
.footer-up:hover svg { transform: translateY(-3px); }
.footer-policy { display: flex; align-items: center; gap: 16px; width: fit-content; max-width: calc(100% - 180px); min-height: 48px; color: #969da9; font-size: 12px; line-height: 1.5; }
.footer-policy span { color: #b9a791; }
.page-footer a:hover { color: #f2e4d3; }
.page-footer a:focus-visible { outline: 2px solid #d8bea0; outline-offset: 5px; border-radius: 3px; }
@media (max-width: 1100px) {
  .footer-inner { width: calc(100% - 64px); }
  .footer-main { gap: 32px; grid-template-columns: 1.35fr 1fr 1.1fr; }
  .footer-identity { font-size: 28px; gap: 12px; }
  .footer-symbol, .footer-symbol svg { width: 32px; height: 32px; }
  .footer-phone { font-size: 18px; }
}
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 50px; padding: 40px 0 30px; }
  .footer-identity { grid-column: 1 / -1; font-size: 34px; margin-bottom: 7px; }
  .footer-symbol, .footer-symbol svg { width: 40px; height: 40px; }
}
@media (max-width: 700px) {
  .footer-inner { width: calc(100% - 40px); }
  .footer-main { column-gap: 20px; }
  .footer-identity { font-size: 32px; }
  .footer-label { margin-bottom: 10px; }
  .footer-nav a, .footer-connections > a { min-height: 44px; font-size: 12px; }
  .footer-socials { gap: 3px 20px; margin-top: 3px; }
  .footer-socials a { min-height: 44px; }
  .footer-policy { max-width: calc(100% - 74px); font-size: 11px; gap: 14px; }
  .footer-up > span:first-child { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 380px) {
  .footer-main { grid-template-columns: 1fr; gap: 25px; }
  .footer-identity { font-size: 29px; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .footer-nav .footer-label { grid-column: 1 / -1; }
  .footer-connections > a { font-size: 15px; }
  .footer-socials { gap: 25px; }
}
@media (prefers-reduced-motion: reduce) { .footer-up-icon, .footer-up svg { transition: none; } }
