/* ==========================================================================
   Business Gear Solutions — site styles
   Brand: navy #123C5A, amber #FFAF20 (sampled from the logo)
   ========================================================================== */

:root {
  --navy: #123C5A;
  --navy-950: #071A28;
  --navy-900: #0B2638;
  --navy-800: #0F3049;
  --navy-600: #1D5580;
  --amber: #FFAF20;
  --amber-600: #F29D05;
  --amber-100: #FFF3DA;

  --ink: #0E2233;
  --body: #3D5062;
  --muted: #66788A;
  --line: #E2E8EF;
  --soft: #F4F7FA;
  --white: #FFFFFF;

  --ok: #12895A;
  --ok-bg: #E4F6EE;
  --bad: #C2372B;
  --bad-bg: #FCE9E7;

  --font-head: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 34, 51, .06), 0 2px 8px rgba(14, 34, 51, .05);
  --shadow: 0 2px 4px rgba(14, 34, 51, .04), 0 12px 32px rgba(14, 34, 51, .10);
  --shadow-lg: 0 4px 8px rgba(7, 26, 40, .08), 0 30px 60px rgba(7, 26, 40, .18);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 24px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--amber); color: var(--navy-900); box-shadow: 0 6px 18px rgba(255, 175, 32, .35); }
.btn-primary:hover { background: var(--amber-600); color: var(--navy-900); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: #C5D1DD; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-900); color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(14, 34, 51, .06); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--navy); background: var(--soft); }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Section scaffolding ---------- */
.section { padding: 112px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--amber); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.section-head p { font-size: 18px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(255, 175, 32, .12), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(18, 60, 90, .07), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F6F8FB 100%);
}
.hero::before {
  /* fine engineering grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 60, 90, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 60, 90, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero-gear { position: absolute; right: -170px; top: 40px; width: 640px; height: 640px; color: var(--navy); opacity: .06; pointer-events: none; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-grid > *, .spotlight-grid > *, .contact-grid > * { min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; margin-bottom: 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm);
}
.hero-badge b { background: var(--navy); color: var(--amber); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.hero h1 { position: relative; z-index: 0; max-width: 620px; font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 24px; }
.hero h1 .accent { color: var(--navy-600); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em;
  background: var(--amber); border-radius: 4px; z-index: -1; opacity: .85;
}
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.5; }

/* Hero product mock: gym front-desk access validation */
.mock-wrap { position: relative; padding: 0 0 72px 24px; }
.mock {
  position: relative; background: var(--white); border-radius: 18px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(18, 60, 90, .08); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--navy); color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 500; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.mock-dots i:first-child { background: var(--amber); }
.mock-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #9FE3C2; }
.mock-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #39D08B; box-shadow: 0 0 0 4px rgba(57, 208, 139, .2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(57, 208, 139, 0); } }
.mock-body { padding: 22px; }
.member { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.avatar { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: var(--amber); font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.member-info { flex: 1; min-width: 0; }
.member-info strong { display: block; font-family: var(--font-head); font-size: 18px; color: var(--ink); }
.member-info span { font-size: 13px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.status .icon { width: 14px; height: 14px; stroke-width: 3; }
.status-ok { background: var(--ok-bg); color: var(--ok); }
.status-bad { background: var(--bad-bg); color: var(--bad); }
.member-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.member-meta div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.member-meta small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.member-meta b { font-size: 14px; color: var(--ink); font-weight: 600; }
.log { margin-top: 18px; }
.log-title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.log li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 14px; }
.log time { color: var(--muted); font-variant-numeric: tabular-nums; }
.log span { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log .status { padding: 4px 9px; font-size: 11px; }

.float-chip {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.float-chip .chip-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--amber); color: var(--navy-900); }
.float-chip .chip-icon .icon { width: 24px; height: 24px; }
.float-chip strong { display: block; font-family: var(--font-head); font-size: 22px; line-height: 1.1; color: var(--ink); }
.float-chip span { font-size: 13px; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 175, 32, .06), transparent); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 40px; line-height: 1; font-weight: 700; color: var(--amber); margin-bottom: 10px; letter-spacing: -.01em; }
.stat span { font-size: 15px; color: rgba(255, 255, 255, .78); line-height: 1.45; display: block; }

/* ---------- Solutions ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution {
  position: relative; display: flex; flex-direction: column;
  padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.solution::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.solution:hover::before { transform: scaleX(1); }
.solution-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.solution-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--amber); }
.solution-icon .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.solution-tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 4px; text-align: right; }
.solution h3 { font-size: 22px; margin-bottom: 10px; }
.solution > p { font-size: 15.5px; color: var(--body); margin-bottom: 20px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); padding: 5px 0; }
.checklist .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--amber-600); stroke-width: 2.6; }
.solution .checklist { margin-bottom: 26px; }
.solution-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--navy); }
.solution-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.solution-link:hover .icon { transform: translateX(4px); }

.solution.is-featured { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); border-color: transparent; color: rgba(255, 255, 255, .8); }
.solution.is-featured h3 { color: #fff; }
.solution.is-featured > p { color: rgba(255, 255, 255, .78); }
.solution.is-featured .solution-icon { background: var(--amber); color: var(--navy-900); }
.solution.is-featured .solution-tag { color: rgba(255, 255, 255, .6); }
.solution.is-featured .checklist li { color: #fff; }
.solution.is-featured .checklist .icon { color: var(--amber); }
.solution.is-featured .solution-link { color: var(--amber); }
.featured-flag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-bottom: 14px; padding: 5px 10px; border-radius: 6px; background: rgba(255, 175, 32, .16); color: var(--amber); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Gym spotlight ---------- */
.spotlight { background: var(--navy-900); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.spotlight .container { position: relative; }
.spotlight .eyebrow { color: var(--amber); }
.spotlight h2 { color: #fff; }
.spotlight .section-head p { color: rgba(255, 255, 255, .72); }
.spotlight-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.spotlight-intro .section-head { margin-bottom: 32px; }
.spotlight-figure { display: flex; align-items: baseline; gap: 16px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 32px; }
.spotlight-figure strong { font-family: var(--font-head); font-size: 64px; line-height: 1; color: var(--amber); }
.spotlight-figure span { font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.spotlight .checklist li { color: rgba(255, 255, 255, .9); font-size: 15.5px; padding: 7px 0; }
.spotlight .checklist .icon { color: var(--amber); }
.spotlight-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.flow { display: grid; gap: 16px; counter-reset: flow; }
.flow-step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
}
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; left: 51px; bottom: -17px; width: 2px; height: 16px;
  background: repeating-linear-gradient(to bottom, var(--amber) 0 4px, transparent 4px 8px);
}
.flow-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 175, 32, .14); color: var(--amber); }
.flow-icon .icon { width: 26px; height: 26px; }
.flow-step h3 { font-size: 19px; color: #fff; margin-bottom: 6px; }
.flow-step h3::before { counter-increment: flow; content: "0" counter(flow) "  "; color: var(--amber); font-size: 14px; letter-spacing: .08em; white-space: pre; }
.flow-step p { font-size: 15px; color: rgba(255, 255, 255, .7); }
.flow-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.outcome { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.outcome .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.outcome-ok { background: rgba(57, 208, 139, .12); color: #9FE3C2; }
.outcome-bad { background: rgba(255, 107, 94, .12); color: #FFB3AB; }

/* ---------- Why / pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar { padding: 32px 28px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--amber-100); color: var(--navy); margin-bottom: 22px; }
.pillar-icon .icon { width: 26px; height: 26px; }
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--body); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--amber), var(--navy-600)); opacity: .35; }
.step { position: relative; padding-right: 28px; }
.step-num {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--white); border: 2px solid var(--navy); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.step:first-child .step-num { background: var(--navy); color: var(--amber); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--body); }

/* ---------- Clients ---------- */
.clients { padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients h2 { font-size: 22px; line-height: 1.3; }
.clients h2 + p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* Client logo tiles: each logo sits on its own background color. Logos with textured or
   gradient backgrounds ("fill") cover the tile edge to edge over a blurred copy of themselves. */
.logo-tile {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 2; border-radius: 14px;
  background-color: #fff;
  box-shadow: inset 0 0 0 1px rgba(14, 34, 51, .08);
  transition: transform .25s, box-shadow .25s;
}
.logo-tile img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.logo-tile-fill img { inset: 0; width: 100%; height: 100%; }
.logo-tile-blur {
  position: absolute; inset: -24px; z-index: -1;
  background: center / cover no-repeat;
  filter: blur(16px);
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(14, 34, 51, .08), var(--shadow); }

.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-tile-more {
  display: grid; place-content: center; padding: 10px;
  background: var(--navy); color: #fff; text-align: center; gap: 2px;
}
.logo-tile-more strong { font-family: var(--font-head); font-size: 34px; line-height: 1; color: var(--amber); }
.logo-tile-more span { font-size: 13px; color: rgba(255, 255, 255, .8); line-height: 1.3; }

.clients-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.clients-head h2 { max-width: 640px; }
.clients-head .solution-link { margin-top: 0; }

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 16px; padding: 4px 8px 4px; }
.marquee-list .logo-tile { width: 168px; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { width: auto; justify-content: center; }
  .marquee-list { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .marquee-list[aria-hidden] { display: none; }
}

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 112px; }
.cta-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: 56px 64px; border-radius: 24px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-800) 60%, var(--navy-600) 140%);
  color: rgba(255, 255, 255, .8);
}
.cta-card .cta-gear { position: absolute; right: -90px; bottom: -150px; width: 380px; height: 380px; color: var(--amber); opacity: .12; pointer-events: none; }
.cta-card h2 { position: relative; color: #fff; font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 12px; }
.cta-card p { position: relative; font-size: 17px; max-width: 560px; }
.cta-card .hero-actions { position: relative; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 8px; }
.contact-item {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
a.contact-item:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-item .ci-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--amber); flex-shrink: 0; }
.contact-item .ci-icon .icon { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-item b { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }

.form-card { padding: 40px; background: var(--white); border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h3 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #FCFDFE;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(29, 85, 128, .12); background: #fff; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--muted); font-size: 13px; }

/* ---------- Product page (gym.php) ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--navy-600); font-weight: 500; }
.breadcrumb span[aria-hidden] { color: #B5C2CF; }
.pillars.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 40px 32px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px; background: var(--amber); color: var(--navy-900);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255, 175, 32, .35);
}
.plan-name { font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-600); margin-bottom: 18px; }
.plan-price { font-family: var(--font-head); font-size: 52px; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.plan-price .cur { font-size: .5em; vertical-align: .62em; margin-right: 4px; color: var(--muted); }
.plan-period { margin-top: 8px; font-size: 15px; color: var(--muted); }
.plan-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 24px 0 18px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-save { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 700; }
.plan-save.is-neutral { background: var(--soft); color: var(--navy-600); }
.plan-effective { font-size: 15px; color: var(--body); }
.plan-effective b { color: var(--ink); }
.plan-note { font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }
.plan-btn { margin-top: auto; width: 100%; }

.plan.is-featured { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); border-color: transparent; box-shadow: var(--shadow-lg); }
.plan.is-featured .plan-name { color: var(--amber); }
.plan.is-featured .plan-price { color: #fff; }
.plan.is-featured .plan-price .cur, .plan.is-featured .plan-period, .plan.is-featured .plan-note { color: rgba(255, 255, 255, .7); }
.plan.is-featured .plan-meta { border-color: rgba(255, 255, 255, .14); }
.plan.is-featured .plan-save { background: rgba(57, 208, 139, .16); color: #9FE3C2; }
.plan.is-featured .plan-effective { color: rgba(255, 255, 255, .8); }
.plan.is-featured .plan-effective b { color: #fff; }

.included { margin-top: 40px; padding: 36px 40px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.included h3 { font-size: 20px; margin-bottom: 18px; }
.included .checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px; }
.pricing-note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .66); padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand img { width: 56px; height: 56px; }
.wordmark { font-family: var(--font-head); line-height: 1; }
.wordmark .wm-top { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.005em; }
.wordmark .wm-top .b { color: var(--amber); }
.wordmark .wm-top .g { color: #fff; }
.wordmark .wm-sub { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .62em; color: rgba(255, 255, 255, .75); }
.footer-about { max-width: 320px; line-height: 1.7; }
.site-footer h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: rgba(255, 255, 255, .66); transition: color .2s; }
.site-footer a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--amber); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.socials a:hover { background: var(--amber); color: var(--navy-900); border-color: var(--amber); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--amber); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 10px 10px; font-size: 14.5px; }
  .hero-grid { gap: 40px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(14, 34, 51, .12);
    padding: 12px var(--gutter) 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 14px 12px; font-size: 16px; }
  .nav .nav-cta { display: block; margin-top: 12px; }
  .nav .nav-cta .btn { width: 100%; }

  .section { padding: 88px 0; }
  .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero-grid, .spotlight-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-gear { width: 460px; height: 460px; right: -200px; top: 20px; }
  .mock-wrap { max-width: 560px; }
  .solutions-grid, .pillars.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 32px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 24px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .process::before { display: none; }
  .cta-card { grid-template-columns: 1fr; padding: 48px 40px; }
}
@media (min-width: 992px) { .nav .nav-cta { display: none; } }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p, .hero-lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badge { align-items: flex-start; border-radius: 14px; font-size: 13px; line-height: 1.4; padding: 6px 12px 6px 6px; }
  .hero-badge b { flex-shrink: 0; }
  .hero h1 .accent { white-space: normal; }
  .mock-wrap { padding: 0 0 88px; }
  .mock-body { padding: 16px; }
  .member { padding: 14px; gap: 12px; flex-wrap: wrap; }
  .avatar { width: 48px; height: 48px; font-size: 17px; }
  .member-info { flex-basis: calc(100% - 60px); }
  .member .status { order: 3; width: 100%; justify-content: center; }
  .member-meta { grid-template-columns: 1fr 1fr; }
  .member-meta div:last-child { grid-column: 1 / -1; }
  .float-chip { left: 12px; right: 12px; }
  .solutions-grid, .pillars, .pillars.cols-3, .process, .form-grid, .flow-outcomes, .included .checklist { grid-template-columns: 1fr; }
  .included { padding: 28px 22px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .marquee-list .logo-tile { width: 132px; }
  .marquee-list { gap: 12px; }
  .plan { padding: 36px 24px 26px; }
  .plan-price { font-size: 44px; }
  .solution, .pillar { padding: 26px 22px; }
  .solution::before { left: 22px; right: 22px; }
  .spotlight-figure strong { font-size: 52px; }
  .flow-step { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .flow-step:not(:last-child)::after { left: 47px; }
  .stat strong { font-size: 32px; }
  .stat { padding: 26px 16px; }
  .stat:nth-child(even) { padding-right: 0; }
  .cta-band { padding-bottom: 72px; }
  .cta-card { padding: 40px 24px; border-radius: 18px; }
  .form-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .to-top { right: 16px; bottom: 16px; }
}
