/* ==========================================================================
   Footer Section — BuddieSpace Kajabi Theme
   Figma node: 29:137 | Canvas: 1440px
   Navy bg #21254a | 2-col top row | thin bottom bar
   ========================================================================== */

.bs-footer {
  background: #21254a;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  padding: clamp(60px, 6.94vw, 100px) clamp(24px, 6.67vw, 96px) clamp(24px, 3.33vw, 48px);
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.89vw, 56px);
}

/* ── Big brand text ── */
.bs-footer__brand-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 12.3vw, 177px);
  line-height: 1;
  color: #ffffff;
  margin: 0;
  width: 100%;
  text-align: center;
}

/* ── Top row: logo left | right group (support + subscribe) ── */
.bs-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 3.33vw, 48px);
  width: 100%;
}

.bs-footer__right {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 4.44vw, 64px);
  flex-shrink: 0;
}

/* ── Col 1: logo + tagline, ~301px ── */
.bs-footer__left {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.22vw, 24px);
  flex: 0 0 clamp(220px, 23vw, 340px);
  width: clamp(220px, 23vw, 340px);
}

.bs-footer__logo {
  width: clamp(120px, 13.9vw, 200px);
  height: auto;
  border-radius: clamp(32px, 4.5vw, 65px);
  display: block;
  object-fit: cover;
}

/* Tagline — Regular 400, 18px, white */
.bs-footer__tagline {
  font-size: clamp(16px, 1.39vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  margin: 0;
}

/* ── Col 2: support ── */
.bs-footer__support-col {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.11vw, 16px);
  flex-shrink: 0;
}

/* Column heading — Inter Bold 700, 18px */
.bs-footer__col-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.55;
  color: #ffffff;
  margin: 0;
  padding-left: 0;
}

.bs-footer__support-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bs-footer__support-links li a {
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.55;
  transition: opacity 0.2s;
  display: inline-block;
}

.bs-footer__support-links li a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* ── Col 3: subscribe + social, gap 48px ── */
.bs-footer__sub-col {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.33vw, 48px);
  flex: 0 0 clamp(200px, 22.9vw, 330px);
  width: clamp(200px, 22.9vw, 330px);
}

/* ── Subscribe group ── */
.bs-footer__subscribe {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.11vw, 16px);
}

.bs-footer__subscribe-text {
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.55;
  margin: 0;
}

/* Email input + green send button */
.bs-footer__form {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #ffffff;
  border-radius: 6.5px;
  overflow: hidden;
}

.bs-footer__input {
  flex: 1;
  min-width: 0;
  height: 42.5px;
  padding: 0 15px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #333333;
  outline: none;
  box-sizing: border-box;
}

.bs-footer__input::placeholder {
  color: #757575;
}

.bs-footer__form-btn {
  width: 43.5px;
  flex-shrink: 0;
  background: #b0f288;
  border: none;
  border-radius: 0 6.5px 6.5px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.bs-footer__form-btn:hover {
  background: #9de675;
}

/* ── Social group: follow label + icons + location ── */
.bs-footer__social-group {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.51vw, 21.7px);
}

.bs-footer__social-header {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.11vw, 16px);
}

.bs-footer__social {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.63vw, 9px);
}

.bs-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.bs-footer__social-link:hover {
  opacity: 0.75;
}

.bs-footer__social-link svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bs-footer__location {
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.55;
  margin: 0;
}

/* ── Bottom bar ── */
.bs-footer__bottom {
  border-top: 0.5px solid rgba(255, 255, 255, 0.6);
  padding-top: clamp(20px, 2.22vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

/* Copyright — Regular 400, 18px */
.bs-footer__copyright {
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.55;
  white-space: nowrap;
}

/* Credit line — Regular 400, 14px */
.bs-footer__credit {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.55;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

/* Agency name — green */
.bs-footer__credit a {
  color: #b0f288;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.bs-footer__credit a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ── Tablet: ≤ 1023px ── */
@media (max-width: 1023px) {
  .bs-footer__top {
    flex-wrap: wrap;
    gap: 32px;
  }

  .bs-footer__left {
    flex: 0 0 100%;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    max-width: 500px;
  }

  .bs-footer__right {
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    flex-shrink: 1;
  }

  .bs-footer__support-col {
    flex: 1 1 160px;
  }

  .bs-footer__sub-col {
    flex: 1 1 260px;
    width: auto;
  }

  .bs-footer__form {
    max-width: 330px;
  }
}

/* ── Mobile: ≤ 599px ── */
@media (max-width: 599px) {
  .bs-footer {
    padding: 48px 20px 32px;
    gap: 32px;
  }

  .bs-footer__left {
    flex-direction: column;
    max-width: 100%;
  }

  .bs-footer__support-col,
  .bs-footer__sub-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .bs-footer__form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .bs-footer__input {
    min-width: 0;
    box-sizing: border-box;
  }

  .bs-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bs-footer__copyright {
    white-space: normal;
    font-size: 13px;
  }

  .bs-footer__credit {
    justify-content: flex-start;
  }
}
