/* ═══════════════════════════════════════════════════════════
   SEW Footer — MOBILE FIRST
   Base: 390px → min-width: 480 → 768 → 992 → 1366
   ═══════════════════════════════════════════════════════════ */

.sew-footer {
  background: var(--sew-dark-600);
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
}

/* ─── CTA Bar — Mobile Base ──────────────────────────────── */
.sew-footer__cta-bar {
  background: linear-gradient(135deg, var(--sew-dark-500) 0%, var(--sew-dark-500) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 1rem;
}

.sew-footer__cta-bar--membership {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 55%, #2f1f22 100%);
}

.sew-footer__cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.sew-footer__cta-text h3 {
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 0.375rem;
  line-height: 1.3;
}

.sew-footer__cta-text p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.sew-footer__cta-form {
  width: 100%;
  max-width: 400px;
}

.sew-footer__cta-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  max-width: 420px;
}

.sew-footer__cta-actions .sew-btn {
  width: 100%;
  justify-content: center;
  border-radius: 999px;
}

.sew-footer__feature-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 520px;
}

.sew-footer__feature-links li {
  margin: 0;
}

.sew-footer__feature-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.04);
}

.sew-footer__feature-links a:hover,
.sew-footer__feature-links a:active {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* GF form dark theme overrides */
.sew-footer__cta-form .gform_wrapper {
  margin: 0 !important;
}

.sew-footer__cta-form .gform_wrapper input[type="email"],
.sew-footer__cta-form .gform_wrapper input[type="text"] {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: #fff !important;
  border-radius: 5px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.9375rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.sew-footer__cta-form .gform_wrapper input::placeholder {
  color: rgba(255,255,255,0.4) !important;
}

.sew-footer__cta-form .gform_wrapper input[type="submit"],
.sew-footer__cta-form .gform_wrapper .gform_button {
  background: var(--sew-primary-500) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 5px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
  width: 100% !important;
}

.sew-footer__cta-form .gform_wrapper input[type="submit"]:hover,
.sew-footer__cta-form .gform_wrapper .gform_button:hover {
  background: var(--sew-primary-700) !important;
}

.sew-footer__cta-form .gform_wrapper .gfield_label,
.sew-footer__cta-form .gform_wrapper .gfield_description {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.8125rem !important;
}

.sew-footer__cta-form .gform_wrapper .validation_message,
.sew-footer__cta-form .gform_wrapper .gform_validation_errors {
  color: var(--sew-primary-500) !important;
}

/* ─── Footer Grid — Mobile: stacked ─────────────────────── */
.sew-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.sew-footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
}

.sew-footer__logo {
  display: inline-block;
  text-decoration: none;
}

.sew-footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.sew-footer__col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin: 0 0 0.75rem;
}

/* Nav menu links */
.sew-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sew-footer__links li {
  margin-bottom: 0.375rem;
}

.sew-footer__links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.6;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.sew-footer__links a:hover,
.sew-footer__links a:active {
  color: var(--sew-primary-500);
}

/* ─── Bottom Bar — Mobile: stacked center ────────────────── */
.sew-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.sew-footer__social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sew-footer__social a {
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
  display: flex;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}

.sew-footer__social a:hover,
.sew-footer__social a:active {
  color: var(--sew-primary-500);
}

.sew-footer__legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.sew-footer__legal-links a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 0.6875rem;
  transition: color 0.15s;
}

.sew-footer__legal-links a:hover {
  color: rgba(255,255,255,0.65);
}

.sew-footer__copyright p {
  margin: 0;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════════════════════════
   BREAKPOINTS — Progressive Enhancement
   ═══════════════════════════════════════════════════════════ */

/* ─── Phablet (min-width: 480px) ─────────────────────────── */
@media (min-width: 480px) {
  .sew-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }

  .sew-footer__brand {
    grid-column: 1 / -1;
  }

  .sew-footer__cta-text h3 {
    font-size: 1.375rem;
  }
}

/* ─── Tablet (min-width: 768px) ──────────────────────────── */
@media (min-width: 768px) {
  .sew-footer__cta-bar {
    padding: 2.5rem 1.5rem;
  }

  .sew-footer__cta-inner {
    flex-direction: row;
    text-align: left;
    gap: 2rem;
  }

  .sew-footer__cta-text p {
    max-width: 420px;
  }

  .sew-footer__cta-form {
    flex-shrink: 0;
    min-width: 280px;
    max-width: 340px;
  }

  .sew-footer__cta-actions {
    flex-shrink: 0;
    max-width: 360px;
    justify-content: end;
  }

  .sew-footer__cta-form .gform_wrapper input[type="submit"],
  .sew-footer__cta-form .gform_wrapper .gform_button {
    width: auto !important;
  }

  .sew-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }

  .sew-footer__brand {
    grid-column: auto;
  }

  .sew-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 1.5rem;
  }

  .sew-footer__legal-links {
    justify-content: flex-start;
    gap: 1rem;
  }
}

/* ─── Desktop (min-width: 992px) ─────────────────────────── */
@media (min-width: 992px) {
  .sew-footer__cta-bar {
    padding: 3rem 1.5rem;
  }

  .sew-footer__cta-text h3 {
    font-size: 1.5rem;
  }

  .sew-footer__cta-text p {
    font-size: 0.9375rem;
  }

  .sew-footer__cta-form {
    min-width: 320px;
  }

  .sew-footer__grid {
    padding: 3rem 1.5rem;
  }

  .sew-footer__logo-img {
    height: 48px;
  }

  .sew-footer__legal-links {
    gap: 1.25rem;
  }

  .sew-footer__legal-links a {
    font-size: 0.75rem;
  }
}

/* ─── Wide (min-width: 1366px) ───────────────────────────── */
@media (min-width: 1366px) {
  .sew-footer__grid,
  .sew-footer__cta-inner,
  .sew-footer__bottom {
    max-width: 1340px;
  }
}
