/* ============================================================
   BOLDGROUP — Mobile optimizations
   Layered on top of landing.css. Tuned for phones (≤640px),
   with light refinements up to 860px. Loaded AFTER landing.css.
   ============================================================ */

/* ---------- Mobile nav (hamburger + drawer) ---------- */
.nav__toggle {
  display: none;
  width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: var(--r-sm);
  background: rgba(255,255,255,.06); color: var(--on-dark);
  align-items: center; justify-content: center; flex: none;
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__drawer { display: flex; align-items: center; gap: 30px; }
.nav__drawer a:not(.nav__cta) { color: var(--on-dark-soft); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav__drawer a:not(.nav__cta):hover { color: #fff; }

@media (max-width: 860px) {
  .nav { padding: 14px var(--gutter); }
  .nav--solid { padding-block: 12px; }
  .nav__toggle { display: inline-flex; }

  /* Slide-down drawer holds the links that the base CSS hides */
  .nav__drawer {
    display: block;
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    background: var(--green-950);
    padding: 84px var(--gutter) 28px;
    transform: translateY(-104%);
    transition: transform .4s var(--ease);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  }
  body.nav-open .nav__drawer { transform: translateY(0); }
  .nav__drawer a:not(.nav__cta) {
    display: block !important;
    color: var(--on-dark); font-size: 1.25rem; font-family: var(--font-display);
    padding: 16px 0; border-bottom: 1px solid var(--line-dark);
  }
  .nav__drawer .nav__cta {
    display: flex !important; justify-content: center; width: 100%;
    margin-top: 22px; padding: 15px 22px !important; font-size: 1.05rem;
  }
  /* The drawer toggle stays above the open panel */
  .nav__toggle { position: relative; z-index: 70; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
@media (max-width: 640px) {
  .hero { min-height: 92svh; }
  .hero__inner { padding-top: 110px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); margin-bottom: 18px; }
  .hero__sub { font-size: 1.02rem; max-width: 100%; }
  .hero .capture .btn { width: 100%; justify-content: center; padding: 16px 28px !important; }
  .capture__micro { gap: 12px 18px; font-size: .8rem; }
}

/* ---------- Section rhythm: tighter on phones ---------- */
@media (max-width: 640px) {
  .section { padding-block: 56px; }
  .stats, .agents, .faq { padding: 56px 0 !important; }
  .finalcta { padding: 64px 0 40px !important; }

  .eyebrow-rule { gap: 10px; }
  .h2 { font-size: clamp(2rem, 9vw, 2.6rem); }

  /* Headlines that were pinned to a fixed px width on desktop */
  .values__head h2, .exposure__head h2,
  .process__head, .process__head p,
  .finalcta__sub { width: auto !important; max-width: 100% !important; }
}

/* ---------- Resources: full-width cards, bigger media ---------- */
@media (max-width: 640px) {
  .res-grid { gap: 18px; }
  .rcard__media image-slot, .rcard__media .rcard-img { height: clamp(190px, 52vw, 240px); }
  .rcard h3 { font-size: 1.4rem; }
  .rcard p { font-size: 1rem; }
  .rcard__link { font-size: 1rem; padding: 6px 0; } /* larger tap target */
}

/* ---------- Stats: real 2-up grid with breathing room ---------- */
@media (max-width: 640px) {
  .stats__head { margin-bottom: 36px; }
  .stat__num { font-size: clamp(2.6rem, 13vw, 3.4rem); }
}

/* ---------- Staging before/after stacks ---------- */
@media (max-width: 640px) {
  .staging__photos { grid-template-columns: 1fr; gap: 12px; }
  .staging__photos image-slot,
  .staging__photos .ba-img { height: clamp(240px, 64vw, 320px) !important; }
  .staging__points { gap: 18px; margin-top: 26px; }
}

/* ---------- Agents card ---------- */
@media (max-width: 640px) {
  .agents__combined { padding: 22px; }
  .agents__portraits { gap: 12px; }
  .agent__list { gap: 13px; }
  .agent__list li { font-size: .98rem; }
}

/* ---------- FAQ: larger tap targets ---------- */
@media (max-width: 640px) {
  .faq__q { font-size: 1.15rem; padding: 22px 0; gap: 14px; }
  .faq__a > div { font-size: 1rem; }
}

/* ---------- Final CTA ---------- */
@media (max-width: 640px) {
  .fcard { padding: 28px 22px; }
  .finalcta__contacts { gap: 18px; }
  .fcontact { font-size: 1rem; }
  .finalcta__tag { margin-top: 40px; font-size: clamp(1.6rem, 8vw, 2.2rem); }
}

/* ---------- Footer ---------- */
@media (max-width: 640px) {
  .footer { padding: 44px var(--gutter) 120px; } /* room for sticky CTA */
  .footer__top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__legal { gap: 8px; }
}

/* ---------- Sticky bottom CTA bar (mobile conversion anchor) ---------- */
.mcta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(32,39,28,.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
}
.mcta a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px; border-radius: var(--r-pill);
  background: var(--gold); color: #fff; font-weight: 700; font-size: 1.02rem;
}
.mcta svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .mcta { display: block; } }
