.site-footer {
  background: #0D0C18;
  padding: 66px 0 32px;
  color: rgba(245,247,255,0.9);
}
.footer-wrap {
  width: min(100% - 56px, 1360px);
  margin: 0 auto;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, 0.65fr));
  gap: clamp(38px, 6vw, 88px);
  align-items: start;
}
.footer-brand img {
  width: 198px;
  height: auto;
  margin-bottom: 22px;
}
.footer-lede {
  margin: 0 0 30px;
  max-width: 330px;
  color: rgba(245,247,255,0.88);
  font-size: 14.5px;
  line-height: 1.46;
  font-weight: 500;
}
.footer-contact {
  display: grid;
  gap: 12px;
  color: #0CC6B4;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}
.footer-contact strong {
  color: #3E68FF;
  font-weight: 800;
}
.footer-col h3 {
  margin: 0 0 19px;
  color: #F5F6FF;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.footer-accordion {
  display: block;
}
.footer-accordion summary {
  list-style: none;
  cursor: default;
}
.footer-accordion summary::-webkit-details-marker {
  display: none;
}
.footer-accordion summary h3 {
  display: block;
}
.footer-toggle {
  display: none;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 17px;
}
.footer-links a {
  color: rgba(245,247,255,0.86);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  transition: color .2s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(245,247,255,0.88);
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 980px) {
  .site-footer {
    padding: 52px 0 28px;
  }
  .footer-wrap {
    width: min(100% - 40px, 760px);
  }
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px 34px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand img {
    width: 168px;
    margin-bottom: 18px;
  }
  .footer-lede {
    max-width: 420px;
    margin-bottom: 22px;
  }
  .footer-col h3 {
    margin-bottom: 15px;
    font-size: 12.5px;
  }
  .footer-links {
    gap: 12px;
  }
  .footer-links a,
  .footer-contact {
    font-size: 13px;
  }
  .footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
  }
}
@media (max-width: 640px) {
  .site-footer {
    padding: 38px 0 24px;
  }
  .footer-wrap {
    width: min(100% - 28px, 560px);
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-brand {
    margin-bottom: 22px;
  }
  .footer-brand img {
    width: 150px;
    margin-bottom: 16px;
  }
  .footer-lede {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 18px;
  }
  .footer-contact {
    gap: 9px;
    font-size: 12.5px;
  }
  .footer-col h3 {
    margin: 0;
    font-size: 12px;
  }
  .footer-accordion {
    border-top: 1px solid rgba(255,255,255,0.14);
  }
  .footer-col:last-of-type .footer-accordion {
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }
  .footer-accordion summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .footer-toggle {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    opacity: 0.78;
  }
  .footer-toggle::before,
  .footer-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11px;
    height: 1px;
    background: rgba(245,247,255,0.88);
    transform: translate(-50%, -50%);
    transition: transform .2s ease, opacity .2s ease;
  }
  .footer-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .footer-accordion[open] .footer-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
  }
  .footer-links {
    gap: 10px;
    padding: 0 0 18px;
  }
  .footer-links a {
    font-size: 12.8px;
  }
  .footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
  }
}
