/* ============================================================
   Rothschild Mental Health Counseling — Modern Design System
   Warm & Calming theme · CSS Grid + Flexbox · No Bootstrap
   ============================================================ */

/* === Design Tokens === */
:root {
  --cream:        #faf8f5;
  --cream-alt:    #f0e9de;
  --cream-dark:   #e8ddd0;
  --sage:         #6b8f71;
  --sage-dark:    #4e6b53;
  --sage-light:   #eaf1eb;
  --terracotta:   #b8714f;
  --brown:        #2c2520;
  --brown-mid:    #5c4f45;
  --brown-light:  #8a7d72;
  --border:       #ddd5c8;
  --white:        #ffffff;

  --shadow-sm:  0 1px 6px rgba(44,37,32,0.07);
  --shadow-md:  0 4px 20px rgba(44,37,32,0.11);
  --shadow-lg:  0 8px 40px rgba(44,37,32,0.15);

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;

  --nav-h:    72px;
  --max-w:    1140px;
  --ease:     0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--terracotta);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

/* === Typography === */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.22;
  color: var(--brown);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 700; }
h3 { font-size: 1.3125rem; font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }
h5 { font-size: 0.9375rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--brown-mid);
}

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

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: all var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-sage:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.9);
  color: var(--white);
}

.btn-outline-sage {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage);
}

.btn-outline-sage:hover {
  background: var(--sage);
  color: var(--white);
}

/* === Navigation === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--ease), box-shadow var(--ease);
}

.site-nav.transparent {
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
  flex-shrink: 0;
  transition: color var(--ease);
}

.site-nav.scrolled .nav-brand {
  color: var(--brown);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.14);
}

.site-nav.scrolled .nav-links a {
  color: var(--brown-mid);
}

.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.active {
  color: var(--sage-dark);
  background: var(--sage-light);
}

.nav-extras {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-block;
  padding: 0.3rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.3);
  transition: all var(--ease);
  white-space: nowrap;
}

.lang-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
}

.site-nav.scrolled .lang-btn {
  color: var(--brown-light);
  border-color: var(--border);
}

.site-nav.scrolled .lang-btn:hover {
  color: var(--sage-dark);
  border-color: var(--sage);
  background: var(--sage-light);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
}

.site-nav.scrolled .nav-toggle span,
.site-nav.menu-open .nav-toggle span {
  background: var(--brown);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Mobile nav dropdown === */
.nav-dropdown {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(250,248,245,0.99);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.75rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
}

.nav-dropdown.open {
  display: flex;
}

.nav-dropdown .nav-links {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}

.nav-dropdown .nav-links a {
  color: var(--brown-mid) !important;
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
}

.nav-dropdown .nav-links a:hover,
.nav-dropdown .nav-links a.active {
  color: var(--sage-dark) !important;
  background: var(--sage-light);
}

.nav-dropdown .nav-extras {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.nav-dropdown .lang-btn {
  color: var(--brown-light) !important;
  border-color: var(--border) !important;
}

.nav-dropdown .lang-btn:hover {
  color: var(--sage-dark) !important;
  border-color: var(--sage) !important;
  background: var(--sage-light) !important;
}

/* === Hero === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 540px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(44,37,32,0.25) 0%,
    rgba(44,37,32,0.55) 60%,
    rgba(44,37,32,0.72) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.75rem;
  padding-top: var(--nav-h);
  color: var(--white);
}

.hero-content h1 {
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  margin-bottom: 1rem;
  max-width: 680px;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* === Page Banner (inner pages) === */
.page-banner {
  position: relative;
  height: 260px;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.page-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44,37,32,0.45), rgba(44,37,32,0.68));
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.25rem;
}

.page-banner-title {
  color: var(--white);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  text-align: center;
  width: 100%;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

/* === Sections === */
section {
  padding: 5rem 0;
}

section.alt-bg {
  background: var(--cream-alt);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.625rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 580px;
  margin: 0 auto;
}

.divider {
  width: 44px;
  height: 3px;
  background: var(--sage);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* === Intro Section === */
.intro-section {
  padding: 4.5rem 0 5rem;
  text-align: center;
}

.intro-logo {
  max-width: 300px;
  margin: 0 auto 2.5rem;
}

.intro-text {
  max-width: 740px;
  margin: 0 auto;
}

.intro-text p {
  font-size: 1.0625rem;
}

/* === Feature Cards === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--ease), box-shadow var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.375rem;
  color: var(--sage-dark);
  font-size: 1.375rem;
  flex-shrink: 0;
}

.feature-card h3 {
  margin-bottom: 0.875rem;
}

.feature-card p {
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

/* === Video + Highlights === */
.two-col {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3.5rem;
  align-items: center;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlights-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--brown-mid);
}

.highlight-dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.highlight-dot::after {
  content: '';
  width: 7px;
  height: 5px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translate(0.5px, -1px);
  border-radius: 0.5px;
}

/* === Team === */
.team-list {
  display: flex;
  flex-direction: column;
}

.team-member {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.team-member:last-child {
  border-bottom: none;
}

.member-photo-wrap {
  display: flex;
  justify-content: center;
}

.member-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--cream-alt);
  box-shadow: var(--shadow-sm);
  background: var(--cream-alt);
}

.member-info {
  min-width: 0;
}

.member-name {
  font-size: 1.125rem;
  margin-bottom: 0.125rem;
}

.member-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.875rem;
}

.member-bio {
  font-size: 0.9375rem;
  color: var(--brown-mid);
  line-height: 1.68;
}

.member-bio p {
  margin-bottom: 0.75rem;
  font-size: inherit;
  color: inherit;
}

.member-bio p:last-child {
  margin-bottom: 0;
}

.read-more-btn {
  display: inline-block;
  margin-top: 0.625rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sage-dark);
  padding: 0;
  transition: color var(--ease);
  font-family: inherit;
}

.read-more-btn:hover {
  color: var(--terracotta);
}

.member-bio-extra {
  display: none;
  margin-top: 0.75rem;
}

.member-bio-extra.open {
  display: block;
}

/* === Services === */
.services-content {
  max-width: 820px;
  margin: 0 auto;
}

.content-block {
  margin-bottom: 3.5rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  margin-bottom: 0.5rem;
  text-align: center;
}

.content-block .divider {
  margin-bottom: 1.75rem;
}

.content-block > p {
  margin-bottom: 1.25rem;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.5rem;
  font-size: 0.9375rem;
  color: var(--brown-mid);
  border-bottom: 1px solid var(--border);
}

.services-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
}

.insurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.insurance-grid li {
  padding: 0.5rem 0.5rem;
  font-size: 0.9375rem;
  color: var(--brown-mid);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.insurance-grid li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}

.fee-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.fee-card p {
  font-size: 1rem;
}

/* === Mission === */
.mission-text {
  max-width: 760px;
  margin: 0 auto;
}

.mission-text h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.mission-text .divider {
  margin-bottom: 2rem;
}

.mission-text p {
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}

/* === Footer === */
.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,0.82);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  display: block;
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.78);
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-icon {
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 0.175rem;
  width: 14px;
  text-align: center;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.78);
  transition: color var(--ease);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.9375rem;
  transition: color var(--ease);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 1.375rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  transition: color var(--ease);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-email-img {
  margin-top: 0.75rem;
  opacity: 0.85;
  max-width: 200px;
}

/* === Scroll to Top === */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
  z-index: 500;
  font-size: 0.875rem;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* === Utilities === */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0 !important; }

/* === Responsive === */
@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .services-list,
  .insurance-grid {
    grid-template-columns: 1fr;
  }

  .team-member {
    grid-template-columns: 90px 1fr;
    gap: 1.25rem;
    padding: 2rem 0;
  }

  .member-photo {
    width: 78px;
    height: 78px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-banner {
    height: 200px;
  }

  .hero {
    min-height: 480px;
  }

  /* Mobile nav */
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .fee-card {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-h: 64px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-content h1 {
    font-size: 1.875rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-banner {
    height: 170px;
  }

  .team-member {
    grid-template-columns: 72px 1fr;
    gap: 1rem;
  }

  .member-photo {
    width: 64px;
    height: 64px;
  }
}

/* === ZocDoc button override (keep styling consistent) === */
.zd-plugin-button,
.zd-btn {
  font-family: 'Inter', sans-serif !important;
}
