/* TerapistHub — corporate site styles */

:root {
  --accent: #c21e56;
  --accent-deep: #a71e49;
  --accent-dark: #7d1637;
  --accent-soft: #fdf2f5;
  --accent-border: #f3d3dd;

  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .07);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, svg { max-width: 100%; }
a { color: var(--accent); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img,
.brand .brand-logo {
  width: 42px;
  height: auto;
  flex: none;
  display: block;
}
.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--accent-deep);
  line-height: 1.2;
}
.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover { color: var(--accent); background: var(--accent-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(194, 30, 86, .22);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent-border); color: var(--accent); }
.nav .btn { padding: 10px 18px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(194, 30, 86, .10), transparent 62%),
    radial-gradient(700px 380px at 4% 6%, rgba(167, 30, 73, .07), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.legal-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.5;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 20px;
  font-weight: 800;
}
h1 .accent { color: var(--accent); }

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 60ch;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--accent-deep);
}
.hero-stats span { font-size: 14px; color: var(--muted); }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.hero-card img,
.hero-card .hero-logo {
  width: 190px;
  height: auto;
  margin: 0 auto 22px;
  display: block;
}
.hero-card .card-title { font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.hero-card .card-note { color: var(--muted); font-size: 15px; margin: 0; }
.hero-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ---------- Sections ---------- */

section { padding: 84px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 0 0 16px;
  font-weight: 800;
}
h3 { font-size: 20px; letter-spacing: -.01em; margin: 0 0 10px; font-weight: 700; }

.section-head p { color: var(--ink-soft); margin: 0; font-size: 18px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}
.cards.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.stack { grid-template-columns: minmax(0, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
section.alt .card { background: var(--bg); }
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.card-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Split content ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 0 0 18px 34px;
  color: var(--ink-soft);
  font-size: 16px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist li strong { color: var(--ink); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
}
.contact-card p, .contact-card address {
  margin: 0;
  font-style: normal;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}
.contact-card a { font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .meta { color: var(--muted); font-size: 14px; margin-top: 10px; }

.entity-strip {
  margin-top: 32px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.entity-strip dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px 32px;
  margin: 0;
}
.entity-strip dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 4px;
}
.entity-strip dd { margin: 0; font-size: 16px; color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { max-width: 420px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links h4 {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 14px;
  color: var(--muted);
}
.footer-bottom .legal { max-width: 760px; }

/* ---------- Legal pages ---------- */

.legal-page { padding: 64px 0 88px; }
.legal-page .doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 56px 48px;
  box-shadow: var(--shadow-sm);
  max-width: 820px;
  margin: 0 auto;
}
.legal-page h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.legal-page .updated { color: var(--muted); font-size: 15px; margin: 0 0 36px; }
.legal-page h2 {
  font-size: 21px;
  margin: 40px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal-page h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 30px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 16.5px; }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin-bottom: 9px; }
.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 28px;
}
.legal-page .back:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .cards.two-up { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 60px 0 56px; }
  section { padding: 64px 0; }
  .legal-page .doc { padding: 36px 26px 32px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 64px; }
  .nav { gap: 2px; width: 100%; justify-content: space-between; }
  .nav a { padding: 8px 6px; font-size: 14px; }
  .nav .btn { padding: 8px 14px; font-size: 14px; }
  .hero-stats { gap: 26px; }
  .footer-links { gap: 40px; }
}

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