/* ============================================================
   SITE FOOTER — full redesign
   footer.php / footer.css
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --footer-bg:        #0B1A3D;
  --footer-text:      rgba(255,255,255,.72);
  --footer-heading:   #ffffff;
  --footer-link:      rgba(255,255,255,.72);
  --footer-link-hover:#5ACBCB;
  --footer-bottom-bg: #081228;
}

/* ── Reset old simple footer rules ─────────────────────────── */
footer {
  background: var(--footer-bg) !important;
  color: var(--footer-text) !important;
  padding: 0 !important;
  font-size: .92rem;
}

/* ── Accreditation bar stays above, unchanged ───────────────── */

/* ── Main footer body ───────────────────────────────────────── */
.footer-main {
  padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 60px);
}

.footer-grid {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand  { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (min-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.45fr repeat(4, 1fr) 1.6fr;
    align-items: start;
    gap: 0 32px;
  }
  .footer-brand  { grid-column: auto; }
  .footer-contact {
    grid-column: auto;
    border-left: 1px solid rgba(255,255,255,.12);
    padding-left: 32px;
  }
}

/* ── Brand column ───────────────────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  display: block;
  max-width: 170px;
  width: 100%;
  height: auto !important;
  object-fit: unset !important;
  background: transparent !important;
}

.footer-tagline {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--footer-text);
  margin: 0;
  max-width: 220px;
}

.footer-verify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--footer-link-hover);
  color: var(--footer-link-hover);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
  width: fit-content;
  letter-spacing: .02em;
}
.footer-verify:hover {
  background: var(--footer-link-hover);
  color: #0B1A3D;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: #fff;
  text-decoration: none;
  transition: background .2s;
  flex: none;
}
.footer-social a:hover { background: rgba(255,255,255,.22); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ── Nav columns ────────────────────────────────────────────── */
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-col-heading {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--footer-heading);
  margin: 0 0 10px;
  padding-bottom: 10px;
  position: relative;
}

.footer-col-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
}

.footer-col-heading[data-col="about"]::after     { background: #F59E0B; }
.footer-col-heading[data-col="programs"]::after  { background: #3B82F6; }
.footer-col-heading[data-col="therapies"]::after { background: #8B5CF6; }
.footer-col-heading[data-col="resources"]::after { background: #EC4899; }

.footer-nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-col ul li { margin: 0; }

.footer-nav-col ul a {
  color: var(--footer-link);
  text-decoration: none;
  font-size: .88rem;
  line-height: 1.4;
  transition: color .15s;
}
.footer-nav-col ul a:hover { color: var(--footer-link-hover); }

/* ── Contact card ───────────────────────────────────────────── */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-realpeople {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--footer-link-hover);
  margin: 0;
}

.footer-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.footer-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #EC4899;
  flex: none;
}
.footer-phone-icon svg { width: 18px; height: 18px; fill: #fff; }

.footer-phone-number {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.footer-call-text {
  font-size: .78rem;
  color: var(--footer-text);
  margin: -8px 0 0;
}

.footer-conv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EC4899;
  color: #fff;
  border-radius: 50px;
  padding: 9px 16px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
  width: fit-content;
  white-space: nowrap;
}
.footer-conv-btn:hover { background: #d63a84; color: #fff; }

.footer-confidential {
  font-size: .78rem;
  color: var(--footer-text);
  margin: -6px 0 0;
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.footer-location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(90,203,203,.15);
  flex: none;
}
.footer-location-icon svg { width: 14px; height: 14px; fill: var(--footer-link-hover); }

.footer-location-text { display: flex; flex-direction: column; gap: 2px; }
.footer-location-city { font-weight: 700; color: #fff; font-size: .92rem; margin: 0; }
.footer-location-sub  { font-size: .78rem; color: var(--footer-text); margin: 0; }

/* ── Bottom bar ─────────────────────────────────────────────── */
.footer-bottom {
  background: var(--footer-bottom-bg);
  padding: 18px 0;
}

.footer-bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.footer-copyright {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin: 0;
  white-space: nowrap;
}

.footer-motto {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.40);
  flex: 1;
  text-align: center;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-legal a {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.footer-legal a:hover { color: rgba(255,255,255,.75); }

.footer-legal span {
  color: rgba(255,255,255,.2);
  font-size: .7rem;
}

/* ── Rainbow bar ────────────────────────────────────────────── */
.footer-rainbow {
  height: 5px;
  background: linear-gradient(
    to right,
    #E53935 0%,
    #E53935 16.6%,
    #FB8C00 16.6%,
    #FB8C00 33.2%,
    #FDD835 33.2%,
    #FDD835 49.8%,
    #43A047 49.8%,
    #43A047 66.4%,
    #1E88E5 66.4%,
    #1E88E5 83%,
    #8E24AA 83%,
    #8E24AA 100%
  );
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 699px) {
  .footer-motto { order: 3; flex-basis: 100%; text-align: center; }
  .footer-legal { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 1079px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }
  .footer-brand  { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}
