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

:root {
  --teal:       #565F7E;
  --teal-dark:  #383F5C;
  --teal-light: #565F7E;
  --accent:     #6B7491;
  --accent-dark:#565F7E;
  --text:       #0D1B2A;
  --text-muted: #4A6283;
  --border:     #B8C8DE;
  --bg-light:   #EEF3FA;
  --white:      #ffffff;
  --radius:     10px;
  --shadow:     0 2px 20px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
  --nav-h:      72px;
  --font-body:  'Josefin Sans', Arial, sans-serif;
  --font-serif: 'Righteous', serif, system-ui;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.bg-light { background: var(--bg-light); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

h1 { font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; font-weight: 500; }
h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.2; font-weight: 500; margin-bottom: 16px; }

.contact h2 { border: 2px solid #BE5103; background: #BE5103; color: var(--white); border-radius: var(--radius); padding: 12px 20px; display: inline-block; }
h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-nav {
  background: #BE5103;
  color: var(--white) !important;
  border-color: #BE5103;
  padding: 10px 22px;
}
.btn-nav:hover { background: #963F02; border-color: #963F02; }

.btn-full { width: 100%; }

.btn-orange { background: #BE5103; color: var(--white); border-color: #BE5103; }
.btn-orange:hover { background: #963F02; border-color: #963F02; }

/* ===== NAVIGATION ===== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow var(--transition);
}

#site-header.scrolled { box-shadow: var(--shadow); }

#site-header nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #565F7E;
  color: var(--white);
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal); }

/* Dropdown submenu (e.g. About > Your Therapist / Wellness Plan) */
.nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-caret {
  font-size: 0.6rem;
  transition: transform var(--transition);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 110;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu li { width: 100%; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--bg-light); color: var(--teal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== HERO ===== */
.hero {
  margin-top: var(--nav-h);
  min-height: calc(90vh - var(--nav-h));
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 80px 24px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content {
  flex: 1;
  max-width: 560px;
  padding: 0;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.hero h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-image { flex: 1; display: flex; justify-content: center; }

.hero-img-placeholder,
.about-img-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  background: #383F5C;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px dashed var(--teal);
  overflow: hidden;
}

.hero-img-placeholder:has(img),
.about-img-placeholder:has(img) {
  border-style: solid;
  border-color: transparent;
  background: none;
}

.hero-img-placeholder:has(img) { aspect-ratio: 1109 / 1684; }
.about-img-placeholder:has(img) { aspect-ratio: 480 / 640; }

.hero-img-placeholder img,
.about-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: #383F5C;
  padding: 32px 0;
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-serif);
  font-weight: 600;
}

.trust-item span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }

.credentials {
  list-style: none;
  margin: 24px 0 32px;
}
.credentials li {
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
}
.credentials li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ===== PATHS TO WELLNESS (index.html) ===== */
.subsection-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  color: var(--text);
  margin-bottom: 32px;
}

/* ===== SERVICES (services.html) ===== */
.page-intro { margin-top: var(--nav-h); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 1.8rem;
  color: var(--teal);
  margin-bottom: 16px;
}

.service-card h3 { color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.service-duration,
.service-price {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.service-duration { background: var(--bg-light); color: var(--text-muted); }
.service-price { background: var(--teal); color: var(--white); }

/* Detail cards below the tile grid */
.service-details { display: flex; flex-direction: column; gap: 24px; }

.service-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.service-detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.service-detail-header h2 { margin-bottom: 0; }

.service-detail-meta {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}

.service-detail-body p { color: var(--text-muted); margin-bottom: 16px; }
.service-detail-body p:last-child { margin-bottom: 0; }

.service-callout {
  background: var(--bg-light);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.service-callout p {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.service-detail-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ===== BOOKING ===== */
.booking { text-align: center; }

.calendly-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.calendly-placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.calendly-icon { font-size: 3rem; }

.calendly-placeholder p {
  color: var(--text-muted);
  max-width: 400px;
  text-align: center;
}

.calendly-placeholder .btn { margin-top: 8px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

blockquote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

cite {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  font-style: normal;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; }

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
}

.contact-icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1.4; }

.contact-list a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
label span { color: var(--accent); }

input, textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

input:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(86,95,126,0.18);
}

input::placeholder, textarea::placeholder { color: #888; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  min-height: 24px;
}
.form-status.success { color: var(--teal); }
.form-status.error { color: #c0392b; }

/* ===== LEARN AND MOVE ===== */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.learn-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.learn-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.learn-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.learn-card-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.learn-card-img {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.learn-card-body {
  padding: 24px;
}

.learn-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal-light);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.learn-card-body h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text);
}

.learn-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.learn-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.learn-link:hover { color: var(--teal-dark); }

.learn-cta {
  text-align: center;
}

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

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

.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 0;
  font-family: var(--font-body);
  transition: box-shadow var(--transition), transform var(--transition);
}
.video-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.video-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #383F5C;
  overflow: hidden;
}

.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  color: white;
  font-size: 2.5rem;
  transition: background var(--transition);
}
.video-card:hover .video-play-btn { background: rgba(86,95,126,0.6); }

.video-card-body { padding: 20px; }
.video-card-body h3 { color: var(--text); margin-bottom: 6px; }
.video-card-body p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

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

/* ===== VIDEO MODAL ===== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}

.video-modal-content {
  position: relative;
  z-index: 1;
  background: var(--text);
  border-radius: 16px;
  width: min(90vw, 800px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.4rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition);
}
.video-modal-close:hover { background: rgba(255,255,255,0.3); }

#modal-video {
  width: 100%;
  display: block;
  background: #000;
  max-height: 60vh;
}

.video-modal-info { padding: 20px 24px; }
.video-modal-info h3 { color: var(--white); margin-bottom: 6px; }
.video-modal-info p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 32px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-tagline { font-size: 0.9rem; }

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 8px 0;
}

.footer-nav a {
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-copy { font-size: 0.8rem; opacity: 0.5; margin-top: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 48px 24px 64px;
    margin-top: var(--nav-h);
    min-height: unset;
  }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-image { width: 100%; }
  .hero-img-placeholder { max-width: 280px; aspect-ratio: 1; margin: 0 auto; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-placeholder { max-width: 300px; aspect-ratio: 1; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); }
  .nav-links li:last-child a { border-bottom: none; }
  .btn-nav { text-align: center; margin-top: 8px; }

  /* Dropdown becomes an always-visible, indented sub-list on mobile */
  .nav-dropdown { align-self: auto; display: block; }
  .nav-caret { display: none; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }
  .nav-dropdown-menu a { padding-left: 20px; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .services-grid { grid-template-columns: 1fr; }
  .service-detail { padding: 28px 24px; }
  .service-detail-actions { flex-direction: column; }
  .service-detail-actions .btn { text-align: center; }

  .contact-form { padding: 24px; }
  .section { padding: 64px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
