.site-footer {
  background: var(--brand-orange);
  color: var(--brand-white);
  padding: 0 1.5rem;
}

.footer-inner {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 1.9rem 0 1.35rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(520px, 2fr) minmax(240px, 1fr);
  align-items: start;
  gap: 1.7rem;
}

.footer-section {
  padding: 0;
}

.footer-brand {
  padding-left: 0;
}

.footer-logo {
  display: inline-flex;
  flex-shrink: 0;
  margin-bottom: 0.72rem;
}

.footer-logo img {
  width: 148px;
  height: auto;
  display: block;
}

.footer-mission {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  max-width: 22ch;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.58rem;
}

.footer-nav-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-link-section {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-section-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.footer-links a {
  color: var(--brand-white);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: normal;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand-black);
  outline: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding-right: 0;
}

.footer-address {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  line-height: 1.45;
  max-width: 28ch;
}

.footer-address-line {
  display: block;
}

.footer-phone {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

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

.footer-phone a:hover,
.footer-phone a:focus-visible {
  color: var(--brand-black);
  outline: none;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: var(--brand-white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  margin-top: 0.1rem;
}

.footer-contact-btn:hover,
.footer-contact-btn:focus-visible {
  background: rgba(25, 24, 24, 0.16);
  border-color: rgba(25, 24, 24, 0.8);
  color: var(--brand-black);
  outline: none;
}

.footer-copy {
  margin: 1.9rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  text-align: center;
  width: 100%;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: minmax(200px, 1fr) minmax(220px, 1fr);
    gap: 1.3rem;
  }

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

@media (max-width: 768px) {
  .site-footer {
    padding: 0 1rem;
  }

  .footer-inner {
    padding: 1.35rem 0 1.05rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-nav-sections {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .footer-section {
    padding: 0;
  }

  .footer-logo img {
    width: 120px;
  }

  .footer-links {
    gap: 0.5rem;
  }

  .footer-contact {
    gap: 0.5rem;
  }

  .footer-copy {
    white-space: normal;
    margin-top: 1.15rem;
  }
}
