/* ===================================================
   Fitness Balance Parkwood — stylesheet
   =================================================== */

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

:root {
  --bg:        #f5f5f4;
  --surface:   #ffffff;
  --text:      #1a1a1a;
  --muted:     #666;
  --accent:    #e85d04;   /* energetic orange */
  --accent-lt: #fff1e6;
  --header-bg: #1f1f1f;  /* near-black charcoal */
  --border:    #e0e0e0;
  --radius:    6px;
  --max-w:     960px;
  --gap:       2.75rem;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
}

/* ---- Layout ---- */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Header ---- */

header {
  background: var(--accent);
  color: #fff;
  padding: 2rem 1.5rem 1.75rem;
}

header .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

header .tagline {
  font-size: 1.05rem;
  opacity: 0.85;
  font-weight: 400;
  color: #fff;
}

/* ---- Main content ---- */

main {
  padding: 3rem 1.5rem calc(var(--gap) * 2);
}

main > section:first-child {
  padding-top: 2rem;
}

section {
  margin-bottom: var(--gap);
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--border);
}

section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* ---- Typography ---- */

h2 {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}

p {
  margin-bottom: 0.9rem;
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
}

li {
  margin-bottom: 0.35rem;
}

/* ---- Links ---- */

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.75;
}

/* ---- About — two-column on desktop ---- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

.about-photo img {
  display: block;
  width: 220px;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

/* ---- Phone CTA ---- */

.phone {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 1rem 0 0.75rem;
}

.phone a {
  color: var(--accent);
  text-decoration: none;
}

.phone a:hover {
  text-decoration: underline;
}

/* ---- Note ---- */

.note {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.75rem;
}

/* ---- NDIS callout ---- */

#ndis {
  background: var(--accent-lt);
  border-left: 4px solid var(--accent);
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
}

/* ---- Credentials — two columns on desktop ---- */

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}

/* ---- Testimonials — 2×2 grid on desktop ---- */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.testimonials-grid blockquote {
  margin: 0;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials-grid blockquote p {
  margin-bottom: 0.75rem;
  font-style: italic;
  color: #333;
}

.testimonials-grid blockquote footer {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: normal;
  background: none;
  padding: 0;
  text-align: left;
}

.testimonials-grid blockquote footer cite {
  font-style: normal;
}

/* ---- Page footer ---- */

footer {
  background: var(--header-bg);
  color: #aaa;
  font-size: 0.8rem;
  padding: 1.5rem 1.5rem;
  text-align: center;
}

footer p {
  color: #aaa;
  margin: 0;
}

/* ---- Responsive — tablet ---- */

@media (max-width: 720px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-photo img {
    width: 160px;
  }
}

/* ---- Responsive — mobile ---- */

@media (max-width: 480px) {
  html { font-size: 16px; }

  header h1 { font-size: 1.6rem; }

  .phone { font-size: 1.4rem; }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    order: -1;
  }

  .about-photo img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
  }

  #ndis {
    padding: 1.25rem 1.25rem;
  }
}
