/* ============================================================
   Paramount Training & Fitness LLC — marketing site
   Design: professional, athletic, youth-focused, trustworthy.
   Palette: navy (primary), gold (accent), white (ground),
   field-green (occasional accent). Static site, no build step.
   ============================================================ */

:root {
  --navy: #10243f;
  --navy-deep: #0a1931;
  --navy-hover: #173456;
  --gold: #e7b53c;
  --gold-deep: #c9972a;
  --green: #2f7d4f;       /* field green — accents only */
  --green-soft: #eaf3ec;
  --white: #ffffff;
  --ink: #16202e;         /* body text on light */
  --ink-soft: #46536b;    /* secondary text */
  --muted: #74819a;
  --line: #e4e8f0;
  --tint: #f5f7fb;        /* light section backgrounds */
  --tint-navy: #eef2f8;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(16, 36, 63, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 36, 63, 0.18);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section.tint { background: var(--tint); }
.section.navy { background: var(--navy); color: #dfe7f2; }
.section.navy h2, .section.navy h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px;
}
.section.navy .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.section.navy .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.section.navy .btn-outline:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }

/* ---------- Header / nav (injected by partials.js) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid var(--line);
}
/* Header spans the full screen width (not capped to the 1140px container),
   so the brand sits far left and the nav far right with room to breathe. */
.site-header .container.nav { max-width: none; padding: 0 clamp(20px, 4vw, 48px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 54px; width: auto; display: block; }
/* Footer logo sits on a small white chip so the black wordmark stays legible on navy. */
.footer-brand-link { display: inline-flex; margin-bottom: 16px; }
.footer-logo {
  height: 72px; width: auto; display: block;
  background: #fff; padding: 10px 14px; border-radius: 12px;
}
.brand-badge {
  width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; letter-spacing: -1px;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { color: var(--navy); font-size: 1rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-name span { color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 38px; flex-wrap: nowrap; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -25px; height: 3px;
  background: var(--gold); border-radius: 3px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta .btn { display: none; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0; box-shadow: var(--shadow);
  }
  .site-header.open .nav-links a { padding: 14px 24px; width: 100%; }
  .site-header.open .nav-links a.active::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(10,25,49,0.86), rgba(10,25,49,0.92)),
    radial-gradient(1200px 500px at 70% -10%, rgba(231,181,60,0.22), transparent 60%),
    var(--navy-deep);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  /* subtle field-line motif */
  content: ''; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-inner { position: relative; z-index: 1; padding: 92px 0 84px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero p { color: #cdd8e8; font-size: 1.18rem; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-tag { color: var(--gold); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 14px; }

/* ---------- Pillars / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow); height: 100%;
}
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--tint-navy); color: var(--navy); margin-bottom: 16px; font-size: 1.5rem;
}
.card.gold .ico { background: #fbf1d6; color: var(--gold-deep); }
.card.green .ico { background: var(--green-soft); color: var(--green); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }

/* ---------- Feature rows (alternating) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature + .feature { margin-top: 64px; }
.feature.flip .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 300px;
  background: linear-gradient(135deg, var(--navy), var(--navy-hover));
  display: grid; place-items: center; color: rgba(255,255,255,.5); box-shadow: var(--shadow);
}
.feature-media .ph { text-align: center; padding: 24px; }
.feature-media .ph b { color: var(--gold); display: block; font-size: 2rem; margin-bottom: 6px; }

/* ---------- Session table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.sched { width: 100%; border-collapse: collapse; background: #fff; }
table.sched th, table.sched td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.sched thead th { background: var(--navy); color: #fff; font-size: 0.85rem; letter-spacing: 0.04em; }
table.sched tbody tr:last-child td { border-bottom: 0; font-weight: 700; background: var(--tint); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--gold);
  color: var(--navy-deep); font-weight: 800; display: grid; place-items: center;
}
.step h3 { margin: 4px 0 2px; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 2px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-deep); font-size: 1.4rem; font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- Coach / mentor profiles ---------- */
.profile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); text-align: center;
}
.profile .avatar {
  height: 180px; background: linear-gradient(135deg, var(--navy), var(--green));
  display: grid; place-items: center; color: rgba(255,255,255,.7); font-weight: 800; font-size: 2.4rem;
}
.profile-body { padding: 20px; }
.profile-body h3 { margin-bottom: 2px; }
.profile-body .meta { color: var(--gold-deep); font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; }
.profile-body p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ---------- Callout / CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd8e8; max-width: 52ch; margin: 0 auto 24px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-outline { color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Notices / illustrative labels ---------- */
.note-illustrative {
  display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--gold-deep);
  background: #fbf1d6; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.safety-box {
  background: var(--green-soft); border: 1px solid #cfe6d6; border-left: 5px solid var(--green);
  border-radius: var(--radius); padding: 24px 26px;
}
.safety-box h3 { color: var(--green); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,36,63,0.12);
}
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebbcf; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 36px; }
.footer-bottom a { display: inline; padding: 0; color: #aebbcf; }
.footer-bottom a:hover { color: var(--gold); }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer a { color: #aebbcf; display: block; padding: 5px 0; font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-brand p { color: #8697b0; max-width: 34ch; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.82rem; color: #7788a0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .field.two { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  .section { padding: 52px 0; }
  .hero-inner { padding-left: 24px; padding-right: 24px; }

  /* Session table → stacked rows: time + segment on top, focus full-width below */
  table.sched thead { display: none; }
  table.sched, table.sched tbody, table.sched tr, table.sched td { display: block; width: auto; }
  table.sched tr {
    display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline;
    padding: 16px 18px; border-bottom: 1px solid var(--line);
  }
  table.sched tbody tr:last-child { border-bottom: 0; background: var(--tint); }
  table.sched td { padding: 0; border-bottom: 0; }
  table.sched tbody tr:last-child td { background: none; }
  table.sched tbody tr:last-child td:nth-child(3) { font-weight: 400; }
  table.sched td:nth-child(1) {
    color: var(--gold-deep); font-weight: 700; font-size: 0.8rem;
    letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  }
  table.sched td:nth-child(2) { color: var(--navy); font-weight: 700; }
  table.sched td:nth-child(3) { grid-column: 1 / -1; margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
}
