/* ============================================================
   URBANCE FOOTER — Desktop card + Mobile flat accordion
   ============================================================ */

/* ── Wrapper & card (desktop) ──────────────────────────────── */
.faq-footer-wrapper {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 24px 80px;
}

.footer-card {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.3);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── CTA panel ─────────────────────────────────────────────── */
.footer-cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #2F80ED 0%, #1A73E8 100%);
  border-radius: 24px;
  padding: 32px 40px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.footer-cta-panel::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.footer-cta-panel > * { position: relative; z-index: 2; }
.footer-cta-title  { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-cta-subtext { font-size: 1rem; color: rgba(255,255,255,0.9); margin: 0; }
.footer-cta-button {
  display: inline-block;
  background: #fff; color: #2F80ED;
  font-weight: 700; border-radius: 12px;
  padding: 12px 28px; font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer-cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* ── Main grid ─────────────────────────────────────────────── */
.footer-main-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo       { font-size: 1.3rem; font-weight: 700; color: #2F80ED; margin-bottom: 8px; }
.footer-brand-text { font-size: 1rem; color: #6B7280; margin-bottom: 8px; }

.footer-social { display: flex; gap: 12px; }
.footer-social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #EAF2FF 0%, #D1E3FF 100%);
  color: #2F80ED; border-radius: 50%;
  font-size: 1.2rem; text-decoration: none;
  border: 1px solid rgba(47,128,237,0.1);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social-btn:hover {
  background: linear-gradient(135deg, #2F80ED 0%, #1A73E8 100%);
  color: #fff; transform: translateY(-2px);
}

/* ── Links grid ────────────────────────────────────────────── */
.footer-links-grid {
  display: flex;
  gap: 32px;
  flex: 3 1 600px;
  min-width: 320px;
  flex-wrap: wrap;
}
.footer-column {
  flex: 1 1 120px;
  min-width: 120px;
}
.footer-column h4 {
  font-size: 0.9rem; font-weight: 700;
  color: #2F80ED; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a {
  color: #6B7280; font-size: 0.98rem;
  text-decoration: none; position: relative;
  transition: color 0.2s;
}
.footer-links a::before {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: #2F80ED;
  transition: width 0.2s;
}
.footer-links a:hover { color: #2F80ED; }
.footer-links a:hover::before { width: 100%; }

/* ── Bottom row ────────────────────────────────────────────── */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(47,128,237,0.1);
  padding-top: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
  color: #9CA3AF;
  font-size: 0.98rem;
}
.footer-bottom-right {
  display: flex; gap: 12px; font-size: 0.98rem;
}
.footer-bottom-right a { color: #9CA3AF; text-decoration: none; transition: color 0.2s; }
.footer-bottom-right a:hover { color: #2F80ED; }
.footer-bottom-right span { color: #D1E3FF; }

/* ── Accordion head — desktop: not tappable ────────────────── */
.footer-accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Chevron hidden on desktop ─────────────────────────────── */
.footer-accordion-icon { display: none; }

/* ============================================================
   DESKTOP OVERRIDES (769px+)
   ============================================================ */
@media (min-width: 769px) {
  .footer-accordion .footer-links  { display: block !important; }
  .footer-accordion-head           { pointer-events: none; cursor: default; padding: 0; }
  .footer-accordion-icon           { display: none !important; }
}

/* ============================================================
   MEDIUM breakpoint (769px – 900px only)
   ============================================================ */
@media (min-width: 769px) and (max-width: 900px) {
  .footer-card { padding: 24px 12px 16px; }
  .footer-main-grid { flex-direction: column; gap: 24px; }
  .footer-links-grid { flex-wrap: wrap; gap: 16px; }
}

/* ============================================================
   MOBILE (≤768px) — Full-width flat footer + accordion
   ============================================================ */
@media (max-width: 768px) {

  /* ── Footer wrapper breaks out to full width on mobile ───── */
  /* Don't touch the actual FAQ section above */

  /* Kill the parallax transform on mobile — already handled in JS but belt+braces */
  .footer-card {
    transform: none !important;
    will-change: auto !important;
    transition: none !important;
  }

  /* ── Strip the floating card wrapper ────────────────────── */
  .faq-footer-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .footer-card {
    background: #ffffff;
    border-radius: 0;
    border: none;
    border-top: 1px solid #eeeeee;
    box-shadow: none;
    padding: 0;
    gap: 0;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* ── CTA strip ──────────────────────────────────────────── */
  .footer-cta-panel {
    border-radius: 0;
    margin: 0;
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: #2F80ED;
  }
  .footer-cta-panel::before { display: none; }
  .footer-cta-title   { font-size: 1.1rem; color: #fff; margin: 0; }
  .footer-cta-subtext { font-size: 0.875rem; color: rgba(255,255,255,0.85); }
  .footer-cta-button  {
    width: 100%; text-align: center;
    padding: 13px 20px; font-size: 15px; border-radius: 10px;
    background: #fff; color: #2F80ED; font-weight: 700;
  }

  /* ── Brand block ────────────────────────────────────────── */
  .footer-main-grid {
    flex-direction: column;
    gap: 0;
    padding: 24px 20px 0;
  }
  .footer-brand {
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
    gap: 10px;
  }
  .footer-logo       { color: #2F80ED; font-size: 1.25rem; margin: 0; }
  .footer-brand-text { color: #6B7280; font-size: 13px; line-height: 1.6; }
  .footer-social { margin-top: 10px; gap: 10px; }
  .footer-social-btn {
    width: 36px; height: 36px;
    background: #EAF2FF; border: 1px solid #D1E3FF;
    color: #2F80ED; font-size: 15px; border-radius: 50%;
  }
  .footer-social-btn:active { background: #2F80ED; color: #fff; border-color: #2F80ED; }

  /* ── Links grid → 2-column grid on mobile (like desktop, just smaller) ── */
  .footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 0 20px 8px;
    min-width: 0;
  }

  /* ── No accordion — all columns always visible ───────────── */
  .footer-accordion {
    border-bottom: none;
  }

  /* Links always shown — no collapse */
  .footer-accordion .footer-links,
  .footer-accordion.is-expanded .footer-links {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: none !important;
  }

  /* ── Header row — not tappable, just a label ─────────────── */
  .footer-accordion-head {
    display: block;
    padding: 0 0 8px 0;
    cursor: default;
    pointer-events: none;
  }

  .footer-accordion-head h4 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }

  /* ── Hide the chevron entirely ───────────────────────────── */
  .footer-accordion-icon {
    display: none !important;
  }

  /* ── Link items on mobile ────────────────────────────────── */
  .footer-links a {
    display: block;
    color: #6B7280;
    font-size: 14px;
    padding: 7px 0;
    text-decoration: none;
  }
  .footer-links a:active { color: #2F80ED; }
  .footer-links a::before { display: none; } /* remove underline animation */

  /* ── Bottom row ─────────────────────────────────────────── */
  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 20px 40px;
    border-top: 1px solid #eeeeee;
    margin: 8px 0 0;
    text-align: center;
  }
  .footer-bottom-left  { color: #9CA3AF; font-size: 12px; }
  .footer-bottom-right { gap: 10px; font-size: 12px; }
  .footer-bottom-right a { color: #9CA3AF; }
  .footer-bottom-right span { color: #D1D5DB; }
}
