/* BD Physical Therapy — Wicked Fast Web redesign
   Palette: deep teal + warm coral (health/movement, no red/maroon hero wash — photo-free build)
   Type: Newsreader (headings) + Manrope (body) */

:root {
  --teal-deep: #0e3934;
  --teal-deeper: #092824;
  --teal: #1f6f63;
  --teal-mid: #2f8a7c;
  --teal-pale: #e8f2ef;
  --sand: #faf6ee;
  --sand-dark: #f0e8d8;
  --coral: #e2673f;
  --coral-dark: #c1502c;
  --ink: #1c2b27;
  --slate: #5c6f68;
  --line: rgba(28, 43, 39, 0.12);
  --font-head: 'Newsreader', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h: 78px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--teal-deeper);
}

a { color: var(--teal); }
a:hover { color: var(--coral); }

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.section-lede {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ---------- Navbar ---------- */
.navbar {
  min-height: var(--nav-h);
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--teal-deeper) !important;
}

.navbar-brand img { height: 34px; width: auto; }

.navbar .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink) !important;
  padding: 0.5rem 0.85rem !important;
}

.navbar .nav-link:hover { color: var(--coral-dark) !important; }

.navbar .nav-link.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-call {
  background: var(--coral);
  border: none;
  color: #fff !important;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-call:hover { background: var(--coral-dark); color: #fff !important; }

/* ---------- Hero (split-panel: brand panel + real sign photo) ---------- */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 90vh;
  padding-top: var(--nav-h);
}

@media (min-width: 992px) {
  .hero { flex-direction: row; min-height: 88vh; }
}

.hero-panel {
  flex: 1 1 54%;
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 15% 15%, rgba(47, 138, 124, 0.5) 0%, rgba(47, 138, 124, 0) 60%),
    linear-gradient(155deg, var(--teal-deeper) 0%, var(--teal-deep) 60%, var(--teal) 100%);
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='2'%3E%3Cpath d='M-50 420 C 120 350, 180 500, 340 430 S 620 370, 700 440'/%3E%3Cpath d='M-50 480 C 120 410, 180 560, 340 490 S 620 430, 700 500'/%3E%3Cpath d='M-50 540 C 120 470, 180 620, 340 550 S 620 490, 700 560'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 900px;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

@media (min-width: 992px) {
  .hero-content { padding: 2rem 3.5rem 2rem 4rem; margin: 0; }
}

.hero-photo {
  flex: 1 1 46%;
  min-height: 280px;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-style: italic;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-hero-primary {
  background: var(--coral);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem;
}

.btn-hero-primary:hover { background: var(--coral-dark); color: #fff; }

.btn-hero-secondary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--teal-deeper);
}

.stat-cell {
  text-align: center;
  padding: 2.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-cell:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #fff;
  margin-bottom: 0.3rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Approach ---------- */
.approach-quote {
  border-left: 3px solid var(--coral);
  padding-left: 1.5rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--teal-deeper);
  line-height: 1.5;
}

/* ---------- Services / Specialties ---------- */
.bg-teal-pale { background: var(--teal-pale); }

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  font-weight: 600;
  color: var(--ink);
}

.service-item i {
  color: var(--teal);
  font-size: 1.05rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.specialty-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal-deeper);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin: 0.3rem;
}

.specialty-pill i { color: var(--coral); }

/* ---------- Conditions accordion ---------- */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: 10px !important;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--teal-deeper);
  background: #fff;
}

.accordion-button:not(.collapsed) {
  background: var(--teal-pale);
  color: var(--teal-deeper);
  box-shadow: none;
}

.accordion-button:focus { box-shadow: none; border-color: var(--line); }

.accordion-button::after { flex-shrink: 0; }

.condition-tag {
  display: inline-block;
  background: var(--sand-dark);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  margin: 0.25rem 0.35rem 0.25rem 0;
}

/* ---------- Team ---------- */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem;
  height: 100%;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.col:nth-child(4n+1) .team-avatar { background: var(--teal); }
.col:nth-child(4n+2) .team-avatar { background: var(--coral); }
.col:nth-child(4n+3) .team-avatar { background: var(--teal-deeper); }
.col:nth-child(4n+4) .team-avatar { background: var(--coral-dark); }

.team-name { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 0.1rem; }
.team-title { color: var(--coral-dark); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.team-bio { color: var(--slate); font-size: 0.9rem; line-height: 1.5; }

/* ---------- First Visit ---------- */
.step-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--line);
  position: relative;
}

.step-number {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--teal-pale);
  -webkit-text-stroke: 1.5px var(--teal);
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
}

.step-card h4 { margin-top: 1.5rem; margin-bottom: 0.6rem; }
.step-card p { color: var(--slate); font-size: 0.92rem; margin: 0; }

/* ---------- Reviews ---------- */
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
}

.review-stars { color: var(--coral); font-size: 0.95rem; margin-bottom: 0.9rem; }
.review-text { color: var(--ink); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.2rem; }
.review-author { font-weight: 700; color: var(--teal-deeper); font-size: 0.9rem; }
.review-source { color: var(--slate); font-size: 0.8rem; }

/* ---------- Learning center ---------- */
.learning-card {
  background: var(--sand-dark);
  border-radius: 16px;
  padding: 1.8rem;
  height: 100%;
}

.learning-card .eyebrow { display: block; margin-bottom: 0.5rem; }
.learning-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.learning-card p { color: var(--slate); font-size: 0.9rem; margin: 0; }

/* ---------- Contact / Location ---------- */
.contact-section { background: var(--teal-deeper); color: #fff; }
.contact-section .section-lede { color: rgba(255,255,255,0.75); }
.contact-section .eyebrow { color: var(--coral); }
.contact-section h2 { color: #fff; }

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
}

.contact-card i { color: var(--coral); font-size: 1.4rem; margin-bottom: 0.6rem; }
.contact-card h4 { color: #fff; font-size: 1rem; margin-bottom: 0.4rem; }
.contact-card p, .contact-card a { color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; line-height: 1.55; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--coral); }

.town-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin: 0.2rem 0.25rem 0.2rem 0;
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 0;
}

.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--teal-deeper);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 1.5rem;
}

.footer-logo-chip {
  display: inline-flex;
  align-items: center;
  background: var(--sand);
  border-radius: 12px;
  padding: 0.5rem 0.9rem;
  margin-bottom: 1rem;
}

.footer-logo-chip img { height: 32px; width: auto; }

.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

footer.site-footer a { color: rgba(255, 255, 255, 0.68); text-decoration: none; }
footer.site-footer a:hover { color: var(--coral); }

.footer-links li { margin-bottom: 0.5rem; }

.social-row { display: flex; gap: 0.7rem; margin-top: 1rem; }

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-row a:hover { background: var(--coral); border-color: var(--coral); }

.powered-by {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.powered-by a { color: var(--coral); font-weight: 700; }

@media (max-width: 767px) {
  .section { padding: 4rem 0; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-cell:last-child { border-bottom: none; }
}
