/* =======================================================================
   NEW-PATIENT-CHIROPRACTIC.CSS â€” PAGE-SPECIFIC ONLY
   ======================================================================= */

/* --------------------------
   HERO SECTION
-------------------------- */
.rm-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 120px 20px 80px;
  overflow: hidden;
}

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

.rm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
    rgba(11, 102, 195, 0.60),
    rgba(31, 41, 51, 0.55)
  );
}

.rm-hero .content {
  position: relative;
  z-index: 5;
  max-width: 760px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.rm-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.rm-hero p {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: #f3f4f6;
}

.rm-desktop-cta-hero {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
}

@media(max-width:900px){
  .rm-desktop-cta-hero { display:none; }
}

/* Mobile hero CTA */
.rm-mobile-call {
  display:none;
  text-align:center;
  margin-top:20px;
}
.rm-mobile-call a {
  display:inline-block;
  background:var(--primary);
  color:#fff;
  padding:16px 32px;
  border-radius:50px;
  font-size:1.25rem;
  font-weight:600;
}
@media(max-width:900px){
  .rm-mobile-call { display:block; margin-bottom:20px; }
}

/* --------------------------
   QUICK-JUMP NAV (PAGE-SPECIFIC)
-------------------------- */
.quick-jump-nav-link {
  display: block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid;
  text-align: center;
  transition: 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  background: #fff;
}

/* Hover */
.quick-jump-nav-link:hover {
  transform: translateY(-2px);
  background: currentColor;
  color: #fff !important;
}

/* Page-level color assignments */
.quick-jump-nav-link.chiro { color: var(--accent); border-color: var(--accent); }
.quick-jump-nav-link.regen { color: var(--primary); border-color: var(--primary); }
.quick-jump-nav-link.family { color: #059669; border-color: #059669; }
.quick-jump-nav-link.forms { color: var(--primary-dark); border-color: var(--primary-dark); }

/* --------------------------
   PATHWAYS SECTION STYLES
-------------------------- */
#chiro img,
#regen img,
#family img {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

#chiro h3 { color: var(--accent); }
#regen h3 { color: var(--primary); }
#family h3 { color: #059669; }

/* --------------------------
   FAQ PAGE-SPECIFIC TUNING
-------------------------- */
.max-w-4xl.mx-auto.space-y-6 .border-b {
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}

/* --------------------------
   MISC PAGE-SPECIFIC
-------------------------- */
.rm-section .highlight-box {
  border-left: 4px solid var(--accent);
}

/* --------------------------
   SECTION ACCENT BARS
-------------------------- */
.section-accent-bar {
  display: block;
  height: 4px;
  width: 60px;
  background: var(--accent);
  margin-bottom: 1.5rem;
  border-radius: 4px;
}
.section-accent-bar.chiro { background: var(--accent); }
.section-accent-bar.regen { background: var(--primary); }
.section-accent-bar.family { background: #059669; }

/* --------------------------
   ACCORDION STYLES
-------------------------- */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-button {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
}

/* --------------------------
   ADAPTIVE CTA TEXT
-------------------------- */
.cta-text-desktop { display: none; }
.cta-text-mobile { display: inline; }

@media (min-width: 1025px) {
  .cta-text-desktop { display: inline; }
  .cta-text-mobile { display: none; }
}

/* --------------------------
   DESKTOP CTA FLOAT
-------------------------- */
.desktop-cta-float { display: none !important; }