/* ============================================
   TREATMENTS REDESIGN SYSTEM
   Shared Modular CSS for Philosophy & Treatments
   ============================================ */

/* Ensure all text is visible on treatment pages and set the background to #ffefef to fill white gaps */
body, main, .treat-section, .treat-section--alt {
  background-color: #ffefef !important;
}

/* Override all inline navy gradients on CTA sections to match #ffefef background */
main > section[style*="0B1F3A"],
main > section[style*="0b1f3a"] {
  background: #ffefef !important;
}

body, main {
  color: var(--color-text) !important;
}

/* Force navbar links visible on treatment pages (not video pages like approach/about) */
main #mainNav .nav__link,
main #mainNav .nav__logo-text,
main #mainNav .nav__logo-subtitle,
main #mainNav .dropdown-toggle {
  color: rgba(255, 255, 255, 0.88) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

main #mainNav .nav__link:hover,
main #mainNav .nav__link.active {
  color: var(--color-gold) !important;
}

p, li, span, h1, h2, h3, h4, h5, h6 {
  color: inherit !important;
}

.treat-section p,
.treat-section li,
.treat-section span,
.treat-section ul,
.treat-section ol,
.treat-step__content,
.treat-step__content p,
.treat-lead,
.treat-faq-item,
.treatment-link {
  color: var(--color-text-light) !important;
}

.treat-step__content h3,
.treat-title {
  color: var(--color-navy) !important;
}

/* ---- Standard treatment pages: blur effect nav ---- */
#mainNav,
#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

#mainNav .nav__link { color: rgba(255,255,255,0.88) !important; }
#mainNav .nav__link:hover,
#mainNav .nav__link.active { color: var(--color-gold) !important; }
#mainNav .nav__menu .nav__link { color: rgba(255,255,255,0.88) !important; }
#mainNav .nav__menu .dropdown-toggle { color: rgba(255,255,255,0.88) !important; }
#mainNav .dropdown-item { color: rgba(255,255,255,0.88) !important; }

/* Mobile: burger menu open — force black text on white panel */
@media (max-width: 768px) {
  #mainNav .nav__menu.open .nav__link,
  #mainNav .nav__menu.open .dropdown-toggle,
  #mainNav .nav__menu.open .dropdown-item { color: #1a1a1a !important; }
  #mainNav .nav__menu.open .nav__link:hover,
  #mainNav .nav__menu.open .nav__link.active { color: #1a1a1a !important; }
}
#mainNav .nav__toggle span { background-color: #fff !important; }
#mainNav .nav__logo-text,
#mainNav .nav__logo-subtitle { color: #ffffff !important; }
#mainNav .logo-line { background-color: var(--color-gold) !important; }

/* ---- Video-hero pages: faint gradient at top (nav readable), solid when scrolled ---- */
#mainNav.nav--video-hero {
  background: linear-gradient(to bottom, rgba(11,31,58,0.45) 0%, transparent 100%) !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#mainNav.nav--video-hero.scrolled {
  background: #ffefef !important;
  border-bottom: 1px solid rgba(198, 167, 94, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

#mainNav.nav--video-hero.scrolled .nav__link,
#mainNav.nav--video-hero.scrolled .nav__logo-subtitle,
#mainNav.nav--video-hero.scrolled .dropdown-toggle {
  color: var(--color-text, #1a1a1a) !important;
}
#mainNav.nav--video-hero.scrolled .nav__logo-text {
  color: #c0392b !important;
}

#mainNav.nav--video-hero.scrolled .nav__toggle span {
  background-color: var(--color-text, #1a1a1a) !important;
}

#mainNav.nav--video-hero.scrolled .dropdown-menu {
  background: #ffefef !important;
  border: 1px solid var(--color-border, #E5E8ED) !important;
}

#mainNav.nav--video-hero.scrolled .dropdown-item {
  color: var(--color-text, #1a1a1a) !important;
}

#mainNav.nav--video-hero.scrolled .dropdown-item:hover {
  background: rgba(198, 167, 94, 0.1) !important;
}

/* ---------- Layout Utilities ---------- */
.treat-container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.treat-container--narrow {
    max-width: var(--container-narrow);
}

.treat-section {
    padding: var(--space-3xl) 0;
}

.treat-section--alt {
    background-color: var(--color-section-alt);
}

/* ---------- Typography Overrides ---------- */
.treat-label {
    display: inline-block;
    font-size: var(--fs-caption);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.treat-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    color: var(--color-navy) !important;
    line-height: 1.25;
    margin-bottom: var(--space-md);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.treat-lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ---------- Hero Section Styles ---------- */
.treat-hero {
    background-color: var(--color-navy);
    background-image: linear-gradient(rgba(92, 10, 10, 0.92), rgba(92, 10, 10, 0.92));
    background-size: cover;
    background-position: center;
    color: white;
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
}

.treat-hero__content {
    max-width: 800px;
}

.treat-standout-image {
    position: absolute;
    right: 0;
    bottom: -160px; /* Deeper overlap into the stages of decay section */
    width: 320px;
    height: 240px;
    background-color: var(--color-bg-alt, #f7f9fc);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 10;
    text-align: center;
    padding: var(--space-sm);
    overflow: hidden;
}

.treat-standout-image span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}



.treat-hero .treat-title,
.treat-hero__title {
    color: white !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.treat-hero__subtext {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

/* ---------- Card Grid Styles ---------- */
.treat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.treat-principle-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.treat-principle-card__num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-gold);
    opacity: 0.3;
    margin-bottom: var(--space-sm);
}

.treat-principle-card__title {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.treat-principle-card__text {
    font-size: var(--fs-body);
    color: var(--color-text-light);
}

/* ---------- Hover Card Variant (Image with Text Overlay) ---------- */
.treat-principle-card--hover {
    position: relative;
    padding: 0;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.treat-principle-card--hover .treat-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.treat-principle-card--hover:hover .treat-card__image {
    transform: scale(1.1);
}

.treat-principle-card--hover .treat-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88); /* Dark black overlay for bright text contrast */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 2;
}

.treat-principle-card--hover:hover .treat-card__overlay {
    opacity: 1;
    visibility: visible;
}

.treat-principle-card--hover .treat-card__title-fixed {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    z-index: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.treat-principle-card--hover:hover .treat-card__title-fixed {
    opacity: 0;
    visibility: hidden;
}

.treat-principle-card--hover:hover .treat-principle-card__title {
    color: #FFD700 !important; /* Bright gold for visibility */
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.treat-principle-card--hover:hover .treat-principle-card__text {
    color: #FFFFFF !important; /* Pure white for maximum visibility */
    font-size: 0.95rem;
    line-height: 1.5;
}

.treat-principle-card--hover .treat-principle-card__title {
    color: #FFD700 !important; /* Bright gold for visibility */
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.treat-principle-card--hover .treat-principle-card__text {
    color: #FFFFFF !important; /* Pure white for maximum visibility */
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ---------- Visual Step-by-Step Styles ---------- */
.treat-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    margin-top: var(--space-xl);
}

.treat-step {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
}

.treat-step:nth-child(even) {
    flex-direction: row-reverse;
}

.treat-step__image {
    flex: 1;
    background-color: transparent;
    border: none;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: center;
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
}

.treat-step__image span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}

.treat-step__content {
    flex: 1;
}

.treat-step__content h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.treat-step__marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-gold);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.treat-step__content p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* ---------- Feature Grid (Checklist) ---------- */
.treat-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.treat-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-bg);
    border-left: 3px solid var(--color-gold);
    box-shadow: var(--shadow-subtle);
}

.treat-checklist-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    margin-top: 4px;
}

/* ---------- Accordion Styles ---------- */
.treat-faq {
    margin-top: var(--space-xl);
}

.treat-faq-item {
    border-bottom: 1px solid var(--color-border);
}

.treat-faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.treat-faq-trigger {
    width: 100%;
    padding: var(--space-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    color: var(--color-navy);
    text-align: left;
}

.treat-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.treat-faq-content p {
    padding-bottom: var(--space-md);
    color: var(--color-text-light);
}

.treat-faq-item.active .treat-faq-content {
    max-height: 200px;
}

/* ---------- CTA Block ---------- */
.treat-cta-block {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    color: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.treat-cta-block h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--space-md);
}

.treat-cta-block p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Timeline Styles ---------- */
.treat-timeline {
    position: relative;
    padding-left: 50px;
    margin-top: var(--space-xl);
}

.treat-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 17px;
    width: 2px;
    background: var(--color-gold);
}

.treat-timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
}

.treat-timeline__marker {
    position: absolute;
    left: -50px;
    top: 0;
    width: 36px;
    height: 36px;
    background: var(--color-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 1;
}

.treat-timeline__content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.treat-timeline__content p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ---------- Care List Styles ---------- */
.treat-care-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.treat-care-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-subtle);
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.treat-care-list li::before {
    content: "✓";
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
    .treat-step,
    .treat-step:nth-child(even) {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    .treat-step__content h3 {
        justify-content: center;
        flex-direction: column;
        gap: var(--space-md);
    }
    .treat-hero {
        padding: var(--space-2xl) 0 var(--space-xl);
    }
    .treat-standout-image {
        position: relative;
        right: auto;
        bottom: auto;
        margin: var(--space-xl) auto -60px auto;
        width: 90%;
        max-width: 400px;
    }
    .treat-title {
        font-size: 2.2rem;
    }
    .treat-grid {
        grid-template-columns: 1fr !important;
    }
    .treat-principle-card--hover {
        height: 250px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .treat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Touch-friendly hover support for mobile */
@media (hover: none) {
    .treat-principle-card--hover .treat-card__overlay {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .treat-principle-card--hover:active .treat-card__overlay {
        opacity: 1;
        visibility: visible;
    }
}

/* ===== VIDEO HERO FOR TREATMENT/ASSESSMENT PAGES ===== */
.treat-hero--video {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #ffefef;
}

.treat-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.treat-hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 60%,
    rgba(0, 0, 0, 0.2) 80%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.treat-hero__content--video {
  position: relative;
  z-index: 2;
  padding-bottom: 5rem;
  padding-top: 10rem;
  text-align: center;
  margin: 0 auto;
}

/* Staggered Slide-Up Reveal Animation for Hero Text and Button */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.treat-hero__content--video > * {
  animation: heroReveal 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.treat-hero__content--video .treat-label {
  animation-delay: 0.1s;
}

.treat-hero__content--video .treat-title {
  animation-delay: 0.25s;
}

.treat-hero__content--video .treat-hero__subtext {
  animation-delay: 0.4s;
}

.treat-hero__content--video .btn {
  animation-delay: 0.55s;
  background-color: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 4px 15px rgba(198, 167, 94, 0.4) !important;
  transition: all 0.3s ease !important;
}

.treat-hero__content--video .btn:hover {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--color-navy, #1a1a1a) !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}

.treat-label--light {
  background: rgba(198,167,94,0.2);
  color: #C6A75E;
  border: 1px solid rgba(198,167,94,0.5);
}

.treat-title--light {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.treat-hero__subtext--light {
  color: rgba(255,255,255,0.88) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .treat-hero--video {
    min-height: 70vh;
  }
}

/* ===== QUOTE BLOCK ===== */
.treat-quote {
  margin: var(--space-2xl) auto 0;
  max-width: 720px;
  padding: var(--space-lg) var(--space-xl);
  border-left: 4px solid var(--color-gold);
  background: #fdf9f4;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.treat-quote p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.7;
  margin: 0;
}

/* ===== SECTION DIVIDER ===== */
.treat-divider {
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin: var(--space-sm) auto var(--space-xl);
}

/* ===== SERVICE CARD CAROUSEL ===== */
.treat-carousel-wrap {
  position: relative;
  margin-top: var(--space-xl);
}
.treat-carousel {
  overflow: hidden;
}
.treat-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Individual service card */
.treat-svc-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid rgba(220, 53, 69, 0.3) !important;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.treat-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.treat-svc-card__num {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.treat-svc-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
}
.treat-svc-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.65;
  flex: 1;
}

/* Arrow buttons */
.treat-carousel-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: var(--space-lg);
}
.treat-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  background: transparent;
  color: var(--color-gold);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.treat-carousel__btn:hover {
  background: var(--color-gold);
  color: #fff;
}
.treat-carousel__btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Dot pagination */
.treat-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.treat-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(198,167,94,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.treat-carousel__dot.active {
  background: var(--color-gold);
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .treat-svc-card { flex: 0 0 calc(50% - 12px); box-sizing: border-box; }
}
@media (max-width: 820px) {
  .treat-carousel-wrap { margin: var(--space-lg) 0 0; padding: 0; overflow: hidden; width: 100%; }
  .treat-carousel { overflow: hidden; width: 100%; }
  .treat-carousel__track { gap: 0; width: 100%; }
  .treat-svc-card { flex: 0 0 100%; min-width: 100%; width: 100%; box-sizing: border-box; border-radius: 20px; }
}

/* ===== DOCTOR CARD ===== */
.treat-doctor-card {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  max-width: 900px;
}
.treat-doctor-card__text { flex: 1; }
.treat-doctor-card__text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}
.treat-doctor-card__text p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.treat-doctor-card__link {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.treat-doctor-card__link:hover { gap: 12px; }
.treat-doctor-card__image {
  width: 320px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.treat-doctor-card__image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .treat-doctor-card { flex-direction: column; }
  .treat-doctor-card__image { width: 100%; }
}

/* ===== SECTION INTRO (label + h2 + divider) ===== */
.treat-section-intro {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.treat-section-intro .treat-label {
  display: inline-block;
  margin-bottom: var(--space-sm);
}
.treat-section-intro .treat-title {
  margin-bottom: 0;
}

/* ===== PRINCIPLES 3-COL GRID ===== */
.treat-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (max-width: 768px) { .treat-principles-grid { grid-template-columns: 1fr; } }

/* --- Our Approach & About video backgrounds transparency fixes --- */
#page-approach,
#page-about {
  background: transparent !important;
  background-color: transparent !important;
}

#page-approach .discovery-section,
#page-about .discovery-section {
  background: transparent !important;
}

body:has(#page-approach.active),
body:has(#page-about.active) {
  background-color: transparent !important;
}
