/* ========== FOOTER – MODERN, CONSISTENT ========== */
.site-footer {
  background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.03);
  padding: 3rem 2rem 2rem;
  border-top: 1px solid #eef2f6;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  justify-items: center;
  text-align: center;
}

/* Column styling */
.footer-col {
  width: 100%;
  text-align: left;
}

.footer-col h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0e2a3a;
  margin: 0;
  letter-spacing: -0.2px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c6280;
  margin: 1.2rem 0 0.5rem;
}

/* Toggle header – buttons hidden on desktop */
.footer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: none;  /* hidden on desktop */
  color: #1e4a8f;
}

.arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

/* About text */
.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 1.5rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

/* Help links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  text-decoration: none;
  color: #1e4a6e;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #2c6280;
  text-decoration: underline;
}

/* Address */
address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
address a {
  text-decoration: none;
  color: #334155;
  font-size: 0.9rem;
}
address a:hover {
  color: #1e4a6e;
  text-decoration: underline;
}

/* Phone */
.footer-phone {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e4a8f;
  background: #eff6ff;
  padding: 0.4rem 1rem;
  border-radius: 40px;
  text-decoration: none;
  margin: 0.5rem 0 1rem;
  transition: all 0.2s;
}
.footer-phone:hover {
  background: #1e4a8f;
  color: white;
  transform: translateY(-2px);
}

/* Email */
.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0.5rem 0 1rem;
}
.footer-email svg {
  color: #2c6280;
}
.footer-email a {
  text-decoration: none;
  color: #334155;
  font-size: 0.9rem;
}
.footer-email a:hover {
  color: #1e4a6e;
  text-decoration: underline;
}

/* Social icons */
.footer-social p {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0e2a3a;
  margin: 1rem 0 0.75rem;
}
.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.social-icons a {
  color: #9CA3AF;
  transition: all 0.2s;
  display: inline-flex;
}
.social-icons a:hover {
  color: #1e4a8f;
  transform: translateY(-2px);
}

/* ========== RESPONSIVE FOOTER ========== */

/* Tablet (≤ 900px): single column, accordion active */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: stretch;
  }
  .footer-col {
    text-align: center;
  }
  .footer-header {
    margin-bottom: 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
  }
  .toggle-btn {
    display: block;   /* show toggle buttons on mobile */
  }
  .toggle-content {
    display: none;    /* hidden by default on mobile */
    margin-top: 1rem;
  }
  .toggle-content.open {
    display: block;
  }
  .footer-about-text, .footer-copyright {
    text-align: center;
  }
  .footer-links {
    text-align: center;
  }
  .footer-email {
    justify-content: center;
  }
  .social-icons {
    justify-content: center;
  }
  .footer-phone {
    display: inline-block;
  }
}

/* Small phone (≤ 550px): smaller padding, font sizes */
@media (max-width: 550px) {
  .site-footer {
    padding: 2rem 1rem;
    border-radius: 32px 32px 0 0;
  }
  .footer-col h3 {
    font-size: 1rem;
  }
  .footer-about-text {
    font-size: 0.8rem;
  }
  .footer-copyright {
    font-size: 0.7rem;
  }
  .footer-links a, .footer-email a, address a {
    font-size: 0.8rem;
  }
  .footer-phone {
    font-size: 1rem;
    padding: 0.3rem 0.8rem;
  }
  .social-icons a svg {
    width: 20px;
    height: 20px;
  }
}