/* =========================================================
   Praxia Therapy Group — styles
   Self-contained, responsive, accessible. No frameworks.
   ========================================================= */

:root {
  --teal-900: #0b4a16;
  --teal-700: #126e21;
  --teal-600: #1a8a2d;
  --teal-500: #2fa845;
  --teal-50:  #e8f5ea;
  --amber-400:#fbbf24;
  --amber-500:#f59e0b;
  --coral:    #fb7360;
  --coral-50: #fff0ed;
  --sky:      #60c3f7;
  --sky-50:   #eaf8ff;
  --peach-50: #fdf1e3;

  --ink:      #1e293b;
  --ink-soft: #475569;
  --muted:    #64748b;
  --line:     #e2e8f0;
  --bg:       #ffffff;
  --bg-soft:  #f6fbfa;
  --cream:    #fffdf7;

  --radius:   16px;
  --radius-sm:10px;
  --shadow-sm: 0 1px 3px rgba(15, 118, 110, .08), 0 1px 2px rgba(15,23,42,.06);
  --shadow:    0 10px 30px rgba(15, 118, 110, .10), 0 4px 10px rgba(15,23,42,.05);
  --maxw:      1120px;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--teal-900); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--teal-700); }

img, svg { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }

.muted { color: var(--muted); }
.small { font-size: .9rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-600);
  margin: 0 0 .6rem;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--teal-700); color: #fff; padding: .65rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-900); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--teal-700); border-color: #bfe3dd; }
.btn-ghost:hover { background: var(--teal-50); }
.btn-light { background: #fff; color: var(--teal-700); }
.btn-light:hover { background: #f0fdfa; }

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: var(--teal-700); color: #fff; text-align: center;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  padding: .6rem 1rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { border-radius: 0; height: 44px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--teal-900); letter-spacing: -.01em; }
.brand-light { color: var(--teal-600); font-weight: 700; }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.nav-menu a:hover { color: var(--teal-700); }
.nav-menu .btn { color: #fff; }
.nav-menu .btn:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav-toggle-bar { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--teal-900); border-radius: 3px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, var(--cream), var(--bg-soft));
}
.hero-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.hero-blob-1 { width: 480px; height: 480px; top: -160px; left: -160px; background: var(--teal-50); }
.hero-blob-2 { width: 320px; height: 320px; bottom: -140px; right: 6%; background: var(--peach-50); }
.hero-blob-3 { width: 160px; height: 160px; top: 18%; right: 2%; background: var(--sky-50); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero-copy { max-width: 620px; }
.accent-text { color: var(--teal-600); }
.hero-copy .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.hero-badges li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.hero-badges li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 800; }

.hero-photo-frame { position: relative; }
.hero-photo-frame img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: 58% 42% 51% 49% / 44% 39% 61% 56%;
  box-shadow: var(--shadow);
}
.dot { position: absolute; border-radius: 50%; z-index: -1; }
.dot-amber { width: 90px; height: 90px; background: var(--amber-400); top: -28px; right: 6%; }
.dot-coral { width: 46px; height: 46px; background: var(--coral); bottom: 8%; left: -20px; }

/* ---------- Feature rows (About) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row-reverse .feature-media { order: 2; }
.feature-row-reverse .feature-copy { order: 1; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.feature-copy h3 { color: var(--teal-700); }

/* ---------- Photo banner ---------- */
.photo-banner { position: relative; overflow: hidden; isolation: isolate; padding: clamp(3.5rem, 8vw, 6rem) 0; color: #fff; }
.photo-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-banner-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(15,118,110,.85), rgba(19,78,74,.8)); }
.photo-banner-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.photo-banner h2 { color: #fff; }
.photo-banner p { color: #eaf6f4; margin: 0; font-size: 1.08rem; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 3rem 1.25rem; }
.trust-item { position: relative; padding-top: 3.2rem; }
.trust-item::before {
  content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
}
.trust-item:nth-child(2)::before { background: linear-gradient(135deg, var(--amber-400), var(--amber-500)); }
.trust-item:nth-child(3)::before { background: linear-gradient(135deg, var(--coral), #e85a46); }
.trust-item:nth-child(4)::before { background: linear-gradient(135deg, var(--sky), #2ba9e0); }
.trust-item h3 { color: var(--teal-900); font-size: 1.05rem; margin-bottom: .3rem; }
.trust-item p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.card-title { margin-bottom: .8rem; }
.stat-card { background: linear-gradient(160deg, #fff, var(--teal-50)); }

.check-list { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal-600); font-weight: 800; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service { border-top: 4px solid var(--teal-500); transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.service:nth-child(3n+2) { border-top-color: var(--amber-400); }
.service:nth-child(3n+3) { border-top-color: var(--coral); }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service h3 { color: var(--teal-700); }
.service p { color: var(--ink-soft); margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-700); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: .8rem; }
.step h3 { color: var(--teal-900); }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Banner ---------- */
.banner { background: linear-gradient(135deg, var(--teal-600), var(--teal-900)); color: #fff; }
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.75rem 1.25rem; flex-wrap: wrap; }
.banner h2 { color: #fff; margin-bottom: .3rem; }
.banner p { color: #d3efea; margin: 0; max-width: 52ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .25rem 1.2rem; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--teal-900); padding: .9rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--teal-600); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding-bottom: 1rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { align-items: stretch; }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; }
.contact-label { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--teal-600); }
.contact-list a { font-weight: 600; }

.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field textarea {
  font: inherit; color: var(--ink); padding: .7rem .85rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(20,184,166,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { margin: .2rem 0 0; }
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #cfeae5; padding: 2.5rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-light { color: var(--teal-500); }
.footer-brand p { max-width: 38ch; margin-top: .5rem; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }
.footer-links a { color: #cfeae5; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 1.2rem; }
.footer-bottom .muted { color: #9fcfc8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .two-col, .feature-row { grid-template-columns: 1fr; }
  .hero-photo-frame { order: -1; max-width: 420px; margin: 0 auto; }
  .feature-row-reverse .feature-media, .feature-row-reverse .feature-copy { order: initial; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero-blob-1 { width: 280px; height: 280px; }
  .hero-blob-2 { width: 200px; height: 200px; }
  .hero-blob-3 { display: none; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1rem; box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { padding: .35rem 0; }
  .nav-menu .btn { margin-top: .5rem; }
  .cards-grid, .steps, .trust-grid, .field-row { grid-template-columns: 1fr; }
  .banner-inner { flex-direction: column; align-items: flex-start; }
}
