/* ==========================================================
   NEW ERA MENTAL HEALTH PLLC — site stylesheet
   Mobile-first | Brand: Orange #F97316 · Green #10B981
   Fonts: Fraunces (display) · DM Sans (body)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,600;0,700;1,300&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --orange:        #F97316;
  --orange-light:  #FED7AA;
  --orange-soft:   #FFF7ED;
  --orange-dark:   #EA580C;
  --green:         #10B981;
  --green-light:   #A7F3D0;
  --green-soft:    #ECFDF5;
  --green-dark:    #059669;
  --amber:         #D97706;
  --amber-soft:    #FFFBEB;
  --sky:           #0284C7;
  --sky-soft:      #F0F9FF;
  --off-white:     #F9F7F4;
  --light-gray:    #F1EDE8;
  --text-dark:     #1C1917;
  --text-mid:      #44403C;
  --text-soft:     #78716C;
  --border:        #E7E5E4;
  --white:         #FFFFFF;

  --shadow-sm:     0 2px 8px rgba(0,0,0,.07);
  --shadow-md:     0 8px 28px rgba(0,0,0,.10);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.13);

  --radius:        16px;
  --radius-sm:     10px;
  --radius-pill:   50px;

  --font-display:  'Fraunces', Georgia, serif;
  --font-body:     'DM Sans', sans-serif;

  --transition:    .25s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }

/* ── CONTAINER ── */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width:768px) { .wrap { padding: 0 24px; } }

/* ==========================================================
   TOP BAR
   ========================================================== */
.topbar {
  background: var(--text-dark);
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
  align-items: center;
}
.topbar a {
  color: rgba(255,255,255,.78);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color var(--transition);
}
.topbar a i { color: var(--orange); font-size: 11px; }
.topbar a:hover { color: var(--orange-light); }
.topbar .sep { color: rgba(255,255,255,.2); }
@media (min-width:768px) {
  .topbar { font-size: 13px; padding: 9px 0; }
  .topbar .wrap { justify-content: flex-end; gap: 24px; }
}
@media (max-width:520px) { .topbar .sep { display: none; } }

/* ==========================================================
   HEADER + NAV
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(249,247,244,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 48px; width: auto; display: block; }

@media (min-width:768px) {
  .hdr-inner { padding: 12px 24px; }
  .logo-link img { height: 56px; }
}

/* Desktop nav */
.desk-nav {
  display: none;
  align-items: center;
  gap: 2px;
}
.desk-nav > a,
.drop-trigger {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-mid);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  font-family: var(--font-body);
}
.desk-nav > a:hover,
.drop-trigger:hover { background: var(--light-gray); color: var(--text-dark); }
.desk-nav > a.active { background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; }
.drop-trigger i { font-size: 10px; transition: transform var(--transition); }

/* Dropdown */
.drop-wrap { position: relative; }
.drop-wrap:hover .drop-trigger i,
.drop-wrap:focus-within .drop-trigger i { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.drop-wrap:hover .drop-menu,
.drop-wrap:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
}
.drop-menu a i { color: var(--orange); width: 16px; font-size: 13px; }
.drop-menu a:hover { background: var(--orange-soft); color: var(--orange-dark); }

.hdr-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: var(--radius-pill) !important;
  padding: 10px 22px !important;
  margin-left: 8px;
  font-size: 13px !important;
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.hdr-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,115,22,.45) !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
  transition: background var(--transition);
}
.hamburger:active { background: var(--light-gray); }
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--text-dark);
  border-radius: 4px;
  transition: all var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-drawer.is-open { display: flex; max-height: 720px; }
.mobile-drawer a {
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--transition), color var(--transition);
}
.mobile-drawer a:hover,
.mobile-drawer a.active { background: var(--orange-soft); color: var(--orange-dark); }
.mobile-drawer .mob-sub {
  padding-left: 42px;
  font-size: 14px;
  background: var(--off-white);
  color: var(--text-soft);
}
.mobile-drawer .mob-sub i { color: var(--orange); font-size: 12px; width: 14px; }
.mobile-drawer .mob-cta {
  background: var(--orange);
  color: var(--white) !important;
  border-bottom: none !important;
  margin: 12px 18px 14px;
  border-radius: var(--radius-pill);
  justify-content: center;
}

@media (min-width:1024px) {
  .desk-nav { display: flex; }
  .hamburger { display: none; }
  .mobile-drawer { display: none !important; }
}

/* ==========================================================
   PAGE HERO (inner pages only)
   ========================================================== */
.page-hero {
  background: var(--text-dark);
  padding: 60px 20px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(249,115,22,.22) 0%, transparent 65%),
              radial-gradient(ellipse 50% 50% at 100% 100%, rgba(16,185,129,.16) 0%, transparent 65%);
}
.page-hero .wrap { position: relative; }
.page-hero .crumb {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.page-hero .crumb a { color: var(--orange-light); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--orange-light); }
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
@media (min-width:768px) {
  .page-hero { padding: 84px 24px 70px; }
  .page-hero p { font-size: 1.08rem; }
}

/* ==========================================================
   SECTION + TYPE UTILITIES
   ========================================================== */
section { padding: 60px 0; }
@media (min-width:768px) { section { padding: 90px 0; } }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.section-title em { font-style: italic; font-weight: 300; color: var(--orange); }

.section-sub {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 580px;
  line-height: 1.7;
}
.section-hdr { margin-bottom: 40px; }
.section-hdr.center { text-align: center; }
.section-hdr.center .section-sub { margin: 0 auto; }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-align: center;
  line-height: 1;
}
.btn.full { width: 100%; }

.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 6px 20px rgba(249,115,22,.35); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(249,115,22,.45); }
.btn-green-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-green-outline:hover { background: var(--green); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,185,129,.30); }
.btn-green { background: var(--green); color: var(--white); box-shadow: 0 6px 20px rgba(16,185,129,.30); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16,185,129,.40); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-ghost { background: var(--white); color: var(--text-dark); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width:480px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

/* ==========================================================
   ICON BOX
   ========================================================== */
.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-bottom: 18px;
}
.ib-orange { background: var(--orange-soft); color: var(--orange); }
.ib-green  { background: var(--green-soft);  color: var(--green); }
.ib-amber  { background: var(--amber-soft);  color: var(--amber); }
.ib-sky    { background: var(--sky-soft);    color: var(--sky); }

/* ==========================================================
   GRIDS
   ========================================================== */
.g2, .g3, .g4 { display: grid; gap: 20px; }
.g2 { grid-template-columns: 1fr; }
.g3 { grid-template-columns: 1fr; }
.g4 { grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width:640px) {
  .g2 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .g3 { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (min-width:1024px) {
  .g3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .g4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}

/* ==========================================================
   CTA BANNER
   ========================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--text-dark) 0%, #292524 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%; left: 30%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.14) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%; right: 5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner .wrap { position: relative; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.cta-banner h2 em { font-style: italic; font-weight: 300; color: var(--orange-light); }
.cta-banner p {
  font-size: .98rem;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin: 0 auto 26px;
  line-height: 1.65;
}
.cta-banner .btn-row { justify-content: center; }

/* ==========================================================
   FORM
   ========================================================== */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-2col { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width:520px) { .form-2col { grid-template-columns: 1fr 1fr; } }

/* ==========================================================
   FOOTER
   ========================================================== */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.65);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width:600px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width:1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 48px; } }
.fcol h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.fcol p { font-size: .87rem; line-height: 1.75; }
.flinks li { margin-bottom: 10px; }
.flinks a {
  font-size: .87rem;
  font-weight: 500;
  color: rgba(255,255,255,.62);
  transition: color var(--transition);
}
.flinks a:hover { color: var(--orange-light); }
.fci {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  font-size: .87rem;
}
.fci i { color: var(--orange); margin-top: 3px; flex-shrink: 0; font-size: 13px; }
.fci a { color: rgba(255,255,255,.72); font-weight: 600; transition: color var(--transition); }
.fci a:hover { color: var(--orange-light); }
.fci span { color: rgba(255,255,255,.55); }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.38);
  text-align: center;
}
.footer-bottom strong { color: var(--orange-light); }
@media (min-width:768px) { .footer-bottom { text-align: left; } }

/* ==========================================================
   STICKY MOBILE CALL BAR
   ========================================================== */
.mobile-call-bar {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--orange);
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.mobile-call-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,.2);
  -webkit-tap-highlight-color: transparent;
  transition: background var(--transition);
}
.mobile-call-bar a:last-child { border-right: none; }
.mobile-call-bar a:active { background: var(--orange-dark); }
.mobile-call-bar i { font-size: 14px; }
@media (min-width:1024px) { .mobile-call-bar { display: none; } }
@media (max-width:1023px) { body { padding-bottom: 50px; } }

/* ==========================================================
   MISC UTILS
   ========================================================== */
.bg-light { background: var(--off-white); }
.bg-white { background: var(--white); }
.bg-dark  { background: var(--text-dark); color: var(--white); }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.text-orange { color: var(--orange); }
.text-green  { color: var(--green); }
.text-soft   { color: var(--text-soft); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
}
.badge-orange { background: var(--orange-soft); color: var(--orange-dark); }
.badge-green  { background: var(--green-soft);  color: var(--green-dark); }
.badge-amber  { background: var(--amber-soft);  color: var(--amber); }
.badge-sky    { background: var(--sky-soft);    color: var(--sky); }

.success-msg {
  display: none;
  background: var(--green-soft);
  border: 2px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 22px;
  align-items: center;
  gap: 12px;
}
.success-msg.show { display: flex; }

/* Utility for horizontal scroll on mobile */
.scroll-x { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.scroll-x::-webkit-scrollbar { display: none; }
