/* --- Footer (bottom.php) --- */
/* ===== Site Footer (bottom.php) ===== */
.site-footer {
  background: #C64A2C;
  color: #F4E3D8;
  position: relative;
}
.site-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: baseline;
  margin-bottom: 24px;
}
.footer-brand {
  font-weight: 600;
  opacity: 0.85;
}
.footer-mission {
  max-width: 620px;
  line-height: 1.6;
  opacity: 0.92;
  margin: 0; /* remove default p margin for cleaner alignment */
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.footer-col h6 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #F7E9DE;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.footer-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-list a {
  color: #F4E3D8;
  text-decoration: none;
  opacity: 0.95;
}
.footer-list a:hover {
  text-decoration: underline;
}

/* Social and contact icons */
.ico {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #F4E3D8;
}
.ico-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.footer-legal a {
  color: #F4E3D8;
  text-decoration: none;
  opacity: 0.95;
}
.footer-legal a:hover {
  text-decoration: underline;
}

/* Decorative right-side shapes */
.footer-shapes {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  pointer-events: none;
  overflow: hidden;
}
.footer-shapes .shape {
  position: absolute;
  right: -40px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  filter: blur(0.3px);
}
.footer-shapes .s1 {
  top: 60px;
  width: 280px;
  height: 96px;
  opacity: 0.18;
}
.footer-shapes .s2 {
  top: 200px;
  width: 360px;
  height: 120px;
  opacity: 0.18;
}
.footer-shapes .s3 {
  top: 360px;
  width: 520px;
  height: 160px;
  opacity: 0.18;
}
.footer-shapes .s4 {
  bottom: 0;
  width: 640px;
  height: 190px;
  opacity: 0.18;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .footer-shapes {
    display: none;
  }
}

@media (max-width: 560px) {
  .footer-top {
    gap:10px;
    justify-items: start;
    text-align: left;
  }
  .site-footer .footer-container {
    padding: 40px 20px 20px;
    text-align: left;
  }
  .footer-brand,
  .footer-mission,
  .footer-col h6 { 
    text-align: left;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }
  .footer-list {
    justify-items: start;
    text-align: left;
  }
  .footer-legal {
    justify-content: flex-start;
    font-size: 14px;
    text-align: left;
  }
}