/* =========================
   FAQ — Mobile polish (≤919px)
   ========================= */
@media (max-width: 919.98px) {
  /* Same background as desktop + safe padding */
  .faq-hero {
    background: linear-gradient(135deg, #9dd1d1, #5d9698);
    padding-block: 36px 64px;
    padding-inline: max(16px, env(safe-area-inset-left))
      max(16px, env(safe-area-inset-right));
  }

  /* Center the content a bit like desktop (within phone width) */
  .faq-hero .container {
    max-width: 720px; /* visual column; phones won’t hit it */
    margin-inline: auto;
    padding-inline: 0; /* we already set padding on .faq-hero */
  }

  /* Card matches desktop color but with tighter padding */
  .faq-card {
    background-color: #9dc0c1;
    border-radius: 16px;
    padding: 12px 12px 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  /* Optional banner image: shorter on mobile */
  .faq-hero-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    margin: 6px auto 12px;
    display: block;
  }

  /* Use clean dividers like desktop (no rounded item boxes) */
  .faq-list {
    padding: 0;
    color: #0b2a28;
  }
  .faq-item {
    margin: 0;
    padding: 14px 8px 16px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    box-shadow: none;
  }
  .faq-item:last-child {
    border-bottom: 0;
  }

  .faq-item h3 {
    margin: 0 0 6px;
    font-size: clamp(18px, 4.6vw, 19px);
    font-weight: 800;
    color: #132d2b;
    line-height: 1.25;
    text-align: center;
  }
  .faq-item p {
    margin: 0;
    font-size: clamp(15px, 4vw, 16px);
    line-height: 1.6;
    color: #2a4947;
    text-align: center;
  }

  .page-title.center {
    margin-bottom: 24px;
    text-align: center;
  }

  .subtle-rule {
    width: min(100%, 720px);
  }
}

/* =========================
   Desktop FAQ (≥920px) — Figma look
   ========================= */
@media (min-width: 920px) {
  .faq-hero {
    padding-block: 56px 96px;
    background: linear-gradient(135deg, #9dd1d1, #5d9698);
  }

  .faq-hero .container {
    max-width: 980px;
    padding-inline: 24px;
    margin-inline: auto;
  }
  .page-title.center {
    margin: 0 0 18px;
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .subtle-rule {
    width: 760px;
    max-width: 100%;
  }

  .faq-card {
    max-width: 760px;
    margin-inline: auto;
    background-color: #9dc0c1;
    backdrop-filter: blur(2px);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .faq-hero-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin: 6px auto 14px;
  }
  .faq-list {
    padding: 0;
  }
  .faq-item {
    padding: 14px 60px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    box-shadow: none;
    margin: 0;
  }
  .faq-item:last-child {
    border-bottom: 0;
  }

  .faq-item h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    color: #132d2b;
    line-height: 1.25;
  }
  .faq-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #2a4947;
  }
}
