/* ============================================================
   WorkFit — site styles
   One file controls the look of the whole site.
   Palette taken from the logo: deep navy + gold.
   ============================================================ */

:root {
  --navy:      #0c1340;
  --navy-2:    #19225e;
  --gold:      #f5c400;
  --gold-dark: #d9ab00;
  --ink:       #1c2030;
  --muted:     #5a6175;
  --line:      #e4e8f0;
  --bg:        #ffffff;
  --bg-alt:    #f5f7fb;
  --radius:    14px;
  --shadow:    0 10px 30px rgba(12, 19, 64, 0.08);
  --maxw:      1140px;
  --font:      system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-book { background: var(--gold); color: var(--navy); }
.btn-book:hover { background: var(--gold-dark); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; font-weight: 800; color: var(--navy); font-size: 1.15rem; line-height: 1.1; }
.brand-text small { font-weight: 600; color: var(--muted); font-size: .68rem; letter-spacing: .5px; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: .98rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover { text-decoration: none; color: var(--navy); border-bottom-color: var(--gold); }
.site-nav a.active { color: var(--navy); border-bottom-color: var(--gold); }
/* Header "Book a Meeting": separate it from the menu, give the text breathing room */
.site-nav .btn-book { margin-left: 18px; padding: 11px 30px; font-size: .95rem; }

/* Mobile menu button (hidden on desktop) */
.nav-toggle-label { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle-label span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; }

@media (max-width: 960px) {
  .nav-toggle-label { display: flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 22px 22px;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.active { border-bottom-color: var(--line); color: var(--gold-dark); }
  .site-nav .btn-book { margin-top: 14px; margin-left: 0; padding: 13px 26px; }
  .header-inner { position: relative; flex-wrap: wrap; }
}

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #e9ecff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 10px; }
.section-navy .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--muted); }
.section-navy .lead { color: #c3c9f0; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-2) 0%, var(--navy) 55%);
  color: #fff;
  padding: 96px 0;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { font-size: 1.3rem; color: #c7cdf2; max-width: 48ch; margin-bottom: 2rem; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; }
.card-soft { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; background: var(--gold); color: var(--navy);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
}

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--gold); line-height: 1; }
.stat p { color: #c3c9f0; margin-top: 8px; }

/* ---------- Quote / callout ---------- */
.quote {
  border-left: 5px solid var(--gold);
  padding: 6px 0 6px 24px;
  font-size: 1.4rem; font-style: italic; color: var(--navy); font-weight: 500;
  max-width: 760px;
}
.callout { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 44px; text-align: center; }
.callout h2 { color: #fff; }
.callout p { color: #c7cdf2; }

/* Problem-frame subheadings (WorkFit page) */
.frame-title { font-size: 1.15rem; margin: 1.7rem 0 .4rem; padding-left: 14px; border-left: 4px solid var(--gold); }
.frame-title + p { margin-top: 0; }

/* ---------- Pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #b8c1d3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid #c6cedd; }
.price-table th { background: var(--navy); color: #fff; font-size: .95rem; }
.price-table td .amt { font-weight: 800; color: var(--navy); }
.price-table tbody tr:last-child td { border-bottom: 0; }
/* clearly visible zebra striping + row/column dividers so it reads as a table at a glance */
.price-table tbody tr:nth-child(even) td { background: #dde4f0; }
.price-table td + td { border-left: 1px solid #d2dae7; }
/* Pricing section panels: a clearly framed light box that visibly contains each table */
.pricing-panel { background: #e9edf4; border-color: #c3cbd9; box-shadow: 0 6px 18px rgba(12, 19, 64, 0.05); }
.price-note { color: var(--muted); font-size: .95rem; }

/* ---------- Two-column media ---------- */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 820px) { .media { grid-template-columns: 1fr; } }
.media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Image placeholder (swapped for a real photo later) */
.img-ph {
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef1fb, #dfe5f7);
  border: 1px dashed #b9c2e6;
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  color: #8089b5; font-weight: 600; text-align: center; padding: 20px;
}

/* Lift-versus-catch graphic (WorkFit Problem section) */
.scale-svg { width: 100%; height: auto; display: block; max-width: 520px; margin: 0 auto; }

/* Badges */
.badge { display: inline-block; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line);
  font-size: .75rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; }
.badge-soon { background: #fff7d6; color: #8a6d00; border-color: #f0dd8a; }

/* Spacing helpers */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.5rem; }
.center-btn { text-align: center; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3c9f0; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 22px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-logo { width: 54px; height: 54px; border-radius: 50%; margin-bottom: 14px; }
.footer-tagline { font-style: italic; color: var(--gold); font-size: 1.05rem; max-width: 30ch; }
.footer-links { list-style: none; margin: 0 0 18px; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #c3c9f0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; padding: 18px 0; font-size: .85rem; color: #8e96c8; text-align: center; }
