/* ==========================================================================
   footer.css — Site Footer
   ========================================================================== */

.apch-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
  position: relative;
}
.apch-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--sage), var(--coral));
  background-size: 200% 100%;
}
.apch-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(196, 74, 63, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(107, 143, 113, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Footer Grid
   -------------------------------------------------------------------------- */
.apch-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Footer Headings
   -------------------------------------------------------------------------- */
.apch-footer h3 {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.apch-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   Footer About Column
   -------------------------------------------------------------------------- */
.apch-footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.apch-footer-about .apch-footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Footer Contact Info
   -------------------------------------------------------------------------- */
.apch-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-footer-contact-item:hover {
  transform: translateX(4px);
}
.apch-footer-contact-item svg {
  color: var(--coral);
  min-width: 16px;
  margin-top: 3px;
  transition: transform 0.3s ease;
}
.apch-footer-contact-item:hover svg {
  transform: scale(1.15);
}
.apch-footer-contact-item a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}
.apch-footer-contact-item a:hover {
  color: var(--coral);
}

/* --------------------------------------------------------------------------
   Footer Links
   -------------------------------------------------------------------------- */
.apch-footer-links {
  list-style: none;
  padding: 0;
}
.apch-footer-links li {
  margin-bottom: 10px;
}
.apch-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
}
.apch-footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-footer-links a:hover {
  color: var(--white);
  padding-left: 0;
}
.apch-footer-links a:hover::after {
  width: 100%;
}

/* Footer Locations — 2-column layout for many cities */
.apch-footer-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.apch-footer-locations li:last-child {
  grid-column: 1 / -1;
}
.apch-footer-locations li:last-child a {
  color: var(--coral);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Footer Bottom Bar
   -------------------------------------------------------------------------- */
.apch-footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.apch-footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.apch-footer-bottom-links {
  display: flex;
  gap: 28px;
}
.apch-footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s ease;
  position: relative;
}
.apch-footer-bottom-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-footer-bottom-links a:hover {
  color: var(--coral);
}
.apch-footer-bottom-links a:hover::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .apch-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .apch-footer {
    padding: 60px 0 0;
  }
}
@media (max-width: 600px) {
  .apch-footer-grid {
    grid-template-columns: 1fr;
  }
  .apch-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
