/* ====================================================================
   Sara Hays, LCSW — Cultivating Connection
   Palette: c5a7b7 / e7d6de / 9e7d93 / 5d473d / 956c57
   Fonts:   Cormorant Garamond (display, ≈ Hatton) · Jost (body, ≈ Now)
   ==================================================================== */

:root {
  /* Brand palette */
  --rose:        #c5a7b7;   /* dusty rose */
  --blush:       #e7d6de;   /* light blush */
  --mauve:       #9e7d93;   /* deep mauve */
  --espresso:    #5d473d;   /* dark brown (primary text) */
  --tan:         #956c57;   /* warm tan / accent */

  /* Derived */
  --cream:       #faf6f3;
  --paper:       #ffffff;
  --ink:         var(--espresso);
  --ink-soft:    #6e554a;
  --line:        rgba(93, 71, 61, 0.14);

  /* Typography */
  --display:     'Cormorant Garamond', 'Hatton', Georgia, serif;
  --sans:        'Jost', 'Now', -apple-system, system-ui, sans-serif;

  /* Layout */
  --wrap:        1180px;
  --wrap-narrow: 760px;
  --radius:      4px;
  --radius-lg:   12px;
}

/* ─── Reset & base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--mauve);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
a:hover { color: var(--espresso); border-bottom-color: var(--mauve); }

/* ─── Type ─── */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--espresso);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 300; }
h1 em { font-style: italic; color: var(--mauve); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 400; }
h3 { font-size: 1.45rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; font-family: var(--sans); letter-spacing: .02em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0 0 1.2rem;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0 0 1.4rem;
  font-weight: 400;
}
.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 560px;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0.4rem auto 0;
}
.small { font-size: 0.92rem; color: var(--ink-soft); }

/* ─── Layout containers ─── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--wrap-narrow); }
.section { padding: 96px 0; }
.section-alt { background: var(--paper); }
.section-head { text-align: center; margin-bottom: 56px; }

/* ─── Header: slim nav bar ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 243, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.nav-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 0;
}
.nav-links a:hover { color: var(--mauve); }
.nav-links .nav-cta {
  background: var(--espresso);
  color: var(--cream);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  transition: background .2s ease, transform .2s ease;
}
.nav-links .nav-cta:hover {
  background: var(--mauve);
  color: var(--cream);
  transform: translateY(-1px);
}

/* ─── Logo header block ─── */
.logo-header {
  background: var(--cream);
  padding: 24px 28px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.logo-header-link {
  display: inline-block;
  border: 0;
}
.logo-header-img {
  height: auto;
  width: 560px;
  max-width: 90%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: absolute;
  right: 20px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--espresso);
  margin: 5px auto;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-petal {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, var(--blush) 0%, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-text h1 { margin-bottom: 1.2rem; }
.hero-image {
  position: relative;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: -18px -18px 18px 18px;
  border: 1px solid var(--rose);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero-image img {
  position: relative;
  border-radius: var(--radius-lg);
  z-index: 1;
  box-shadow: 0 30px 60px -30px rgba(93, 71, 61, 0.35);
  aspect-ratio: 2/3;
  object-fit: cover;
  width: 100%;
}
.hero-note {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ─── Buttons ─── */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--espresso);
  border-radius: 100px;
  border-bottom: 1px solid var(--espresso);
  transition: background .2s ease, transform .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--mauve);
  border-color: var(--mauve);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--espresso);
}
.btn-outline:hover {
  background: var(--espresso);
  color: var(--cream);
}
.btn-large { padding: 18px 38px; font-size: 0.95rem; }

/* Link arrow */
.link-arrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--mauve);
  border-bottom: 0;
  margin-top: 6px;
  transition: transform .25s ease;
}
.link-arrow:hover {
  color: var(--espresso);
  border-bottom: 0;
  transform: translateX(3px);
}

/* ─── Intro section ─── */
.section-intro { padding: 80px 0; background: var(--cream); }
.section-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.6rem;
}
.section-intro p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ─── Cards (Practice) ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.card {
  background: var(--cream);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.section-practice .card { background: var(--paper); }
.section-alt .card { background: var(--cream); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -25px rgba(93, 71, 61, 0.35);
  border-color: var(--rose);
}
.card h3 {
  font-size: 1.35rem;
  color: var(--espresso);
  margin-bottom: 0.8rem;
}
.card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.card-personal {
  font-size: 0.9rem !important;
  color: var(--tan) !important;
  line-height: 1.6 !important;
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--line) !important;
  font-style: italic;
}

/* ─── Steps (New Clients) ─── */
.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  counter-reset: step;
}
.steps li {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--rose);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.steps h4 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0.4rem;
  color: var(--espresso);
}
.steps p {
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

/* ─── Two-column (Current Clients) ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.two-col h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}
.two-col p { color: var(--ink-soft); }

/* ─── Fees grid ─── */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}
.fee-block {
  padding: 32px 28px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--rose);
}
.fee-block h4 {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.8rem;
}
.fee-amount {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1;
  margin-bottom: 0.8rem !important;
}
.fee-block p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Insurance list block */
.insurance-block {
  margin-top: 48px;
  padding: 40px 44px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--mauve);
}
.ins-heading {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0 0 1.4rem;
}
.ins-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.ins-list li {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.ins-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}
.ins-list strong {
  color: var(--espresso);
  font-weight: 500;
}
.ins-note {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* ─── Contact ─── */
.section-contact { background: var(--paper); }

.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 0 0 48px;
}
.office-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -25px rgba(93, 71, 61, 0.4);
}
.office-feature img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.office-feature-cap {
  position: absolute;
  left: 22px;
  bottom: 20px;
  background: rgba(250, 246, 243, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 18px 22px;
  border-radius: var(--radius);
  border-left: 3px solid var(--rose);
}
.office-feature-cap p {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.55;
}
.contact-center {
  display: flex;
  justify-content: center;
  margin: 0 0 60px;
}
.contact-center .contact-card {
  min-width: 280px;
  max-width: 360px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 0 60px;
}
.contact-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
  transition: border-color .3s ease, transform .3s ease;
}
.contact-card:hover {
  border-color: var(--rose);
  transform: translateY(-3px);
}
.contact-card h4 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mauve);
  margin-bottom: 0.6rem;
}
.contact-card p {
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}
.cta-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 30px 0 0;
  flex-wrap: wrap;
}

/* Override SimplePractice widget default styles */
.spwidget-button-wrapper { display: contents; }
.sp-contact-btn,
.spwidget-button {
  display: inline-block !important;
  padding: 18px 38px !important;
  background: var(--espresso) !important;
  color: var(--cream) !important;
  border: 1px solid var(--espresso) !important;
  border-radius: 100px !important;
  font-family: var(--sans) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background .2s ease, transform .2s ease !important;
  box-shadow: none !important;
}
.sp-contact-btn:hover,
.spwidget-button:hover {
  background: var(--mauve) !important;
  border-color: var(--mauve) !important;
  color: var(--cream) !important;
  transform: translateY(-2px) !important;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--espresso);
  color: var(--blush);
  padding: 70px 0 30px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.footer-wordmark {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--blush);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.footer-wordmark span {
  font-style: italic;
  color: var(--rose);
  font-weight: 300;
}
.tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--blush);
  margin: 0;
}
.credentials p {
  font-size: 0.88rem;
  margin: 0 0 0.5rem;
  color: rgba(231, 214, 222, 0.85);
  line-height: 1.6;
}
.credentials strong { color: var(--blush); font-weight: 500; }
.footer-bottom {
  max-width: var(--wrap);
  margin: 50px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid rgba(231, 214, 222, 0.15);
  font-size: 0.82rem;
  color: rgba(231, 214, 222, 0.6);
  text-align: center;
  letter-spacing: 0.06em;
}
.site-footer a {
  color: var(--blush);
  border-bottom-color: rgba(231, 214, 222, 0.3);
}
.site-footer a:hover { color: var(--rose); border-bottom-color: var(--rose); }

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 50px; }
  .hero-image { max-width: 420px; margin: 0 auto; }
  .hero-image img { aspect-ratio: 3/4; }
  .fees-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .office-feature img { height: 260px; }
  .insurance-block { padding: 28px 24px; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-wrap { justify-content: center; position: relative; min-height: 48px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 100;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 13px 28px;
    width: 100%;
    text-align: center;
  }
  .nav-links .nav-cta {
    margin: 12px 28px;
    text-align: center;
    width: calc(100% - 56px);
    border-radius: 100px;
  }
  .logo-header-img { width: 300px; height: auto; }
  .hero { padding: 50px 0 70px; }
  .hero-petal { width: 360px; height: 360px; top: -60px; right: -120px; }
  .steps li { flex-direction: column; gap: 8px; }
  .step-num { font-size: 1.8rem; min-width: auto; }
  .section-head { margin-bottom: 40px; }
  .section-intro h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 22px; }
  .btn { padding: 12px 22px; font-size: 0.82rem; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { text-align: center; }
  h1 { font-size: 2.2rem; }
}
