.site-footer {
  --footer-gutter: max(20px, 5%);
  background: #143020;
  color: #fff;
  padding: clamp(80px, 10vw, 140px) var(--footer-gutter) clamp(40px, 5vw, 60px);
  overflow: hidden;
}

.footer-cta {
  width: 100%;
  margin: 0 auto;
  padding-bottom: clamp(80px, 12vw, 160px);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(48px, 6vw, 80px);
}

.site-footer .footer-avatar {
  width: clamp(56px, 8vw, 112px) !important;
  height: clamp(56px, 8vw, 112px) !important;
  max-width: none !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.footer-heading h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
}

.footer-divider-row {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.footer-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  transform-origin: left center;
}

.footer-touch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: -20px;
  text-decoration: none;
  color: #fff;
}

.footer-touch-arrow {
  position: absolute;
  top: -36px;
  left: -28px;
  font-size: 28px;
  line-height: 1;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.footer-touch:hover .footer-touch-arrow {
  transform: translate(4px, -4px);
}

.footer-touch-circle {
  display: flex;
  color: #143020;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 14vw, 168px);
  height: clamp(120px, 14vw, 168px);
  border-radius: 50%;
  background: #F4F3EE;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  padding: 16px;
  transition: transform 0.35s ease, background 0.25s ease;
}

.footer-touch:hover .footer-touch-circle {
  transform: scale(1.06);
  background: #5a6de0;
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer-pill:hover {
  background: #fff;
  color: #143020;
  border-color: #fff;
}

.footer-bottom {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  gap: clamp(48px, 8vw, 120px);
  flex-wrap: wrap;
}

.footer-meta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-meta-label {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-meta-value {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
  justify-content: flex-end;
}

.footer-socials a {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.footer-socials a:hover {
  opacity: 0.55;
}

@media (max-width: 900px) {
  .site-footer {
    padding: 64px var(--footer-gutter) 40px;
  }

  .footer-cta {
    padding-bottom: 64px;
  }

  .footer-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
  }

  .footer-heading h2 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.05;
  }

  .footer-avatar {
    margin-top: 0;
  }

  .footer-divider-row {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-bottom: 36px;
  }

  .footer-line {
    width: 100%;
  }

  .footer-touch {
    margin-left: 0;
    align-self: center;
  }

  .footer-touch-arrow {
    display: none;
  }

  .footer-touch-circle {
    width: 112px;
    height: 112px;
    font-size: 13px;
  }

  .footer-pills {
    flex-direction: column;
  }

  .footer-pill {
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 14px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .footer-bottom-left {
    flex-direction: column;
    gap: 28px;
  }

  .footer-bottom-right {
    align-items: flex-start;
  }

  .footer-socials {
    justify-content: flex-start;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-touch-circle,
  .footer-touch-arrow,
  .footer-pill {
    transition: none;
  }
}
