/* ============================================
   Mental Health Management PLLC — Flat Stylesheet
   ============================================ */

:root {
  --blue: #212b9c;
  --blue-dark: #141a5d;
  --blue-soft: #eef0fb;
  --blue-tint: #f5f7fc;
  --border: #e5e8f0;
  --white: #ffffff;
  --black: #000;
  --text: #1f222b;
  --text-soft: #5a6170;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
  --font-body: 'Ubuntu', system-ui, -apple-system, sans-serif;
  --font-head: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(20,26,93,.06);
  --shadow-md: 0 8px 24px rgba(20,26,93,.10);
  --shadow-lg: 0 16px 40px rgba(20,26,93,.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--black);
}
p { margin: 0 0 16px; }

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

/* --- Eyebrow --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  padding: 7px 14px;
  background: var(--blue-soft);
  border-radius: 999px;
}
.eyebrow.light {
  color: var(--white);
  background: rgba(255,255,255,.15);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  line-height: 1;
  transition: all .25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background: var(--blue); color: var(--white); }
.btn-light:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--blue); }
.btn-white-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-white-outline:hover { background: var(--white); color: var(--blue); }

/* ============================================
   CRISIS BAR
   ============================================ */
.crisis-bar {
  background: #1a1d3a;
  color: rgba(255,255,255,.9);
  padding: 10px 0;
  font-size: 14px;
  position: relative;
  z-index: 110;
}
.crisis-inner { display: flex; align-items: center; justify-content: center; gap: 10px; }
.crisis-inner p { margin: 0; }
.crisis-inner a { color: var(--white); text-decoration: underline; }
.crisis-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 60px; width: auto; transition: height .3s ease; }
.site-header.scrolled .logo img { height: 48px; }

.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  transition: color .2s ease;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: currentColor;
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.site-header.scrolled .main-nav a { color: var(--black); }

.header-cta { background: var(--blue); color: var(--white); padding: 12px 20px; font-size: 13px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: background .3s;
}
.site-header.scrolled .mobile-toggle span { background: var(--black); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 140px;
  margin-top: -100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); }
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero-sub { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-btn { font-size: 15px; padding: 16px 30px; }

.hero-wave {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--white);
  padding: 40px 0 20px;
  margin-top: -30px;
  position: relative;
  z-index: 4;
}
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color .3s ease;
}
.trust-item:hover { border-color: var(--blue); }
.trust-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-item h5 { font-size: 14px; margin: 0 0 4px; color: var(--black); }
.trust-item p { font-size: 13px; color: var(--text-soft); margin: 0; line-height: 1.4; }

/* ============================================
   WELCOME / ABOUT
   ============================================ */
.welcome {
  padding: 90px 0 110px;
  background: var(--blue-tint);
}
.welcome-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.welcome-text h2 { font-size: 42px; margin-bottom: 22px; line-height: 1.15; }
.welcome-text > p { color: var(--text-soft); font-size: 17px; margin-bottom: 34px; }
.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color .3s ease;
}
.feature:hover { border-color: var(--blue); }
.feature-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h4 { font-size: 18px; margin: 6px 0 6px; }
.feature p { color: var(--text-soft); font-size: 15px; margin: 0; line-height: 1.55; }

.welcome-image { position: relative; display: flex; justify-content: center; align-items: center; }
.welcome-image img { position: relative; z-index: 2; max-width: 340px; width: 100%; }
.dotted-bg {
  position: absolute;
  top: -30px; left: -30px;
  width: 60%; height: 60%;
  background-image: radial-gradient(var(--blue) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  z-index: 1;
  opacity: .18;
}

/* ============================================
   NEW PATIENT
   ============================================ */
.new-patient {
  padding: 90px 0;
  background: var(--blue);
  color: var(--white);
}
.new-patient-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.new-patient-text h2 { color: var(--white); font-size: 44px; margin-bottom: 18px; }
.new-patient-text p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  max-width: 620px;
  margin: 0;
}
.new-patient-text strong { color: var(--white); font-weight: 700; }

.new-patient-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  text-align: center;
}
.assistance-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
}
.assistance-phone {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 22px;
}
.assistance-phone:hover { text-decoration: underline; }
.assistance-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: background .25s ease;
}
.assistance-btn:hover { background: var(--blue-soft); }

/* ============================================
   COMMITTED
   ============================================ */
.committed { padding: 110px 0; background: var(--white); }
.committed-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.committed-photo { position: relative; }
.committed-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.dotted-tl { top: -40px; left: -40px; width: 80%; height: 50%; }
.committed-text h2 { font-size: 42px; margin-bottom: 12px; }
.committed-text h6 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
  margin: 0 0 22px;
}
.committed-text p { color: var(--text-soft); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.provider-name { padding-left: 20px; border-left: 4px solid var(--blue); }
.provider-name h4 { font-size: 20px; margin: 0 0 4px; }
.provider-name span { font-size: 15px; color: var(--text-soft); }

/* ============================================
   INSURANCES
   ============================================ */
.insurances {
  padding: 110px 0;
  background: var(--blue-tint);
}
.insurances-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-title { text-align: center; font-size: 42px; font-weight: 800; margin: 0 0 14px; color: var(--black); }
.section-title.left { text-align: left; font-size: 46px; letter-spacing: -.5px; }
.section-sub { color: var(--text-soft); font-size: 17px; max-width: 620px; margin: 0 auto; }
.section-sub.left { text-align: left; margin: 0; }

.insurances-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.insurance-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  transition: border-color .25s ease, transform .25s ease;
}
.insurance-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}
.insurance-card svg { width: 34px; height: 34px; color: var(--blue); }

/* ============================================
   SERVICES — FLIP CARDS
   ============================================ */
.services {
  padding: 110px 0;
  background: var(--blue);
  color: var(--white);
}
.services-head { max-width: 720px; margin-bottom: 60px; }
.services-head .eyebrow { background: rgba(255,255,255,.12); color: var(--white); }
.services-head .section-title { color: var(--white); }
.services-head .section-sub { color: rgba(255,255,255,.75); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1400px;
}

/* --- Flip card container --- */
.service-card {
  position: relative;
  min-height: 220px;
  perspective: 1200px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  text-align: left;
  width: 100%;
}
.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
}
.service-card:hover .service-card-inner,
.service-card:focus .service-card-inner,
.service-card.flipped .service-card-inner {
  transform: rotateY(180deg);
}

/* Front + back */
.service-front,
.service-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(255,255,255,.15);
}
.service-front {
  background: rgba(255,255,255,.06);
  justify-content: space-between;
}
.service-back {
  background: var(--white);
  color: var(--text);
  transform: rotateY(180deg);
  justify-content: flex-start;
  overflow: auto;
}

.service-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
  padding: 4px 10px;
  background: rgba(255,255,255,.12);
  border-radius: 6px;
  align-self: flex-start;
}
.service-front h3 {
  font-size: 20px;
  margin: 0;
  color: var(--white);
  line-height: 1.25;
}
.service-hint {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.service-back h4 {
  color: var(--blue);
  font-size: 16px;
  margin: 0 0 10px;
}
.service-back p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
}

.services-more {
  margin-top: 40px;
  padding: 40px 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.services-more-text h3 { color: var(--white); font-size: 26px; margin: 0 0 6px; }
.services-more-text p { color: rgba(255,255,255,.85); font-size: 15px; margin: 0; max-width: 520px; }

/* ============================================
   CTA SPLIT
   ============================================ */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.cta-photo { background-size: cover; background-position: center; min-height: 400px; }
.cta-panel {
  background: var(--blue-dark);
  color: var(--white);
  padding: 80px 60px;
  display: flex;
  align-items: center;
}
.cta-panel-inner { max-width: 500px; }
.cta-panel h2 { color: var(--white); font-size: 46px; line-height: 1.15; margin-bottom: 18px; }
.cta-panel p { color: rgba(255,255,255,.85); font-size: 17px; margin-bottom: 32px; }

/* ============================================
   FAQ
   ============================================ */
.faq { padding: 110px 0; background: var(--white); }
.faq-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--black);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  width: 16px; height: 16px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-body { padding: 0 28px 24px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.faq-body a { color: var(--blue); text-decoration: underline; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  position: relative;
  padding: 100px 0 110px;
  background: var(--blue-tint);
}
.contact-wave {
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}
.contact-wave svg { width: 100%; height: 90px; display: block; }

.contact-head { text-align: center; margin-bottom: 50px; padding-top: 40px; }
.contact-head h2 { font-size: 46px; margin-bottom: 24px; }
.contact-head .btn { font-size: 15px; }

.contact-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--blue);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 36px 40px;
}
.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.contact-item:last-child { border-right: none; }
.contact-item:first-child { padding-left: 0; }
.contact-item:last-child { padding-right: 0; }

.contact-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item h4 { color: var(--white); font-size: 17px; margin: 6px 0 6px; }
.contact-item p { color: rgba(255,255,255,.85); font-size: 15px; margin: 0; line-height: 1.5; }
.contact-item p a { color: rgba(255,255,255,.95); }
.contact-item p a:hover { text-decoration: underline; }

.contact-map {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}
.contact-map iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #0b0d1f; color: rgba(255,255,255,.75); padding: 80px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.footer-brand .footer-logo { height: 70px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.65; max-width: 320px; margin: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; font-size: 15px; }
.footer-col ul a { color: rgba(255,255,255,.75); transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.75); line-height: 1.55; }
.footer-contact svg { width: 16px; height: 16px; color: var(--blue-light, #969de9); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: var(--white); }

.footer-social { display: flex; gap: 12px; margin-bottom: 20px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background .25s ease;
}
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 18px; height: 18px; }
.footer-note { color: rgba(255,255,255,.55); font-size: 14px; margin: 0; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 14px; color: rgba(255,255,255,.55); }

/* ============================================
   FLOATING ACTIONS
   ============================================ */
.floating-call {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--blue);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all .35s ease;
}
.floating-call.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-call:hover { background: var(--blue-dark); }
.floating-call svg { width: 18px; height: 18px; }

.back-to-top {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all .3s ease;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.back-to-top svg { width: 16px; height: 16px; transform: rotate(180deg); }

/* ============================================
   MODAL (kept for accessibility fallback)
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-overlay { position: absolute; inset: 0; background: rgba(11,13,31,.75); }
.modal-box {
  position: relative;
  max-width: 520px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  transform: translateY(20px) scale(.96);
  transition: transform .35s ease;
  border-top: 4px solid var(--blue);
}
.modal.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--blue); color: var(--white); }
.modal-close svg { width: 14px; height: 14px; }
.modal-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--blue);
  padding: 4px 12px;
  background: var(--blue-soft);
  border-radius: 6px;
  margin-bottom: 14px;
}
.modal-box h3 { font-size: 28px; margin: 0 0 14px; }
.modal-box p { color: var(--text-soft); font-size: 16px; line-height: 1.7; margin: 0 0 28px; }
.modal-btn { width: 100%; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1000px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .welcome-inner, .committed-inner { grid-template-columns: 1fr; gap: 50px; }
  .welcome-image { order: -1; }
  .new-patient-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-split { grid-template-columns: 1fr; }
  .cta-photo { min-height: 300px; }
  .cta-panel { padding: 60px 40px; }
  .contact-card { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .contact-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 0 0 20px;
  }
  .contact-item:last-child { border-bottom: none; padding-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .logo img { height: 48px; }

  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open ul { flex-direction: column; gap: 16px; }
  .main-nav.open a { color: var(--black); }
  .site-header { background: var(--white); padding: 12px 0; }
  .main-nav a, .site-header.scrolled .main-nav a { color: var(--black); }
  .mobile-toggle span, .site-header.scrolled .mobile-toggle span { background: var(--black); }

  .hero { margin-top: -80px; }

  .welcome-text h2, .committed-text h2 { font-size: 30px; }
  .new-patient-text h2 { font-size: 32px; }
  .assistance-phone { font-size: 26px; }
  .dotted-bg, .dotted-tl { display: none; }
  .section-title { font-size: 30px; }
  .section-title.left { font-size: 34px; }
  .contact-head h2 { font-size: 32px; }
  .cta-panel h2 { font-size: 32px; }

  .insurances-grid { grid-template-columns: repeat(2, 1fr); }

  .services-more {
    padding: 30px 28px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .crisis-inner { font-size: 13px; text-align: center; }
}

@media (max-width: 560px) {
  .trust-inner { grid-template-columns: 1fr; }
  .insurances-grid,
  .services-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .welcome-text h2, .committed-text h2 { font-size: 26px; }
  .new-patient-text h2 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .section-title.left { font-size: 28px; }
  .contact-head h2 { font-size: 26px; }
  .cta-panel h2 { font-size: 26px; }
  .contact-map iframe { height: 340px; }

  .floating-call { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 13px; }
  .floating-call span { display: none; }
  .floating-call { padding: 14px; border-radius: 50%; }
  .back-to-top { bottom: 16px; left: 16px; width: 42px; height: 42px; }
}