:root {
  --navy: #11103a;
  --purple: #5b2c83;
  --purple-2: #7c3aed;
  --lavender: #f3ecff;
  --lavender-2: #faf7ff;
  --coral: #ff8a65;
  --coral-2: #ff6f61;
  --ink: #131528;
  --muted: #6f7184;
  --line: #e6deef;
  --soft: #fbf8ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fefcff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container-page {
  width: min(1220px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  border-bottom: 0;
  background: transparent;
  pointer-events: none;
}
.header-shell {
  overflow: hidden;
  border: 1px solid rgba(230,222,239,.92);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 50px rgba(43,24,92,.1);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.header-topline {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  color: #6d5e84;
  background: linear-gradient(90deg, #fff7f3, #f7efff);
  font-size: 11px;
  font-weight: 800;
}
.header-topline a { color: var(--purple); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-inner {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 14px 0 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--navy);
}
.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px 16px 16px 5px;
  color: white;
  background:
    radial-gradient(circle at 72% 25%, rgba(255,255,255,.32), transparent 18%),
    linear-gradient(135deg, var(--purple), var(--coral));
  font-size: 15px;
  transform: rotate(-8deg);
}
.logo-mark span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 50%;
  transform: rotate(8deg);
}
.logo strong { display: block; font-size: 22px; line-height: 1; }
.logo small { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nav {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #efe5f7;
  border-radius: 999px;
  background: #fbf8ff;
  padding: 5px;
}
.nav-link {
  position: relative;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 850;
}
.nav-link.active, .nav-link:hover {
  color: var(--purple);
  background: white;
  box-shadow: 0 8px 18px rgba(91,44,131,.08);
}
.nav-link.active:after, .nav-link:hover:after { display: none; }
.quick-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid #eadbf4;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--purple);
  background: white;
  font-size: 12px;
  font-weight: 900;
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--navy);
  font-weight: 800;
}

.btn-primary, .btn-outline, .btn-coral {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary { color: white; background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: 0 14px 28px rgba(91,44,131,.18); }
.btn-coral { color: white; background: linear-gradient(135deg, var(--coral), var(--coral-2)); box-shadow: 0 14px 28px rgba(255,111,97,.18); }
.btn-outline { color: var(--purple); border: 1px solid #d9c8ea; background: white; }
.btn-primary:hover, .btn-outline:hover, .btn-coral:hover { transform: translateY(-2px); }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  max-width: 650px;
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
h1 span, .purple { color: var(--purple); }
h2 { margin-bottom: 10px; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
h3 { margin-bottom: 8px; font-size: 18px; }
.lead { max-width: 590px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; line-height: 1.65; }
.link-accent { color: var(--purple); font-size: 12px; font-weight: 900; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,.96) 0 48%, rgba(255,246,242,.72) 48% 100%),
    radial-gradient(circle at 78% 35%, rgba(255,138,101,.32), transparent 23%),
    radial-gradient(circle at 18% 80%, rgba(124,58,237,.12), transparent 25%),
    #fff;
}
.hero:before {
  content: "";
  position: absolute;
  inset: auto -8% -120px 42%;
  height: 250px;
  background: linear-gradient(90deg, rgba(91,44,131,.14), rgba(255,138,101,.2));
  transform: rotate(-5deg);
  border-radius: 999px;
}
.hero-grid {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: .8fr 1fr;
  align-items: center;
  gap: 38px;
  padding: 105px 0 68px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #eadbf4;
  border-radius: 999px;
  background: white;
  padding: 8px 12px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 500px;
  margin-top: 30px;
}
.hero-metrics div {
  border: 1px solid #eadbf4;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  padding: 15px;
  box-shadow: 0 14px 30px rgba(91,44,131,.06);
}
.hero-metrics b {
  display: block;
  color: var(--purple);
  font-size: 24px;
  line-height: 1;
}
.hero-metrics span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.hero-art {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: end center;
}
.hero-shape {
  position: absolute;
  inset: 58px 26px 34px 64px;
  border-radius: 42% 58% 48% 52%;
  background: linear-gradient(135deg, #ffe1d8, #f0e0ff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.motion-ring {
  position: absolute;
  inset: 18px 0 20px 34px;
  border: 2px dashed rgba(91,44,131,.2);
  border-radius: 50%;
  transform: rotate(-10deg);
}
.hero-art img {
  position: relative;
  z-index: 1;
  width: min(690px, 100%);
  max-height: 485px;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(91,44,131,.14));
}
.dotted {
  position: absolute;
  right: 0;
  top: 70px;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(var(--purple) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .32;
}
.hero-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(230,222,239,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  padding: 14px 16px;
  box-shadow: 0 18px 38px rgba(43,24,92,.13);
  backdrop-filter: blur(12px);
}
.hero-card b, .hero-card span { display: block; }
.hero-card b { font-size: 12px; }
.hero-card strong {
  display: block;
  margin-top: 5px;
  color: var(--purple);
  font-size: 30px;
  line-height: 1;
}
.hero-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.card-score { left: 0; bottom: 62px; }
.card-plan { right: 10px; top: 105px; max-width: 190px; }

.feature-strip {
  transform: translateY(-34px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #171244, #2b185c);
  box-shadow: 0 22px 48px rgba(17,16,58,.2);
}
.feature {
  display: flex;
  gap: 14px;
  min-height: 108px;
  align-items: center;
  padding: 22px;
  color: white;
  border-right: 1px solid rgba(255,255,255,.09);
}
.icon-disc {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: var(--lavender);
  color: var(--purple);
  font-weight: 900;
}
.feature .icon-disc { background: rgba(255,255,255,.12); color: #f0abfc; }

.page-hero {
  background: radial-gradient(circle at 90% 20%, rgba(255,138,101,.16), transparent 24%), linear-gradient(135deg, #fff, #fbf7ff);
  padding: 42px 0 50px;
}
.crumbs { margin-bottom: 25px; color: var(--muted); font-size: 11px; font-weight: 750; }
.section { padding: 50px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 38px rgba(17,16,58,.055);
}
.panel-pad { padding: 24px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card, .condition-card, .therapist-card, .article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 16px 34px rgba(17,16,58,.05);
}
.service-card { min-height: 220px; padding: 22px; text-align: center; }
.service-card .icon-disc { margin: 0 auto 16px; }
.condition-card { padding: 20px; text-align: center; }
.condition-card img { width: 76px; height: 76px; margin: 0 auto 12px; object-fit: contain; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.story-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 16px;
  background: linear-gradient(rgba(17,16,58,.15), rgba(17,16,58,.15)), url("https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?auto=format&fit=crop&w=900&q=85") center / cover;
}
.play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--purple);
  font-weight: 900;
}
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 14px;
  padding: 24px;
  color: white;
  background:
    radial-gradient(circle at 90% 54%, rgba(255,138,101,.25), transparent 18%),
    linear-gradient(135deg, #171244, #311d67);
}

.conditions-layout { display: grid; grid-template-columns: .34fr 1fr; gap: 22px; }
.condition-list { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.condition-list a { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 850; }
.condition-list a.active { background: #ffe4dc; color: var(--purple); border-left: 4px solid var(--coral); }
.condition-detail { display: grid; grid-template-columns: .8fr 1fr; gap: 24px; align-items: center; }
.condition-detail img { width: 100%; max-height: 330px; object-fit: cover; border-radius: 16px; }
.check-list { display: grid; gap: 12px; }
.check-list span:before { content: "OK "; color: var(--purple); font-weight: 900; }

.therapist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.therapist-card img { width: 100%; height: 205px; object-fit: cover; object-position: top; background: #f1eef5; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 22px; }
.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: white;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.tag.active { border-color: var(--purple); background: var(--purple); color: white; }

.booking-layout { display: grid; grid-template-columns: .85fr 1.2fr; gap: 22px; }
.booking-grid { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 18px; }
.field {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 13px;
}
.field:focus { outline: 3px solid rgba(91,44,131,.12); border-color: var(--purple); }
.form-stack { display: grid; gap: 12px; }
.service-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: white;
}
.service-option.active { border-color: #d8b4fe; background: var(--lavender); }
.step-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}
.step-line span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.step-line b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple);
}
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; }
.date-cell, .time-cell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 9px;
  font-size: 12px;
}
.date-cell.active, .time-cell.active { background: var(--purple); color: white; border-color: var(--purple); }
.time-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 18px; }

.insurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.logo-box {
  display: grid;
  min-height: 72px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--purple);
  font-size: 24px;
  font-weight: 900;
}
.assessment-layout { display: grid; grid-template-columns: .28fr 1fr; gap: 22px; }
.body-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
.body-map img { max-height: 370px; width: 100%; object-fit: contain; }
.selected-box { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.resource-tag { display: inline-flex; border-radius: 999px; background: var(--lavender); color: var(--purple); padding: 6px 10px; font-size: 10px; font-weight: 900; }

.assistant-bar {
  display: grid;
  grid-template-columns: .85fr 1.2fr .25fr;
  gap: 18px;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 88% 58%, rgba(255,138,101,.22), transparent 18%),
    linear-gradient(135deg, #171244, #311d67);
}
.assistant-input { display: flex; gap: 10px; }
.assistant-bot {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 50%;
  background: #f4ecff;
  color: var(--purple);
  font-weight: 900;
}

.about-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 26px; align-items: center; }
.about-grid img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 18px; }

.site-footer {
  color: #eee6ff;
  background:
    radial-gradient(circle at 90% 72%, rgba(255,138,101,.2), transparent 18%),
    linear-gradient(135deg, #12103d, #241556);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 34px;
  padding: 42px 0;
}
.site-footer .logo, .site-footer b { color: white; }
.site-footer a, .site-footer p { color: #cfc6e7; }
.footer-links { display: grid; gap: 10px; margin-top: 14px; font-size: 13px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; color: #b9afd8; font-size: 12px; }
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  transform: translateY(18px);
  opacity: 0;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 850;
  transition: .2s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1060px) {
  .hero-grid, .two-col, .conditions-layout, .condition-detail, .booking-layout, .about-grid, .assessment-layout, .assistant-bar { grid-template-columns: 1fr; }
  .card-grid, .therapist-grid, .article-grid, .feature-strip, .booking-grid, .insurance-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { top: 8px; }
  .header-topline { display: none; }
  .menu-button { display: grid; place-items: center; }
  .nav {
    position: absolute;
    inset: 74px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    padding: 14px;
    box-shadow: 0 24px 50px rgba(17,16,58,.14);
  }
  .nav.open { display: flex; }
  .nav-link { padding: 10px; }
  .nav-link.active:after, .nav-link:hover:after { display: none; }
  .header-actions .quick-link, .header-actions .btn-coral { display: none; }
  .hero-grid { min-height: auto; padding: 40px 0; }
  .hero-art { min-height: 310px; }
  .hero-card { position: relative; inset: auto; margin-top: 10px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .feature-strip { transform: none; margin: 18px 0; }
  .card-grid, .therapist-grid, .article-grid, .feature-strip, .booking-grid, .insurance-grid, .footer-grid, .step-line, .time-grid, .body-map {
    grid-template-columns: 1fr;
  }
  .section-head { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 42px; }
}
