/* ==========================================================
   FOOTER.CSS — Footer Styles
   ========================================================== */

footer { background: var(--navy); border-top: 3px solid var(--accent) }

.foot-t {
  max-width: 1400px; margin: 0 auto;
  padding: 5rem 5rem 4rem;
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; gap: 3rem;
  border-bottom: 1px solid var(--dborder);
}

/* ── Brand Column ── */
.fb-logo { margin-bottom: 1.25rem }
.fb-logo img { height: 110px; width: auto; filter: brightness(0) invert(1); opacity: .85 }
.fb-tag {
  font-size: .85rem; line-height: 1.65; font-weight: 300;
  color: rgba(255,255,255,.35); max-width: 270px; margin-bottom: 1.75rem;
}
.fb-email { font-size: .8rem; color: var(--accent-light); letter-spacing: .03em }

/* ── Link Columns ── */
.fc h5 {
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.28);
  margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--dborder);
}
.fc ul { list-style: none; display: flex; flex-direction: column; gap: .65rem }
.fc a { font-size: .85rem; color: rgba(255,255,255,.42); transition: color .15s }
.fc a:hover { color: var(--white) }

/* ── Bottom Bar ── */
.foot-b {
  max-width: 1400px; margin: 0 auto;
  padding: 1.75rem 5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.foot-leg { font-size: 11px; color: rgba(255,255,255,.18); letter-spacing: .04em }
.foot-links { display: flex; gap: 2rem; list-style: none }
.foot-links a { font-size: 11px; color: rgba(255,255,255,.25); transition: color .15s }
.foot-links a:hover { color: rgba(255,255,255,.6) }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .foot-t { grid-template-columns: 1fr 1fr; padding: 3rem 2.5rem }
  .foot-b { padding: 1.5rem 2.5rem; flex-direction: column; gap: 1rem; align-items: flex-start }
}
@media (max-width: 768px) {
  .foot-t {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2rem;
    gap: 0;
    text-align: center;
  }
  /* Brand column — centered */
  .foot-t > div:first-child { margin-bottom: 2.5rem }
  .fb-logo { display: flex; justify-content: center }
  .fb-logo img { height: 80px }
  .fb-tag { max-width: 100%; margin: 0 auto 1.5rem }
  .fb-email { font-size: .9rem }

  /* Link columns — full width, collapsible */
  .fc {
    border-top: 1px solid var(--dborder);
    padding: 0;
    text-align: left;
  }
  .fc h5 {
    margin-bottom: 0; padding: 1.15rem 0;
    border-bottom: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px;
    min-height: 48px;
  }
  .fc h5::after {
    content: '+'; font-size: 1rem; font-weight: 300;
    color: rgba(255,255,255,.28);
  }
  .fc.foot-open h5::after { content: '\2212' }
  .fc ul {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s;
    padding: 0;
  }
  .fc.foot-open ul {
    max-height: 400px;
    padding-bottom: 1rem;
  }
  .fc a {
    font-size: .9rem;
    min-height: 44px;
    display: flex; align-items: center;
  }

  /* Bottom bar */
  .foot-b {
    padding: 1.5rem;
    text-align: center;
    align-items: center;
  }
  .foot-leg { font-size: 12px }
  .foot-links { flex-wrap: wrap; justify-content: center; gap: 1rem }
}
