.ufa-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 58px 24px 20px;
  color: #f2e8df;
  background:
    linear-gradient(105deg, rgba(32, 25, 20, 0.96), rgba(32, 25, 20, 0.84)),
    url("p4.jpg") center 48% / cover no-repeat;
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: left;
}

.ufa-footer *,
.ufa-footer *::before,
.ufa-footer *::after {
  box-sizing: border-box;
}

.ufa-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: 38px;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-bottom: 38px;
}

.ufa-footer-brand {
  max-width: 300px;
}

.ufa-footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.ufa-footer-brand img {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.ufa-footer-brand p {
  margin: 15px 0 0;
  color: #e5d9d1;
  line-height: 1.7;
  text-align: left;
}

.ufa-footer-column h2 {
  margin: 4px 0 15px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.ufa-footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ufa-footer-column a {
  color: #e5d9d1;
  text-decoration: none;
  transition: color 180ms ease;
}

.ufa-footer-column a:hover {
  color: #ffc18f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ufa-footer-bottom {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #e5d9d1;
  text-align: center;
}

.ufa-footer-bottom p {
  margin: 5px 0;
  color: inherit;
  text-align: center;
}

.ufa-footer-bottom a {
  color: #f5a66c;
}

@media (max-width: 900px) {
  .ufa-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ufa-footer {
    padding: 42px 18px 18px;
  }

  .ufa-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    padding-bottom: 28px;
  }

  .ufa-footer-brand {
    grid-column: 1 / -1;
  }
}
