.rf-site-footer {
  position: relative;
  overflow: hidden;
  background: #565465;
  color: #ffffff;
  font-family: 'Albert Sans', 'Open Sans', sans-serif;
}

.rf-site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 54px;
  left: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.028) 48%, rgba(255, 255, 255, 0.028) 49%, transparent 49%) 40% 10% / 420px 420px no-repeat,
    linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.024) 48%, rgba(255, 255, 255, 0.024) 49%, transparent 49%) 53% 42% / 470px 470px no-repeat;
  pointer-events: none;
}

.rf-site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 54px;
  width: min(36%, 430px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0 9px, transparent 10px) right 18px top 6px / 58px 58px repeat;
  pointer-events: none;
  opacity: 0.8;
}

.rf-footer-main,
.rf-footer-legal,
.rf-footer-bottom {
  position: relative;
  z-index: 1;
}

.rf-footer-main {
  background: transparent;
}

.rf-footer-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 24px 18px;
}

.rf-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(180px, 1fr) minmax(160px, 0.9fr) minmax(260px, 1.05fr);
  gap: 42px;
  align-items: start;
}

.rf-footer-brand-card {
  background: #e4c0ec;
  padding: 22px 24px 28px;
  color: #2f2b37;
}

.rf-footer-brand-logo {
  width: 100%;
  max-width: 246px;
  margin-bottom: 24px;
  display: block;
}

.rf-footer-brand-text {
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 18px;
  color: #373342;
}

.rf-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.rf-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #373342;
}

.rf-footer-contact-item i {
  font-size: 16px;
  width: 18px;
}

.rf-footer-contact-item a {
  color: inherit;
}

.rf-footer-column-title {
  margin: 0 0 24px;
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.rf-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.rf-footer-links a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.rf-footer-links a:hover {
  color: #e4c0ec;
}

.rf-footer-newsletter {
  margin: 0 0 22px;
}

.rf-footer-newsletter-form {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 0;
}

.rf-footer-newsletter-input {
  min-height: 60px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #474353;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}

.rf-footer-newsletter-input::placeholder {
  color: #8a8797;
}

.rf-footer-newsletter-button {
  min-height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-left: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.rf-footer-newsletter-button:hover {
  background: #e4c0ec;
  color: #3b3745;
}

.rf-footer-social-label {
  margin: 0 0 16px;
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.rf-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.rf-footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e4c0ec;
  color: #413d4c;
  font-size: 18px;
}

.rf-footer-legal {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6px 24px 30px;
}

.rf-footer-legal-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  padding-top: 12px;
}

.rf-footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.rf-footer-bottom {
  background: #494653;
}

.rf-footer-bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
}

.rf-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Roboto Slab', serif;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .rf-footer-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 720px) {
  .rf-footer-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rf-footer-legal,
  .rf-footer-bottom-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rf-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rf-footer-brand-card {
    max-width: 360px;
  }

  .rf-footer-newsletter-form {
    grid-template-columns: 1fr 68px;
  }
}
