.og-site-footer {
  position: relative;
  border-top: 1px solid rgba(244, 239, 229, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.88), rgba(6, 6, 7, 0.96));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.og-site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208, 169, 99, 0.22), transparent);
  pointer-events: none;
}

.og-footer-inner {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 2.15rem 0 2.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 1.9rem 2.6rem;
  align-items: start;
}

.og-footer-block {
  min-width: 0;
}

.og-footer-brand {
  display: inline-grid;
  gap: 0.5rem;
  color: rgba(244, 239, 229, 0.96);
  text-decoration: none;
}

.og-footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
}

.og-footer-brand:hover,
.og-footer-brand:focus-visible {
  text-decoration: none;
}

.og-footer-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.og-footer-brand-mark img {
  width: 96%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.04) contrast(1.02) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}

.og-footer-brand-name {
  color: rgba(244, 239, 229, 0.96);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.62rem;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0.02em;
}

.og-footer-brand-note {
  max-width: 19rem;
  color: rgba(244, 239, 229, 0.46);
  font-size: 0.76rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-left: 52px;
}

.og-footer-heading {
  margin: 0 0 0.95rem;
  color: rgba(244, 239, 229, 0.5);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.og-footer-link-grid {
  display: grid;
  grid-template-columns: minmax(0, max-content);
  gap: 0.82rem;
}

.og-footer-socials {
  display: grid;
  gap: 0.82rem;
}

.og-footer-link {
  color: rgba(244, 239, 229, 0.76);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.og-footer-link:hover,
.og-footer-link:focus-visible {
  color: rgba(208, 169, 99, 0.96);
  transform: translateX(2px);
  outline: none;
}

.og-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.og-footer-social::before {
  content: "";
  width: 0.26rem;
  height: 0.26rem;
  border-radius: 999px;
  background: rgba(208, 169, 99, 0.58);
  box-shadow: 0 0 6px rgba(208, 169, 99, 0.1);
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .og-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    justify-items: center;
    text-align: center;
  }

  .og-footer-block {
    width: 100%;
    display: grid;
    justify-items: center;
  }

  .og-footer-link-grid {
    grid-template-columns: minmax(0, max-content);
    justify-content: center;
  }

  .og-footer-socials {
    justify-items: center;
  }

  .og-footer-brand {
    justify-content: center;
  }

  .og-footer-brand-note {
    margin-inline: auto;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .og-footer-inner {
    width: calc(100vw - 28px);
    padding: 1.8rem 0 1.95rem;
    gap: 1.45rem;
  }

  .og-footer-brand-name {
    font-size: 1.42rem;
  }

  .og-footer-brand {
    justify-items: center;
    text-align: center;
  }

  .og-footer-brand-row {
    gap: 0.62rem;
    width: max-content;
    margin: 0 auto;
  }

  .og-footer-brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .og-footer-brand-mark img {
    width: 108%;
    transform: translateX(1px) translateY(-1px);
  }

  .og-footer-brand-note {
    max-width: 16.5rem;
    font-size: 0.72rem;
    margin-left: 0;
    margin-top: 0.15rem;
  }

  .og-footer-link-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.72rem;
  }

  .og-footer-socials {
    gap: 0.72rem;
  }

  .og-footer-link {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .og-footer-link {
    transition: none !important;
  }
}
