/* FIT Physical Therapy of Florida — mobile-first stylesheet */

:root {
  --teal-deep: #0f4c4c;
  --teal: #146457;
  --teal-light: #e4f0ec;
  --sand: #faf8f3;
  --gold: #c98a3e;
  --ink: #1d2a28;
  --gray: #5b6864;
  --border: #dde5e0;
  --radius: 12px;
  --font-head: 'Lora', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 0.55em;
  font-weight: 600;
  color: var(--teal-deep);
}
.section-inner { max-width: 1120px; margin: 0 auto; padding: 4rem 1.25rem; }
.eyebrow {
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 0.6rem;
}
.section-lead { max-width: 680px; color: var(--gray); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.7rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #b3782f; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.contact .btn-outline { border-color: var(--teal-deep); color: var(--teal-deep); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-deep);
  text-decoration: none;
}
.logo span { font-weight: 500; color: var(--teal); }

.main-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.main-nav.open { max-height: 320px; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.main-nav a:hover { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.phone-pill {
  display: none;
  background: var(--teal-deep);
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--teal-deep); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero — CSS-only pattern (no source photos available) */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--teal-deep) 0%, var(--teal) 55%, #1c7a68 100%);
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 2px, transparent 2px),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 60px, transparent 61px),
    radial-gradient(circle at 75% 80%, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 90px, transparent 91px);
  background-size: 40px 40px, 100% 100%, 100% 100%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.25rem 4.5rem;
  color: #fff;
  text-align: center;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.1rem); margin-bottom: 0.6rem; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* About / team */
.about { background: var(--sand); }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-deep);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-title { color: var(--gold); font-weight: 600; font-size: 0.88rem; margin: 0 0 0.6rem; }
.team-card p:not(.team-title) { color: var(--gray); font-size: 0.95rem; margin: 0; }

/* Services */
.services { background: var(--teal-light); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--gray); margin: 0 0 0.6rem; }
.price { color: var(--teal-deep) !important; font-weight: 600; }
.price-note { font-size: 0.85rem; color: var(--gray) !important; font-style: italic; }

/* Conditions */
.conditions { background: var(--sand); }
.tag-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tag-list li {
  background: #fff;
  border: 1.5px solid var(--teal);
  color: var(--teal-deep);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
}

/* Contact */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.contact-list a { color: var(--teal); text-decoration: none; font-weight: 600; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,0.8); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.25rem; text-align: center; }
.footer-name { font-family: var(--font-head); color: #fff; font-size: 1.15rem; margin: 0 0 0.5rem; }
.footer-inner a { color: #fff; text-decoration: none; }
.footer-copy { font-size: 0.85rem; margin-top: 0.75rem; opacity: 0.75; }

/* Tablet+ */
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .main-nav { position: static; flex-direction: row; max-height: none; overflow: visible; background: transparent; border-bottom: none; }
  .main-nav a { color: var(--ink); border-top: none; padding: 0.5rem 0.9rem; min-height: auto; }
  .phone-pill { display: inline-flex; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
