/* Original site footer, isolated to the draft. */
.footer {
  display: grid;
  gap: 16px;
  padding: 48px 40px 12px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 14px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px 40px;
  align-items: start;
}
.footer-brand {
  display: grid;
  gap: 16px;
  justify-items: center;
  align-content: start;
  text-align: center;
  padding-top: 4px;
}
.footer-logo {
  display: block;
  height: clamp(32px, 3.4vw, 40px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.footer-info {
  display: grid;
  gap: 8px;
  justify-items: start;
  line-height: 1.45;
}
.footer-address {
  margin: 0;
  white-space: pre-line;
}
.footer-org {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 36ch;
}
.footer-ids {
  margin: 0;
  opacity: 0.78;
  font-size: 13px;
}
.footer-mail {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-mail:hover { opacity: 0.85; }
.footer-tel {
  margin-top: 6px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
  line-height: 1.15;
}
.footer-cta {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  align-content: start;
  padding-top: 4px;
}
.footer-cta h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-cta p {
  margin: 0;
  opacity: 0.78;
  font-size: 15px;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 16px 32px;
  border-radius: 999px;
  background: #2f5d42;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow:
    0 0 12px rgb(86 168 120 / 0.75),
    0 0 28px rgb(47 93 66 / 0.7),
    0 0 48px rgb(86 168 120 / 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  animation: footerGlowPulse 2.6s ease-in-out infinite;
}
.footer-cta-btn:hover {
  background: #3a7352;
  filter: none;
  transform: translateY(-1px);
  box-shadow:
    0 0 16px rgb(86 168 120 / 0.9),
    0 0 36px rgb(47 93 66 / 0.85),
    0 0 60px rgb(86 168 120 / 0.45);
}
.footer-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-socials a {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2f5d42;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow:
    0 0 10px rgb(86 168 120 / 0.55),
    0 0 22px rgb(47 93 66 / 0.45);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-socials a:hover {
  background: #3a7352;
  transform: translateY(-1px);
  box-shadow:
    0 0 14px rgb(86 168 120 / 0.8),
    0 0 28px rgb(47 93 66 / 0.65);
}
.footer-socials a.footer-social--max img,
.footer-socials a.footer-social--vk img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}
.footer-socials svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
.footer-disclaimer {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0.55;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  justify-self: center;
}

@keyframes footerGlowPulse {
  0%, 100% {
    box-shadow:
      0 0 12px rgb(86 168 120 / 0.75),
      0 0 28px rgb(47 93 66 / 0.7),
      0 0 48px rgb(86 168 120 / 0.35);
  }
  50% {
    box-shadow:
      0 0 18px rgb(86 168 120 / 0.95),
      0 0 40px rgb(47 93 66 / 0.85),
      0 0 64px rgb(86 168 120 / 0.5);
  }
}

.footer { --dark: #0d1f17; --on-dark: #f7f4ec; }
.footer-cta-btn { border: 0; cursor: pointer; font-family: inherit; }
.footer-disclaimer { white-space: normal; }
@media (max-width: 850px) {
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-info, .footer-brand, .footer-cta { justify-items: center; text-align: center; }
  .footer-brand { order: -1; }
  .footer-org { max-width: 36ch; }
  .footer-disclaimer { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .footer-cta-btn { animation: none; } }
