/* Kickstart Psychiatry — shared styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0F1A2E;
  --text: #2D3B50;
  --muted: #5C6B80;
  --line: #E3E8EE;
  --mist: #F4F6F8;
  --white: #FFFFFF;
  --teal: #1F7A70;
  --teal-dark: #17645C;
  --teal-tint: #E9F3F1;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1120px;
  --radius: 18px;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

h1, h2, h3 { color: var(--ink); font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.015em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
p { max-width: 62ch; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--text); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--teal-dark); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: 0 2px 0 var(--teal); }
.site-nav .nav-portal { color: var(--muted); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; font: 500 0.9rem var(--sans); color: var(--ink); cursor: pointer; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--teal); color: var(--white);
  font: 600 1rem var(--sans); text-decoration: none;
  padding: 15px 30px; border-radius: 999px;
  transition: background 0.2s;
}
.btn:hover { background: var(--teal-dark); color: var(--white); }
.site-nav .btn { padding: 10px 22px; font-size: 0.95rem; color: var(--white); }
.btn-quiet { display: inline-block; font-weight: 500; color: var(--ink); text-decoration: none; padding: 15px 6px; }
.btn-quiet:hover { color: var(--teal-dark); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 34px; }

/* ── Sections ── */
.section { padding: 104px 0; }
.section.tint { background: var(--mist); }
.section-head { margin-bottom: 52px; }
.section-head p { margin-top: 16px; }
.page-head { padding: 84px 0 12px; }
.page-head p { margin-top: 20px; }
.page-head + .section { padding-top: 56px; }

/* ── Home hero ── */
.hero { padding: 76px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
.hero .lead { margin-top: 26px; max-width: 34ch; }
.hero-note { margin-top: 22px; font-size: 0.95rem; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.hero-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 28px; }
.portrait figcaption { margin-top: 16px; font-size: 0.95rem; color: var(--muted); }
.portrait figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* Dark hero */
.hero.dark { background: var(--ink); color: rgba(255,255,255,0.74); }
.hero.dark h1 { color: var(--white); }
.hero.dark .lead { color: rgba(255,255,255,0.78); max-width: 36ch; }
.hero.dark .btn { background: var(--white); color: var(--ink); }
.hero.dark .btn:hover { background: var(--teal-tint); }
.hero.dark .btn-quiet { color: var(--white); }
.hero.dark .portrait figcaption { color: rgba(255,255,255,0.6); }
.hero.dark .portrait figcaption strong { color: var(--white); }
.pill { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 500; color: #8FE0D3; border: 1px solid rgba(143,224,211,0.35); border-radius: 999px; padding: 7px 16px; margin-bottom: 26px; }
.pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5AD1BF; }
.assure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px; font-size: 0.98rem; color: var(--white); }
.assure li { position: relative; padding-left: 24px; }
.assure li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 11px; height: 6px; border-left: 2px solid #5AD1BF; border-bottom: 2px solid #5AD1BF; transform: rotate(-45deg); }
.hero-rating { margin-top: 18px; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.hero-rating .rev-stars { margin: 0; font-size: 1rem; }
.actions.center { justify-content: center; margin-top: 56px; }

/* ── Three-up ── */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.three h3 { margin-bottom: 10px; }
.three p { font-size: 1rem; }
.steps { counter-reset: step; }
.steps > div { counter-increment: step; border-top: 1px solid var(--line); padding-top: 26px; }
.steps > div::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--teal); margin-bottom: 18px; }

/* ── Reviews ── */
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.rev-nav { display: flex; gap: 10px; }
.rev-nav[hidden] { display: none; }
.rev-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.rev-nav button:hover { border-color: var(--teal); color: var(--teal-dark); }
.rev-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px 32px; display: flex; flex-direction: column; }
.rev-stars { color: #E2A93B; font-size: 1.15rem; letter-spacing: 3px; margin-bottom: 18px; }
.rev-card blockquote { font-style: italic; font-size: 1.02rem; line-height: 1.75; color: var(--text); flex: 1; }
.rev-card figcaption { margin-top: 24px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.rev-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.btn-outline { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 13px 26px; font-weight: 600; color: var(--ink); text-decoration: none; }
.btn-outline:hover { border-color: var(--teal); color: var(--ink); }
@media (max-width: 980px) { .rev-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 720px) { .rev-card { flex-basis: 86%; padding: 28px 24px; } .rev-head { align-items: flex-start; } }

/* ── Insurance ── */
.plans { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin-top: 30px; }
.plans li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 10px 20px; font-weight: 500; color: var(--ink); font-size: 0.98rem; }
.more { display: inline-block; margin-top: 30px; font-weight: 500; }

/* ── Closing band ── */
.close { background: var(--ink); color: rgba(255,255,255,0.72); padding: 96px 0; }
.close h2 { color: var(--white); }
.close p { margin-top: 16px; }
.close a:not(.btn) { color: var(--white); }
.close .btn { background: var(--white); color: var(--ink); }
.close .btn:hover { background: var(--teal-tint); color: var(--ink); }

/* ── Content pages ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.split > div > p { margin-top: 14px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; background: var(--white); }
.card h2 { font-size: 2rem; }
.card p { margin-top: 14px; font-size: 1rem; }
.ticks { list-style: none; margin-top: 22px; }
.ticks li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--line); font-size: 1rem; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 12px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.plain-list { list-style: none; margin-top: 24px; max-width: 62ch; }
.plain-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }
.card .price { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--ink); margin-top: 18px; }
.card .price small { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); margin-left: 6px; }
.note, .card .note { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.about-grid p + p { margin-top: 18px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.facts li { background: var(--teal-tint); color: var(--teal-dark); border-radius: 999px; padding: 7px 16px; font-size: 0.92rem; font-weight: 500; }

.split.fit { align-items: center; }
.split.fit .plain-list { margin-top: 0; }
.answer { background: var(--teal-tint); border-radius: var(--radius); padding: 44px; }
.answer h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: -0.01em; }
.answer p { margin-top: 14px; }

/* ── FAQ ── */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 18px; font-size: 1.7rem; font-weight: 300; color: var(--teal); line-height: 1.2; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 26px; }

/* ── Visit ── */
.visit-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.visit-list { list-style: none; }
.visit-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.visit-list li:first-child { border-top: 0; padding-top: 0; }
.visit-list h3 { font-size: 1rem; margin-bottom: 4px; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 440px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.photos figure { margin: 0; }
.photos img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.photos figcaption { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }

/* ── Legal text ── */
.legal h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.legal p, .legal li { margin-bottom: 14px; }
.legal ul { padding-left: 1.3em; margin-bottom: 14px; }
.legal strong { color: var(--ink); }
.legal .callout { background: var(--teal-tint); border-radius: 12px; padding: 18px 22px; margin: 20px 0; }
.legal .callout p { margin: 0; }
.legal .quickfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 8px; }
.legal .fact { background: var(--mist); border-radius: 12px; padding: 16px 18px; font-size: 0.95rem; }
.legal .fact strong { display: block; margin-bottom: 2px; }
.legal .contact-card { background: var(--mist); border-radius: var(--radius); padding: 26px 28px; }
.legal .contact-card p { margin: 0 0 6px; }
.effective-date { color: var(--muted); margin-top: 14px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 110px; font-size: 0.95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer h2 { font: 600 0.95rem var(--sans); letter-spacing: 0; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--teal-dark); text-decoration: underline; }
.footer-brand p { margin-top: 16px; max-width: 40ch; }
.crisis { margin-top: 14px; }
.crisis a { text-decoration: underline; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ── Mobile bar ── */
.mobile-bar { display: none; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 24px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--teal-dark); }
  .site-nav .btn { margin-top: 18px; text-align: center; border-bottom: 0; padding: 14px 22px; }
  .menu-btn { display: block; }
  .hero-grid, .split, .about-grid, .visit-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 48px 0 72px; }
  .portrait { max-width: 420px; }
  .three { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .page-head { padding: 56px 0 8px; }
  .photos { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .legal .quickfacts { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .site-nav { padding-left: 22px; padding-right: 22px; }
  .card { padding: 28px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr auto; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); border-top: 1px solid var(--line); }
  .mobile-bar a { text-align: center; text-decoration: none; font-weight: 600; border-radius: 999px; padding: 13px 20px; }
  .mobile-bar .mb-book { background: var(--teal); color: var(--white); }
  .mobile-bar .mb-call { border: 1px solid var(--line); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
