.site-footer {
  padding-top: 8px;
  color: #475569;
  background: linear-gradient(to bottom, transparent, #eefbf8);
}

.site-footer__panel {
  overflow: hidden;
  background: #f0fdfa;
  border: 1px solid rgba(20, 184, 166, 0.16);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 34px rgba(15, 118, 110, 0.07);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: 36px 24px 30px;
}

.footer-logo {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.18);
}

.footer-logo__mark svg,
.site-footer__socials svg,
.site-footer__contact svg,
.site-footer__trust svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-logo__mark svg {
  width: 29px;
}

.footer-logo__name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-logo__name span {
  color: var(--primary);
}

.site-footer__brand > p {
  max-width: 330px;
  margin: 18px 0 21px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.85;
}

.site-footer__socials {
  display: flex;
  gap: 9px;
}

.site-footer__socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border: 1px solid #ccfbf1;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(15, 118, 110, 0.07);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-footer__socials a:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-2px);
}

.site-footer__socials svg {
  width: 17px;
}

.site-footer__column h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.site-footer__column ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column li,
.site-footer__column a {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.site-footer__column a:hover {
  color: var(--primary);
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__contact svg {
  width: 17px;
  flex: 0 0 17px;
  color: var(--primary);
}

.site-footer__payments {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid rgba(15, 118, 110, 0.12);
}

.site-footer__payments > span {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-logo {
  width: 82px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: #fff;
  border: 1px solid #ccfbf1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.payment-logo:hover {
  border-color: #99f6e4;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.11);
  transform: translateY(-2px);
}

.payment-logo img {
  display: block;
  width: auto;
  max-width: 66px;
  height: 24px;
  object-fit: contain;
}

.site-footer__bottom {
  display: grid;
  gap: 16px;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(15, 118, 110, 0.12);
}

.site-footer__bottom p {
  margin: 0;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.site-footer__legal,
.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
}

.site-footer__legal {
  gap: 7px 15px;
}

.site-footer__legal a {
  position: relative;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.site-footer__legal a:hover {
  color: var(--primary);
}

.site-footer__legal a:not(:last-child)::after {
  position: absolute;
  inset-inline-end: -8px;
  color: #cbd5e1;
  content: "|";
}

.site-footer__trust {
  gap: 9px 14px;
}

.site-footer__trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
}

.site-footer__trust svg {
  width: 15px;
}

@media (min-width: 600px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 46px;
    padding: 42px 36px 34px;
  }

  .site-footer__payments {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 36px;
  }

  .site-footer__bottom {
    padding-inline: 36px;
  }
}

@media (min-width: 900px) {
  .site-footer__bottom {
    padding-bottom: 24px;
  }
}

@media (min-width: 1180px) {
  .site-footer__grid {
    grid-template-columns: 1.55fr 0.76fr 0.95fr 1.1fr;
    gap: 44px;
    padding: 50px 46px 42px;
  }

  .site-footer__payments {
    padding: 18px 46px;
  }

  .site-footer__bottom {
    grid-template-columns: minmax(220px, 1fr) auto minmax(280px, 1fr);
    align-items: center;
    gap: 28px;
    padding: 22px 46px 26px;
  }

  .site-footer__legal {
    justify-content: center;
  }

  .site-footer__trust {
    justify-content: flex-end;
  }
}
