/* Physiotherapy Associates — site styles */
:root {
  --background: #fafafd;
  --foreground: #261d3a;
  --card: #ffffff;
  --card-foreground: #261d3a;
  --primary: #7b4ed1;
  --primary-foreground: #fafafd;
  --secondary: #f1ecf7;
  --secondary-foreground: #3e2f5e;
  --muted: #f4eff9;
  --muted-foreground: #6b5e80;
  --accent: #e7daf3;
  --accent-foreground: #3e2f5e;
  --border: #ece4f4;
  --input: #efe8f6;
  --ring: #b59be0;
  --lavender: #c9b6e6;
  --lavender-soft: #f0e8f7;

  --gradient-soft: linear-gradient(135deg, #f4eff9 0%, #e2d3f1 100%);
  --gradient-hero: linear-gradient(160deg, #faf6fd 0%, #dac6ee 100%);
  --shadow-soft: 0 8px 30px -10px rgba(123,78,209,0.18);
  --shadow-glow: 0 20px 60px -20px rgba(123,78,209,0.35);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4, h5 {
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.75);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; border-radius: 8px; }
.brand-text { font-family: "Sora"; font-weight: 600; font-size: 15px; line-height: 1.1; }
.brand-text small { display: block; font-weight: 400; font-size: 11px; color: var(--muted-foreground); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--muted-foreground); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--primary); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; transition: all .2s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.btn-ghost { background: rgba(255,255,255,0.7); border-color: var(--border); color: var(--foreground); }
.btn-ghost:hover { background: #fff; }

/* ---------- Sections ---------- */
section { padding: 0; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* Hero */
.hero { background: var(--gradient-hero); overflow: hidden; }
.hero .grid { display: grid; gap: 48px; padding: 80px 0; }
@media (min-width: 768px) { .hero .grid { grid-template-columns: 1fr 1fr; align-items: center; padding: 112px 0; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.6);
  border-radius: 999px; padding: 6px 14px;
  font-size: 12px; font-weight: 500; color: var(--muted-foreground);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.hero h1 { margin-top: 20px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.hero h1 .accent { color: var(--primary); }
.hero p.lead { margin-top: 22px; font-size: 18px; color: var(--muted-foreground); max-width: 460px; }
.hero .cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img-wrap { position: relative; }
.hero-img-wrap::before {
  content: ""; position: absolute; inset: -16px; border-radius: 32px;
  background: rgba(123,78,209,0.10); filter: blur(40px);
}
.hero-img-wrap img { position: relative; border-radius: 32px; box-shadow: var(--shadow-glow); aspect-ratio: 6/5; object-fit: cover; }

/* Page hero */
.page-hero { padding: 80px 0 32px; }
.page-hero .kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); }
.page-hero h1 { margin-top: 12px; font-size: clamp(40px, 6vw, 60px); }
.page-hero p { margin-top: 20px; font-size: 18px; color: var(--muted-foreground); max-width: 640px; }

/* Cards */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.card.lg { padding: 40px; border-radius: 28px; }
.card:hover { box-shadow: var(--shadow-soft); }
.card .icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--accent); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.card h3 { margin-top: 18px; font-size: 18px; }
.card .body { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); line-height: 1.7; }

.grid-3 { display: grid; gap: 24px; }
.grid-2 { display: grid; gap: 24px; }
.grid-4 { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Bulleted list */
.bullets { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .bullets.cols-2 { grid-template-columns: 1fr 1fr; } }
.bullets li { display: flex; gap: 12px; color: var(--muted-foreground); }
.bullets li::before {
  content: ""; flex: 0 0 6px; height: 6px; width: 6px; border-radius: 50%;
  background: var(--primary); margin-top: 10px;
}

/* Gallery */
.gallery { display: grid; gap: 16px; }
@media (min-width: 768px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery img { border-radius: 28px; box-shadow: var(--shadow-soft); height: 380px; object-fit: cover; width: 100%; }

/* Surface panel */
.panel-soft { background: var(--gradient-soft); border-radius: 28px; padding: 56px; }
.panel-tint { background: rgba(123,78,209,0.05); border: 1px solid var(--border); border-radius: 28px; padding: 48px; text-align: center; }

/* Therapist */
.therapist { display: grid; gap: 48px; }
@media (min-width: 768px) { .therapist { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.therapist .credentials { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .therapist .credentials { grid-template-columns: 1fr 1fr; } }
.cred { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 20px; }
.cred .icon-sm { color: var(--primary); font-size: 18px; }
.cred .label { margin-top: 10px; font-weight: 600; font-size: 14px; }
.cred .sub { margin-top: 4px; font-size: 12px; color: var(--muted-foreground); }

/* Contact info card */
.info { display: flex; align-items: flex-start; gap: 14px; }
.info + .info { margin-top: 18px; }
.info .ico { color: var(--primary); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.info .text { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }

/* Contact form */
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--input);
  background: var(--background); border-radius: 16px;
  padding: 12px 16px; font-size: 14px; font-family: inherit;
  outline: none; transition: box-shadow .2s, border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--ring); box-shadow: 0 0 0 3px rgba(181,155,224,0.3); }
.field + .field { margin-top: 20px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); background: #fff;
  padding: 56px 0 32px; margin-top: 80px;
}
.site-footer .cols { display: grid; gap: 32px; }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-foreground); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted-foreground); }
.site-footer ul a:hover { color: var(--primary); }
.site-footer .bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted-foreground); text-align: center; }

/* Utility */
.text-center { text-align: center; }
.muted { color: var(--muted-foreground); }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; }
.accent { color: var(--primary); }
.wp-block-image img { border-radius: 24px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; color: var(--foreground); cursor: pointer; }
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .site-header { position: relative; }
}
