/* ==========================================================================
   ABLENTRA V18 — MOBILE NAVBAR (2026-11-09, Agent 10)
   Override file. Loaded LAST in <head> (after v18-nav.css) on all 61 pages,
   so it wins ties over v15-nav.css / v18-nav.css. It does NOT edit any
   other file, changes NO markup, NO copy, NO desktop behaviour, NO other
   section. Palette: only #F6F6F4 / #111112 / #FE5C22 / #F26223 / #FFFFFF /
   #E4E4E0 — exactly the V17 palette. No new colours.

   REPRODUCED DEFECTS (Playwright headless shell, http://localhost:8417,
   360/375/390/430px — see qa-screenshots-v18/mobile-nav/before-*):
   D1. TWO-ROW BAR: at <=560px v15-nav.css wraps .v15-bar and puts the
       orange "Free website review" CTA on a full-width second row, so the
       mobile header is 107.4px tall at scroll 0 (76px spec) — a giant
       orange slab dominating the top of every page. That is the "looks
       terrible on mobile" the owner reported.
   D2. SCROLLED PILL IS WORSE: pill-on at <=560px the header grows to
       129.4px (12px header padding-top + 8px bar margin-top + wrapped
       two-row bar) — the floating pill is a huge rounded slab, logo
       half-clipped at the viewport top in real renders.
   D3. HERO KICKER COVERED AT SCROLL 0: .page-hero padding-top is only
       3.5rem (56px) on phones (v15-responsive.css:338, deliberate — it
       assumed a ~56px header), so the kicker pill sits at y=56 while the
       107px header bottom is at y=107: the kicker is half-hidden under
       the fixed header on /process/, /about/, /sitemap/ and every
       .page-hero page (gap -51.4px at every width 360-430). Home is the
       only exception (kicker at y=144, gap +36.6px).
   FIX:
   - Single-row bar at <=560px: logo + compact orange CTA + icon-only
     Menu toggle (44x44) in ONE row, 56px tall, no wrap, no second row.
     The CTA keeps its exact label, href, data-cal-link and
     data-cal-config (v18-nav.css orange styling stands); the toggle
     keeps aria-label="Open menu" (its visible "Menu" text is hidden —
     the hamburger icon alone is the universal affordance — to fit the
     full CTA label in one row at 360px).
   - Pill state at <=560px: the SAME single row inside the floating
     pill (header padding-top 12px -> 8px, bar margin-top 8px -> 0,
     pill width calc(100% - 1rem), compact paddings). Header ~60px
     scrolled instead of 129.4px.
   - Hero clearance: .page-hero padding-top 56px -> 80px (<=560px) and
     -> 96px (561-767px, where the one-row header is 77px tall), so the
     kicker clears the header with a ~20px gap on every .page-hero page
     including /sitemap/. .home-hero untouched (already clears).
   - 561-1100px (tablet): bar was already one row; untouched except the
     pill margin-top reset below 640px is NOT touched — out of scope.
   - Desktop (>=1101px): nothing in this file applies. v18-nav.css
     (breakpoint 1100 + orange CTA) is untouched.
   ========================================================================== */

/* --- 1. SINGLE-ROW BAR, <=560px -------------------------------------------
   Specificity beats or ties v15-nav.css at every point, and this file
   loads last, so these win. display needs !important: v15 sets
   `.v15-cta{display:inline-flex!important}` in the same breakpoint. */
@media (max-width: 560px) {
  #siteHeader.v15-nav .v15-bar {
    flex-wrap: nowrap;
    min-height: 56px;
    padding: 0 .75rem;
    padding-bottom: 0;
    row-gap: 0;
    gap: .5rem;
  }
  /* Brand: 22px -> 20px logo so logo + full CTA label + toggle fit 360px. */
  #siteHeader.v15-nav .v15-brand-logo { height: 20px; }
  /* Actions back in normal flow (v15 sets display:contents here), one row. */
  #siteHeader.v15-nav .v15-bar-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
    flex: none;
  }
  /* Compact orange CTA: same label, same Cal.com attributes, 44px tall. */
  #siteHeader.v15-nav .v15-bar-actions .v15-cta {
    display: inline-flex !important;
    order: 0;
    flex: 0 1 auto;
    min-height: 44px;
    padding: .5rem .75rem;
    font-size: .8rem;
    justify-content: center;
  }
  /* Icon-only toggle, 44x44 tap target. Visible "Menu" text hidden;
     aria-label="Open menu" still names the button. */
  #siteHeader.v15-nav .v15-menu-toggle {
    order: 1;
    margin-left: 0;
    flex: none;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }
  #siteHeader.v15-nav .v15-menu-toggle-label { display: none; }

  /* --- 2. PILL STATE, <=560px: same single row, no extra height --------- */
  #siteHeader.v15-nav.v15-pill-on { padding-top: 8px; }
  #siteHeader.v15-nav.v15-pill-on .v15-bar {
    margin-top: 0;
    min-height: 52px;
    width: calc(100% - 1rem);
    padding: 0 .5rem 0 .75rem;
    padding-bottom: 0;
  }
}

/* --- 3. HERO CLEARANCE: kicker must clear the fixed header at scroll 0 ---
   Beats v15-responsive.css `.page-hero{padding-top:3.5rem!important}`
   (<=767px) by source order at equal specificity. New header is 57px
   (<=560px) / 77px (561-767px); 80px / 96px padding leaves a ~20px gap.
   .home-hero is NOT touched: its kicker already clears (y=144). */
@media (max-width: 560px) {
  .page-hero { padding-top: 5rem !important; }
}
@media (min-width: 561px) and (max-width: 767px) {
  .page-hero { padding-top: 6rem !important; }
}
