/* ==========================================================================
   Stride Rehab — Design tokens
   ========================================================================== */
:root {
  --teal: #1B5E56;
  --teal-dark: #123F3A;
  --navy: #16324A;
  --gold: #D9A441;
  --gold-light: #F1C97C;
  --pale: #EFF4F1;
  --pale-line: #D8E3DF;
  --charcoal: #2B3532;
  --gray: #6C7A76;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --container: 1160px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(22, 50, 74, 0.06);
  --shadow-md: 0 12px 32px rgba(22, 50, 74, 0.12);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.section-pale { background: var(--pale); }
.section-teal { background: linear-gradient(155deg, var(--teal) 0%, var(--navy) 100%); color: var(--white); }
.section-teal h2, .section-teal h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--gray); font-size: 1.05rem; }
.section-teal .section-head p { color: #D8E9E4; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pale-line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: 34px; }
.brand .word { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--teal); }
.brand .word span { font-family: var(--font-body); font-weight: 400; color: var(--navy); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--pale); color: var(--teal); }
.nav-links a.active { color: var(--teal); background: var(--pale); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--navy); font-size: 0.94rem; }
.nav-phone svg { width: 16px; height: 16px; color: var(--teal); }

.nav-toggle {
  display: none; background: none; border: none; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-phone-text { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu {
    display: none;
    flex-direction: column;
    padding: 10px 24px 24px;
    border-top: 1px solid var(--pale-line);
    background: var(--white);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    padding: 14px 4px; font-weight: 600; color: var(--navy);
    border-bottom: 1px solid var(--pale-line);
  }
  .mobile-menu .btn { margin-top: 16px; }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
  background: var(--pale);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-top: 14px;
}
.hero h1 .accent { color: var(--gold); }
.hero p.lede {
  margin-top: 20px; font-size: 1.15rem; color: var(--charcoal); max-width: 46ch;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px;
}
.hero-trust span {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.86rem; font-weight: 600; color: var(--navy);
}
.hero-trust span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}

.hero-strideline {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.12;
}

/* ==========================================================================
   Placeholder photo blocks (no AI imagery — swap for real photography)
   ========================================================================== */
.placeholder-photo {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(155deg, rgba(27,94,86,0.94) 0%, rgba(22,50,74,0.94) 100%);
  aspect-ratio: 4 / 5;
  display: flex; align-items: flex-end;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.placeholder-photo.wide { aspect-ratio: 16 / 10; }
.placeholder-photo.square { aspect-ratio: 1 / 1; }
.placeholder-photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M24,150 C34,120 54,116 64,134 C74,152 92,102 112,100 C132,98 148,54 168,52' fill='none' stroke='%23FFFFFF' stroke-width='7' stroke-linecap='round' stroke-linejoin='round' opacity='0.16'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 62%;
}
.placeholder-photo .tag {
  position: relative;
  margin: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  color: #EAF2EF;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.placeholder-photo .tag svg { width: 14px; height: 14px; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--pale-line);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--pale); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-badge svg { width: 22px; height: 22px; color: var(--teal); }
.card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 0.96rem; }

.step {
  position: relative;
  padding-left: 0;
}
.step .num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem;
  color: var(--gold); line-height: 1; margin-bottom: 14px; display: block;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.96rem; }

/* ==========================================================================
   Funding / service pills
   ========================================================================== */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 9px 16px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--pale-line); font-size: 0.86rem; font-weight: 600; color: var(--navy);
}
.section-teal .pill { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: var(--white); }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--teal) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); max-width: 32ch; }
.cta-banner .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--pale-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .form-card { padding: 24px; } }

.form-section + .form-section { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--pale-line); }
.form-section h3 {
  font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal); margin-bottom: 20px; font-family: var(--font-body); font-weight: 700;
}

.field { margin-bottom: 20px; }
.field label {
  display: block; font-weight: 700; font-size: 0.84rem; color: var(--navy);
  margin-bottom: 7px;
}
.field .hint { font-weight: 400; color: var(--gray); font-size: 0.8rem; margin-left: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--pale-line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal);
  outline: none;
}
.field textarea { resize: vertical; min-height: 100px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
@media (max-width: 600px) { .check-grid { grid-template-columns: 1fr; } }
.check-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border: 1.5px solid var(--pale-line); border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.check-item:hover { border-color: var(--teal); background: var(--pale); }
.check-item input { width: 17px; height: 17px; accent-color: var(--teal); flex-shrink: 0; }

.radio-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill label {
  display: inline-flex; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--pale-line); font-weight: 600; font-size: 0.88rem;
  color: var(--navy); cursor: pointer; transition: all 0.15s ease;
}
.radio-pill input:checked + label { background: var(--teal); border-color: var(--teal); color: var(--white); }
.radio-pill input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }

.form-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--pale); border-radius: var(--radius-sm); padding: 14px 16px;
  font-size: 0.86rem; color: var(--navy); margin-top: 22px;
}
.form-note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal); margin-top: 1px; }

.form-success {
  display: none;
  text-align: center;
  padding: 50px 20px;
}
.form-success.show { display: block; }
.form-success .check-circle {
  width: 60px; height: 60px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.form-success .check-circle svg { width: 28px; height: 28px; color: var(--white); }
.form-success h3 { font-size: 1.3rem; margin-bottom: 10px; }
.form-success p { color: var(--gray); max-width: 42ch; margin: 0 auto; }

/* ==========================================================================
   Download cards (referral forms / fee schedule)
   ========================================================================== */
.doc-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--pale-line); border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.doc-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.doc-card .doc-icon {
  width: 48px; height: 48px; border-radius: 10px; background: var(--pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.doc-card .doc-icon svg { width: 22px; height: 22px; color: var(--teal); }
.doc-card .doc-meta h4 { font-size: 1rem; margin-bottom: 3px; color: var(--navy); font-family: var(--font-body); font-weight: 700; }
.doc-card .doc-meta p { font-size: 0.82rem; color: var(--gray); }
.doc-card .doc-arrow { width: 18px; height: 18px; margin-left: auto; color: var(--teal); flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #C9D8D3; padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand .word { color: var(--white); }
.footer-brand .brand .word span { color: #C9D8D3; }
.footer-brand p { margin-top: 14px; font-size: 0.9rem; color: #A9C2BB; max-width: 32ch; }
.footer-col h4 {
  color: var(--white); font-family: var(--font-body); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.92rem; color: #C9D8D3; transition: color 0.15s ease; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: 0.82rem; color: #8FA6A0; flex-wrap: wrap; gap: 10px;
}

/* ==========================================================================
   Misc page header (About / Referrers / Contact)
   ========================================================================== */
.page-hero {
  background: var(--pale);
  padding: 64px 0 56px;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 12px; }
.page-hero p { margin-top: 16px; font-size: 1.08rem; color: var(--charcoal); max-width: 60ch; }
.breadcrumb { font-size: 0.84rem; color: var(--gray); margin-bottom: 4px; }
.breadcrumb a:hover { color: var(--teal); }

.value-card { text-align: left; }

.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.5;
}

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.two-col.reverse .col-media { order: 2; }
@media (max-width: 900px) { .two-col.reverse .col-media { order: 0; } }

.badge-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.badge-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; }
.badge-list li svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

.area-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.area-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--pale-line); font-weight: 600; font-size: 0.9rem; color: var(--navy);
}
.area-chip svg { width: 15px; height: 15px; color: var(--gold); }

.map-placeholder {
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--pale-line);
  aspect-ratio: 16/11;
  position: relative;
  overflow: hidden;
}
.map-placeholder svg.pattern { position: absolute; inset: 0; width: 100%; height: 100%; }

.contact-info-card {
  background: var(--white); border: 1px solid var(--pale-line); border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-info-card .row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--pale-line); }
.contact-info-card .row:last-child { border-bottom: none; }
.contact-info-card .row .ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-card .row .ic svg { width: 18px; height: 18px; color: var(--teal); }
.contact-info-card .row h4 { font-size: 0.85rem; color: var(--gray); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.contact-info-card .row p, .contact-info-card .row a { font-size: 1rem; color: var(--navy); font-weight: 600; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: white;
  padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
