/* =============================================
   St Albans Neuro Physio — Main Stylesheet
   Brand: Warm teal (#0D9488) + coral (#F97066)
   Font: Plus Jakarta Sans
   ============================================= */

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

:root {
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-light: #CCFBF1;
  --teal-pale: #F0FDFA;
  --coral: #F97066;
  --coral-dark: #E05252;
  --slate: #1E293B;
  --slate-muted: #64748B;
  --warm-white: #FFFBF5;
  --cream: #FFF7ED;
  --cream-dark: #FEF3C7;
  --border: #E2E8F0;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; display: block; }

/* ---- Layout ---- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-cream { background: var(--cream); }
.section-teal { background: var(--teal); color: white; }

/* ---- Typography ---- */
.teal { color: var(--teal); }
.section-title { font-size: clamp(28px, 4vw, 38px); font-weight: 700; text-align: center; margin-bottom: 14px; }
.section-title.light { color: white; }
.section-sub { text-align: center; color: var(--slate-muted); font-size: 17px; max-width: 560px; margin: 0 auto 48px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: white; }
.btn-coral {
  background: var(--coral);
  color: white;
  border-color: var(--coral);
}
.btn-coral:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: white; }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: white; }
.btn-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); color: white; }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
}
.logo-dark { font-size: 14px; font-weight: 700; color: var(--slate); }
.logo-teal { font-size: 16px; font-weight: 800; color: var(--teal); }
.logo-light { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.8); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--teal-pale); color: var(--teal); }
.nav-links .nav-cta {
  background: var(--teal);
  color: white !important;
  padding: 9px 18px;
  border-radius: 9999px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--teal-dark); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--slate); border-radius: 2px; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--teal-pale) 60%, #E0F2F1 100%);
  padding: 80px 0 64px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--slate);
}
.hero-sub {
  font-size: 18px;
  color: var(--slate-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-muted);
}
.trust-icon { color: var(--teal); font-weight: 700; }
.hero-image { display: flex; justify-content: center; }
.hero-img-placeholder {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--teal-light), #B2DFDB);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  font-size: 15px;
  text-align: center;
  gap: 8px;
  box-shadow: var(--shadow);
}
.hero-img-placeholder p:first-child { font-size: 48px; }

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card-icon { font-size: 32px; margin-bottom: 16px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--slate); }
.card p { color: var(--slate-muted); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.card-arrow { font-size: 14px; font-weight: 600; color: var(--teal); }

/* ---- About split ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap { display: flex; justify-content: center; }
.about-img-placeholder {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--cream-dark), #FED7AA);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #92400E;
  font-size: 15px;
  text-align: center;
  gap: 8px;
  box-shadow: var(--shadow);
}
.about-img-placeholder p:first-child { font-size: 48px; }
.about-text h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; line-height: 1.25; margin-bottom: 20px; }
.about-text p { color: var(--slate-muted); margin-bottom: 16px; font-size: 16px; }
.about-text strong { color: var(--slate); }
.about-text .btn { margin-top: 8px; }

/* ---- Why grid ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 12px;
}
.why-item h3 { font-size: 17px; font-weight: 700; color: white; margin: 12px 0 8px; }
.why-item p { font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.6; }
.why-icon { font-size: 36px; }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.stars { color: #F59E0B; font-size: 18px; margin-bottom: 12px; }
.testimonial p { font-size: 15px; color: var(--slate); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-size: 13px; font-weight: 600; color: var(--slate-muted); }
.testimonials-note { text-align: center; font-size: 12px; color: var(--slate-muted); margin-top: 24px; }

/* ---- CTA Banner ---- */
.cta-banner { background: var(--slate); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: 28px; font-weight: 700; color: white; margin-bottom: 6px; }
.cta-inner p { color: rgba(255,255,255,0.75); font-size: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Areas ---- */
.areas-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 12px 0 20px; }
.area-tag {
  background: var(--teal-pale);
  color: var(--teal-dark);
  border: 1px solid var(--teal-light);
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
}
.areas-note { text-align: center; font-size: 15px; color: var(--slate-muted); }
.areas-note a { color: var(--teal); font-weight: 500; }

/* ---- Footer ---- */
.footer { background: #0F172A; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 14px; color: rgba(255,255,255,0.6); }
.footer-legal { font-size: 12px !important; margin-top: 8px !important; }
.footer-links h4, .footer-contact h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-links a:hover { color: var(--teal-light); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: var(--teal-light); }
.footer-hours { font-size: 13px !important; color: rgba(255,255,255,0.5) !important; margin-top: 8px !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); text-align: center; }
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--teal-pale) 0%, var(--cream) 100%);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--teal-light);
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; max-width: 640px; }
.page-hero p { font-size: 18px; color: var(--slate-muted); max-width: 560px; line-height: 1.65; }

/* ---- Content pages ---- */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  padding: 64px 0;
}
.content-body h2 { font-size: 26px; font-weight: 700; margin: 36px 0 14px; color: var(--slate); }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { font-size: 20px; font-weight: 600; margin: 28px 0 10px; color: var(--teal); }
.content-body p { color: var(--slate-muted); margin-bottom: 16px; font-size: 16px; line-height: 1.7; }
.content-body ul { margin: 0 0 20px 20px; }
.content-body ul li { color: var(--slate-muted); margin-bottom: 8px; font-size: 16px; line-height: 1.6; }
.content-body strong { color: var(--slate); }

.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 88px;
}
.sidebar-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.sidebar-card p { font-size: 14px; color: var(--slate-muted); margin-bottom: 20px; }
.sidebar-card .btn { width: 100%; text-align: center; justify-content: center; margin-bottom: 10px; }
.sidebar-rate {
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.sidebar-rate .rate-label { font-size: 12px; color: var(--slate-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.sidebar-rate .rate-price { font-size: 24px; font-weight: 700; color: var(--teal); margin: 4px 0 2px; }
.sidebar-rate .rate-desc { font-size: 13px; color: var(--slate-muted); }

/* ---- About page ---- */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.credential-item {
  background: var(--cream);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border);
}
.credential-item .cred-icon { font-size: 24px; margin-bottom: 8px; }
.credential-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.credential-item p { font-size: 13px; color: var(--slate-muted); margin: 0; }

/* ---- Areas page ---- */
.area-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.area-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.area-card h3 { font-size: 17px; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.area-card p { font-size: 14px; color: var(--slate-muted); }

/* ---- Contact / FAQ page ---- */
.faq-list { margin-top: 12px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 17px; font-weight: 600; color: var(--slate); margin-bottom: 8px; }
.faq-item p { font-size: 15px; color: var(--slate-muted); line-height: 1.65; }
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--slate);
  background: var(--warm-white);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--teal);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-disclaimer { font-size: 13px; color: var(--slate-muted); margin-top: 12px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner, .about-split { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-img-placeholder, .about-img-placeholder { max-width: 300px; margin: 0 auto; aspect-ratio: 1; }
  .cards-grid, .testimonials-grid, .why-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .area-cards, .credentials-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 12px 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 0 40px; }
  .footer-inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .area-cards, .credentials-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
