/* Footer base */
.site-footer {
  background: linear-gradient(180deg, #353888 0%, #0d0e22 100%);
  color: #fff;
  padding: 50px 4% 20px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

/* 5-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
  align-items: flex-start;
}

/* Logo */
.footer-logo {
  text-align: left;
}

.footer-logo-img {
  width: 180px;
  margin-bottom: 15px;
}

/* Column titles and text */
.footer-column {
  font-size: 0.95rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-title.small {
  font-size: 1.1rem;
  margin: 20px 0 8px;
}

.footer-text {
  margin: 0;
}

/* Links */
.footer-link-item {
  margin: 6px 0;
}

.footer-link {
  color: #fff;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: none;
}

/* Gallery */
.footer-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.footer-gallery img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

/* Contact info */
.footer-contact-item {
  margin: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon {
  font-size: 18px;
}

/* Map */
.footer-map {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 8px;
}

/* Divider */
.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 40px 0;
}

/* Bottom area: quote + social + copyright */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Follow box (desktop: right aligned) */
.footer-follow {
  display: flex;
  align-items: center;
  background: #fff;
  color: #000;
  border-radius: 20px;
  padding: 10px 20px;
  gap: 15px;
  margin-left: auto; /* pushes it to the right on desktop */
}

.footer-follow-label {
  font-weight: 700;
  color: #1a1a7a;
}

.footer-social-link {
  color: #000;
  font-size: 20px;
  text-decoration: none;
  display: inline-flex;
}

.footer-social-link img {
  display: block;
}

/* Quote + copyright (centered on desktop) */
.footer-quote-copy {
  text-align: center;
  margin: 0 auto;
}

.footer-quote {
  font-style: italic;
  color: #86b72e;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 5px;
}

.footer-copy {
  color: #ccc;
  font-size: 0.9rem;
  margin: 0;
}

/* ------------ RESPONSIVE ------------ */

/* Tablet and below: reduce to fewer columns */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile: stack columns and change bottom order */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 5 columns can wrap naturally on small screens */

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  /* Show FOLLOW first on mobile */
  .footer-follow {
    order: 1;
    margin-left: 0;
    align-self: flex-start;
  }

  /* Quote + copyright second, full width and centered */
  .footer-quote-copy {
    order: 2;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

/* Extra small screens: single column */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-follow {
    width: 100%;
    justify-content: center;
  }
}
