/* ============================================================
   Applied Performance PT — Site Stylesheet
   Brand: Navy #032543 · Green #099c5f · Montserrat / Poppins
   ============================================================ */
/* ---------- Self-hosted fonts (no external dependency) ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); }

:root {
  --navy: #032543;
  --navy-90: rgba(3, 37, 67, 0.9);
  --green: #099c5f;
  --green-dark: #077a4b;
  --ink: #1a2733;
  --muted: #5a6b7a;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --bg-green-tint: #eef8f3;
  --line: #dde5ea;
  --radius: 8px;
  --shadow: 0 4px 18px rgba(3, 37, 67, 0.08);
  --font-head: 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Poppins', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

.container { width: min(1120px, 92%); margin: 0 auto; }
section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.85); }
.section-green-tint { background: var(--bg-green-tint); }

.eyebrow {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
  margin-bottom: 10px;
}
.lead { font-size: 1.05rem; color: var(--muted); max-width: 760px; }
.section-navy .lead { color: rgba(255,255,255,0.8); }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 5px; text-decoration: none;
  transition: all 0.18s ease; cursor: pointer; border: 2px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #06375f; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(3,37,67,0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--navy); text-transform: uppercase;
}
.main-nav a:hover, .main-nav a.active { color: var(--green); text-decoration: none; }
.main-nav .btn { padding: 11px 22px; font-size: 0.78rem; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2.5px; background: var(--navy);
  border-radius: 2px; position: absolute; left: 9px; transition: all 0.2s;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(to right, rgba(3,37,67,0.93), rgba(3,37,67,0.72)), var(--navy);
  color: #fff; padding: 90px 0;
}
.hero h1 { color: #fff; max-width: 780px; margin-bottom: 20px; }
.hero p { font-size: 1.08rem; color: rgba(255,255,255,0.88); max-width: 700px; margin-bottom: 32px; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* Light, welcoming hero variant */
.hero-light {
  background: linear-gradient(180deg, var(--bg-green-tint) 0%, #ffffff 100%);
  padding: 90px 0;
}
.hero-light h1 { color: var(--navy); max-width: 760px; margin-bottom: 20px; }
.hero-light p { font-size: 1.08rem; color: var(--muted); max-width: 680px; margin-bottom: 32px; }
.hero-light .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-light .hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--muted); }

/* How it works steps */
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green);
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* Page hero (interior pages) */
.page-hero { background: linear-gradient(to right, rgba(3,37,67,0.95), rgba(3,37,67,0.8)), var(--navy); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 740px; }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  border: 1.5px solid var(--navy); color: var(--navy); font-size: 0.85rem;
  font-weight: 500; padding: 9px 20px; border-radius: 6px; background: #fff;
}
.badge-solid { background: var(--navy); color: #fff; }
.badge-green { border-color: var(--green); color: var(--green); }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card .price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--green); margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--muted); }
.card .btn { margin-top: 16px; }

.card-dark {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius); padding: 20px 22px;
}
.card-dark h3 { color: var(--green); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.card-dark p { font-size: 0.92rem; color: rgba(255,255,255,0.85); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; }
.checklist li { padding: 8px 0 8px 32px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; color: var(--green);
  font-weight: 700; font-size: 1.05rem;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.rate-table, table.compare-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.rate-table th, .rate-table td, .compare-table th, .compare-table td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.rate-table th, .compare-table th { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }
.rate-table tr:last-child td, .compare-table tr:last-child td { border-bottom: none; }
.rate-table td.price-cell { font-family: var(--font-head); font-weight: 700; color: var(--green); white-space: nowrap; }
.rate-table tr:nth-child(even) td { background: var(--bg-soft); }
.compare-table td:first-child { font-weight: 600; color: var(--navy); background: var(--bg-soft); white-space: nowrap; }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.team-photo-fallback {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius); margin-bottom: 16px;
  background: linear-gradient(135deg, var(--navy), #06375f); display: flex;
  align-items: center; justify-content: center; font-family: var(--font-head);
  font-size: 3rem; font-weight: 800; color: var(--green);
}
.best-for { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.credentials { font-size: 0.82rem; color: var(--muted); font-weight: 500; margin-bottom: 10px; }

/* ---------- FAQ Accordion ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 52px 18px 22px; font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; color: var(--navy); position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--green); font-weight: 400; transition: transform 0.2s;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Callout band ---------- */
.callout-band { background: var(--green); color: #fff; padding: 34px 0; }
.callout-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.callout-band h3 { color: #fff; font-size: 1.1rem; }
.callout-band p { font-size: 0.95rem; color: rgba(255,255,255,0.92); max-width: 720px; }
.callout-band .btn { background: #fff; color: var(--green); flex-shrink: 0; }

/* ---------- CTA band (pre-footer, every page) ---------- */
.cta-band { background: var(--navy); text-align: center; padding: 70px 0; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 640px; margin: 0 auto 28px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .sub-links { margin-top: 20px; font-size: 0.88rem; }
.cta-band .sub-links a { color: rgba(255,255,255,0.75); text-decoration: underline; margin: 0 10px; }
.cta-band .sub-links a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #021a30; color: rgba(255,255,255,0.75); padding: 56px 0 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--green); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-brand img { height: 54px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
address { font-style: normal; line-height: 1.8; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 18px 4%; gap: 16px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(3,37,67,0.12);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero, .hero-light { padding: 64px 0; }
  .callout-band .container { flex-direction: column; align-items: flex-start; }
}
