/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: transparent;
  padding: var(--section-pad-top) clamp(1rem, 3vw, 1.5rem) 1.25rem;
  overflow-x: clip;
}

.footer-panel {
  background: var(--brand-blue);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 1.35rem;
  padding: clamp(1.75rem, 3.8vw, 2.75rem);
}

/* =========================================================
   BRAND ROW — logo + college name + socials
   ========================================================= */

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem 1.5rem;
  padding-bottom: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand__logo {
  display: grid;
  place-items: center;
  width: clamp(14rem, 24vw, 18rem);
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  background: #fff;
}

.footer-brand__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 6.25rem;
  object-fit: contain;
}

/* =========================================================
   SOCIAL — shared colour, larger glyph inside same circle
   ========================================================= */

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.social-links__item {
  width: 2.9rem;
  height: 2.9rem;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.social-links__item svg {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
}

.social-links__item:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #123a6d;
  transform: translateY(-2px);
}

.social-links__fallback {
  font-size: 0.75rem;
  font-weight: 700;
}

/* =========================================================
   LINK GRID
   ========================================================= */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.8vw, 2.5rem);
  row-gap: 2rem;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-col h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 0;
  padding: 0;
}

.footer-col a {
  display: inline-block;
  padding: 0.26rem 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* =========================================================
   CONTACT
   ========================================================= */

.footer-contact-block {
  margin-bottom: 1.15rem;
}

.footer-contact-block strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contact-block p {
  margin: 0;
  max-width: 17rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact-block a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-location {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  padding: 0.45rem 0.75rem !important;
  border-radius: 999px;
  border: 1px solid rgba(249, 168, 37, 0.45);
  background: rgba(249, 168, 37, 0.12);
  color: var(--brand-gold) !important;
  font-size: 0.78rem !important;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-location:hover {
  background: var(--brand-gold) !important;
  border-color: var(--brand-gold);
  color: #123a6d !important;
}

/* =========================================================
   BOTTOM BAR
   ========================================================= */

.footer-bar {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0.35rem 0.15rem;
  font-size: 0.82rem;
  color: var(--slate);
}

.footer-bar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.25rem;
}

.footer-bar-links a {
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-bar-links a:hover {
  color: var(--maroon);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }

  .footer-contact h3 {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
  }

  .footer-location {
    align-self: start;
  }
}

@media (max-width: 900px) {
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-links {
    justify-content: flex-start;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 780px) {
  .site-footer {
    padding: 2rem 0.85rem 1rem;
  }

  .footer-panel {
    padding: 1.5rem 1.15rem 1.65rem;
    border-radius: 1.1rem;
  }

  .footer-brand {
    gap: 0.95rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.35rem;
  }

  .footer-brand__logo {
    width: 14.5rem;
  }

  .footer-brand__logo img {
    max-height: 5.5rem;
  }

  .social-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.6rem;
  }

  .social-links__item {
    width: 2.9rem;
    height: 2.9rem;
  }

  .social-links__item svg {
    width: 1.55rem;
    height: 1.55rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.15rem;
    row-gap: 1.65rem;
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: block;
  }

  .footer-contact-block p {
    max-width: none;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding-top: 1rem;
  }

  .footer-bar-links {
    justify-content: flex-start;
    gap: 0.65rem 1rem;
  }
}

@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   END
   ========================================================= */
