.footer {
  background: linear-gradient(135deg, var(--primary) 0%, #671010 100%);
  color: var(--white);
  padding: 60px 20px 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(197, 160, 89, 0.16), transparent 35%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  padding-bottom: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-about {
  max-width: 420px;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
  color: var(--white);
}

.footer-logo-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  padding: 2px;
}

.footer-logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo strong {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 3px;
}

.footer-logo span {
  display: block;
  text-align: center;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: justify;

  opacity: 0.86;
  margin-bottom: 22px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  color: var(--white);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Quick Links Section */
.footer-links,
.footer-contact {
  text-align: center;
}

.footer-links h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  text-transform: none;
  letter-spacing: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 18px;
}

.footer-links a,
.footer-nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-nav-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* .footer-links ul, */
.footer-contact ul {
  list-style: none;
  padding: 0;

  margin: 0;
}

.footer-contact ul a {
  text-align: center;
}


.footer-contact li {
  margin-bottom: 10px;
  font-size: 0.92rem;
  opacity: 0.9;
  text-align: center;
  justify-content: center;
}

.footer-links a,
.footer-contact a,
.footer-nav-link {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;

}

.footer-links a:hover,
.footer-contact a:hover,
.footer-nav-link:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 28px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
    align-items: start;
  }

  .footer-about {
    grid-column: 1 / 2;
  }

  .footer-links {
    grid-column: 2 / 3;
  }

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

  .footer-about,
  .footer-links,
  .footer-contact {
    max-width: 100%;
    text-align: center;
  }

  .footer-about p {
    text-align: center;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-logo-copy {
    align-items: center;
  }

  .footer-logo span {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links ul {
    justify-content: center;
  }

  .footer-links a,
  .footer-contact a,
  .footer-nav-link {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 16px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    grid-column: auto;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  .footer-about p {
    text-align: center;
  }

  .footer-logo {
    align-items: center;
    margin-left: 0;
  }

  .footer-logo-img {
    margin-left: 0;
  }

  .footer-logo span {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links ul {
    flex-direction: column;
    align-items: center;
  }

  .footer-contact li {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .footer-contact ul a {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 40px 14px 0;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-about p,
  .footer-contact li {
    font-size: 0.9rem;
  }

  .footer-logo strong {
    font-size: 1.6rem;
  }

  .footer-logo-img {
    width: 84px;
    height: 84px;
  }
}

@media (max-width: 420px) {
  .footer {
    padding: 36px 12px 0;
  }

  .footer-bottom {
    padding: 18px 0 24px;
    font-size: 0.85rem;
  }
}