/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--footer-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-inner {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* ---- Footer Top: columns ---- */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: var(--space-md);
}

/* ---- Footer Logo + About col ---- */
.footer-brand .footer-logo-text .fl-friends {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-teal);
}

.footer-brand .footer-logo-text .fl-that-run {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--color-coral);
  line-height: 1;
}

.footer-brand .footer-logo-text .fl-coach {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 280px;
}

/* ---- Footer Nav Columns ---- */
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.18s;
}

.footer-col ul li a:hover {
  color: var(--color-teal);
}

/* ---- Footer Bottom ---- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.footer-bottom a:hover { color: var(--color-teal); }

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  transition: background 0.18s, color 0.18s;
}

.footer-social a:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

/* ---- Brand/certification logos in footer ---- */
.footer-brand-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand-logos a {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  padding: 4px;
  transition: transform 0.18s, opacity 0.18s;
  width: auto;
  height: auto;
}

.footer-brand-logos a:hover {
  transform: translateY(-2px);
  opacity: 1;
  background: #fff;
}

.footer-brand-logos img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ============================================================
   HOME PAGE FOOTER — slim full-width bar
   ============================================================ */
.home-footer {
  background: var(--footer-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 0;
  width: 100%;
}

.home-footer-inner {
  width: 100%;
  padding: 0.85rem var(--space-lg);
}

.home-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.home-footer .footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.home-footer .footer-bottom a {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

.home-footer .footer-bottom a:hover {
  color: var(--color-teal);
}

.home-footer .footer-social a {
  background: rgba(255,255,255,0.12);
}

.home-footer .footer-social a:hover {
  background: var(--color-teal);
  color: #fff;
}

/* ============================================================
   INTERIOR FOOTER — slim copyright bar, teal, 1200px constrained
   ============================================================ */
.interior-footer {
  background: transparent; /* sits below .interior-page; container provides color */
  padding: 0;
  border-top: none;
}

.interior-footer-inner {
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
  background-color: var(--color-teal);
  border-top: 1px solid rgba(255,255,255,0.25);
  padding: 0.85rem var(--space-lg);
}

.interior-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.interior-footer .footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

.interior-footer .footer-bottom a {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
}

.interior-footer .footer-bottom a:hover {
  color: var(--color-white);
}

.interior-footer .footer-social a {
  background: rgba(255,255,255,0.15);
}

.interior-footer .footer-social a:hover {
  background: rgba(255,255,255,0.3);
  color: var(--color-white);
}
@media (max-width: 820px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   FOOTER ROW LAYOUT — logos / crow / copyright stacked
   ============================================================ */
.footer-logos-row {
  justify-content: flex-end;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-crow-row {
  display: flex;
  justify-content: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-crow-row .cacaawww-wrap {
  margin: 0;
  justify-content: center;
}

/* Slightly smaller button in footer */
.footer-crow-row .cacaawww-btn {
  padding: 0.55rem 1.3rem 0.55rem 0.85rem;
  gap: 0.6rem;
}

.footer-crow-row .crow-icon {
  width: 42px;
  height: 32px;
}

.footer-crow-row .cacaawww-label {
  font-size: 1.1rem;
}

.footer-copy-row {
  padding-top: 0.5rem;
}

/* ============================================================
   THREE-COLUMN FOOTER ROW
   ============================================================ */
.footer-three-col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
}

/* LEFT — copyright, two lines, left-aligned */
.footer-col-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-col-left p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.4;
}

.footer-col-left a {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
}

.footer-col-left a:hover { color: var(--color-white); }

/* CENTER — crow button centered */
.footer-col-center {
  display: flex;
  justify-content: center;
}

.footer-col-center .cacaawww-wrap {
  margin: 0;
}

/* RIGHT — logos right-aligned */
.footer-col-right {
  display: flex;
  justify-content: flex-end;
}

.footer-col-right .footer-brand-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Responsive: stack on small screens */
@media (max-width: 700px) {
  .footer-three-col {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-sm);
  }
  .footer-col-left  { align-items: center; }
  .footer-col-right { justify-content: center; }
}
