/* =========================================================
   MAS Footer — MyAnnuityStore.com
   ========================================================= */

/* Blue accent line at very top of footer */
.mas-footer {
  border-top: 3px solid #0157ff;
}

/* ── Email signup strip ──────────────────────────────────── */
.mas-footer__signup-strip {
  background: #0f172a;
  padding: 40px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mas-footer__signup-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.mas-footer__signup-copy {
  flex: 1;
  min-width: 0;
}
.mas-footer__signup-headline {
  color: #f1f5f9;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}
.mas-footer__signup-sub {
  color: #94a3b8;
  font-size: 13.5px;
  margin: 0;
  line-height: 1.55;
}
.mas-footer__signup-form {
  flex-shrink: 0;
  width: 380px;
}
.mas-footer__signup-row {
  display: flex;
  gap: 0;
}
.mas-footer__signup-input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  font-size: 14px;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.mas-footer__signup-input::placeholder {
  color: #94a3b8;
}
.mas-footer__signup-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}
.mas-footer__signup-btn {
  padding: 11px 20px;
  background: #0157ff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
  position: relative;
}
.mas-footer__signup-btn:hover {
  background: #0046d6;
}
.mas-footer__signup-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.mas-footer__signup-btn-loading {
  display: none;
}
.mas-footer__signup-btn.is-loading .mas-footer__signup-btn-text {
  display: none;
}
.mas-footer__signup-btn.is-loading .mas-footer__signup-btn-loading {
  display: inline;
}
.mas-footer__signup-msg {
  font-size: 12.5px;
  margin: 8px 0 0;
  min-height: 16px;
  line-height: 1.4;
}
.mas-footer__signup-msg--success { color: #4ade80; }
.mas-footer__signup-msg--error   { color: #f87171; }

/* ── Pre-footer CTA strip ────────────────────────────────── */
.mas-footer__cta-bar {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.mas-footer__cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mas-footer__cta-text {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}
.mas-footer__cta-btn {
  display: inline-block;
  padding: 11px 26px;
  background: #0157ff;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
  flex-shrink: 0;
}
.mas-footer__cta-btn:hover {
  background: #0046d6;
  color: #fff;
  text-decoration: none;
}

/* ── Main footer body ────────────────────────────────────── */
.mas-footer__body {
  background: #0f172a;
  padding: 56px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.mas-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 56px;
  align-items: start;
}

/* Brand column */
.mas-footer__logo-link {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}
.mas-footer__logo {
  height: 38px;
  width: auto;
  max-width: 200px;
}
.mas-footer__tagline {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 20px;
}

/* Contact */
.mas-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mas-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mas-footer__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.mas-footer__contact-link:hover {
  color: #fff;
  text-decoration: none;
}
.mas-footer__contact-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.6;
}
.mas-footer__contact-hours {
  color: #94a3b8;
  font-size: 11.5px;
  padding-left: 22px;
  line-height: 1.5;
}

/* Social */
.mas-footer__social {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.mas-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.mas-footer__social a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}
.mas-footer__social svg {
  width: 16px;
  height: 16px;
}

/* BBB + trust row */
.mas-footer__trust-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.mas-footer__bbb {
  width: 64px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.mas-footer__bbb:hover {
  opacity: 1;
}
.mas-footer__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mas-footer__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
}
.mas-footer__trust li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Nav grid */
.mas-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
footer.mas-footer .mas-footer__col-heading {
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mas-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mas-footer__links a {
  color: #c4cfdb;
  font-size: 13.5px;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}
.mas-footer__links a:hover {
  color: #fff;
  text-decoration: none;
}

/* ── Legal disclaimer bar ────────────────────────────────── */
.mas-footer__legal-bar {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 0;
}
.mas-footer__legal-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.mas-footer__disclaimer {
  color: #94a3b8;
  font-size: 11.5px;
  line-height: 1.75;
  margin: 0;
}

/* ── Bottom bar ──────────────────────────────────────────── */
.mas-footer__bottom {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}
.mas-footer__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mas-footer__copyright {
  color: #94a3b8;
  font-size: 12.5px;
  margin: 0;
}
.mas-footer__legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.mas-footer__legal-links a {
  color: #94a3b8;
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.mas-footer__legal-links a:hover {
  color: #94a3b8;
  text-decoration: none;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .mas-footer__signup-inner {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .mas-footer__signup-form {
    width: 100%;
    max-width: 480px;
  }
  .mas-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mas-footer__brand {
    max-width: 480px;
  }
  .mas-footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .mas-footer__cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .mas-footer__cta-btn {
    width: 100%;
    text-align: center;
  }
  .mas-footer__signup-form {
    width: 100%;
  }
  .mas-footer__body {
    padding: 40px 0 36px;
  }
  .mas-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .mas-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .mas-footer__legal-links {
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 400px) {
  .mas-footer__nav {
    grid-template-columns: 1fr;
  }
}
