/* ===== TREATMENTS HERO — Combined header + cards ===== */
.treatments-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: var(--color-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.treatments-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,149,106,0.1) 0%, transparent 65%);
}
.treatments-hero .container {
  position: relative;
  z-index: 1;
}
.treatments-hero__header {
  margin-bottom: 3rem;
}
.treatments-hero__header h1 {
  margin-bottom: 1rem;
}
.treatments-hero__header > p:last-child {
  font-size: 1.1rem;
  max-width: 55ch;
  margin: 0 auto;
}

/* Cards fade-up animation */
@keyframes treat-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.treatments-hero .treatment-split__card {
  opacity: 0;
  animation: treat-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.treatments-hero .treatment-split__card:nth-child(1) {
  animation-delay: 0.3s;
}
.treatments-hero .treatment-split__card:nth-child(2) {
  animation-delay: 0.5s;
}

@media (max-width: 768px) {
  .treatments-hero {
    padding: calc(var(--nav-h) + 2.5rem) 0 2.5rem;
  }
  .treatments-hero__header {
    margin-bottom: 2rem;
  }
}

/* ===== TREATMENTS NAV — Clean Pills ===== */
.treatments-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28,28,28,0.06);
  padding: 0.85rem 0;
}
.treatments-nav__pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.treatments-nav__pills::-webkit-scrollbar { display: none; }
.treatments-nav__pills a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.5rem 1.15rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(28,28,28,0.5);
  background: transparent;
  border: 1px solid rgba(28,28,28,0.1);
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.treatments-nav__pills a:hover {
  background: var(--color-cream, #EEE9E2);
  color: var(--color-dark, #1C1C1C);
  border-color: rgba(28,28,28,0.15);
}
.treatments-nav__pills a.active {
  background: var(--color-primary, #C9956A);
  color: #fff;
  border-color: var(--color-primary, #C9956A);
}

/* ===== TREATMENT SECTION ===== */
.treatment-section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.treatment-section--alt { background: var(--color-bg-light); }

.treatment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.treatment-layout--reverse .treatment-layout__image { order: 1; }

.treatment-layout__image {
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
}
.treatment-layout__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.treatment-layout__image:hover img { transform: scale(1.03); }


.treatment-layout__content h2 { margin-bottom: 0.5rem; }
.treatment-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.treatment-layout__content > p { font-size: 0.95rem; line-height: 1.75; max-width: none; margin-bottom: 1.75rem; }

/* Features */
.treatment-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.treatment-feature {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.treatment-feature__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(201,149,106,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.treatment-feature strong { display: block; font-size: 0.9rem; color: var(--color-dark); margin-bottom: 0.2rem; }
.treatment-feature p { font-size: 0.85rem; max-width: none; margin: 0; }

/* FAQ Accordion */
.treatment-faq { margin-bottom: 2rem; border-top: 1px solid var(--color-border); }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
  padding: 0.9rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--color-primary); }
.faq-item p {
  font-size: 0.88rem;
  padding: 0 0 1rem;
  max-width: none;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .treatment-layout { grid-template-columns: 1fr; }
  .treatment-layout--reverse .treatment-layout__image { order: 0; }
  .treatment-layout__image {
    max-height: 400px;
    min-height: auto;
    max-width: 600px;
    border-radius: 12px;
  }
  .treatment-layout__image img { min-height: auto; }
}
