footer {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #aab2a9;
  background: #0e0e11;
  border-top: 1px solid rgba(218, 228, 221, 0.14);
  font: 14px/1.65 Figtree, Manrope, sans-serif;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.72fr) minmax(270px, 0.98fr);
  column-gap: clamp(44px, 5vw, 88px);
  row-gap: 28px;
  padding: 64px 44px 0;
  border-right: 1.5px solid rgba(218, 228, 221, 0.14);
  border-left: 1.5px solid rgba(218, 228, 221, 0.14);
}

footer img {
  width: 174px;
  filter: brightness(1.22) saturate(0.82);
}

.footer-brand-title {
  max-width: 440px;
  margin: 26px 0 0;
  color: #e4dfd4;
  font-size: clamp(25px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.footer-brand-copy {
  max-width: 390px;
  margin: 18px 0 0;
  color: #9fa89f;
  font-size: 15px;
  line-height: 1.65;
}

.footer-label {
  margin: 0 0 20px;
  color: #d8b35a;
  font: 700 13px/1 Figtree, Manrope, sans-serif;
  letter-spacing: 0.12em;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-nav .footer-label {
  margin-bottom: 8px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: #d7ddd6;
  font-size: 15px;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-nav a:hover {
  color: #e5bc60;
  transform: translateX(3px);
}

.footer-nav svg {
  width: 16px;
  height: 16px;
  color: #d8b35a;
  stroke-width: 1.7;
}

.footer-start {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-start > .footer-label {
  margin-bottom: 4px;
}

.footer-contact-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 430px);
  min-height: 64px;
  padding: 8px 9px 8px 20px;
  border: 1px solid rgba(218, 228, 221, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.footer-contact-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.footer-contact-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #edf0ee;
  font: 500 16px/1 Figtree, Manrope, sans-serif;
}

.footer-contact-form input::placeholder {
  color: #a8aca6;
  opacity: 1;
}

.footer-contact-form button {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #e6b556;
  color: #211807;
  font: 700 13px/1 Figtree, Manrope, sans-serif;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.footer-contact-form button:hover {
  background: #f0c36a;
  transform: translateY(-1px);
}

.footer-social {
  margin-top: 18px;
}

.footer-social .footer-label {
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  gap: 8px;
}

.footer-social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(218, 228, 221, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #d9ddd8;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.footer-social-links a:hover {
  border-color: rgba(216, 179, 90, 0.46);
  background: rgba(216, 179, 90, 0.1);
  color: #e8bd5c;
  transform: translateY(-2px);
}

.footer-social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 6px;
  padding: 18px 0 20px;
  border-top: 1px solid rgba(218, 228, 221, 0.14);
  color: #818a81;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: inherit;
  transition: color 180ms ease;
}

.footer-bottom strong {
  font-weight: 800;
}

.footer-bottom a:hover {
  color: #f0c36a;
}

footer .section-grid-marker-bottom-left::after,
footer .section-grid-marker-bottom-right::after {
  height: 6px;
  transform: translate(-50%, -100%);
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
    padding: 52px 20px 0;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand-title {
    margin-top: 24px;
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand-title {
    font-size: 27px;
  }

  .footer-bottom {
    grid-column: auto;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
    text-align: center ;
  }

  .footer-contact-form {
    min-height: 58px;
    padding-left: 16px;
  }

  .footer-contact-form button {
    min-width: 82px;
    min-height: 42px;
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-nav a,
  .footer-contact-form button,
  .footer-bottom a,
  .footer-social-links a {
    transition: none;
  }
}
