/* Advanced Exercise Therapy and Fitness LLC — clean, clinical, calm */

:root {
  --navy: #1e3a5f;
  --navy-dark: #142a46;
  --green: #3d8b4f;
  --green-dark: #2f6f3e;
  --orange: #e07b2e;
  --orange-dark: #c6661f;
  --ink: #2d3748;
  --muted: #5a6b82;
  --bg: #ffffff;
  --bg-alt: #f2f6fa;
  --border: #dbe4ee;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--green) 55%, var(--orange) 100%);
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #cdd9e8;
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.topbar-phone {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-phone:hover { color: var(--orange); }

.topbar-note {
  font-weight: 700;
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-logo {
  height: 270px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.main-nav a:hover { color: var(--green-dark); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
}

.nav-cta:hover { background: var(--green-dark); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 50% -12%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 62%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 48%, #2f6b45 100%);
  color: #fff;
  text-align: center;
  padding: 88px 0;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-tagline {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #cfe8b8;
  margin-bottom: 18px;
}

.tagline {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 34px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: #fff;
  color: var(--navy);
}

.btn-primary:hover { background: #eef3f8; }

.btn-accent {
  background: linear-gradient(180deg, #489e5c 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 111, 62, 0.4);
}

.btn-accent:hover { background: var(--green-dark); }

.btn-accent-dark {
  background: var(--green);
  color: #fff;
}

.btn-accent-dark:hover { background: var(--green-dark); }

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Split hero ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 840px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.hero-copy .tagline {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy .hero-buttons { justify-content: center; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Dark feature band ---------- */
.section-dark {
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #2f6b45 130%);
  color: #fff;
}

.section.section-dark h2 { color: #fff; }

.section.section-dark h2::after {
  background: linear-gradient(90deg, var(--orange), var(--green));
}

.section-dark .section-intro { color: #cdd9e8; }

.section-dark .pricing-note { color: #cdd9e8; }

.section-dark .pricing-note strong { color: #fff; }

.section h2 {
  color: var(--navy);
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 12px;
}

.section h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--orange));
}

.section-intro {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(30, 58, 95, 0.13);
}

.card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Research ---------- */
.research-grid {
  display: grid;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.research-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--navy);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(30, 58, 95, 0.13);
}

.research-grid .research-card:nth-child(2) { border-left-color: var(--green); }
.research-grid .research-card:nth-child(3) { border-left-color: var(--orange); }
.research-grid .research-card:nth-child(4) { border-left-color: var(--green-dark); }

.research-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.research-card p {
  color: var(--ink);
  font-size: 1.02rem;
}

.research-link { margin-top: 16px; }

.research-link a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.research-link a:hover { text-decoration: underline; }

/* ---------- Review CTA + star input ---------- */
.review-cta {
  text-align: center;
  margin-top: 44px;
}

.review-cta p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.star-input {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.star-input button {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #cfd6e2;
  cursor: pointer;
  padding: 2px;
}

.star-input button.lit { color: #f0a020; }

.star-input button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Between-session support ---------- */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}

.support-text p { margin-bottom: 18px; font-size: 1.05rem; }
.support-text p:last-child { margin-bottom: 0; }

.story-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(30, 58, 95, 0.13);
}

.story-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.story-card p { color: var(--ink); font-size: 1.0rem; }

/* ---------- Payment notes ---------- */
.pricing-note {
  text-align: center;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- About ---------- */
.bio {
  max-width: 860px;
  margin: 0 auto 44px;
}
.bio p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: var(--ink);
}

.philosophy {
  margin: 30px 0 0;
  padding: 28px 30px;
  background: #eef7ee;
  border: 1px solid var(--border);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
}

.philosophy p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 10px;
}

.philosophy cite {
  font-style: normal;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.98rem;
}

.credentials {
  list-style: none;
  display: grid;
  gap: 16px;
}

.credentials-standalone {
  max-width: 900px;
  margin: 0 auto;
}

.credentials li {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 1.02rem;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.credentials li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(30, 58, 95, 0.12);
}

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #eef3f8;
  border: 2px dashed #9fb3c8;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 600;
  padding: 24px;
}

.photo-placeholder span {
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.photo-portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.photo-landscape {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

/* ---------- Testimonials ---------- */
.testimonial-cards { margin-bottom: 8px; }

.testimonial-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
}

.testimonial-card::before { display: none; }

.t-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px dashed #9fb3c8;
  background: #eef3f8;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.t-stars {
  color: #f5a623;
  font-size: 1.25rem;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 1.02rem !important;
  color: var(--muted) !important;
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-box {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
}

.free-consult-box {
  background: #eef7ee;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 26px;
}

.free-consult-box p { color: var(--navy); font-size: 1.08rem; margin-bottom: 4px; }
.free-consult-box p:last-child { margin-bottom: 0; }

.contact-line { margin-bottom: 12px; font-size: 1.05rem; }
.contact-line a { color: var(--navy); font-weight: 600; }
.contact-line a:hover { color: var(--green-dark); }

.contact-box .hero-buttons { margin-top: 24px; }

.contact-box .btn-primary {
  background: var(--navy);
  color: #fff;
}

.contact-box .btn-primary:hover { background: var(--navy-dark); }

.contact-box .btn-secondary {
  color: var(--navy);
  border-color: var(--navy);
}

.contact-box .btn-secondary:hover { background: rgba(30, 58, 95, 0.06); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #cdd9e8;
  padding: 40px 0;
  border-top: 5px solid var(--orange);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  height: 210px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  flex-shrink: 0;
}

.footer-text p { margin-bottom: 6px; font-size: 0.95rem; }

.footer-text a { color: #fff; }

.copyright { opacity: 0.7; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }

  .header-inner { flex-direction: column; gap: 12px; }

  .brand-logo { height: 135px; }

  .main-nav { flex-wrap: wrap; justify-content: center; gap: 14px; }

  .hero { padding: 64px 0; }
  .hero h1 { font-size: 1.9rem; }
  .hero-tagline { font-size: 1.1rem; letter-spacing: 1px; }
  .tagline { font-size: 1.05rem; }

  .section { padding: 52px 0; }

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

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

  .photo-row { grid-template-columns: 1fr; }

  .research-card { padding: 26px 22px; }

  .hero-split { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-copy .tagline { margin-left: auto; margin-right: auto; }
  .hero-copy .hero-buttons { justify-content: center; }

  .testimonial-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 10px;
  }
  .testimonial-cards .testimonial-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Booking modal ---------- */
.booking-overlay { position: fixed; inset: 0; background: rgba(20,42,70,.68); display: flex; align-items: center; justify-content: center; z-index: 300; padding: 1rem; }
.booking-overlay[hidden] { display: none; }
.booking-modal { background: #fff; border-radius: 18px; max-width: 560px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 2rem 2rem 1.5rem; position: relative; box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.booking-close { position: absolute; top: 10px; right: 16px; background: none; border: none; font-size: 2rem; line-height: 1; color: var(--muted); cursor: pointer; }
.booking-close:hover { color: var(--navy); }
.booking-modal h3 { margin: 0 0 .25rem; color: var(--navy); font-size: 1.45rem; }
.booking-sub { color: var(--muted); margin: 0 0 1.25rem; }
.booking-field { margin-bottom: .95rem; }
.booking-field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .3rem; font-size: .95rem; }
.booking-field input, .booking-field select, .booking-field textarea { width: 100%; padding: .65rem .8rem; border: 1.5px solid var(--border); border-radius: var(--radius); font: inherit; color: var(--ink); background: #fff; }
.booking-field input:focus, .booking-field select:focus, .booking-field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(61,139,79,.15); }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.booking-submit { width: 100%; margin-top: .25rem; }
.booking-error { color: #b3261e; font-weight: 600; margin: 0 0 .75rem; }
.booking-footnote { text-align: center; color: var(--muted); margin: 1rem 0 0; }
.booking-success { text-align: center; padding: 2rem 0; }
.booking-success p { color: var(--muted); margin: .5rem 0 1.25rem; }
body.no-scroll { overflow: hidden; }
@media (max-width: 560px) {
  .booking-row { grid-template-columns: 1fr; }
  .booking-modal { padding: 1.5rem 1.25rem 1.25rem; }
}
