/*
 * hcs-design-system.css
 * HonCar Service — Shared Design System
 *
 * PURPOSE: Foundational tokens, reset, buttons, and form primitives for the
 * HonCar frontend re-skin.  Extracted verbatim from the HonCar mockup
 * (HonCar Templetes/index.html) with one architectural constraint:
 *
 * SCOPING RULE: Everything except CSS custom properties (:root) and @keyframes
 * is prefixed with `.hcs-app` so that these styles NEVER bleed into the
 * surrounding Kadence theme (header, footer, other pages).  Custom properties
 * and keyframe names are inherently global and are intentionally left unscoped.
 */

/* ============================================================
   STEP 0 — THEME-BLEED RESETS
   Kadence sets several globals that bleed THROUGH .hcs-app:
     - h1..h6{font-family:Poppins; color:var(--global-palette3)}
     - button:hover{box-shadow:0px 15px 25px -7px rgba(0,0,0,0.1)}
     - .content-area{margin:5rem 0} + .entry-content-wrap{padding:2rem}
       + .site-container{max-width:1290px} wrap .hcs-app, breaking
       hero/apply/footer-CTA full-bleed.
   These overrides re-claim the surface so the mockup renders 1:1.
   ============================================================ */
.hcs-app h1,
.hcs-app h2,
.hcs-app h3,
.hcs-app h4,
.hcs-app h5,
.hcs-app h6{
  font-family:var(--body);
  line-height:1.2;
  color:inherit;
}

.hcs-app button,
.hcs-app .btn,
.hcs-app .btn-primary,
.hcs-app .btn-outline,
.hcs-app .btn-light,
.hcs-app .quote-submit,
.hcs-app .svc-tab,
.hcs-app .seo-tab,
.hcs-app .faq-q{box-shadow:none}
.hcs-app button:hover,
.hcs-app button:focus,
.hcs-app button:active,
.hcs-app .btn:hover,
.hcs-app .btn:focus,
.hcs-app .btn-primary:hover,
.hcs-app .btn-primary:focus,
.hcs-app .btn-outline:hover,
.hcs-app .btn-outline:focus,
.hcs-app .btn-light:hover,
.hcs-app .btn-light:focus,
.hcs-app .quote-submit:hover,
.hcs-app .quote-submit:focus,
.hcs-app .svc-tab:hover,
.hcs-app .svc-tab:focus,
.hcs-app .seo-tab:hover,
.hcs-app .seo-tab:focus,
.hcs-app .faq-q:hover,
.hcs-app .faq-q:focus{box-shadow:none}

/* Full-bleed: kill Kadence's content-wrap padding + margin on the homepage so
   the hero gradient + apply/CTA dark sections touch every viewport edge. */
body.home .content-area,
body.home .site-container,
body.home .content-container.site-container,
body.home .entry-content-wrap,
body.home .entry-content,
body.home .entry.single-entry,
body.home .entry{
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
  box-shadow:none !important;
  background:transparent !important;
}
body.home .entry-header,
body.home .page-title,
body.home .entry-title{display:none !important}

/* Full-bleed the whole booking flow — Repair (/select-work/, marked by
   .cm-vehbar) and Booking / Payment / Confirmed (/booking/, marked by
   .hcs-bk-topbar) — by neutralising Kadence's global content-width + margins.
   This "comments out" these Kadence rules on those pages only:
     .site-container,.site-header-row-layout-contained,.site-footer-row-layout-contained,
     .entry-hero-layout-contained,.comments-area,.alignfull/.alignwide
       > .wp-block-cover__inner-container { max-width:var(--global-content-width) }
     (same set){ margin:0 auto; padding:0 var(--global-content-edge-padding) }
     .content-area{ margin:5rem 0 }
   (Marco 2026-06-03.) */
body:has(.cm-vehbar) .site-container,
body:has(.cm-vehbar) .site-header-row-layout-contained,
body:has(.cm-vehbar) .site-footer-row-layout-contained,
body:has(.cm-vehbar) .entry-hero-layout-contained,
body:has(.cm-vehbar) .entry-content-wrap,
body:has(.cm-vehbar) .comments-area,
body:has(.cm-vehbar) .content-area,
body:has(.cm-vehbar) .alignfull > .wp-block-cover__inner-container,
body:has(.cm-vehbar) .alignwide > .wp-block-cover__inner-container,
body:has(.hcs-bk-topbar) .site-container,
body:has(.hcs-bk-topbar) .site-header-row-layout-contained,
body:has(.hcs-bk-topbar) .site-footer-row-layout-contained,
body:has(.hcs-bk-topbar) .entry-hero-layout-contained,
body:has(.hcs-bk-topbar) .entry-content-wrap,
body:has(.hcs-bk-topbar) .comments-area,
body:has(.hcs-bk-topbar) .content-area,
body:has(.hcs-bk-topbar) .alignfull > .wp-block-cover__inner-container,
body:has(.hcs-bk-topbar) .alignwide > .wp-block-cover__inner-container,
/* Sign-in-required gate (AuthGate card) — e.g. /customer-dashboard/ when
   signed out — gets the same full-bleed treatment. */
body:has(.hcs-gate-card) .site-container,
body:has(.hcs-gate-card) .site-header-row-layout-contained,
body:has(.hcs-gate-card) .site-footer-row-layout-contained,
body:has(.hcs-gate-card) .entry-hero-layout-contained,
body:has(.hcs-gate-card) .entry-content-wrap,
body:has(.hcs-gate-card) .comments-area,
body:has(.hcs-gate-card) .content-area,
body:has(.hcs-gate-card) .alignfull > .wp-block-cover__inner-container,
body:has(.hcs-gate-card) .alignwide > .wp-block-cover__inner-container,
/* Mechanic "Action required" quality-block page (.hcs-msusp). */
body:has(.hcs-msusp) .site-container,
body:has(.hcs-msusp) .site-header-row-layout-contained,
body:has(.hcs-msusp) .site-footer-row-layout-contained,
body:has(.hcs-msusp) .entry-hero-layout-contained,
body:has(.hcs-msusp) .entry-content-wrap,
body:has(.hcs-msusp) .comments-area,
body:has(.hcs-msusp) .content-area,
body:has(.hcs-msusp) .alignfull > .wp-block-cover__inner-container,
body:has(.hcs-msusp) .alignwide > .wp-block-cover__inner-container{
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}


/* ============================================================
   STEP 1 — DESIGN TOKENS
   Verbatim from index.html :root block (lines 14-36).
   Left unscoped — custom properties cascade globally (harmless).
   ============================================================ */
:root{
  /* Blue + white palette only */
  --blue-900:#0A2540;
  --blue-800:#0F3A6B;
  --blue-700:#1E5AA8;
  --blue-600:#2563C9;
  --blue-500:#3B7BE0;
  --blue-100:#DCE8F5;
  --blue-50:#EEF4FB;

  --ink:#0A2540;
  --ink-2:#475569;
  --ink-3:#748094;
  --line:#E3E8EF;
  --bg:#FFFFFF;
  --bg-2:#F7F9FC;
  /* Phase 2 (2026-05-16): added for VRM Wizard skeleton shimmer + folder-row icon bg */
  --bg-3:#F0F4F9;

  /* Status accents (2026-05-21): shared so dashboards resolve them — previously
     only defined in signin/blog sheets, leaving dashboard greens/ambers unstyled. */
  --green:#0F8B4F;
  --green-50:#E6F4EE;
  --amber:#B45309;
  --amber-50:#FEF3E0;
  --red:#C53030;
  --red-50:#FEE;

  --body:'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm:0 1px 2px rgba(10,37,64,.06);
  --shadow-md:0 4px 14px rgba(10,37,64,.08);
  --shadow-lg:0 18px 40px rgba(10,37,64,.14);
}

/* ============================================================
   STEP 2 — SCOPED BASE RESET + CONTAINER
   Based on index.html lines 37-45, re-scoped under .hcs-app.
   - bare html{scroll-behavior} dropped (theme-global, not ours)
   - bare body{} replaced with .hcs-app{} wrapper rule
   ============================================================ */
.hcs-app *,.hcs-app *::before,.hcs-app *::after{box-sizing:border-box;margin:0;padding:0}
.hcs-app{font-family:var(--body);color:var(--ink);line-height:1.55;-webkit-font-smoothing:antialiased}
.hcs-app img{max-width:100%;display:block}
.hcs-app a{color:inherit;text-decoration:none}
.hcs-app button{font:inherit;border:0;background:none;cursor:pointer;color:inherit}
.hcs-app input,.hcs-app select{font:inherit;color:inherit}
.hcs-app ul{list-style:none}
.hcs-app .container{width:100%;max-width:1200px;margin-inline:auto;padding-inline:20px}

/* ============================================================
   STEP 3 — SHARED BUTTON FAMILY
   Verbatim from index.html lines 58-67, prefixed with .hcs-app.
   ============================================================ */
.hcs-app .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;border-radius:8px;font-weight:600;font-size:14.5px;transition:all .18s ease;white-space:nowrap}
.hcs-app .btn-text{color:var(--blue-700);padding:10px 14px}
.hcs-app .btn-text:hover{color:var(--blue-900)}
.hcs-app .btn-primary{background:var(--blue-700);color:#fff}
.hcs-app .btn-primary:hover{background:var(--blue-800)}
.hcs-app .btn-outline{background:#fff;color:var(--blue-700);border:1.5px solid var(--blue-700)}
.hcs-app .btn-outline:hover{background:var(--blue-700);color:#fff}
.hcs-app .btn-light{background:#fff;color:var(--blue-700)}
.hcs-app .btn-light:hover{background:var(--blue-50)}
.hcs-app .btn-lg{padding:15px 26px;font-size:15.5px}

/* ============================================================
   STEP 4 — FORM PRIMITIVES + ANIMATIONS
   ============================================================ */

/* Field wrappers — index.html lines 140-141 */
.hcs-app .field{margin-bottom:14px}
.hcs-app .field label{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:7px}

/* Text input — index.html lines 143-144
   PARITY FIX (2026-05-18): explicit height + line-height so .text-input and
   .vrm-input render the same overall height regardless of their differing
   font-sizes (15px vs 18px). Without this the VRM plate is ~5px taller than
   the postcode and the two fields don't sit on the same baseline in the
   quote-card grid. text-align centered on both so user text reads the same
   way in both fields. */
.hcs-app .text-input{
  width:100%;
  height:52px;
  padding:0 16px;
  border:1.5px solid var(--line);
  border-radius:8px;
  font-size:15px;
  font-weight:500;
  line-height:48px;     /* vertically centers the text in the 52px box */
  background:#fff;
  text-align:center;
  transition:all .15s;
  box-sizing:border-box;
  display:block;
}
.hcs-app .text-input:focus{outline:0;border-color:var(--blue-700);box-shadow:0 0 0 3px rgba(30,90,168,.15)}
.hcs-app .text-input::placeholder{color:var(--ink-3);opacity:1;text-align:center}

/* VRM plate input — index.html line 146.
   Same height/line-height as .text-input; only the typography differs. */
.hcs-app .vrm-input{
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:700;
  font-size:18px;
  text-align:center;
}

/* Keyframes — UNSCOPED (keyframe names are global identifiers) */
@keyframes spin{to{transform:rotate(360deg)}}

@keyframes rise{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}

/* On-scroll reveal — index.html lines 326-327, prefixed */
.hcs-app .reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease, transform .6s ease}
.hcs-app .reveal.in{opacity:1;transform:translateY(0)}

/* Reduced-motion override — scoped to .hcs-app (user preference; only kills animations inside the HonCar app, not Kadence header/footer or other plugins) */
@media (prefers-reduced-motion:reduce){
  .hcs-app *,.hcs-app *::before,.hcs-app *::after{animation:none!important;transition:none!important}
}

/* ============================================================
   Phase 1B (2026-05-16): Homepage section styles
   Ported from /home/marco-maher/Downloads/HonCar Templetes/index.html
   Selectors prefixed with `.hcs-app` to keep them out of Kadence chrome.
   Keyframe names (heroShift/glowDrift/softPulse) remain unscoped — they
   are global identifiers and only fire inside .hcs-app rules.
   ============================================================ */

/* HERO ------------------------------------------------------- */
.hcs-app .hero{
  position:relative;
  padding:64px 0 80px;
  border-bottom:1px solid var(--line);
  color:#fff;
  overflow:hidden;
  background:linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--blue-700) 100%);
  background-size:200% 200%;
  animation:heroShift 18s ease infinite;
}
@keyframes heroShift{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}
.hcs-app .hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(59,123,224,.35), transparent 60%),
    radial-gradient(500px 350px at 80% 70%, rgba(30,90,168,.4), transparent 60%);
  animation:glowDrift 14s ease-in-out infinite;
}
@keyframes glowDrift{
  0%,100%{transform:translate(0,0)}
  50%{transform:translate(-20px,15px)}
}
.hcs-app .hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}
.hcs-app .hero .container{position:relative;z-index:2}
.hcs-app .hero h1{color:#fff;font-weight:700;font-size:clamp(34px,5vw,52px);line-height:1.1;letter-spacing:-.02em;margin-bottom:18px;text-shadow:0 2px 12px rgba(0,0,0,.15)}
.hcs-app .hero .lede{color:rgba(255,255,255,.92);font-size:17px;max-width:480px;margin-bottom:24px}
.hcs-app .hero .skip-link{display:inline-flex;align-items:center;gap:6px;font-size:14.5px;color:#fff;font-weight:600;margin-bottom:28px;border-bottom:1px dashed rgba(255,255,255,.5);padding-bottom:3px}
.hcs-app .hero .skip-link:hover{color:var(--blue-100);border-color:var(--blue-100)}
.hcs-app .hero .trustpilot{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px)}
.hcs-app .hero .trustpilot .stars svg{color:#fff}
.hcs-app .hero .trustpilot .info strong{color:#fff}
.hcs-app .hero .trustpilot .info small{color:rgba(255,255,255,.7)}
.hcs-app .hero .trustpilot .score{color:#fff}
.hcs-app .hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
@media (max-width:1000px){.hcs-app .hero-grid{grid-template-columns:1fr;gap:32px}.hcs-app .hero{padding:44px 0 56px}}

/* TRUSTPILOT BADGE ------------------------------------------ */
.hcs-app .trustpilot{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);padding:14px 18px;border-radius:10px;max-width:380px}
.hcs-app .trustpilot .stars{display:inline-flex;gap:2px}
.hcs-app .trustpilot .stars svg{color:var(--blue-700)}
.hcs-app .trustpilot .info{display:flex;flex-direction:column}
.hcs-app .trustpilot .info strong{font-size:15px;font-weight:600;color:var(--blue-900)}
.hcs-app .trustpilot .info small{font-size:12.5px;color:var(--ink-3)}
.hcs-app .trustpilot .score{margin-left:auto;font-weight:700;color:var(--blue-900);font-size:22px;line-height:1}

/* QUOTE CARD ------------------------------------------------- */
.hcs-app .quote-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:var(--shadow-md)}
.hcs-app .quote-card h3{font-weight:700;font-size:22px;color:var(--blue-900);margin-bottom:6px;letter-spacing:-.01em}
.hcs-app .quote-card .sub{color:var(--ink-3);font-size:13.5px;margin-bottom:20px}

.hcs-app .quote-submit{width:100%;margin-top:6px;background:var(--blue-700);color:#fff;padding:15px;border-radius:8px;font-weight:600;font-size:16px;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:all .15s;position:relative}
.hcs-app .quote-submit:hover{background:var(--blue-800);transform:translateY(-1px)}
.hcs-app .quote-submit:disabled{opacity:.6;cursor:not-allowed}
.hcs-app .quote-submit .spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;display:none}
.hcs-app .quote-submit.loading .spinner{display:inline-block}
.hcs-app .quote-submit.loading .label{display:none}
.hcs-app .quote-submit:not(.loading)::after{
  content:"";position:absolute;inset:0;border-radius:8px;
  box-shadow:0 0 0 0 rgba(30,90,168,.35);
  animation:softPulse 2.8s ease-out infinite;
  pointer-events:none;
}
@keyframes softPulse{
  0%{box-shadow:0 0 0 0 rgba(30,90,168,.35)}
  70%{box-shadow:0 0 0 8px rgba(30,90,168,0)}
  100%{box-shadow:0 0 0 0 rgba(30,90,168,0)}
}
/* User reported homepage warnings showing white-on-white. Kadence sets
 * global `color:#fff` on certain section contexts that bled into our
 * .quote-error. Style it as a high-contrast amber alert (not subtle
 * blue) AND force explicit colors that beat any global cascade. */
.hcs-app .quote-error{
  display:none;margin-top:12px;padding:12px 16px;
  background:#FEF3E0 !important;border:1.5px solid #FCD9A8;
  color:#7C2D12 !important;
  border-radius:8px;font-size:13.5px;font-weight:600;
  line-height:1.5;
}
.hcs-app .quote-error.show{display:block}
.hcs-app .quote-error a{color:#7C2D12 !important;text-decoration:underline}

/* TRUST STRIP ------------------------------------------------ */
.hcs-app .trust-strip{padding:48px 0;border-bottom:1px solid var(--line);background:#fff}
.hcs-app .trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media (max-width:900px){.hcs-app .trust-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.hcs-app .trust-grid{grid-template-columns:1fr}}
.hcs-app .trust-card{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;transition:transform .25s ease}
.hcs-app .trust-card:hover .trust-icon{transform:scale(1.05);transition:transform .25s ease}
.hcs-app .trust-icon{width:60px;height:60px;border-radius:50%;background:var(--blue-50);display:grid;place-items:center;color:var(--blue-700)}
.hcs-app .trust-card h4{font-weight:700;font-size:17px;color:var(--blue-900)}
.hcs-app .trust-card p{font-size:14px;color:var(--ink-3)}

/* GENERIC SECTION HEAD --------------------------------------- */
.hcs-app section.section{padding:72px 0}
.hcs-app .section-eyebrow{display:inline-block;font-weight:600;font-size:13px;color:var(--blue-700);text-transform:uppercase;letter-spacing:.12em;margin-bottom:12px}
.hcs-app .section-title{font-weight:700;font-size:clamp(28px,3.6vw,38px);letter-spacing:-.02em;line-height:1.15;color:var(--blue-900);margin-bottom:16px}
.hcs-app .section-sub{font-size:16px;color:var(--ink-2);max-width:600px}
.hcs-app .section-head.center{text-align:center;margin:0 auto 48px;max-width:680px}
.hcs-app .section-head.center .section-sub{margin-inline:auto}

/* HOW IT WORKS ----------------------------------------------- */
.hcs-app .how-it-works{background:#fff}
.hcs-app .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:32px}
@media (max-width:900px){.hcs-app .steps{grid-template-columns:1fr;gap:20px}}
.hcs-app .step{text-align:center;padding:20px;transition:transform .25s ease}
.hcs-app .step:hover .step-num{transform:scale(1.06);transition:transform .25s ease}
.hcs-app .step-num{width:48px;height:48px;border-radius:50%;background:var(--blue-700);color:#fff;display:grid;place-items:center;font-weight:700;font-size:18px;margin:0 auto 20px}
.hcs-app .step h4{font-weight:700;font-size:20px;color:var(--blue-900);margin-bottom:10px}
.hcs-app .step p{color:var(--ink-2);font-size:15px;max-width:300px;margin:0 auto}
.hcs-app .find-out{text-align:center;margin-top:32px}

/* MEET YOUR MECHANIC ----------------------------------------- */
/* Ported from HonCar Templetes/index.html (.meet-mechanic). Scoped under
   .hcs-app; the rating chip is an honest "vetted & insured" badge (green),
   not the mockup's placeholder star rating. */
.hcs-app .meet-mechanic{background:linear-gradient(180deg,#fff 0%,var(--blue-50) 100%)}
.hcs-app .meet-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}
@media (max-width:900px){.hcs-app .meet-grid{grid-template-columns:1fr;gap:36px;text-align:center}}

.hcs-app .meet-text .section-eyebrow{color:var(--blue-700)}
.hcs-app .meet-text h2{font-weight:700;font-size:clamp(28px,3.6vw,38px);letter-spacing:-.02em;line-height:1.15;color:var(--blue-900);margin-bottom:14px}
.hcs-app .meet-text .lead{font-size:16.5px;color:var(--ink-2);line-height:1.6;margin-bottom:22px;max-width:520px}
@media (max-width:900px){.hcs-app .meet-text .lead{margin-inline:auto}}

.hcs-app .meet-list{display:flex;flex-direction:column;gap:11px;margin-bottom:28px}
@media (max-width:900px){.hcs-app .meet-list{align-items:center}}
.hcs-app .meet-list li{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;color:var(--ink);line-height:1.5}
.hcs-app .meet-list li svg{flex-shrink:0;margin-top:3px;color:var(--green)}
.hcs-app .meet-list li strong{font-weight:700;color:var(--blue-900)}

.hcs-app .meet-cta-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
@media (max-width:900px){.hcs-app .meet-cta-row{justify-content:center}}
.hcs-app .btn-meet-primary{display:inline-flex;align-items:center;gap:8px;background:var(--blue-700);color:#fff;padding:13px 22px;border-radius:10px;font-weight:700;font-size:15px;letter-spacing:-.005em;transition:all .15s;box-shadow:0 6px 14px -3px rgba(30,90,168,.32)}
.hcs-app .btn-meet-primary:hover{background:var(--blue-800);transform:translateY(-1px);box-shadow:0 10px 22px -4px rgba(30,90,168,.42)}
.hcs-app .btn-meet-primary svg{flex-shrink:0}
.hcs-app .meet-cta-row .meta{font-size:13px;color:var(--ink-3);line-height:1.4}
.hcs-app .meet-cta-row .meta strong{color:var(--blue-900);font-weight:700}

/* Right column — stylised avatar preview cluster (decorative, no real photos) */
.hcs-app .meet-visual{position:relative;display:grid;place-items:center;min-height:340px}
@media (max-width:900px){.hcs-app .meet-visual{min-height:280px;order:-1}}
.hcs-app .meet-avatars{position:relative;width:100%;max-width:380px;height:340px}
@media (max-width:900px){.hcs-app .meet-avatars{height:280px}}
.hcs-app .meet-avatar{position:absolute;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;letter-spacing:-.01em;box-shadow:0 12px 32px -8px rgba(10,37,64,.25);border:4px solid #fff;transition:transform .25s cubic-bezier(.16,1,.3,1)}
.hcs-app .meet-avatar:hover{transform:translateY(-3px) scale(1.03);z-index:5}
.hcs-app .meet-avatar.a1{width:130px;height:130px;font-size:38px;top:30%;left:50%;transform:translate(-50%,-50%);background:linear-gradient(135deg,var(--blue-700),var(--blue-500));z-index:3}
.hcs-app .meet-avatar.a1:hover{transform:translate(-50%,-55%) scale(1.03)}
.hcs-app .meet-avatar.a2{width:84px;height:84px;font-size:24px;top:5%;left:8%;background:linear-gradient(135deg,#F59E0B,#D97706);z-index:2}
.hcs-app .meet-avatar.a3{width:78px;height:78px;font-size:22px;top:12%;right:6%;background:linear-gradient(135deg,#0F8B4F,#076239);z-index:2}
.hcs-app .meet-avatar.a4{width:72px;height:72px;font-size:20px;bottom:10%;left:18%;background:linear-gradient(135deg,#A21451,#7E1042);z-index:2}
.hcs-app .meet-avatar.a5{width:80px;height:80px;font-size:22px;bottom:5%;right:10%;background:linear-gradient(135deg,#0F3A6B,#0A2540);z-index:2}
.hcs-app .meet-avatar .tick{position:absolute;bottom:2px;right:2px;width:24px;height:24px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;border:3px solid #fff}
.hcs-app .meet-avatar.a1 .tick{width:30px;height:30px}
.hcs-app .meet-rating-chip{position:absolute;top:50%;left:50%;transform:translate(40%,90%);background:#fff;padding:9px 14px;border-radius:12px;box-shadow:0 12px 28px -4px rgba(10,37,64,.18);display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--blue-900);z-index:4;border:1px solid var(--line);white-space:nowrap}
.hcs-app .meet-rating-chip svg{color:var(--green);fill:var(--green);flex-shrink:0}
.hcs-app .meet-rating-chip small{font-size:11.5px;color:var(--ink-3);font-weight:500}
@media (max-width:900px){.hcs-app .meet-rating-chip{transform:translate(15%,110%)}}

/* ABOUT ------------------------------------------------------ */
.hcs-app .about{background:var(--bg-2)}
.hcs-app .about-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:48px;align-items:center}
@media (max-width:900px){.hcs-app .about-grid{grid-template-columns:1fr;gap:32px}}
.hcs-app .about-img{aspect-ratio:4/5;border-radius:12px;background:var(--blue-700);position:relative;overflow:hidden;display:grid;place-items:center;color:rgba(255,255,255,.4)}
.hcs-app .about-img svg{width:50%;height:50%}
.hcs-app .about-img img{width:100%;height:100%;object-fit:cover;display:block}
.hcs-app .about-text p{font-size:16px;color:var(--ink-2);margin-bottom:16px}
.hcs-app .about-text p a{color:var(--blue-700);font-weight:500;text-decoration:underline}

/* SERVICES --------------------------------------------------- */
.hcs-app .services{background:#fff}
.hcs-app .services-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:36px}
.hcs-app .svc-tab{padding:10px 20px;border-radius:999px;font-weight:600;font-size:14.5px;background:#fff;border:1.5px solid var(--line);color:var(--ink-2);transition:all .15s}
.hcs-app .svc-tab:hover{border-color:var(--blue-700);color:var(--blue-700)}
.hcs-app .svc-tab.active{background:var(--blue-700);border-color:var(--blue-700);color:#fff}
.hcs-app .svc-panel{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media (max-width:900px){.hcs-app .svc-panel{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.hcs-app .svc-panel{grid-template-columns:1fr}}
.hcs-app .svc-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:10px;transition:transform .25s ease, box-shadow .25s ease, border-color .15s ease}
.hcs-app .svc-card:hover{border-color:var(--blue-700);box-shadow:var(--shadow-sm);transform:translateY(-3px)}
.hcs-app .svc-card .si{width:40px;height:40px;border-radius:8px;background:var(--blue-50);color:var(--blue-700);display:grid;place-items:center}
.hcs-app .svc-card h5{font-weight:700;font-size:16px;color:var(--blue-900)}
.hcs-app .svc-card p{font-size:13.5px;color:var(--ink-3)}
.hcs-app .svc-card .arrow{margin-top:auto;color:var(--blue-700);font-weight:600;font-size:13.5px}

/* TECH HELP -------------------------------------------------- */
.hcs-app .tech-help{background:var(--bg-2)}
.hcs-app .tech-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center}
@media (max-width:900px){.hcs-app .tech-grid{grid-template-columns:1fr;gap:32px}}
.hcs-app .tech-text .stat-strong{margin-top:24px;padding:14px 18px;background:#fff;border-radius:10px;border:1px solid var(--line);display:inline-flex;align-items:center;gap:10px;font-size:14.5px;color:var(--ink-2)}
.hcs-app .tech-text .stat-strong strong{color:var(--blue-900);font-weight:700}
.hcs-app .tech-img{aspect-ratio:4/5;border-radius:12px;background:var(--blue-700);display:grid;place-items:center;color:rgba(255,255,255,.4);overflow:hidden}
.hcs-app .tech-img svg{width:45%;height:45%}
.hcs-app .tech-img img{width:100%;height:100%;object-fit:cover;display:block}

/* APPLY ------------------------------------------------------ */
.hcs-app .apply{background:var(--blue-900);color:#fff}
.hcs-app .apply-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center}
@media (max-width:900px){.hcs-app .apply-grid{grid-template-columns:1fr;text-align:center}}
.hcs-app .apply h2{font-weight:700;font-size:clamp(26px,3.4vw,36px);color:#fff;margin-bottom:14px;letter-spacing:-.02em}
.hcs-app .apply p{color:rgba(255,255,255,.75);font-size:16px;margin-bottom:24px;max-width:520px}
@media (max-width:900px){.hcs-app .apply p{margin-inline:auto}}
.hcs-app .apply-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hcs-app .apply-stat{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:18px;transition:transform .25s ease}
.hcs-app .apply-stat .num{font-weight:700;font-size:28px;color:#fff;line-height:1}
.hcs-app .apply-stat .lbl{font-size:13px;color:rgba(255,255,255,.7);margin-top:4px}

/* TESTIMONIALS ----------------------------------------------- */
.hcs-app .testimonials{background:#fff}
.hcs-app .t-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
@media (max-width:900px){.hcs-app .t-grid{grid-template-columns:1fr}}
.hcs-app .tcard{background:#fff;border:1px solid var(--line);border-radius:10px;padding:26px;display:flex;flex-direction:column;gap:14px;transition:transform .25s ease, box-shadow .25s ease, border-color .15s ease}
.hcs-app .tcard:hover{border-color:var(--blue-700);box-shadow:var(--shadow-sm);transform:translateY(-3px)}
.hcs-app .tcard .who-top{display:flex;gap:12px;align-items:center}
.hcs-app .tcard .av{width:42px;height:42px;border-radius:50%;background:var(--blue-700);color:#fff;display:grid;place-items:center;font-weight:700}
.hcs-app .tcard h6{font-weight:700;font-size:14.5px;color:var(--blue-900)}
.hcs-app .tcard small{font-size:12.5px;color:var(--ink-3)}
.hcs-app .tcard .stars{display:inline-flex;gap:2px;color:var(--blue-700)}
.hcs-app .tcard p{font-size:15px;color:var(--ink);line-height:1.55}
.hcs-app .tcard p strong{color:var(--blue-900);font-weight:600}
.hcs-app .tcard .read-more{margin-top:auto;font-size:14px;color:var(--blue-700);font-weight:600}

/* BOOK CTA --------------------------------------------------- */
.hcs-app .book-cta{background:var(--bg-2);padding:72px 0}
.hcs-app .book-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
@media (max-width:900px){.hcs-app .book-grid{grid-template-columns:1fr}}
.hcs-app .book-text h2{font-weight:700;font-size:clamp(26px,3.4vw,36px);color:var(--blue-900);margin-bottom:14px;letter-spacing:-.02em}
.hcs-app .book-text p{font-size:16px;color:var(--ink-2);margin-bottom:24px}
.hcs-app .book-bullets{display:flex;flex-direction:column;gap:10px}
.hcs-app .book-bullets li{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--ink)}
.hcs-app .book-bullets svg{width:18px;height:18px;flex-shrink:0;color:var(--blue-700)}

/* SEO -------------------------------------------------------- */
.hcs-app .seo-section{background:#fff;border-top:1px solid var(--line)}
.hcs-app .seo-section h2{font-weight:700;font-size:clamp(24px,2.8vw,30px);color:var(--blue-900);text-align:center;margin-bottom:24px;letter-spacing:-.02em}
.hcs-app .seo-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:28px}
.hcs-app .seo-tab{padding:9px 16px;border-radius:8px;font-weight:600;font-size:14px;color:var(--ink-2);transition:all .15s}
.hcs-app .seo-tab:hover{background:var(--bg-2);color:var(--blue-700)}
.hcs-app .seo-tab.active{background:var(--blue-700);color:#fff}
.hcs-app .seo-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px 24px;max-width:1100px;margin:0 auto}
@media (max-width:900px){.hcs-app .seo-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:560px){.hcs-app .seo-grid{grid-template-columns:repeat(2,1fr)}}
.hcs-app .seo-grid a{padding:9px 0;font-size:14.5px;color:var(--ink-2);border-bottom:1px solid var(--line);transition:color .15s}
.hcs-app .seo-grid a:hover{color:var(--blue-700)}
.hcs-app .seo-grid a.see-more{color:var(--blue-700);font-weight:600}

/* Popular services (SEO link grid, independent of the tabbed .seo-grid JS) */
.hcs-app .pop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 24px;max-width:920px;margin:0 auto}
@media (max-width:560px){.hcs-app .pop-grid{grid-template-columns:repeat(2,1fr)}}
.hcs-app .pop-grid a{padding:10px 0;font-size:14.5px;color:var(--ink-2);border-bottom:1px solid var(--line);transition:color .15s}
.hcs-app .pop-grid a:hover{color:var(--blue-700)}

/* FAQ -------------------------------------------------------- */
.hcs-app .faq{background:var(--bg-2)}
.hcs-app .faq-eyebrow{text-align:center;margin-bottom:8px}
.hcs-app .faq h2.section-title{text-align:center;margin-bottom:40px}
.hcs-app .faq-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;max-width:1100px;margin:0 auto}
@media (max-width:900px){.hcs-app .faq-cats{grid-template-columns:1fr;gap:32px}}
.hcs-app .faq-cat h4{font-weight:700;font-size:16px;color:var(--blue-900);margin-bottom:18px;padding-bottom:10px;border-bottom:2px solid var(--blue-700);display:inline-block}
.hcs-app .faq-item{background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:8px;overflow:hidden;transition:transform .25s ease, box-shadow .25s ease, border-color .15s ease}
.hcs-app .faq-q{width:100%;text-align:left;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:600;font-size:14.5px;color:var(--blue-900)}
.hcs-app .faq-q:hover{background:var(--bg-2)}
.hcs-app .faq-q .plus{width:20px;height:20px;flex-shrink:0;display:grid;place-items:center;color:var(--blue-700);transition:transform .25s ease}
.hcs-app .faq-item.open .faq-q .plus{transform:rotate(45deg)}
.hcs-app .faq-a{display:none;padding:0 16px 14px;font-size:14px;color:var(--ink-2);line-height:1.6}
.hcs-app .faq-item.open .faq-a{display:block}

/* Hero entrance — gentle fade up. The `rise` keyframe is defined
   unscoped in the animations section above. */
.hcs-app .hero h1,
.hcs-app .hero .lede,
.hcs-app .hero .skip-link,
.hcs-app .hero .trustpilot,
.hcs-app .hero .quote-card{
  opacity:0;
  transform:translateY(12px);
  animation:rise .7s ease forwards;
}
.hcs-app .hero .lede{animation-delay:.08s}
.hcs-app .hero .skip-link{animation-delay:.16s}
.hcs-app .hero .trustpilot{animation-delay:.24s}
.hcs-app .hero .quote-card{animation-delay:.12s}

/* ============================================================
   Phase 1B (2026-05-16): [vrm_step1] re-skin
   The legacy snippet 878 [vrm_step1] shortcode renders its own markup
   with .hc-form-* class names and an inline cyan style block. Inside
   .hcs-app .quote-card these overrides repaint the form to match the
   mockup's quote card — white inputs, full-width blue submit, error
   styling consistent with .quote-error. We keep the snippet untouched
   so an emergency rollback (restore snippet 878 baseline) still works.
   ============================================================ */
.hcs-app .hc-form-box{
  background:transparent;
  padding:0;
  max-width:none;
  margin:0;
  font-family:var(--body);
  border-radius:0;
}
.hcs-app .hc-form-box .hc-form-title{display:none}

.hcs-app .hc-form-box .hc-form-row{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:stretch;
}

.hcs-app .hc-form-box .hc-form-input{
  width:100%;
  flex:none;
  padding:13px 16px;
  border:1.5px solid var(--line);
  border-radius:8px;
  font-size:15px;
  font-weight:500;
  background:#fff;
  color:var(--ink);
  transition:all .15s;
}
.hcs-app .hc-form-box .hc-form-input::placeholder{color:var(--ink-3)}
.hcs-app .hc-form-box .hc-form-input:focus{
  outline:0;
  border-color:var(--blue-700);
  box-shadow:0 0 0 3px rgba(30,90,168,.15);
}
.hcs-app .hc-form-box .hc-form-vrm{
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:700;
  font-size:18px;
  text-align:center;
}

.hcs-app .hc-form-box .hc-form-btn{
  width:100%;
  margin-top:6px;
  background:var(--blue-700);
  color:#fff;
  padding:15px;
  border-radius:8px;
  font-weight:600;
  font-size:16px;
  letter-spacing:0;
  text-transform:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:all .15s;
  white-space:nowrap;
}
.hcs-app .hc-form-box .hc-form-btn:hover{background:var(--blue-800);transform:translateY(-1px)}
.hcs-app .hc-form-box .hc-form-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}

.hcs-app .hc-form-box .hc-form-err{
  display:block;
  width:100%;
  margin-top:12px;
  padding:10px 14px;
  background:var(--blue-50);
  border:1px solid var(--blue-100);
  color:var(--blue-800);
  border-radius:8px;
  font-size:13.5px;
  font-weight:500;
  text-align:left;
  box-sizing:border-box;
}

/* ============================================================
   Phase 1C (2026-05-17): Site-wide footer + dark header
   ============================================================ */

/* Hide Kadence default footer so ours can replace it.
   Kadence ships several wrapper class variants depending on the layout
   choice; hide all of them so any future Customizer toggle still works. */
body .site-footer,
body #colophon,
body .site-footer-wrap,
body .site-footer-row-container-inner {
    display: none !important;
}

/* Wrapper that wp_footer drops in just before </body>. The .hcs-app
   class scopes everything inside it to the design-system tokens. */
.hcs-footer-wrap {
    /* nothing structural; lets the .hcs-app reset/font cascade in */
}

/* Footer — mockup lines 287-299, scoped under .hcs-app .hcs-footer */
.hcs-app .hcs-footer {
    background: var(--blue-900);
    color: rgba(255, 255, 255, .7);
    padding: 60px 0 24px;
}
.hcs-app .hcs-footer .foot-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}
@media (max-width: 1024px) {
    .hcs-app .hcs-footer .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}
@media (max-width: 900px) {
    .hcs-app .hcs-footer .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
    .hcs-app .hcs-footer .foot-grid { grid-template-columns: 1fr; }
}
.hcs-app .hcs-footer .foot-col h6 {
    font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 14px;
}
.hcs-app .hcs-footer .foot-col ul {
    list-style: none; display: flex; flex-direction: column; gap: 8px;
    padding: 0; margin: 0;
}
.hcs-app .hcs-footer .foot-col a {
    font-size: 14px; color: rgba(255, 255, 255, .7); transition: color .15s;
    text-decoration: none;
}
.hcs-app .hcs-footer .foot-col a:hover { color: #fff; }
.hcs-app .hcs-footer .foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 22px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: rgba(255, 255, 255, .5);
    flex-wrap: wrap; gap: 16px;
}
.hcs-app .hcs-footer .foot-bottom .socials { display: flex; gap: 10px; }
.hcs-app .hcs-footer .foot-bottom .socials a {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    display: grid; place-items: center;
    color: rgba(255, 255, 255, .7); transition: all .15s;
}
.hcs-app .hcs-footer .foot-bottom .socials a:hover {
    background: #fff; color: var(--blue-900);
}

/* ============================================================
   Phase 1D (2026-05-17): hide Elementor header + footer templates so
   our SiteHeader + SiteFooter are the only chrome rendered. The Phase
   1C Kadence-footer hides above stay in place; this adds the
   Elementor-rendered ones (fixes the "two footers" bug).
   ============================================================ */
body header.elementor-location-header,
body .elementor-location-header,
body footer.elementor-location-footer,
body .elementor-location-footer {
    display: none !important;
}

/* ============================================================
   Phase 1E (2026-05-17): refreshed header to mockup update —
   transparent-over-hero on homepage; solid dark on inner pages.
   Logo image (or SVG fallback). DOM matches index.html lines 386-410.
   ============================================================ */

/* Wrapper that wp_body_open drops in at the very top. */
.hcs-header-wrap {
    /* nothing structural; allows the .hcs-app cascade in */
}

/* Default (inner pages): solid dark blue, sticky. Body class is something
   other than .home — Kadence/WordPress generally adds it.
   PROD-DEFENSIVE: many extra stylesheets (Kadence header.min.css,
   UM/WC/Elementor frontend bundles) load on Kinsta but not on local.
   Some of those carry generic `header { background:#fff }` /
   `header { padding:0 }` rules that shift our header padding + repaint
   the colour set when the user is logged in. !important everywhere here
   so the cumulative cascade can't bleed in. */
.hcs-app .hcs-header,
header.hcs-header {
    background: var(--blue-900) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Homepage: transparent + absolute over the dark hero gradient. The hero
   itself is rendered by templates/homepage.php further down in the body. */
body.home .hcs-app .hcs-header,
body.home header.hcs-header {
    background: transparent !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
}

/* Layout row — mockup lines 49-54.
   Height + flex !important too: Kadence's header.min.css has a
   `.row{display:block}` reset that wins specificity on prod and turns
   our row into a stacked column. */
.hcs-app .hcs-header .row,
header.hcs-header .row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 72px !important;
    gap: 30px !important;
    padding: 0 24px !important;
    margin: 0 auto !important;
    max-width: 1280px !important;
}
/* Brand — uses the plugin-shipped logo.svg (height-locked, width:auto).
   !important locks out Kadence's `.entry-content img{height:auto}` /
   `img{max-width:100%}` rules that would otherwise scale our logo
   inconsistently across pages. */
.hcs-app .hcs-header .brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity .15s;
    color: #fff;
    text-decoration: none;
}
.hcs-app .hcs-header .brand:hover {
    opacity: .85;
}
.hcs-app .hcs-header .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hcs-app .hcs-header .brand-logo img,
.hcs-app .hcs-header .brand-logo-svg {
    height: 70px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
}
@media (max-width: 560px) {
    .hcs-app .hcs-header .brand-logo img,
    .hcs-app .hcs-header .brand-logo-svg { height: 52px !important; }
}

/* Nav — mockup lines 56-61 (always white-on-dark inside our header,
   regardless of homepage transparency vs inner-page solid) */
.hcs-app .hcs-header .nav {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hcs-app .hcs-header .nav li {
    list-style: none;
    margin: 0;
}
.hcs-app .hcs-header .nav a {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    transition: background .15s, color .15s;
    position: relative;
}
.hcs-app .hcs-header .nav a:hover,
.hcs-app .hcs-header .nav a:focus {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.hcs-app .hcs-header .nav a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 6px; height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.hcs-app .hcs-header .nav a:hover::after { transform: scaleX(1); }

/* CTAs — mockup lines 63-78 */
.hcs-app .hcs-header .header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}
.hcs-app .hcs-header .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
    transition: all .18s ease;
    white-space: nowrap;
    text-decoration: none;
}
.hcs-app .hcs-header .btn-text {
    background: transparent;
    color: rgba(255, 255, 255, .78);
    padding: 10px 14px;
}
.hcs-app .hcs-header .btn-text:hover { color: #fff; }
.hcs-app .hcs-header .btn-primary {
    background: #fff;
    color: var(--blue-900);
}
.hcs-app .hcs-header .btn-primary:hover {
    background: var(--blue-50);
    color: var(--blue-900);
}

/* Mobile menu — mockup lines 80-83 */
.hcs-app .hcs-header .menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    place-items: center;
    background: transparent;
    cursor: pointer;
}
.hcs-app .hcs-header .menu-toggle:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .3);
}
.hcs-app .hcs-mobile-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: var(--blue-900);
}
.hcs-app .hcs-mobile-nav a {
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 0;
}
.hcs-app .hcs-mobile-nav a:hover { color: #fff; }
.hcs-app .hcs-mobile-nav .btn-primary {
    background: #fff;
    color: var(--blue-900);
    text-align: center;
    padding: 10px 18px;
    border-radius: 8px;
}
.hcs-app .hcs-mobile-nav[hidden] { display: none; }
.hcs-app .hcs-mobile-nav:not([hidden]) { display: flex; }

.hcs-app .hcs-header .btn-signin-pill {
    display: none;
    background: #fff;
    color: var(--blue-900);
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}
.hcs-app .hcs-header .btn-signin-pill:hover {
    background: var(--blue-50);
    color: var(--blue-900);
}

@media (max-width: 980px) {
    .hcs-app .hcs-header .nav,
    .hcs-app .hcs-header .header-cta .btn-text,
    .hcs-app .hcs-header .header-cta .btn-primary {
        display: none;
    }
    .hcs-app .hcs-header .menu-toggle { display: grid; }
    .hcs-app .hcs-header .btn-signin-pill { display: inline-flex; }
    .hcs-app .hcs-header .row { height: 64px; gap: 20px; }
}

/* Hero gets extra top padding on homepage so the H1 doesn't sit under
   the transparent absolute-positioned header (existing .hcs-app .hero has
   only 64px top padding; mockup hero uses 136px). */
body.home .hcs-app .hero {
    padding-top: 136px;
}

/* ==========================================================================
   Header user-menu (logged-in state) — ported from mockup index.html
   2026-05-23. Sits inside .hcs-app .hcs-header .header-cta in place of the
   Sign-in / Get-started buttons when is_user_logged_in().
   ========================================================================== */
/* PROD-DEFENSIVE: Ultimate Member, WC blocks and Kadence each bring
 * generic `.user-menu`, `.user-name`, `button` resets that recolour
 * the pill when logged in. !important on the white text + chip bg so
 * the pill stays white-on-frosted-blue regardless of which login state
 * UM/WC is rendering for. */
.hcs-app .user-menu { position: relative; flex-shrink: 0; }
.hcs-app .user-trigger {
  display: flex !important; align-items: center !important; gap: 10px !important;
  padding: 6px 14px 6px 6px !important; border-radius: 999px !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  cursor: pointer; transition: all .15s; color: #fff !important; font: inherit;
  box-shadow: none !important;
}
.hcs-app .user-trigger:hover,
.hcs-app .user-menu.open .user-trigger {
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.28) !important;
}
.hcs-app .user-avatar {
  width: 34px !important; height: 34px !important; border-radius: 50% !important; flex-shrink: 0;
  background: linear-gradient(135deg, #fff 0%, var(--blue-100) 100%) !important;
  color: var(--blue-900) !important;
  display: grid !important; place-items: center !important;
  font-weight: 700 !important; font-size: 13px !important; letter-spacing: -.01em;
}
.hcs-app .user-name { font-size: 14px !important; font-weight: 600 !important; color: #fff !important; line-height: 1.1 !important; text-align: left; }
.hcs-app .user-name small { display: block !important; font-size: 11px !important; font-weight: 500 !important; color: rgba(255,255,255,.65) !important; margin-top: 2px !important; }
.hcs-app .user-chev { color: rgba(255,255,255,.7); transition: transform .2s; flex-shrink: 0; }
.hcs-app .user-menu.open .user-chev { transform: rotate(180deg); }
@media (max-width: 560px) {
  .hcs-app .user-name { display: none; }
  .hcs-app .user-trigger { padding: 6px; }
}

.hcs-app .user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 280px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 18px 40px rgba(10,37,64,.18);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all .18s ease; z-index: 80; overflow: hidden;
}
.hcs-app .user-menu.open .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
/* Mobile: nudge the dropdown further right so it hugs the screen edge.
   Placed after the base `right:0` rule so it wins on source order. */
@media (max-width: 560px) {
  .hcs-app .user-dropdown { right: -75px; }
}

.hcs-app .user-card {
  padding: 16px;
  background: linear-gradient(135deg, var(--blue-50), #fff);
  border-bottom: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center;
}
.hcs-app .user-card .av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-700), #3B7BE0);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.hcs-app .user-card .info { min-width: 0; }
.hcs-app .user-card .info strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--blue-900); line-height: 1.2; }
.hcs-app .user-card .info small {
  display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px;
}
.hcs-app .role-tag {
  display: inline-block; margin-top: 5px;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: .06em;
}
.hcs-app .role-tag-customer { background: var(--blue-100); color: var(--blue-700); }
.hcs-app .role-tag-mechanic { background: #FEF3E0; color: #B45309; }
.hcs-app .role-tag-admin    { background: #E6F4EE; color: #0F8B4F; }

.hcs-app .user-links { padding: 6px; }
.hcs-app .user-link {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px;
  border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: background .12s; width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer; text-decoration: none;
}
.hcs-app .user-link:hover { background: var(--bg-2); color: var(--blue-700); text-decoration: none; }
.hcs-app .user-link .ic {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center;
}
.hcs-app .user-link:hover .ic { background: var(--blue-700); color: #fff; }
.hcs-app .user-link div { line-height: 1.25; }
.hcs-app .user-link small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; margin-top: 1px; }
.hcs-app .user-link.danger { color: #C53030; }
.hcs-app .user-link.danger:hover { color: #C53030; background: #FEE; }
.hcs-app .user-link.danger .ic { background: #FEE; color: #C53030; }
.hcs-app .user-link.danger:hover .ic { background: #C53030; color: #fff; }
.hcs-app .user-divider { height: 1px; background: var(--line); margin: 4px -6px; }

/* ============================================================
   SIGN-IN-REQUIRED GATE — ported from sign-in-required.html.
   Shown to logged-out visitors on protected shortcode pages
   (rendered by Frontend\AuthGate::card). Scoped under .hcs-app.
   ============================================================ */
.hcs-app .hcs-gate-main{
  display:flex;align-items:center;justify-content:center;
  padding:48px 0 64px;position:relative;overflow:hidden;min-height:60vh;
}
.hcs-app .hcs-gate-main::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(700px 400px at 30% 20%, rgba(220,232,245,.55), transparent 60%),
    radial-gradient(500px 320px at 75% 85%, rgba(238,244,251,.7), transparent 60%);
}
.hcs-app .hcs-gate-card{
  position:relative;z-index:1;width:100%;max-width:480px;margin:0 auto;
  background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:40px;box-shadow:var(--shadow-md,0 4px 14px rgba(10,37,64,.08));
  text-align:center;overflow:hidden;animation:hcsGateFade .35s ease;
}
@keyframes hcsGateFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.hcs-app .hcs-gate-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--blue-700) 0%,var(--blue-500) 100%);
}
.hcs-app .hcs-gate-card.is-mechanic::before{background:linear-gradient(90deg,#F59E0B 0%,var(--blue-700) 100%)}

.hcs-app .hcs-gate-lock{width:80px;height:80px;margin:0 auto 22px;position:relative;display:grid;place-items:center}
.hcs-app .hcs-gate-ring{
  position:absolute;inset:0;border-radius:50%;
  background:radial-gradient(circle, var(--blue-50) 0%, transparent 70%);
  animation:hcsGatePulse 2.4s ease-out infinite;
}
.hcs-app .hcs-gate-card.is-mechanic .hcs-gate-ring{background:radial-gradient(circle, var(--amber-50,#FEF3E0) 0%, transparent 70%)}
@keyframes hcsGatePulse{0%{transform:scale(.85);opacity:.85}100%{transform:scale(1.4);opacity:0}}
.hcs-app .hcs-gate-circle{
  position:relative;z-index:2;width:62px;height:62px;border-radius:50%;
  background:#fff;border:2.5px solid var(--blue-700);display:grid;place-items:center;color:var(--blue-700);
  box-shadow:0 8px 22px -6px rgba(30,90,168,.3);
}
.hcs-app .hcs-gate-card.is-mechanic .hcs-gate-circle{border-color:var(--amber,#B45309);color:var(--amber,#B45309)}

.hcs-app .hcs-gate-card h1{
  font-size:clamp(22px,2.8vw,26px);font-weight:800;color:var(--blue-900);
  letter-spacing:-.02em;line-height:1.2;margin-bottom:10px;
}
.hcs-app .hcs-gate-lead{font-size:15px;color:var(--ink-2);line-height:1.55;max-width:380px;margin:0 auto 24px}
.hcs-app .hcs-gate-lead strong{color:var(--blue-900);font-weight:700}

.hcs-app .hcs-gate-dest{
  display:inline-flex;align-items:center;gap:7px;
  padding:6px 11px 6px 8px;background:var(--bg-2);border:1px solid var(--line);
  border-radius:999px;font-size:12.5px;color:var(--ink-2);font-weight:500;margin-bottom:24px;
}
.hcs-app .hcs-gate-dest .ic{width:18px;height:18px;border-radius:50%;flex-shrink:0;background:var(--blue-700);color:#fff;display:grid;place-items:center}
.hcs-app .hcs-gate-card.is-mechanic .hcs-gate-dest .ic{background:var(--amber,#B45309)}
.hcs-app .hcs-gate-dest strong{color:var(--blue-900);font-weight:700}

.hcs-app .hcs-gate-cta{
  width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--blue-700);color:#fff;padding:13px 22px;border-radius:10px;
  font-weight:700;font-size:15px;transition:all .15s;text-decoration:none;
  box-shadow:0 4px 14px rgba(30,90,168,.2);
}
.hcs-app .hcs-gate-cta:hover{background:var(--blue-800);transform:translateY(-1px);box-shadow:0 8px 20px rgba(30,90,168,.28);color:#fff}

.hcs-app .hcs-gate-signup{margin-top:18px;font-size:14px;color:var(--ink-2);padding-top:18px;border-top:1px dashed var(--line)}
.hcs-app .hcs-gate-signup a{color:var(--blue-700);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.hcs-app .hcs-gate-signup a:hover{color:var(--blue-900)}

.hcs-app .hcs-gate-trust{
  margin-top:18px;font-size:11.5px;color:var(--ink-3);
  display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:var(--bg-2);border-radius:999px;
}
.hcs-app .hcs-gate-trust svg{color:var(--green,#0F8B4F)}

.hcs-app .hcs-gate-help{margin-top:24px;text-align:center;font-size:13px;color:var(--ink-3)}
.hcs-app .hcs-gate-help a{color:var(--blue-700);font-weight:600;text-decoration:underline}
.hcs-app .hcs-gate-help a:hover{color:var(--blue-900)}

@media (max-width:560px){
  .hcs-app .hcs-gate-card{padding:32px 22px}
  .hcs-app .hcs-gate-card h1{font-size:20px}
  .hcs-app .hcs-gate-lead{font-size:14px}
  .hcs-app .hcs-gate-lock{width:70px;height:70px;margin-bottom:18px}
  .hcs-app .hcs-gate-circle{width:56px;height:56px}
  .hcs-app .hcs-gate-main{padding:32px 0 48px}
}
