@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight/InterTight-Medium-RULATAM.woff2?v=20260519-inter-tight-subset-1") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.r-footer,
.r-footer * {
  box-sizing: border-box;
}

.r-footer {
  --r-footer-bg: #1f2530;
  --r-footer-gold: #c1a57a;
  --r-footer-gold-soft: rgba(193, 165, 122, 0.72);
  --r-footer-line: rgba(247, 231, 206, 0.12);
  --r-footer-muted: rgba(247, 231, 206, 0.62);
  --r-footer-dim: rgba(247, 231, 206, 0.46);
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 64px 0 46px;
  background: var(--r-footer-bg);
  color: var(--r-footer-gold);
  font-family: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  font-synthesis-weight: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.r-footer a {
  color: inherit;
  text-decoration: none;
}

.r-footer__container {
  width: min(100% - 72px, 1160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  grid-template-areas:
    "brand menu"
    "legal legal"
    "note note";
  gap: 42px 64px;
  align-items: start;
}

.r-footer__brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.r-footer__logo-link,
.r-footer__logo {
  display: block;
  width: 150px;
  max-width: 150px;
  height: auto;
}

.r-footer__logo {
  object-fit: contain;
  object-position: left center;
}

.r-footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 150px;
  max-width: 150px;
}

.r-footer__social {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--r-footer-gold);
  color: var(--r-footer-bg);
  transition: filter 0.18s ease, box-shadow 0.18s ease;
}

.r-footer__social:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 22px rgba(193, 165, 122, 0.22);
}

.r-footer__social svg {
  display: block;
  width: 13px;
  height: 13px;
  color: currentColor;
  fill: currentColor;
}

.r-footer__social svg * {
  fill: currentColor;
  stroke: none;
  opacity: 1;
  visibility: visible;
}

.r-footer__copyright {
  color: var(--r-footer-gold);
  font-size: 13px;
  line-height: 1.38;
  letter-spacing: 0.01em;
}

.r-footer__copyright strong {
  display: inline-block;
  color: var(--r-footer-gold);
  font-size: 13px;
  font-weight: 500;
}

.r-footer__copyright a {
  color: var(--r-footer-gold-soft);
}

.r-footer__menu {
  grid-area: menu;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 42px;
}

.r-footer__group {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.r-footer__heading {
  margin: 0 0 3px;
  color: var(--r-footer-gold);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.r-footer__heading a {
  color: inherit;
}

.r-footer__group > a {
  color: var(--r-footer-gold-soft);
  font-size: 14px;
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: color 0.18s ease;
}

.r-footer__group > a:hover,
.r-footer__heading a:hover,
.r-footer__copyright a:hover,
.r-footer__legal-nav a:hover {
  color: #f7e7ce;
}

.r-footer__legal {
  grid-area: legal;
  width: 100%;
  border-top: 1px solid var(--r-footer-line);
  border-bottom: 1px solid var(--r-footer-line);
  padding: 18px 0;
  text-align: center;
}

.r-footer__legal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
  width: 100%;
}

.r-footer__legal-nav a {
  color: rgba(247, 231, 206, 0.76);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.r-footer__legal-nav a:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 13px;
  vertical-align: -2px;
  background: rgba(247, 231, 206, 0.24);
}

.r-footer__note {
  grid-area: note;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  color: var(--r-footer-gold-soft);
  text-align: center;
  font-size: 14px;
  line-height: 1.48;
  letter-spacing: 0.005em;
}

.r-footer__note p {
  margin: 0;
}

@media (max-width: 959px) {
  .r-footer {
    padding: 52px 0 42px;
  }

  .r-footer__container {
    width: min(100% - 48px, 720px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "menu"
      "legal"
      "note";
    gap: 34px;
  }

  .r-footer__brand {
    gap: 18px;
  }

  .r-footer__menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 34px;
  }
}

@media (max-width: 520px) {
  .r-footer__container {
    width: min(100% - 44px, 420px);
  }

  .r-footer__logo-link,
  .r-footer__logo {
    width: 150px;
    max-width: 150px;
  }

  .r-footer__socials {
    width: 150px;
    max-width: 150px;
    gap: 9px;
  }

  .r-footer__social {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
  }

  .r-footer__social svg {
    width: 13px;
    height: 13px;
  }

  .r-footer__legal-nav {
    gap: 11px;
  }

  .r-footer__legal-nav a {
    white-space: normal;
  }

  .r-footer__legal-nav a:not(:last-child)::after {
    display: none;
  }

  .r-footer__note {
    font-size: 13px;
    line-height: 1.5;
  }
}
.r-footer__social svg path {
  fill: #1f2530 !important;
  stroke: none !important;
}

.r-footer :where(a,span,strong,p,li,h1,h2,h3,h4,h5,h6){
  font-family:"Inter Tight",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-synthesis-weight:none;
}

.r-footer__heading,
.r-footer__group > a,
.r-footer__copyright,
.r-footer__copyright strong,
.r-footer__legal-nav a,
.r-footer__note{
  font-weight:500;
}
