/* styles.css - HFAV v2 */

:root{
  --bg: #ffffff;
  --surface: #f6faf9;
  --surface-2: #f3f7ff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #0f766e;       /* teal */
  --brand-2: #1e40af;     /* blue accent */
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img{ max-width: 100%; height: auto; display: block; }

a{ color: var(--brand-2); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: .6rem .8rem;
  z-index: 9999;
}
.skip-link:focus{ left: .75rem; top: .75rem; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  gap: 1rem;
}
.brand{
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 240px;
}
.brand img{ width: 54px; height: 54px; border-radius: 12px; }
.brand .title{
  font-weight: 800;
  letter-spacing: .3px;
}
.brand .tag{
  font-size: .9rem;
  color: var(--muted);
  margin-top: .15rem;
}

.nav{
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a{
  padding: .55rem .75rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
}
.nav a[aria-current="page"]{
  background: var(--surface);
  border: 1px solid var(--border);
}
.nav a:hover{
  background: var(--surface);
  text-decoration: none;
}

.hero{
  padding: 2.75rem 0 1.25rem;
  background:
    radial-gradient(1000px 300px at 50% 0%, rgba(15,118,110,0.18), transparent 60%),
    radial-gradient(900px 260px at 70% 10%, rgba(30,64,175,0.10), transparent 55%);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}

.kicker{
  display: inline-block;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
}
h1{
  margin: .75rem 0 .5rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lede{
  margin: 0.75rem 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 800;
  text-decoration: none;
}
.btn-primary{
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn-primary:hover{ text-decoration: none; filter: brightness(0.97); }
.btn-secondary{
  background: #fff;
  color: var(--text);
}
.btn-secondary:hover{ text-decoration: none; background: var(--surface); }

.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.card h2{ margin: 0 0 .4rem; font-size: 1.25rem; }
.card p{ margin: 0; color: var(--muted); }

.split-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0 2rem;
}
@media (max-width: 900px){
  .split-cards{ grid-template-columns: 1fr; }
}

.section{
  padding: 2rem 0;
}
.section h2{
  font-size: 1.6rem;
  margin: 0 0 .75rem;
}
.section p{ color: var(--muted); }

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
}

.list{
  margin: .75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.list li{ margin: .35rem 0; }

.banner{
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.site-footer{
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer-inner{
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}
.small{
  font-size: .95rem;
  color: var(--muted);
}
.footer-links{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* --- Therapist profile additions (KMB page) --- */

.profile-hero{
  padding-bottom: 2rem;
}

.profile-grid{
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px){
  .profile-grid{ grid-template-columns: 1fr; }
}

.muted-inline{
  color: var(--muted);
  font-weight: 700;
  font-size: 0.7em;
}

.pill-row{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .75rem 0 0;
}

.pill{
  display: inline-flex;
  align-items: center;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: .92rem;
}

.profile-cta{
  margin-top: 1.1rem;
}

.profile-quick{
  margin-top: 1.1rem;
}

.facts{
  margin: .6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.facts li{
  margin: .45rem 0;
}

.profile-card{
  padding: 1.1rem;
}

.profile-photo{
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.profile-side-stack{
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}

.soft-divider{
  border: 0;
  border-top: 1px solid var(--border);
  margin: .25rem 0;
}

.openpath-link{
  display: inline-flex;
  margin-top: .35rem;
  padding: .55rem .65rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}

.openpath-link:hover{
  background: var(--surface);
  text-decoration: none;
}

.openpath-link img{
  height: 40px;
  width: auto;
}

.profile-body .card h2{
  margin-bottom: .55rem;
}

.spacer{
  height: .75rem;
}

.quote-card blockquote{
  margin: .75rem 0 0;
  padding: .85rem 1rem;
  border-left: 4px solid rgba(15,118,110,0.35);
  background: var(--surface);
  border-radius: 12px;
  color: var(--text);
}

.quote-card cite{
  display: block;
  margin-top: .5rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.profile-image-row{
  display: grid;
}

.profile-wide{
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
}
/* =========================
   CONTACT PAGE — SERENE SKIN
   Paste at END of styles.css
   ========================= */

/* A calmer page background and softer typography */
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  background: radial-gradient(1200px 600px at 20% 0%, rgba(70, 130, 180, 0.10), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(46, 125, 50, 0.08), transparent 55%),
              linear-gradient(to bottom, rgba(250, 251, 252, 0.9), rgba(248, 249, 251, 0.9));
}

/* Narrower content reads calmer */
.container.narrow {
  max-width: 980px;
}

/* Reduce visual noise in the hero */
.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero .kicker {
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.hero h1 {
  max-width: 32ch;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.75rem;
}

.hero .lede {
  max-width: 62ch;
  font-size: 1.05rem;
  opacity: 0.92;
}

/* Make calls-to-action feel grounded, not loud */
.cta-row {
  margin-top: 1.25rem;
  gap: 0.75rem;
}

.btn {
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.btn-secondary {
  opacity: 0.95;
}

/* Calm cards: softer border + gentle shadow */
.card, .banner {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
}

.card h2 {
  margin-top: 0;
}

/* Contact layout: balanced spacing */
.contact-layout {
  align-items: start;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

/* Form styling (works even if you keep using your .card wrapper) */
.contact-form label {
  display: block;
  font-size: 0.95rem;
  margin: 0.75rem 0 0.35rem;
  opacity: 0.92;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  padding: 0.8rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(30, 90, 160, 0.55);
  box-shadow: 0 0 0 4px rgba(30, 90, 160, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* Make small text truly supportive */
.small {
  opacity: 0.85;
}

/* Mobile: stack nicely with generous breathing room */
@media (max-width: 860px) {
  .hero {
    padding: 3.5rem 0 2rem;
  }
  .contact-layout {
    gap: 1rem;
  }
}