/* =============================================================================
   MATCH FITNESS HK — SHARED SITE STYLESHEET  (assets/style.css)
   -----------------------------------------------------------------------------
   Hand-written CSS. No frameworks, no build step.
   Companion docs:  ../DESIGN-SYSTEM.md  (class conventions & components)
   Source design:   ../mockups/Match-Fitness-HK-Home-v3-concierge.html (v3)
   Palette/type:    ../../02 BRAND/BRAND-GUIDELINES.md
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Brand palette (official — never use black #0A0A0A or gold #D4AF37) */
  --mf-navy:        #0F2347;   /* headings, primary surfaces, footer text     */
  --mf-navy-2:      #18386E;   /* gradient midpoint                           */
  --mf-blue:        #1D70B8;   /* links, secondary accents, data highlights   */
  --mf-blue-dark:   #155A96;   /* blue hover                                  */
  --mf-orange:      #F1771E;   /* primary CTA, kickers, key figures (<=10%)   */
  --mf-orange-dark: #D96512;   /* orange hover                                */
  --mf-canvas:      #FAF9F6;   /* page background                             */
  --mf-ice:         #F0F6FC;   /* cool section background                     */
  --mf-white:       #FFFFFF;

  /* Neutrals (slate scale, sparing) */
  --mf-ink:         #334155;   /* body-emphasis text                          */
  --mf-ink-soft:    #64748B;   /* body text                                   */
  --mf-ink-faint:   #94A3B8;   /* captions                                    */
  --mf-border:      #E2E8F0;   /* hairline borders                            */
  --mf-slate-100:   #F1F5F9;
  --mf-slate-50:    #F8FAFC;

  /* Semantic accents */
  --mf-green:        #047857;  /* emerald-700 — success/protection text       */
  --mf-green-bg:     #ECFDF5;
  --mf-green-border: #A7F3D0;
  --mf-rose:         #E11D48;  /* "old model" warnings only                   */
  --mf-rose-bg:      #FFF1F2;
  --mf-blue-100:     #DBEAFE;
  --mf-blue-200:     #BFDBFE;
  --mf-orange-50:    #FFF7ED;
  --mf-orange-100:   #FFEDD5;

  /* Radii */
  --radius-card: 24px;   /* rounded-3xl — cards, panels                      */
  --radius-ctl:  16px;   /* rounded-2xl — buttons, inputs, small boxes       */
  --radius-sm:   12px;   /* rounded-xl  — logo tile, pills containers        */
  --radius-pill: 999px;

  /* Shadows (soft slate, never harsh black) */
  --shadow-2xs:    0 1px 2px 0 rgb(15 35 71 / .05);
  --shadow-xs:     0 1px 3px 0 rgb(15 35 71 / .06);
  --shadow-md:     0 4px 10px -2px rgb(15 35 71 / .08);
  --shadow-lg:     0 10px 24px -6px rgb(226 232 240 / .9);
  --shadow-card:   0 20px 25px -5px rgb(226 232 240 / .8);
  --shadow-orange: 0 8px 18px -6px rgb(241 119 30 / .4);

  /* Type */
  --font-display: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container:      1152px;  /* max-w-6xl                                     */
  --container-mid:  1024px;  /* max-w-5xl                                     */
  --container-sm:    768px;  /* max-w-3xl                                     */
  --header-h:        64px;

  --ease-soft: cubic-bezier(.16, 1, .3, 1);
}

/* -----------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--mf-canvas);
  color: var(--mf-navy);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

main { flex: 1; }

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  color: var(--mf-navy);
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--mf-blue); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 100%; }

::selection { background: var(--mf-orange-100); color: #7C2D12; }

:focus-visible {
  outline: 3px solid rgb(29 112 184 / .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--mf-navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-ctl);
  font-weight: 700;
  font-size: 13px;
}
.skip-link:focus { left: 8px; }

.tabular-nums { font-variant-numeric: tabular-nums; }

/* Inline SVG icon convention: .icon inherits text colour, 1em box */
.icon {
  width: 1em;
  height: 1em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }
.icon-sm { width: .85em; height: .85em; }

/* -----------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}
.container-mid { max-width: var(--container-mid); }
.container-sm  { max-width: var(--container-sm); }

@media (min-width: 640px)  { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.grid { display: grid; gap: 24px; }
@media (min-width: 640px)  { .grid-sm-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-lg-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-lg-3 { grid-template-columns: repeat(3, 1fr); }
}

.flex        { display: flex; }
.flex-wrap   { flex-wrap: wrap; }
.items-center{ align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2 { gap: 8px; }  .gap-3 { gap: 12px; }  .gap-4 { gap: 16px; }
.gap-5 { gap: 20px; } .gap-6 { gap: 24px; }

/* Vertical rhythm stack: .stack > * + * spacing */
.stack   > * + * { margin-top: 16px; }
.stack-sm> * + * { margin-top: 10px; }
.stack-lg> * + * { margin-top: 40px; }

.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }  .mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.mx-auto { margin-inline: auto; }
.max-w-prose { max-width: 46rem; }

/* -----------------------------------------------------------------------------
   4. TYPOGRAPHY HELPERS
   ------------------------------------------------------------------------- */
.display-1 {                       /* page hero H1 */
  font-size: clamp(1.875rem, 1.4rem + 2.2vw, 2.625rem);  /* 30 → 42px */
  font-weight: 800;
  line-height: 1.15;
}
.display-2 {                       /* section H2 */
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 1.875rem);   /* 24–30px */
  font-weight: 800;
  line-height: 1.3;
}
.display-3 { font-size: 1.125rem; font-weight: 800; line-height: 1.4; }  /* card H3 */
@media (min-width: 640px) { .display-3 { font-size: 1.25rem; } }

.lead {                            /* intro paragraph under a heading */
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--mf-ink-soft);
}
@media (min-width: 640px) { .lead { font-size: 1rem; } }

.text-xs   { font-size: .75rem; }
.text-sm   { font-size: .875rem; }
.text-muted{ color: var(--mf-ink-soft); }
.text-faint{ color: var(--mf-ink-faint); }
.text-navy { color: var(--mf-navy); }
.text-blue { color: var(--mf-blue); }
.text-orange { color: var(--mf-orange); }
.text-green { color: var(--mf-green); }
.text-white { color: #fff; }
.strong-navy strong { color: var(--mf-navy); }

/* Small uppercase label above a heading. Default = orange. */
.kicker {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mf-orange);
}
.kicker-blue  { color: var(--mf-blue); }
.kicker-green { color: var(--mf-green); }

/* Inline text link with arrow, used at the end of summary sections */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 800;
  color: var(--mf-blue);
}
.more-link:hover { text-decoration: underline; }

/* -----------------------------------------------------------------------------
   5. SECTIONS (alternating white / canvas / ice with hairline separators)
   ------------------------------------------------------------------------- */
.section {
  padding-block: 56px;
  border-bottom: 1px solid rgb(226 232 240 / .7);
}
@media (min-width: 640px) { .section { padding-block: 80px; } }

.section-white  { background: var(--mf-white); }
.section-canvas { background: var(--mf-canvas); }
.section-ice    { background: rgb(240 246 252 / .7); }   /* ice at 70% */
.section:last-of-type { border-bottom: 0; }

/* Hero-only gradient backdrop */
.section-hero {
  background: linear-gradient(to bottom, var(--mf-ice), #F6F9FD, var(--mf-canvas));
  padding-block: 40px 56px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .section-hero { padding-block: 56px 72px; } }

/* Standard section header block */
.section-head { max-width: 46rem; }
.section-head-center { max-width: 42rem; margin-inline: auto; text-align: center; }

/* -----------------------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0;
  border-radius: var(--radius-ctl);
  font-size: .8125rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: background-color .18s var(--ease-soft), transform .18s var(--ease-soft),
              box-shadow .18s var(--ease-soft), color .18s var(--ease-soft);
}
@media (min-width: 640px) { .btn { font-size: .875rem; } }
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {                       /* orange — the one true CTA */
  background: var(--mf-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--mf-orange-dark); color: #fff; }

.btn-navy {
  background: var(--mf-navy);
  color: #fff;
  box-shadow: var(--shadow-xs);
}
.btn-navy:hover { background: var(--mf-blue); color: #fff; }

.btn-outline {                       /* quiet secondary action */
  background: var(--mf-white);
  color: var(--mf-navy);
  border: 2px solid var(--mf-border);
}
.btn-outline:hover { border-color: var(--mf-blue); color: var(--mf-blue); }

.btn-ghost {                         /* inline, low-emphasis */
  background: transparent;
  color: var(--mf-ink-soft);
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--mf-navy); background: var(--mf-slate-100); }

.btn-sm { padding: 9px 16px; font-size: .75rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 32px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }

/* Row of CTAs that wraps and centres on mobile */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-row-center { justify-content: center; }
@media (max-width: 479px) {
  .btn-row .btn { width: 100%; }
}

/* -----------------------------------------------------------------------------
   7. HEADER (sticky) + MOBILE NAV
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(255 255 255 / .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(226 232 240 / .8);
  transition: box-shadow .2s var(--ease-soft);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: var(--mf-canvas);
  border: 1px solid rgb(226 232 240 / .9);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2xs);
  padding: 4px 8px;
}
.brand-logo-tile img { width: 46px; height: 33px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9375rem;
  color: var(--mf-navy);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-sub {
  font-size: .6875rem;
  font-weight: 500;
  color: var(--mf-ink-soft);
  margin-top: 2px;
  white-space: nowrap;
}
@media (max-width: 420px) { .brand-sub { display: none; } }

.nav-desktop { display: none; align-items: center; gap: 18px; }
.nav-desktop a {
  font-size: .75rem;
  font-weight: 600;
  color: var(--mf-ink-soft);
  white-space: nowrap;
  transition: color .15s;
}
.nav-desktop a:hover { color: var(--mf-navy); }
.nav-desktop a[aria-current="page"] { color: var(--mf-blue); font-weight: 800; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* Hamburger (visible < 1024px) */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--mf-border);
  border-radius: var(--radius-sm);
  background: var(--mf-white);
  color: var(--mf-navy);
  font-size: 20px;
  transition: background-color .15s;
}
.menu-toggle:hover { background: var(--mf-slate-50); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open  { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Slide-down mobile panel */
.mobile-nav {
  display: none;
  border-top: 1px solid rgb(226 232 240 / .8);
  background: var(--mf-white);
  padding: 8px 16px 18px;
}
.mobile-nav.is-open { display: block; animation: mfFadeUp .22s var(--ease-soft); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav a.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 8px;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--mf-navy);
  border-bottom: 1px solid var(--mf-slate-100);
}
.mobile-nav a.mobile-link:active { color: var(--mf-blue); }
.mobile-nav a.mobile-link[aria-current="page"] { color: var(--mf-blue); }
.mobile-nav .btn { margin-top: 14px; }
.mobile-nav .mobile-sub {
  display: block;
  padding: 12px 8px 0;
  font-size: .75rem;
  font-weight: 600;
  color: var(--mf-ink-soft);
}
.mobile-nav .mobile-sub a { color: var(--mf-blue); font-weight: 700; }

/* -----------------------------------------------------------------------------
   8. CARDS & PANELS
   ------------------------------------------------------------------------- */
.card {
  background: var(--mf-white);
  border: 1px solid rgb(226 232 240 / .9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2xs);
  padding: 24px;
}
@media (min-width: 640px) { .card { padding: 28px; } }

.card-lift { transition: box-shadow .2s var(--ease-soft), border-color .2s var(--ease-soft), transform .2s var(--ease-soft); }
.card-lift:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mf-blue-200);
  transform: translateY(-1px);
}

.card-tint { background: var(--mf-canvas); }              /* quiet card  */
.card-ice  { background: var(--mf-ice); border-color: var(--mf-blue-200); }
.card-highlight {                                        /* "our way" card */
  background: var(--mf-ice);
  border: 2px solid rgb(29 112 184 / .3);
}
.card-featured {                                         /* popular band */
  background: var(--mf-ice);
  border: 2px solid var(--mf-blue);
  box-shadow: var(--shadow-md);
}
.card-navy {                                             /* action strip */
  background: var(--mf-navy);
  border-color: var(--mf-navy);
  color: #fff;
}
.card-navy h1, .card-navy h2, .card-navy h3, .card-navy h4 { color: #fff; }

/* Small coloured icon tile used at the top of feature/protection cards */
.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-ctl);
  font-size: 18px;
  flex: none;
}
.tile-green { background: var(--mf-green-bg);  color: var(--mf-green); }
.tile-orange{ background: var(--mf-orange-50); color: var(--mf-orange); }
.tile-blue  { background: var(--mf-ice);       color: var(--mf-blue); }
.tile-navy  { background: var(--mf-slate-100); color: var(--mf-navy); }
.tile-rose  { background: var(--mf-rose-bg);   color: var(--mf-rose); }
.tile-lg { width: 56px; height: 56px; font-size: 24px; }

/* Numbered step badge (How It Works) */
.num-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-ctl);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  flex: none;
}
.num-blue  { background: var(--mf-ice);       color: var(--mf-blue); }
.num-orange{ background: var(--mf-orange-50); color: var(--mf-orange); }
.num-green { background: var(--mf-green-bg);  color: var(--mf-green); }

/* -----------------------------------------------------------------------------
   9. PILLS & CHIPS
   ------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: .6875rem;
  font-weight: 800;
  line-height: 1.4;
}
.pill-blue   { background: var(--mf-ice);        color: var(--mf-blue); }
.pill-blue-bd{ background: var(--mf-ice);        color: var(--mf-blue); border: 1px solid var(--mf-blue-200); }
.pill-navy   { background: var(--mf-blue-100);   color: var(--mf-blue); }
.pill-navy-solid { background: var(--mf-blue);   color: #fff; }
.pill-green  { background: var(--mf-green-bg);   color: var(--mf-green); }
.pill-green-bd { background: var(--mf-green-bg); color: var(--mf-green); border: 1px solid var(--mf-green-border); }
.pill-orange { background: var(--mf-orange-100); color: var(--mf-orange); }
.pill-orange-bd{ background: var(--mf-orange-50); color: var(--mf-orange); border: 1px solid #FED7AA; }
.pill-slate  { background: var(--mf-slate-100);  color: var(--mf-ink-soft); }

/* White trust chip with hairline border (hero trust strip) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--mf-white);
  border: 1px solid rgb(226 232 240 / .9);
  box-shadow: var(--shadow-2xs);
  font-size: .75rem;
  font-weight: 700;
  color: var(--mf-navy);
}
.chip .icon { font-size: 13px; }

/* -----------------------------------------------------------------------------
   10. LISTS
   ------------------------------------------------------------------------- */
/* Check / cross bullet list. Put an inline .icon inside each <li>. */
.icon-list > li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--mf-ink-soft);
}
@media (min-width: 640px) { .icon-list > li { font-size: .875rem; } }
.icon-list > li + li { margin-top: 12px; }
.icon-list .icon { margin-top: 3px; font-size: 14px; }
.icon-list strong { color: var(--mf-navy); }
.icon-list .li-check { color: var(--mf-green); }
.icon-list .li-x     { color: var(--mf-rose); }
.icon-list .li-blue  { color: var(--mf-blue); }

/* -----------------------------------------------------------------------------
   11. HERO-SPECIFIC (home)
   ------------------------------------------------------------------------- */
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 40px; margin-bottom: 48px; }
}
.hero-copy { text-align: center; }
.hero-copy > * + * { margin-top: 20px; }
.hero-copy .lead { max-width: 42rem; margin-inline: auto; }
.hero-copy .chip-row,
.hero-copy .btn-row { justify-content: center; }
@media (min-width: 1024px) {
  .hero-copy { text-align: left; }
  .hero-copy .lead { margin-inline: 0; }
  .hero-copy .chip-row,
  .hero-copy .btn-row { justify-content: flex-start; }
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Pure-CSS/SVG visual panel (no external imagery) */
.hero-visual {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--mf-white);
  border: 1px solid rgb(226 232 240 / .8);
  box-shadow: var(--shadow-lg);
  padding: 12px;
}
.hero-visual-inner {
  position: relative;
  border-radius: var(--radius-ctl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--mf-navy), var(--mf-navy-2) 55%, var(--mf-blue));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #fff;
}
.hero-visual-inner::before {           /* soft radial glow */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgb(255 255 255 / .14), transparent 55%);
  pointer-events: none;
}
.hero-visual-inner .hero-mark { width: 92px; height: auto; opacity: .96; margin-bottom: 14px; }
.hero-visual-title { font-family: var(--font-display); font-weight: 700; font-size: .875rem; }
.hero-visual-sub { font-size: .75rem; color: #D7E4F5; margin-top: 4px; max-width: 30ch; }

/* Floating proof card pinned over the visual */
.float-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgb(255 255 255 / .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / .8);
  border-radius: var(--radius-ctl);
  box-shadow: var(--shadow-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.float-card-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.float-card-avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--mf-ice);
  color: var(--mf-blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .75rem;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.float-card-title { font-size: .75rem; font-weight: 800; color: var(--mf-navy); }
.float-card-sub   { font-size: .6875rem; color: var(--mf-ink-soft); }

/* Hero CTA card (replaces the embedded mockup wizard) */
.cta-card {
  max-width: var(--container-sm);
  margin-inline: auto;
  background: var(--mf-white);
  border: 1px solid rgb(226 232 240 / .9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  text-align: center;
}
@media (min-width: 640px) { .cta-card { padding: 36px 40px; } }
.cta-card .mini-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--mf-ink-soft);
}
.cta-card .mini-row span { display: inline-flex; align-items: center; gap: 6px; }
.cta-card .mini-row .icon { color: var(--mf-green); }

/* -----------------------------------------------------------------------------
   12. COACH CARDS
   ------------------------------------------------------------------------- */
.coach-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--mf-white);
  border: 1px solid rgb(226 232 240 / .9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2xs);
  padding: 24px;
  transition: box-shadow .2s var(--ease-soft), border-color .2s var(--ease-soft), transform .2s var(--ease-soft);
}
.coach-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mf-blue-200);
  transform: translateY(-1px);
}
.coach-head { display: flex; align-items: flex-start; gap: 14px; }
.coach-avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-ctl);
  background: linear-gradient(135deg, var(--mf-blue), var(--mf-navy));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .875rem;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.coach-name { font-size: .9375rem; font-weight: 800; line-height: 1.3; }
.coach-creds { font-size: .75rem; color: var(--mf-ink-soft); margin-top: 2px; }
.coach-area { font-size: .6875rem; color: var(--mf-ink-soft); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.coach-area .icon { color: var(--mf-blue); }
.coach-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.coach-facts { flex: 1; }
.coach-facts > li {
  display: flex; gap: 8px;
  font-size: .75rem; line-height: 1.55; color: var(--mf-ink-soft);
}
.coach-facts > li + li { margin-top: 6px; }
.coach-facts .icon { margin-top: 2px; font-size: 13px; }
.coach-facts strong { color: var(--mf-navy); }

/* -----------------------------------------------------------------------------
   13. FORMS
   ------------------------------------------------------------------------- */
.form-field { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--mf-navy);
  margin-bottom: 6px;
}
.form-label .req { color: var(--mf-orange); }
.form-label .opt { color: var(--mf-ink-faint); font-weight: 500; }

.input, .select, .textarea {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-ctl);
  background: var(--mf-white);
  font-size: .875rem;
  color: var(--mf-navy);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--mf-blue);
  box-shadow: 0 0 0 3px rgb(29 112 184 / .14);
}
.textarea { min-height: 110px; resize: vertical; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--mf-rose); }

/* Inline field error — hidden until .is-visible (wireForm toggles it).
   Convention: <p class="field-error" data-error-for="FIELD_ID">msg</p>   */
.field-error {
  display: none;
  margin-top: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--mf-rose);
}
.field-error.is-visible { display: flex; align-items: center; gap: 6px; }

/* PDPO consent row (checkbox must start UNCHECKED in markup) */
.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-ctl);
  background: rgb(236 253 245 / .7);
  border: 1px solid rgb(167 243 208 / .9);
  font-size: .75rem;
  line-height: 1.6;
  color: var(--mf-ink-soft);
  cursor: pointer;
}
.consent-box input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--mf-blue);
  flex: none;
}
.consent-box.is-invalid { border-color: var(--mf-rose); background: var(--mf-rose-bg); }

/* Success / error panels swapped in after submit (start with [hidden]) */
.form-panel {
  padding: 20px;
  border-radius: var(--radius-ctl);
  font-size: .875rem;
  line-height: 1.6;
}
.form-panel-success {
  background: var(--mf-green-bg);
  border: 1px solid var(--mf-green-border);
  color: #065F46;
}
.form-panel-error {
  background: var(--mf-rose-bg);
  border: 1px solid #FECDD3;
  color: #9F1239;
}
.form-panel-title {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; color: inherit; margin-bottom: 6px;
}

/* -----------------------------------------------------------------------------
   14. TOAST (bottom-right, navy) — driven by showToast() in app.js
   ------------------------------------------------------------------------- */
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: var(--radius-ctl);
  background: var(--mf-navy);
  color: #fff;
  border: 1px solid rgb(51 65 85 / .8);
  box-shadow: 0 20px 25px -5px rgb(15 23 42 / .35);
  font-size: .8125rem;
  font-weight: 500;
  animation: mfFadeUp .25s var(--ease-soft);
}
.toast .icon { color: var(--mf-orange); font-size: 16px; }
.toast.is-error .icon { color: #FF9A44; }
.toast[hidden] { display: none; }

/* -----------------------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--mf-white);
  border-top: 1px solid rgb(226 232 240 / .8);
  padding: 48px 0 32px;
  font-size: .8125rem;
  color: var(--mf-ink-soft);
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .brand-name { font-size: 1rem; }
.footer-tagline { font-size: .75rem; color: var(--mf-ink-soft); margin-top: 6px; max-width: 30ch; }
.footer-col-title {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mf-navy);
  margin-bottom: 12px;
}
.footer-links > li + li { margin-top: 9px; }
.footer-links a {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--mf-ink-soft);
  transition: color .15s;
}
.footer-links a:hover { color: var(--mf-navy); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--mf-ink-soft);
}
.footer-contact span { display: inline-flex; align-items: center; gap: 6px; }
.footer-contact .icon { color: var(--mf-blue); }

.footer-compliance {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgb(226 232 240 / .8);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  font-size: .6875rem;
  color: var(--mf-ink-faint);
  text-align: center;
}
.footer-bottom {
  margin-top: 14px;
  text-align: center;
  font-size: .6875rem;
  color: var(--mf-ink-faint);
}
.footer-bottom .font-display { font-weight: 800; color: var(--mf-navy); }

/* -----------------------------------------------------------------------------
   16. ANIMATIONS
   ------------------------------------------------------------------------- */
@keyframes mfFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: mfFadeUp .45s var(--ease-soft) both; }
.step-animate { animation: mfFadeUp .28s var(--ease-soft) forwards; }

/* Scroll-reveal: add .reveal to any element; app.js adds .is-inview */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-soft), transform .5s var(--ease-soft); }
.reveal.is-inview { opacity: 1; transform: none; }

@keyframes mfShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.shake-error { animation: mfShake .28s ease-in-out; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* -----------------------------------------------------------------------------
   17. MISC HELPERS
   ------------------------------------------------------------------------- */
.hidden { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hairline-top { border-top: 1px solid rgb(226 232 240 / .8); }
.rounded-media { border-radius: var(--radius-ctl); overflow: hidden; }
.full-bleed-navy { background: var(--mf-navy); color: #fff; }
