/* ============================================================
   THE SHALA — footer.css
   Source: snippet-footer.html
   ============================================================ */

footer {
  background: var(--charcoal-plum);
  padding: 64px 48px 36px;
  border-top: 3px solid var(--orange);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand block */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  margin-bottom: 14px;
}

.footer-address {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  font-style: normal;
}

.footer-address a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.footer-msg-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 20px;
  background: var(--orange);
  color: white;
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-msg-btn:hover {
  background: #c97d00;
}

/* Newsletter */
.footer-newsletter {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter-label {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-newsletter-copy {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-newsletter-link {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  color: white;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.footer-newsletter-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* Social icons */
.footer-brand-social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  align-items: center;
}

.footer-brand-social a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-brand-social a:hover {
  color: var(--orange);
}

/* Nav columns */
.footer-col h4,
.footer-courses-col h4 {
  font-family: "Jost", sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  margin-top: 36px;
  font-weight: 500;
}

.footer-col h4:first-child,
.footer-courses-col h4:first-child {
  margin-top: 0;
}

.footer-col a {
  font-family: "Jost", sans-serif;
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
  line-height: 1.3;
}

.footer-col a:hover {
  color: white;
}

.footer-courses-col a {
  font-family: "Jost", sans-serif;
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.2s;
}

.footer-courses-col a:hover {
  color: white;
}

/* Bottom bar */
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
}

/* ────────────────────────────────────────────────────────────
   BREAKPOINTS
──────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }
  .footer-courses-col {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }
  .footer-brand {
    grid-column: span 2;
    max-width: 560px;
  }
  .footer-courses-col {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 48px 20px 28px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 36px;
  }
  .footer-brand,
  .footer-courses-col {
    grid-column: span 1;
  }
  .footer-brand p {
    font-size: 13.5px;
  }
  .footer-col a,
  .footer-courses-col a {
    font-size: 14px;
    padding: 4px 0;
    margin-bottom: 6px;
  }
  .footer-msg-btn {
    padding: 12px 22px;
    font-size: 11px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom p {
    font-size: 11px;
    line-height: 1.6;
  }
}
