/* ─────────────────────────────────────────
   PHOENIX FITNESS — BASE STYLES
   Shared across all pages
───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0D2137;
  --navy-mid:   #143352;
  --blue:       #1B5FA8;
  --blue-light: #2E86C1;
  --sky:        #EAF3FB;
  --white:      #FFFFFF;
  --slate:      #F4F8FC;
  --mist:       #D6E8F5;
  --text:       #1A2E3E;
  --text-mid:   #3B556A;
  --text-light: #5C7A90;
  --accent:     #C7973B;
  --serif:      'DM Serif Display', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(13,33,55,0.10);
  --shadow-lg:  0 12px 48px rgba(13,33,55,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
}

/* ─── TYPOGRAPHY ─── */

h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

h2 em { font-style: italic; color: var(--blue-light); }

.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: .8rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 640px;
}

section { padding: 80px 8vw; }

/* ─── BUTTONS ─── */

.btn-primary {
  display: inline-block;
  background: var(--blue-light);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(46,134,193,.4);
}

.btn-primary:hover {
  background: #1a73ad;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46,134,193,.5);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-family: var(--sans);
  font-weight: 500;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: border-color .2s, color .2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue-light);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--blue-light);
  transition: all .2s;
}

.btn-outline:hover {
  background: var(--blue-light);
  color: var(--white);
}

/* ─── NAV ─── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .01em;
}

.nav-logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-links a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.nav-links .nav-cta {
  background: var(--blue-light);
  color: var(--white);
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
  margin-left: 8px;
}

.nav-links .nav-cta:hover { background: #1a73ad; }

/* ─── PAGE HERO (inner pages) ─── */

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1A4A70 100%);
  padding: 72px 8vw 60px;
  color: var(--white);
}

.page-hero .eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  max-width: 680px;
}

.page-hero p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 580px;
  margin-top: 1rem;
}

/* ─── CTA BAND (shared across inner pages) ─── */

.cta-band {
  text-align: center;
  background: var(--sky);
  padding: 80px 8vw;
}

.cta-band h2 { margin-bottom: 1rem; }

.cta-band p {
  color: var(--text-mid);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ─── FOOTER ─── */

footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 52px 8vw 36px;
  font-size: .88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .5rem;
  font-weight: 400;
}

.footer-brand p { color: rgba(255,255,255,.5); line-height: 1.65; }

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  margin-bottom: .55rem;
  transition: color .2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ─── RESPONSIVE ─── */

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
