/* ==========================================================================
   UHS HEALTHCARE — MODERN DPC COMPONENT SYSTEM
   ========================================================================== */

/* ----- ACCESSIBILITY SKIP LINK ----- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  z-index: 10000;
  transform: translateX(-50%);
  padding: 10px 24px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-plum);
  outline-offset: 2px;
}

/* ----- BUTTON SYSTEM ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75, 29, 109, 0.15); /* Plum shadow */
}

.btn:active {
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-plum-muted);
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.2rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 0.75rem;
  width: 100%;
  padding: 0 2.5rem;
  max-width: 100%;
  margin: 0 auto;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-slate-900);
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.nav__logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-slate-900);
  line-height: 1.2;
  white-space: nowrap;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-slate-600);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-slate-900);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-teal);
  border-radius: var(--radius-full);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav__call-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-slate-700);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  background: var(--color-slate-100);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.nav__call-pill:hover {
  background: var(--color-slate-200);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-slate-900);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- HERO SECTION ----- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  color: var(--color-slate-900);
  overflow: hidden;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero__gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.1) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}


.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--color-slate-900);
}

.hero__title-serif {
  font-family: var(--font-heading);
  font-weight: 400;
  background: linear-gradient(135deg, var(--color-royal-blue) 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__text {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-slate-600);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero.hero--page {
  min-height: auto;
  padding: 150px 0 72px;
}

.hero.hero--page .container {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(11, 26, 48, 0.16);
}

.hero.hero--page .hero__title,
.hero.hero--page .hero__text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero.hero--page .hero__text {
  max-width: 760px;
}

.hero.hero--page .badge,
.hero.hero--page .badge--white {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.12);
}

.hero.hero--dark .container {
  background: rgba(11, 26, 48, 0.68);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 72px rgba(7, 16, 32, 0.32);
}

.hero.hero--dark .hero__title,
.hero.hero--dark .hero__text {
  color: #FFFFFF;
}

.hero.hero--dark .hero__title-serif {
  background: linear-gradient(135deg, #93C5FD 0%, #E9D5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header.page-header--panel {
  padding-block: 140px 64px;
  background: linear-gradient(135deg, rgba(9, 43, 82, 0.96), rgba(55, 19, 83, 0.96));
}

.page-header.page-header--panel .container {
  max-width: 960px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(11, 26, 48, 0.28);
}

.privacy-content,
#terms-article-body {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 26px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.privacy-content__heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin: 2rem 0 0.85rem;
}

.privacy-content__heading:first-child {
  margin-top: 0;
}

.privacy-content__list {
  padding-left: 1.25rem;
  margin: 0 0 1.5rem;
}

.privacy-content__list li {
  margin-bottom: 0.85rem;
  color: var(--color-slate-700);
  line-height: 1.7;
}

#terms-article-body h2 {
  font-size: 1.4rem !important;
  line-height: 1.3;
  margin-top: 2rem;
}

#terms-article-body h2:first-child {
  margin-top: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-plum-muted);
}

.stat-item {
  text-align: left;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-slate-900);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item__number span {
  color: var(--color-teal);
}

.stat-item__label {
  font-size: var(--fs-xs);
  color: var(--color-slate-500);
  font-weight: var(--fw-medium);
}

/* HERO FLOATING CARD */
.hero-floating-card {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-plum-muted);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 320px;
  box-shadow: 0 10px 25px rgba(75, 29, 109, 0.2); /* Plum shadow */
}

.hero-floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-royal-blue);
  line-height: 1.2;
}

.hero-floating-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-slate-900);
  line-height: 1.2;
  margin: 0.1rem 0;
}

.hero-floating-title {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  line-height: 1.2;
}

/* ----- CONTAINER ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow-x: hidden;
}

/* ----- SECTION HEADERS ----- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(135deg, #F5EBFB 0%, #EBF3FB 100%);
}

.section--navy {
  background: linear-gradient(135deg, #092B52 0%, #371353 100%);
  color: #FFFFFF;
}

.section--navy .section-header__title,
.section--navy .section-header__subtitle,
.section--navy .section-header__desc {
  color: #FFFFFF !important;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header__subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-royal-blue);
  margin-bottom: 0.5rem;
}

.section-header--light .section-header__subtitle {
  color: var(--color-royal-blue);
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.section-header--light .section-header__title {
  color: var(--color-slate-900);
}

.section-header__desc {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

.section-header--light .section-header__desc {
  color: var(--color-slate-600);
}

/* ----- SPLIT BENEFIT SECTION (2-Column) ----- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(75, 29, 109, 0.25); /* Plum shadow */
  border: 1px solid var(--color-plum-muted);
}

.split-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.split-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-slate-100);
  color: var(--color-royal-blue);
  border: 1px solid var(--color-plum-muted);
  align-self: flex-start;
}

.split-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.split-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin: 0;
}

.benefit-row {
  display: flex;
  gap: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-plum-muted);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  /* Plum focus state added by script */

  box-shadow: var(--shadow-sm);
}

.benefit-row:hover {
  border-color: var(--color-royal-blue);
  box-shadow: 0 4px 12px rgba(75, 29, 109, 0.15); /* Plum shadow */
}

.benefit-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-slate-100);
  color: var(--color-royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-row__text {
  flex: 1;
}

.benefit-row__title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.benefit-row__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-slate-600);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ----- MEMBERSHIP & PRICING PLANS ----- */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--color-slate-100);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-plum-muted);
}

.pricing-toggle__btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border: none;
  background: transparent;
  color: var(--color-slate-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pricing-toggle__btn.active {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1.5px solid var(--color-slate-200);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(75, 29, 109, 0.25); /* Plum shadow */
  border-color: var(--color-indigo);
}

.pricing-card--popular {
  border-color: var(--color-indigo);
  box-shadow: 0 10px 25px rgba(75, 29, 109, 0.2); /* Plum shadow */
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FF 100%);
}

.pricing-card__popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: var(--color-white);
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-glow);
}

.pricing-card__header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-slate-900);
  margin-bottom: 0.5rem;
}

.pricing-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-slate-500);
}

.pricing-card__price-box {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--color-slate-50);
  border-radius: var(--radius-xl);
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-navy);
  line-height: 1;
}

.pricing-card__period {
  font-size: var(--fs-sm);
  color: var(--color-slate-500);
  font-weight: var(--fw-regular);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--color-slate-700);
  margin-bottom: 0.85rem;
}

.pricing-card__features li svg {
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ----- PROVIDER SPOTLIGHT ----- */
.section--provider {
  position: relative;
  overflow: hidden;
}

.section--provider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.95) contrast(1.05);
  pointer-events: none;
}

.section--provider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.95) 100%);
  pointer-events: none;
}

.section--provider .container {
  position: relative;
  z-index: 2;
}

.provider-card {
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  margin-bottom: 3rem;
}

.provider-card__media {
  position: relative;
  background: var(--color-slate-100);
}

.provider-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-card__details {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid var(--color-border);
}

.career-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.career-step {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--color-slate-100);
  border: 1px solid var(--color-plum-muted);
  color: var(--color-slate-700);
}

.career-step--active {
  background: linear-gradient(135deg, var(--color-royal-blue), #2563EB);
  color: #ffffff;
  border-color: transparent;
}

/* ----- FAQ ACCORDION & SEARCH (Image + Subtle Overlay) ----- */
.section--faq {
  position: relative;
  overflow: hidden;
}

/* ----- SERVICES PAGE DARK SECTION ----- */
.section--services {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.95) 100%),
    url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section--services .container {
  position: relative;
  z-index: 1;
}

.section--services .container [style*="background:#fff"],
.section--services .container [style*="background: #fff"] {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border) !important;
  box-shadow: var(--shadow-md) !important;
}

.section--services .container [style*="background:#fff"] h3,
.section--services .container [style*="background: #fff"] h3 {
  color: var(--color-slate-900) !important;
}

.section--services .container [style*="background:#fff"] p,
.section--services .container [style*="background: #fff"] p {
  color: var(--color-slate-600) !important;
}

.section--services .container [style*="background:#fff"] ul li,
.section--services .container [style*="background: #fff"] ul li {
  color: var(--color-slate-700) !important;
}

/* ----- FAQ ACCORDION & SEARCH ----- */
.section--faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.section--faq::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.section--faq .container {
  position: relative;
  z-index: 2;
}



.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: -1rem auto 2rem;
  max-width: 840px;
  position: relative;
  z-index: 3;
}

.faq-tab {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate-600);
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-tab:hover {
  border-color: var(--color-royal-blue);
  color: var(--color-slate-900);
}

.faq-tab.active {
  background: var(--color-royal-blue);
  border-color: var(--color-royal-blue);
  color: #ffffff;
}

.faq-search-box {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-slate-400);
  pointer-events: none;
}

.faq-search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.25rem;
  border-radius: 9999px;
  border: none;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  background: transparent;
  color: var(--color-slate-900);
  outline: none;
}

.faq-search-input::placeholder {
  color: var(--color-slate-400);
}

.faq-search-input:focus {
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 3;
}

.faq-item {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--color-slate-300);
}

.faq-item.active {
  border-color: var(--color-royal-blue);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.1);
}

.faq-button {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-slate-900);
  cursor: pointer;
  line-height: 1.4;
}

.faq-item.active .faq-button {
  background: rgba(248, 250, 252, 0.8);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(241, 245, 249, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
  color: var(--color-slate-400);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: rgba(2, 132, 199, 0.1);
  color: var(--color-royal-blue);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
  padding: 0 1.5rem;
  color: var(--color-slate-700);
  font-size: 0.95rem;
  line-height: 1.6;
  font-family: var(--font-body);
}

.faq-item.active .faq-content {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

.faq-cta {
  max-width: 840px;
  margin: 2.5rem auto 0;
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, #4B1D6D 0%, #0E437D 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-glow);
  color: #FFFFFF;
}

.faq-cta__text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.faq-cta__text p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.faq-cta__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .faq-cta {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .faq-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .faq-cta__actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ----- TESTIMONIALS SECTION ----- */
.section--testimonials {
  background: linear-gradient(180deg, #F3EBF9 0%, #FFFFFF 100%);
  padding: 80px 24px;
}

.section--testimonials .section-header {
  margin-bottom: 0;
}

.section--testimonials .section-header__subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-royal-blue);
  font-family: var(--font-heading);
}

.section--testimonials .section-header__title {
  font-size: 36px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  font-family: var(--font-heading);
}

.section--testimonials .section-header__desc {
  font-size: 18px;
  font-weight: 400;
  color: #475569;
  line-height: 1.6;
  max-width: 600px;
  margin: 8px auto 0;
  font-family: var(--font-body);
}

/* ----- TESTIMONIALS GRID ----- */
.testimonials-grid {
  margin: 48px auto 0;
}

.testimonials-grid__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.testimonials-grid .testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-plum-muted);
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(75, 29, 109, 0.15); /* Plum shadow */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.testimonials-grid .testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(75, 29, 109, 0.18);
}

.stars-rating {
  color: var(--color-gold);
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.testimonial-card__text {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-slate-700);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
}

/* ----- UNIVERSAL APPOINTMENT BOOKING MODAL ----- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

  .modal-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(75, 29, 109, 0.25); /* Plum shadow */
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-base);
  }

  .modal-card::-webkit-scrollbar { display: none; }
  .modal-card {
    scrollbar-width: none;
  }

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--color-slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-600);
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-slate-200);
}

/* ----- FOOTER ----- */
.footer {
  background: linear-gradient(135deg, #092B52 0%, #371353 100%);
  color: #FFFFFF;
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--color-plum);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand__desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-sm);
  margin-top: 1rem;
  line-height: var(--lh-relaxed);
}

.footer-column__title {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.65);
}

/* ----- PRELOADER & SCROLL TO TOP ----- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--color-slate-200);
  border-top-color: var(--color-royal-blue);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----- HOW DPC WORKS (3-STEP) ----- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step-counter;
}

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-plum-muted);
  border-radius: var(--radius-2xl);
  padding: 2rem 2rem 2.5rem;
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.step-card:hover {
  box-shadow: 0 10px 25px rgba(75, 29, 109, 0.2); /* Plum shadow */
  transform: translateY(-3px);
}

.step-card__number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-plum);
  line-height: 1;
}

.step-card__title {
  margin-top: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  color: var(--color-navy);
  margin-bottom: 0.65rem;
}

.step-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-slate-600);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* ----- DPC vs TRADITIONAL COMPARISON ----- */
.comparison-card {
  background: var(--color-white);
  border: 1px solid var(--color-plum-muted);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(75, 29, 109, 0.15); /* Plum shadow */
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 1.1rem 1.5rem;
}

.comparison-table thead tr {
  border-bottom: 2px solid var(--color-border);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table th:first-child {
  width: 28%;
}

.comparison-table__head--traditional {
  color: var(--color-slate-500);
}

.comparison-table__head--dpc {
  color: var(--color-royal-blue);
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--color-slate-100);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table__label {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-navy);
  background: var(--color-slate-50);
}

.comparison-table__cell--bad {
  font-size: var(--fs-sm);
  color: var(--color-slate-500);
}

.comparison-table__cell--bad::before {
  content: "✗ ";
  color: var(--color-error, #EF4444);
  font-weight: 700;
}

.comparison-table__cell--good {
  font-size: var(--fs-sm);
  color: var(--color-navy);
  font-weight: var(--fw-semibold);
}

.comparison-table__cell--good::before {
  content: "✓ ";
  color: var(--color-success, #10B981);
  font-weight: 700;
}

.comparison-cta {
  text-align: center;
  margin-top: 2rem;
}

.comparison-cta p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

/* ----- CORE SERVICES GRID ----- */
.core-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.core-service-card {
  background: var(--color-white);
  border: 1px solid var(--color-plum-muted);
  border-top: 4px solid var(--color-royal-blue);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.core-service-card:hover {
  box-shadow: 0 10px 25px rgba(75, 29, 109, 0.2); /* Plum shadow */
  border-color: var(--color-royal-blue);
}

.core-service-card__title {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.core-service-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.core-service-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-purple);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.core-service-card__btn:hover {
  color: var(--color-purple-dark);
}

.core-service-card__btn::after {
  content: "→";
  transition: transform var(--transition-fast);
}

.core-service-card__btn:hover::after {
  transform: translateX(4px);
}

/* ----- SPECIALIZED WELLNESS GRID ----- */
.wellness-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.wellness-card {
  background: var(--color-white);
  border: 1px solid var(--color-plum-muted);
  border-top: 4px solid var(--color-plum);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.wellness-card:hover {
  box-shadow: 0 10px 25px rgba(75, 29, 109, 0.2); /* Plum shadow */
  transform: translateY(-4px);
}

.wellness-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--color-slate-100);
}

.wellness-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wellness-card__body {
  padding: 1.75rem;
  position: relative;
}

.wellness-card__title {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.wellness-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.wellness-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-purple);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.wellness-card__btn:hover {
  color: var(--color-purple-dark);
}

.wellness-card__btn::after {
  content: "→";
  transition: transform var(--transition-fast);
}

.wellness-card__btn:hover::after {
  transform: translateX(4px);
}

/* ----- ANIMATIONS ----- */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RISING ABOVE — EMPOWERING WELLNESS  TAGLINE BANNER
   ===================================================== */
.rising-above-banner {
  background: linear-gradient(
    135deg,
    var(--color-plum, #4A1D6D) 0%,
    var(--color-royal-blue, #1B3A8C) 50%,
    var(--color-navy, #0B2B4F) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 1.6rem 0;
  z-index: 0;
}

/* Subtle animated shimmer overlay */
.rising-above-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.06) 50%,
    transparent 70%
  );
  animation: bannerShimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bannerShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.rising-above-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.rising-above-banner__icon {
  color: rgba(255,255,255,0.75);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.rising-above-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 200px;
}

.rising-above-banner__tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.rising-above-banner__sub {
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  color: rgba(255,255,255,0.72);
  font-weight: 400;
  line-height: 1.4;
}

.rising-above-banner__cta {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(255,255,255,0.15) !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.rising-above-banner__cta:hover {
  background: rgba(255,255,255,0.28) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

@media (max-width: 640px) {
  .rising-above-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .rising-above-banner__cta {
    margin-left: 0;
    align-self: flex-start;
  }
}
