/* /assets/css/footer.css */

.skeleton-footer {
  background: #050505;
  opacity: 0.06;
  min-height: 160px;
  width: 100%;
}

.site-footer {
  background: #050505;
  color: #ffffff;
  padding: 42px 20px 22px;
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  flex-shrink: 0;
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0));
}

.site-footer .container {
  max-width: var(--max-width, 1120px);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(130px, 1fr));
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
}

.site-footer .col {
  min-width: 0;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0;
}

.site-footer p,
.site-footer a {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.65;
}

.site-footer p {
  margin: 0 0 12px;
  max-width: 34rem;
}

.site-footer a {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 5px 0;
  border-radius: 6px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  transition: color 160ms ease, transform 160ms ease, opacity 160ms ease, background-color 160ms ease;
}

.site-footer a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.site-footer a:active {
  color: #ffffff;
  opacity: 0.82;
  transform: translateX(1px);
}

.site-footer a:focus:not(:focus-visible) {
  outline: none;
}

.site-footer a:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.45);
  outline-offset: 3px;
}

.site-footer a[href^="mailto:"] {
  display: inline;
  color: #ffffff;
  font-weight: 750;
}

.site-footer .footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.site-footer .footer-social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.site-footer .footer-social a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.site-footer .footer-social .icon {
  width: 16px;
  height: 16px;
  fill: #e2e8f0;
}

.site-footer .footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  text-align: center;
  font-size: 13px;
}

.site-footer .col,
.site-footer .col * {
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 34px 18px 20px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer p,
  .site-footer a {
    font-size: 14px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .site-footer a:hover {
    color: #cbd5e1;
    transform: none;
  }

  .site-footer a:active {
    color: #ffffff;
    opacity: 0.82;
    transform: translateX(1px);
  }

  .site-footer .footer-social a:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: none;
  }

  .site-footer .footer-social a:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.97);
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .site-footer {
    padding-top: 28px;
  }

  .site-footer .footer-grid {
    gap: 20px 28px;
  }

  .site-footer h4 {
    margin-bottom: 10px;
  }
}
