:root {
  --brand: #0073FF;
  --brand-dark: #0e7c92;
  --ink: #1f2d33;
  --muted: #5b6b70;
  --line: #e3e9ea;
  --bg: #F8F4FF;
  /*--bg: linear-gradient(135deg, #f0eff7 0%, #f5eeff 50%, #f8f4ff 100%);*/
  --bg-soft: #f5f9fa;
  --radius: 6px;
  --maxw: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img, .img-slot { display: block; width: 100%; height: 100%; object-fit: cover; }

.img-slot {
  background: repeating-linear-gradient(45deg, #eef3f4, #eef3f4 10px, #e5edee 10px, #e5edee 20px);
  border: 1px dashed #b7c6c9;
  color: #7c8d92;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-align: center;
  padding: 8px;
  min-height: 120px;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
header.site-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 32px 0;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand {
  display: flex;
  align-items: center;
}

nav.main-nav ul {
  font-family: 'Cormorant Light';
  list-style: none;
  display: flex;
  gap: 45px;
  margin: 0px;
  padding: 10px 50px 60px 50px;
  justify-content: center;
  flex-wrap: wrap;
}
nav.main-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--brand);
  border-color: var(--brand);
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  header.site-header {
    padding: 18px 20px 0;
  }
  .header-bar {
    position: relative;
  }
  .brand img {
    width: 100px !important;
    height: 132px !important;
  }
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  nav.main-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  nav.main-nav.open {
    max-height: 400px;
  }
  nav.main-nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 16px 0 24px;
    text-align: center;
  }
  nav.main-nav a {
    display: block;
    padding: 14px 0; 
    font-size: 1.05rem;
  }
}

/* ---------- Hero v2 (text blending into photo) ---------- */
.hero-v2 {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: visible;
}
.hero-v2-copy {
  background: #eef3fa;
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.hero-v2-copy h1 {
  position: relative;
  z-index: 3;           
  width: 160%;           
  font-size: 2.8rem;
  font-weight: 800;
  color: #0e2559;
  line-height: 1.15;
  margin: 0 0 20px;
}
.hero-v2-copy .rule {
  width: 60px;
  height: 0;
  background: #4f9fd6;
  border-radius: 0px;
  margin-bottom: 0px;
}
.hero-v2-copy p {
  color: #45525c;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 0;
  max-width: var(--maxw);
}
.hero-v2-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.hero-v2-photo img {
  border: none;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-v2-photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 380px; 
  background: linear-gradient(
    to right,
    #eef3fa 0%,
    rgba(238,243,250,0.95) 15%,
    rgba(238,243,250,0.85) 25%,
    rgba(238,243,250,0.4) 55%,
    rgba(238,243,250,0.2) 75%,
    rgba(238,243,250,0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ---------- Feature stats bar ---------- */
.hero-stats-bar {
  max-width: var(--maxw);
  margin: -1px auto 0 auto;
  background: #0e2559;
  padding: 36px 20px;
}
.hero-stats-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.hero-stat {
  text-align: center;
  padding: 0 16px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.hero-stat:first-child { border-left: none; }
.hero-stat svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  margin-bottom: 12px;
}
.hero-stat p {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-v2 { grid-template-columns: 1fr; }
  .hero-v2-photo { min-height: 300px; }
  .hero-v2-photo::before { display: none; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .hero-stat { border-left: none; }
}

/* ---------- Services overview (6-card grid) ---------- */
.services-overview {
  background: #f4f6fb;
  padding: 40px 32px;
}
.services-overview .eyebrow {
  display: block;
  text-align: center;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.services-overview h2 {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 28px;
  font-size: 2.4rem;
  color: #10214f;
}
.services-cards {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.svc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(16, 33, 79, 0.06);
  padding: 20px 14px;
  text-align: center;
}
.svc-card .icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.svc-card h3 {
  color: #10214f;
  font-size: 1rem;
  margin: 0 0 8px;
  line-height: 1.3;
}
.svc-card p {
  color: #7a8290;
  font-size: 0.85rem;
  margin: 0;
}
@media (max-width: 1000px) {
  .services-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .services-cards { grid-template-columns: repeat(2, 1fr); }
}
/* ---------- Specialized Programs strip ---------- */
.programs-strip {
  background: #eaf1fb;
  padding: 26px 20px 30px;
  margin: 0 auto;
  max-width: var(--maxw);
  text-align: center;
}
.programs-strip h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  color: #12224f;
  margin: 0 0 10px;
}
.programs-strip h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #4f7fd6;
  margin: 10px auto 0;
}
.programs-grid {
  max-width: var(--maxw);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}
.program-item {
  padding: 0 10px;
  border-left: 1px solid #d5e0f2;
}
.program-item:first-child { border-left: none; }
.program-item svg {
  width: 34px;
  height: 34px;
  stroke: #12224f;
  fill: none;
  stroke-width: 1.6;
  margin-bottom: 10px;
}
.program-item p {
  margin: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: #12224f;
  line-height: 1.3;
}

/* ---------- Need Help CTA banner ---------- */
.help-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0e2559;
  min-height: 340px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.help-banner-copy {
  padding: 60px 50px;
  color: #fff;
}
.help-banner-copy h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
  margin: 0 0 14px;
}
.help-banner-copy h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #4f7fd6;
  margin-top: 14px;
}
.help-banner-copy p {
  color: #cdd8ee;
  max-width: 440px;
  margin: 18px 0 26px;
}
.help-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #12224f;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 26px;
  border-radius: 6px;
}
.help-phone svg {
  width: 18px;
  height: 18px;
  fill: #12224f;
}
.help-banner-photo {
  min-height: 100%;
  position: relative;   
}
.help-banner-photo .img-slot {
  height: 100%;
  border-radius: 0;
  border: none;
}
.help-banner-photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 180px;               
  background: linear-gradient(to right, #0e2559 0%, rgba(14,37,89,0) 100%);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 900px) {
  .programs-grid { grid-template-columns: repeat(4, 1fr); }
  .program-item:nth-child(4n+1) { border-left: none; }
  .help-banner { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .program-item:nth-child(odd) { border-left: none; }
}


/* ---------- Signs & Symptoms grid ---------- */
.symptoms-section {
  background: #f4f7fc;
  padding: 60px 32px 70px;
  text-align: center;
}
.symptoms-section .eyebrow {
  display: block;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.symptoms-section h2 {
  font-size: 2.6rem;
  color: #10214f;
  margin: 0 0 18px;
}
.symptoms-section .subtext {
  color: #6b7280;
  max-width: 640px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}
.symptoms-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.symptom-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(16, 33, 79, 0.06);
  padding: 30px 28px;
}
.symptom-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #10214f;
  font-size: 1.2rem;
  margin: 0 0 14px;
}
.symptom-card p {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .symptoms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .symptoms-grid { grid-template-columns: 1fr; }
  .symptoms-section h2 { font-size: 1.9rem; }
}

/* ---------- Face This Alone banner ---------- */
.alone-banner-wrap {
  background: #f4f7fc;
  padding: 30px 32px 60px;
}
.alone-banner {
  max-width: var(--maxw);
  margin: 0 auto;
  background: #0e2559;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
}
.alone-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  margin: 0 0 16px;
}
.alone-banner p {
  color: #cdd8ee;
  font-size: 1.05rem;
  margin: 0 0 28px;
}
.alone-banner .btn-white {
  display: inline-block;
  background: #fff;
  color: #0e2559;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .alone-banner h2 { font-size: 1.6rem; }
  .alone-banner { padding: 36px 24px; }
}

/* ------------ Healing Minds --------------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-images .img-slot:first-child {
  grid-column: 1 / -1;
  height: 100px;
  border-radius: 50%;
  max-width: 100px;
  justify-self: start;
}
.hero-images .img-slot:last-child {
  grid-column: 1 / -1;
  height: 320px;
  border-radius: var(--radius);
}
.hero-copy h1 {
  font-family: Arial Narrow, sans-serif;
  font-size: 2.0rem;
  color: var(--brand);
  margin: 0 0 18px;
}
.hero-copy p { color: var(--muted); margin: 0 0 14px; }
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 8px;
}
.btn:hover { background: var(--brand-dark); }
 
/* ---------- Tabbed info section ---------- */
.info-section {
  background: var(--bg-soft);
  padding: 60px 32px;
}
.info-section h2 {
  text-align: center;
  max-width: var(--maxw);
  margin: 0 auto 36px;
  color: var(--brand-dark);
}
.tabs-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}
.tab-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tab-btn {
  text-align: left;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}
.tab-btn:hover { background: #eef4f5; }
.tab-btn.active {
  border-left-color: var(--brand);
  color: var(--brand-dark);
  background: #fff;
}
.tab-panel { display: none; background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.tab-panel.active { display: block; }
.tab-panel h3 { margin-top: 0; color: var(--brand-dark); }


/* ---------- Welcome info grid (static cards) ---------- */
.welcome-grid-section {
  padding: 50px 32px 70px;
}
.welcome-grid-section .eyebrow {
  display: block;
  color: #2a95b0;
  max-width: var(--maxw);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 auto 30px;
  letter-spacing: 2px;
  text-align: left;
  margin-bottom: 34px;
}
.welcome-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.welcome-card {
  background: #e3f4fb;
  padding: 40px 34px;
  text-align: center;
}
.welcome-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #1f2d33;
  margin: 0 0 18px;
}
.welcome-card p {
  color: #6b7d82;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .welcome-grid { grid-template-columns: 1fr; }
}

/* ---------- Who We Are (circle photo cards) ---------- */
.who-we-are-v2 {
  padding: 50px 32px 80px;
}
.who-we-are-v2 .eyebrow {
  display: block;
  max-width: var(--maxw);
  margin: 0 auto 30px;
  color: #2a95b0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-align: left;
}
.wwa-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wwa-card {
  background: #e3f4fb;
  padding: 36px 34px 44px;
  min-width: 0;
}
.wwa-card .wwa-photo {
  width: 100%;
  height:340px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 28px;
}
.wwa-card .wwa-photo img,
.wwa-card .wwa-photo.img-slot {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 50%;
}
.wwa-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #1f2d33;
  text-align: center;
  margin: 0 0 18px;
}
.wwa-card p {
  color: #6b7d82;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: center;
  margin: 0;
}
.wwa-card .wwa-more {
  display: block;
  text-align: center;
  color: #2a95b0;
  font-weight: 600;
  margin-top: 14px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 0.95rem;
}
.wwa-card .wwa-extra { display: none; }
.wwa-card.expanded .wwa-extra { display: inline; }
.wwa-card.expanded .wwa-more { display: none; }

@media (max-width: 900px) {
  .wwa-grid { grid-template-columns: 1fr; max-width: 500px; }
}

/* ---------------- Services (Our Therapy 3-column section) ----------------- */
.therapy-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0px 60px 0 60px;
}

.therapy-eyebrow {
  display: block;
  color: #2f8fae;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin: 0px 25px 40px;
}

.therapy-grid {
  display: flex;
  width: 100%;
}

.therapy-col {
  position: relative;
  flex: 1;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 45px;
  text-align: center;
  color: #fff;
}

.therapy-col::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 100%, rgba(0,0,0,0.55) 100%);
  z-index: 0;
}

.therapy-col > * {
  position: relative;
  z-index: 1;
}

.therapy-col h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 35px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.therapy-col p {
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 460px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.col-1 { background-image: url('images/depression-anxiety.png'); }
.col-2 { background-image: url('images/trauma-ptsd.png'); }
.col-3 { background-image: url('images/online-services.png'); }

@media (max-width: 900px) {
  .therapy-grid { flex-direction: column; }
  .therapy-col { min-height: 500px; }
  .therapy-section { padding: 40px 20px 0 20px; }
}

/* ---------------- Here for you (image + copy intro section) ----------------- */
.here-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.here-image {
  flex: 1;
  max-width: 500px;
}

.here-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.here-content {
  flex: 1;
}

.here-eyebrow {
  display: block;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.here-content h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 2.6rem;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.here-content p {
  color: #555;
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 35px;
}

.contact-btn {
  display: inline-block;
  background: #2f8fae;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  padding: 18px 38px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}

.contact-btn:hover {
  background: #277d99;
}

@media (max-width: 800px) {
  .here-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }
  .here-image, .here-content {
    max-width: 100%;
  }
  .here-content h2 {
    font-size: 2rem;
  }
}


/* ---------- Scrolling social ticker ---------- */
.social-ticker {
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg);
  padding: 0 0;
  margin-bottom: 20px;
}
.social-ticker-track {
  animation: ticker-scroll 18s linear infinite;
}
.social-ticker:hover .social-ticker-track {
  animation-play-state: paused;
}
.social-ticker-track a {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  color: #2a95b0;
  padding: 0 40px;
  text-decoration: none;
  transition: color 0.2s;
}
.social-ticker-track a:hover {
  color: #0e2559;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Footer ---------- */
footer {
  background: #142459;
  color: #cfe0e3;
  padding: 28px 32px 24px;
  margin-top: 0px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.social-row { margin-bottom: 18px; }
.social-row a { margin: 0 10px; font-weight: 600; color: #fff; }
footer .org-name { font-weight: 700; color: #fff; margin-bottom: 4px; }
footer .addr, footer .phone { font-size: 0.9rem; margin: 2px 0; }
footer .legal { margin-top: 18px; font-size: 0.78rem; color: #8fa5aa; }
footer .legal a { text-decoration: underline; }

/* ---------- Services page ---------- */
.services-hero { max-width: var(--maxw); margin: 0 auto; padding: 48px 32px 10px; }
.services-hero h1 { color: var(--brand-dark); }
.service-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 32px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.service-card h3 { color: var(--brand-dark); margin-top: 0; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

.cta-band {
  background: var(--brand);
  color: #fff;
  padding: 50px 32px;
  text-align: center;
}
.cta-band .img-slot { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 20px; }
.cta-band h2 { margin: 6px 0 10px; }
.cta-band .btn { background: #fff; color: var(--brand-dark); }

/* ---------- Contact page ---------- */

.contact-hero-v2 {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 32px 0;
  text-align: center;
}

.contact-hero-v2 .eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.contact-hero-v2 h1 {
  margin: 0 0 16px;
  color: #0e2559;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
}

.contact-hero-v2 p {
  max-width: 620px;
  margin: 0 auto;
  color: #5b6b70;
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-wrap-v2 {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.contact-panel-v2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(14, 37, 89, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(14, 37, 89, 0.1);
}

.contact-details-v2 {
  padding: 52px;
}

.contact-label,
.hours-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #2a95b0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.contact-details-v2 h2,
.hours-card-v2 h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.contact-details-v2 h2 {
  color: #0e2559;
  font-size: 2rem;
}

.contact-intro {
  max-width: 480px;
  margin: 12px 0 32px;
  color: #6b7d82;
  line-height: 1.7;
}

.contact-options-v2 {
  display: grid;
  gap: 14px;
}

.contact-option-v2 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  background: #f7fafc;
  border: 1px solid #e5edf1;
  border-radius: 14px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-option-v2:hover {
  transform: translateY(-2px);
  border-color: #92d0df;
  box-shadow: 0 10px 24px rgba(14, 37, 89, 0.08);
}

.contact-option-v2:focus-visible,
.hours-call-v2:focus-visible {
  outline: 3px solid rgba(0, 115, 255, 0.35);
  outline-offset: 3px;
}

.contact-icon-v2 {
  display: flex;
  width: 50px;
  height: 50px;
  flex: none;
  align-items: center;
  justify-content: center;
  color: #0e7c92;
  background: #e3f4fb;
  border-radius: 50%;
}

.contact-icon-v2 svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-option-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-option-label {
  margin-bottom: 3px;
  color: #2a95b0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.contact-option-copy strong {
  color: #0e2559;
  font-size: 1.05rem;
}

.contact-option-note {
  color: #6b7d82;
  font-size: 0.88rem;
}

.contact-arrow {
  color: #2a95b0;
  font-size: 1.45rem;
  transition: transform 0.2s ease;
}

.contact-option-v2:hover .contact-arrow {
  transform: translateX(4px);
}

.hours-card-v2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 44px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(42, 149, 176, 0.35), transparent 42%),
    #0e2559;
}

.hours-eyebrow {
  color: #76d0df;
}

.hours-card-v2 h2 {
  margin-bottom: 28px;
  color: #fff;
  font-size: 1.8rem;
}

.hours-list-v2 {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hours-row-v2 {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
}

.hours-row-v2 span {
  color: #cad8ed;
}

.hours-row-v2 strong {
  color: #fff;
  text-align: right;
}

.hours-note-v2 {
  margin: 26px 0;
  color: #cad8ed;
  font-size: 0.9rem;
  line-height: 1.7;
}

.hours-call-v2 {
  display: inline-flex;
  align-self: flex-start;
  justify-content: center;
  padding: 14px 26px;
  color: #0e2559;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  background: #fff;
  border-radius: 30px;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.hours-call-v2:hover {
  transform: translateY(-2px);
  background: #e3f4fb;
}

@media (max-width: 820px) {
  .contact-panel-v2 {
    grid-template-columns: 1fr;
  }

  .contact-details-v2,
  .hours-card-v2 {
    padding: 40px 32px;
  }
}

@media (max-width: 560px) {
  .contact-hero-v2 {
    padding: 24px 20px 0;
  }

  .contact-wrap-v2 {
    padding: 36px 16px 60px;
  }

  .contact-panel-v2 {
    border-radius: 16px;
  }

  .contact-details-v2,
  .hours-card-v2 {
    padding: 32px 22px;
  }

  .contact-option-v2 {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 17px;
  }

  .contact-arrow {
    display: none;
  }

  .hours-row-v2 {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .hours-row-v2 strong {
    text-align: left;
  }

  .hours-call-v2 {
    width: 100%;
  }
}
/* ---------- Gallery page ---------- */
/* Base grid — shared by both galleries */
.gallery-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
}

.gallery-image-grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-image-grid-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-image-grid-item:hover img {
  transform: scale(1.08);
}

.gallery-image-grid--natural {
  display: block;
  column-count: 3;
  column-gap: 6px;
  max-width: 1100px;
  margin: 0 auto 30px;
}

.gallery-image-grid--natural .gallery-image-grid-item {
  break-inside: avoid;    
  margin-bottom: 6px;
  display: inline-block;  
  width: 100%;
}

.gallery-image-grid--natural .gallery-image-grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .gallery-image-grid--natural {
    column-count: 2;
  }
}

@media (max-width: 500px) {
  .gallery-image-grid--natural {
    column-count: 1;
  }
}

@media (max-width: 900px) {
  .gallery-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery-image-grid {
    grid-template-columns: 1fr;
  }
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox.active {
  display: flex;
}

/* Blurred background made from the current image */
.lightbox-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(25px) brightness(0.6);
  transform: scale(1.15); 
  z-index: 0;
}

.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 78%;
  max-height: 80vh;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.lightbox-counter {
  position: absolute;
  top: 30px;
  left: 40px;
  z-index: 2;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close:hover {
  background: none;
  color: #4db8c4;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.gallery-heading {
  margin: 100px 90px 30px;
  font-family: 'Lucida Console', monospace;
  font-size: 2.3rem;
  color: var(--brand-dark);
  font-weight: 50;
}
.gallery-intro { max-width: var(--maxw); margin: 0 auto; padding: 0 32px 20px; text-align: center; }
.gallery-intro h1 { color: var(--brand-dark); }
.gallery-intro p { color: var(--muted); max-width: 640px; margin: 0 auto 20px; }
.gallery-btn { 
  display: inline-block; 
  background: var(--brand-dark); 
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 8px;
}
.gallery-btn:hover { background: #0a6071; }
.gallery-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 32px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-grid .img-slot { height: 100%; width: 100%; border-radius: var(--radius); }
.gallery-grid h2 { grid-column: 1 / -1; color: var(--brand-dark); margin-bottom: -4px; }

/* ---------- Patient Finance ---------- */
.finance-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0px 32px 70px;
}

.finance-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
  background: #eeffff;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(14, 37, 89, 0.12);
  overflow: hidden;
}
 
.finance-copy {
  padding: 56px 60px;
}
 
.finance-copy .eyebrow {
  display: block;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
 
.finance-copy h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0e2559;
  margin: 0 0 22px;
}
 
.finance-copy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 32px 0 14px;
}
 
.finance-copy p {
  color: var(--brand-dark);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 16px;
}
 
.finance-copy ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
 
.finance-copy li {
  color: var(--brand-dark);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
 
.finance-copy li::marker {
  color: var(--brand-dark);
}
 
.finance-copy a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
 
 
.finance-copy .btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 30px;
  transition: background 0.2s ease;
}
.finance-copy .btn:hover { background: #0a6071;}
 
.finance-copy .btn:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 2px;
}
 
.finance-photo {
  position: relative;
  min-height: 100%;
}
 
.finance-photo img {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.btn-download-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 50px 0px 0px;
}

.btn-download {
  display: inline-flex;
  background: var(--brand-dark);
  color: #fff;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 12px;
}
.btn-download:hover { background: #0a6071;}

.btn-download-icon {
  width: 24px;
  height: 24px;
  flex: none;
}
 
/* soft blend into the card so the photo doesn't feel pasted on */
.finance-photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  background: linear-gradient(to right, #eeffff 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Employee Resources ---------- */
.employee-section,
.handbook-viewer-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 64px;
}

.employee-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 520px;
  overflow: hidden;
  background: #eeffff;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(14, 37, 89, 0.12);
}

.employee-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 60px;
}

.employee-copy .eyebrow,
.handbook-viewer-heading .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.employee-copy h1 {
  margin: 0 0 22px;
  color: #0e2559;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
}

.employee-copy p {
  max-width: 620px;
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 1.05rem;
  line-height: 1.75;
}

.employee-copy .employee-updated {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.employee-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.employee-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 2px solid var(--brand-dark);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.employee-btn:hover {
  transform: translateY(-1px);
}

.employee-btn:focus-visible,
.handbook-viewer-heading a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.employee-btn-primary {
  background: var(--brand-dark);
  color: #fff;
}

.employee-btn-primary:hover {
  background: #0a6071;
}

.employee-btn-secondary {
  background: transparent;
  color: var(--brand-dark);
}

.employee-btn-secondary:hover {
  background: rgba(14, 124, 146, 0.08);
}

.employee-document {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  background: linear-gradient(145deg, #0e2559 0%, #0e7c92 100%);
}

.employee-document-sheet {
  width: min(100%, 330px);
  aspect-ratio: 8.5 / 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 32px;
  background: #fff;
  color: #0e2559;
  text-align: center;
  box-shadow: 0 20px 44px rgba(4, 24, 55, 0.35);
}

.employee-document-sheet img {
  width: 132px;
  height: auto;
  margin-bottom: 30px;
  object-fit: contain;
}

.employee-document-sheet span {
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.employee-document-sheet strong {
  font-size: 2rem;
  line-height: 1.15;
}

.employee-document-sheet small {
  max-width: 210px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.handbook-viewer-section {
  padding-top: 10px;
}

.handbook-viewer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.handbook-viewer-heading h2 {
  margin: 0;
  color: #0e2559;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.handbook-viewer-heading a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.handbook-frame {
  overflow: hidden;
  height: min(78vh, 900px);
  min-height: 620px;
  background: #dfe8ea;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(14, 37, 89, 0.12);
}

.handbook-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.handbook-mobile-card {
  display: none;
}

@media (max-width: 900px) {
  .employee-card {
    grid-template-columns: 1fr;
  }

  .employee-copy {
    padding: 44px 34px;
  }

  .employee-document {
    padding: 44px;
  }

  .employee-document-sheet {
    width: min(74vw, 320px);
  }
}

@media (max-width: 700px) {
  .employee-section,
  .handbook-viewer-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .employee-section {
    padding-top: 24px;
    padding-bottom: 46px;
  }

  .employee-copy {
    padding: 36px 24px 40px;
  }

  .employee-actions {
    flex-direction: column;
  }

  .employee-btn {
    width: 100%;
  }

  .employee-document {
    padding: 36px 24px;
  }

  .handbook-viewer-heading,
  .handbook-frame {
    display: none;
  }

  .handbook-mobile-card {
    display: block;
    padding: 30px 24px;
    background: #eeffff;
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(14, 37, 89, 0.12);
    text-align: center;
  }

  .handbook-mobile-card h2 {
    margin-bottom: 10px;
    color: #0e2559;
    font-size: 1.55rem;
  }

  .handbook-mobile-card p {
    margin-bottom: 22px;
    color: var(--muted);
  }
}

@media (max-width: 460px) {
  .footer-link-separator {
    display: none;
  }

  footer .legal a {
    display: block;
    margin-bottom: 8px;
  }
}
 
@media (max-width: 900px) {
  .finance-card {
    grid-template-columns: 1fr;
  }
  .finance-copy {
    padding: 40px 32px;
  }
  .finance-photo::before {
    display: none;
  }
  .finance-photo img {
    position: static;
    min-height: 280px;
  }
}
 
@media (max-width: 540px) {
  .finance-section {
    padding: 40px 16px 50px;
  }
  .finance-copy {
    padding: 32px 22px;
  }
  .finance-copy h1 {
    font-size: 1.6rem;
  }
}


/* ---------- Responsive ---------- */
/* @media (max-width: 860px) {
  header.site-header { flex-direction: column; align-items: flex-start; }
  nav.main-nav ul { flex-wrap: wrap; gap: 14px; }
  .hero, .row, .contact-wrap { grid-template-columns: 1fr; }
  .row .img-slot { order: initial !important; }
  .tabs-wrap { grid-template-columns: 1fr; }
  .service-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .service-grid, .gallery-grid { grid-template-columns: 1fr; }
} */

/* Fix: invalid custom-property media query on the contact form */
@media (max-width: 900px) {
  .contact-wrap-v2 { grid-template-columns: 1fr; }
  .form-v2 .field-row { grid-template-columns: 1fr; }
}

/* Hero heading overflows once the grid collapses to 1 column */
@media (max-width: 900px) {
  .hero-v2-copy h1 {
    width: 100%;
    font-size: 2.1rem;
  }
  .hero-v2-copy {
    padding: 40px 28px;
  }
}

/* Gallery heading margin is way too large on phones */
@media (max-width: 600px) {
  .gallery-heading {
    margin: 50px 24px 20px;
    font-size: 1.6rem;
  }
  .gallery-intro { padding: 0 20px 16px; }
}

/* Therapy columns: tighten padding on small screens */
@media (max-width: 600px) {
  .therapy-col { padding: 40px 24px; }
  .therapy-col h2 { font-size: 1.8rem; }
}

/* Ensure tap targets are comfortably sized on touch devices */
@media (max-width: 600px) {
  .btn, .btn-submit, .btn-download, .contact-btn, .gallery-btn, .help-phone {
    padding: 14px 24px;
    font-size: 1rem;
  }
}
