/* ============================================================
   SHIERLOCK PSYCHIATRY — SITE STYLES
   ------------------------------------------------------------
   TO CHANGE COLORS OR FONTS: edit the variables just below.
   Everything on the site pulls from these values.
   ============================================================ */

:root {
  /* Brand colors */
  --cream:      #FAF8F3;   /* page background */
  --cream-deep: #F3EFE7;   /* alternate section background */
  --sage:       #E4ECE7;   /* soft green cards / panels */
  --sage-deep:  #D2DFD7;
  --blush:      #D9BCB6;   /* dusty-rose accent (buttons, headings) */
  --blush-soft: #EBD9D5;
  --slate:      #33424A;   /* dark blue-grey (footer, strong text) */
  --ink:        #3C4340;   /* body text */
  --ink-soft:   #6B7370;   /* secondary text */
  --gold:       #B49A6A;   /* magnolia gold (logo, fine rules) */
  --white:      #FFFFFF;

  /* Fonts */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Century Gothic", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(51, 66, 74, 0.08);
  --maxw: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--slate); line-height: 1.2; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section { padding: 90px 0; }
.section.alt { background: var(--cream-deep); }
.section.sage-bg { background: var(--sage); }

.section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.section-intro { max-width: 720px; color: var(--ink-soft); }
.center { text-align: center; }
.center .section-intro { margin: 0 auto; }

/* Gold magnolia divider — the brand signature */
.divider {
  display: flex; align-items: center; gap: 18px;
  max-width: 420px; margin: 2.2rem auto;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--gold); opacity: 0.6;
}
.divider svg { width: 34px; height: 34px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--blush); color: var(--white); }
.btn-primary:hover { background: #c8a49c; transform: translateY(-1px); }
.btn-dark { background: var(--slate); color: var(--white); }
.btn-dark:hover { background: #24313a; }
.btn-outline { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn-outline:hover { background: var(--slate); color: var(--white); }
.btn-light { background: var(--sage); color: var(--slate); }
.btn-light:hover { background: var(--sage-deep); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(180, 154, 106, 0.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 24px;
  max-width: 1380px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 42px; height: 42px; }
.logo-img { height: 56px; width: auto; }
@media (max-width: 820px) { .logo-img { height: 46px; } }
.logo-text { font-family: var(--font-display); color: var(--slate); line-height: 1.05; }
.logo-text .logo-name { font-size: 1.25rem; letter-spacing: 0.18em; text-transform: uppercase; display: block; }
.logo-text .logo-sub { font-size: 0.68rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); display: block; margin-top: 2px; }

.main-nav ul { list-style: none; display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none; font-size: 0.92rem; letter-spacing: 0.04em;
  color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover { color: var(--slate); border-color: var(--blush); }
.main-nav a.active { color: var(--slate); border-color: var(--gold); }

.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 11px 20px; font-size: 0.76rem; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 8px; width: 26px; height: 2px;
  background: var(--slate); transition: 0.25s;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--sage) 0%, var(--cream) 55%, var(--blush-soft) 100%);
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 110px 24px 120px;
  max-width: var(--maxw); margin: 0 auto;
}
.hero-card {
  max-width: 640px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(180, 154, 106, 0.3);
  border-radius: var(--radius);
  padding: 64px 56px;
  box-shadow: var(--shadow);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.hero .tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.35rem; color: var(--ink-soft); margin-top: 1.4rem;
}
.hero-actions { margin-top: 2.2rem; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-magnolia {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  width: 460px; height: auto; opacity: 0.85; z-index: 1; pointer-events: none;
}

/* Inner-page hero (smaller) */
.page-hero {
  background: linear-gradient(115deg, var(--sage) 0%, var(--cream) 60%, var(--blush-soft) 100%);
  padding: 80px 0 70px; text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.page-hero p { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink-soft); margin-top: 0.8rem; }

/* ============================================================
   CARD GRIDS
   ============================================================ */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid rgba(51, 66, 74, 0.08);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

.card.sage { background: var(--sage); border: none; }
.card.blush { background: var(--blush-soft); border: none; }

/* Feature list (Why choose us) */
.feature h3 { font-size: 1.35rem; color: #B08D86; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; }

/* Photo cards */
.photo-card { text-align: center; background: var(--sage); border-radius: var(--radius); padding: 30px; }
.photo-card img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo-card h3 { margin-top: 1.4rem; font-family: var(--font-body); font-weight: 400; font-size: 1.25rem; }
.photo-card p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* Two-column text + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }

/* Condition list columns */
.condition-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(6, auto); grid-auto-flow: column;
  gap: 10px 60px; max-width: 900px; list-style: none;
}
.condition-cols li { padding: 10px 0 10px 26px; position: relative; font-size: 1.05rem; list-style: none; }
.condition-cols li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--blush);
}

/* Quote / testimonial pill */
.quote-pill {
  background: var(--sage); border-radius: 999px;
  padding: 22px 38px; font-family: var(--font-display); font-style: italic;
  color: var(--slate); max-width: 640px; font-size: 1.05rem;
}

/* Steps (What to Expect) */
.step { border-left: 2px solid var(--gold); padding: 4px 0 4px 28px; margin-bottom: 2.4rem; }
.step h3 { color: #B08D86; font-family: var(--font-body); font-weight: 400; font-size: 1.2rem; letter-spacing: 0.03em; }
.step p { font-size: 1.1rem; margin-top: 0.4rem; }

/* ============================================================
   ACCORDIONS (FAQ + Services conditions)
   ============================================================ */
.accordion { border-bottom: 1px solid rgba(51, 66, 74, 0.14); }
.accordion summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 22px 4px;
  font-family: var(--font-body); font-weight: 400; font-size: 1.12rem; color: var(--slate);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold);
  transition: transform 0.25s; flex: none;
}
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 4px 26px; color: var(--ink-soft); max-width: 860px; }
.accordion .acc-body p + p { margin-top: 0.8rem; }
.accordion .acc-body ul { margin: 0.8rem 0 0 1.3rem; }
.accordion .acc-body li { margin-bottom: 0.4rem; }
.acc-quote { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); font-size: 1.05rem; }
.acc-tagline { color: #B08D86; font-weight: 400; }

/* Services group label */
.svc-group {
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin: 3.2rem 0 0.6rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(180, 154, 106, 0.35);
}

/* ============================================================
   PROVIDERS (About page)
   ============================================================ */
.provider { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; margin-bottom: 90px; }
.provider:last-child { margin-bottom: 0; }
.provider.reverse { grid-template-columns: 1fr 380px; }
.provider.reverse .provider-photo { order: 2; }
.provider-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.provider h3 { font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; color: #B08D86; margin-bottom: 1.2rem; }
.provider .bio p + p { margin-top: 1rem; }
.provider-facts { margin-top: 1.8rem; display: grid; gap: 14px; }
.provider-facts dt { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.provider-facts dd { margin: 2px 0 0; }

.team-banner { background: var(--slate); color: var(--white); padding: 64px 0; }
.team-banner h2 { color: var(--white); font-size: 1.9rem; margin-bottom: 0.8rem; }
.team-banner p { font-style: italic; font-family: var(--font-display); font-size: 1.15rem; opacity: 0.92; max-width: 900px; }

.team-banner.rose { background: var(--blush); }

/* ============================================================
   INSURANCE PAGE
   ============================================================ */
.price-table { max-width: 640px; margin-top: 1.5rem; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(51, 66, 74, 0.12);
}
.price-row .price { font-family: var(--font-display); font-size: 1.5rem; color: var(--slate); white-space: nowrap; }
.ins-logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.ins-logos span {
  background: var(--white); border: 1px solid rgba(51, 66, 74, 0.12); border-radius: 999px;
  padding: 10px 24px; font-size: 0.95rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }
.contact-form label { display: block; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; font-family: var(--font-body); font-size: 1rem;
  border: 1px solid rgba(51, 66, 74, 0.25); border-radius: 8px; background: var(--cream);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--blush); border-color: transparent; }
.contact-form button { width: 100%; margin-top: 24px; }
.contact-info h3 { font-family: var(--font-body); font-weight: 400; font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.contact-info > div { margin-bottom: 1.8rem; }
.contact-info a { color: var(--slate); }
.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============================================================
   BLOG
   ============================================================ */
.post-card { display: flex; flex-direction: column; }
.post-card .cat {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: #B08D86; }
.post-card .date { font-size: 0.85rem; color: var(--ink-soft); margin: 0.5rem 0 0.8rem; }
.post-card .read-more { margin-top: auto; padding-top: 1rem; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); text-decoration: none; }
.post-card .read-more:hover { color: #B08D86; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(110deg, var(--blush-soft), var(--sage));
  text-align: center; padding: 90px 24px;
}
.cta-band h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.6rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--slate); color: rgba(255, 255, 255, 0.85); }
.footer-main {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 44px;
  padding: 70px 24px 50px; max-width: var(--maxw); margin: 0 auto;
}
.site-footer h4 {
  font-family: var(--font-body); font-weight: 400; font-size: 0.82rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--blush);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); }
.footer-logo small { display: block; font-size: 0.62rem; letter-spacing: 0.4em; color: var(--gold); margin-top: 4px; }
.footer-address { margin-top: 1rem; font-size: 0.95rem; line-height: 1.8; font-style: normal; }

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px 24px; text-align: center; font-size: 0.9rem;
}
.footer-disclaimer .wrap { max-width: 880px; }
.footer-disclaimer strong { color: var(--white); }
.footer-disclaimer a { color: var(--blush); text-decoration: underline; }
.footer-copy { padding: 0 24px 30px; text-align: center; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .provider, .provider.reverse { grid-template-columns: 1fr; }
  .provider.reverse .provider-photo { order: 0; }
  .provider-photo img { max-width: 420px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-magnolia { width: 340px; opacity: 0.45; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed; inset: 71px 0 auto 0;
    background: var(--cream); border-bottom: 1px solid rgba(180,154,106,0.3);
    transform: translateY(-130%); transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 24px 20px; }
  .main-nav li { border-bottom: 1px solid rgba(51,66,74,0.08); }
  .main-nav a { display: block; padding: 14px 0; border-bottom: none; }
  .nav-toggle { display: block; }
  .header-cta .btn-light { display: none; } /* keep only Book Now on small screens */
}

@media (max-width: 700px) {
  .hero-magnolia { display: none; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .split, .contact-grid, .condition-cols { grid-template-columns: 1fr; }
  .condition-cols { grid-template-rows: none; grid-auto-flow: row; }
  .hero-card { padding: 44px 28px; }
  .hero-inner { padding: 70px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}

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