/* ==========================================================
   Rehab Marketing / Drug Rehab SEO service page
   Loaded only by the Rehab Marketing 2026 template.
   Universal hero, buttons, forms, FAQs, proposal, and BBB
   remain controlled by style2026.css.
   ========================================================== */

.si-rehab-marketing-page {
  --si-rehab-navy: #061a31;
  --si-rehab-blue: #0b3f73;
  --si-rehab-light: #c1e1ff;
  --si-rehab-orange: #f15a24;
  --si-rehab-ink: #132238;
  --si-rehab-muted: #475a70;
  --si-rehab-line: rgba(19,34,56,.14);
}

.si-rehab-marketing-page .si-2026-hero-copy {
  max-width: 790px;
}

/* Editable WordPress introduction */
.si-rehab-intro-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(103deg, #fff 0%, #fff 64%, #f3f8fc 64%, #edf4fa 100%);
  border-bottom: 1px solid #dfe8f0;
}

.si-rehab-intro-shell::before {
  content: "REHAB SEO";
  position: absolute;
  right: clamp(16px, 4vw, 70px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(72px, 9vw, 144px);
  line-height: .82;
  font-weight: 900;
  letter-spacing: -.075em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(11,63,115,.10);
  pointer-events: none;
}

.si-rehab-intro-shell::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: 9%;
  top: -86px;
  border-radius: 50%;
  border: 24px solid rgba(241,90,36,.10);
  pointer-events: none;
}

.si-rehab-intro {
  position: relative;
  z-index: 1;
  max-width: 810px;
  padding: 76px 0 72px;
}

.si-rehab-intro h2 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--si-rehab-ink);
}

.si-rehab-intro h2::before {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--si-rehab-orange);
}

.si-rehab-intro p {
  max-width: 770px;
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: #33455b;
}

/* Search moment */
.si-rehab-search-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(40,126,198,.29), transparent 27%),
    radial-gradient(circle at 12% 88%, rgba(241,90,36,.12), transparent 29%),
    linear-gradient(135deg, #06172d 0%, #092945 58%, #0a3b67 100%);
}

.si-rehab-search-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.034) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 36%, #000);
  pointer-events: none;
}

.si-rehab-search-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: 76px;
  align-items: center;
}

.si-rehab-search-copy {
  max-width: 650px;
}

.si-rehab-search-copy .si-2026-section-label {
  color: #ffae8a;
}

.si-rehab-search-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.03;
  letter-spacing: -.04em;
  color: #fff;
}

.si-rehab-search-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}

.si-rehab-search-stage {
  position: relative;
  min-height: 420px;
}

.si-rehab-search-stage::before,
.si-rehab-search-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.si-rehab-search-stage::before {
  width: 370px;
  height: 370px;
  right: -28px;
  top: 16px;
  border: 1px solid rgba(193,225,255,.22);
  box-shadow:
    0 0 0 36px rgba(193,225,255,.035),
    0 0 0 72px rgba(193,225,255,.024);
}

.si-rehab-search-stage::after {
  width: 17px;
  height: 17px;
  right: 62px;
  top: 70px;
  background: var(--si-rehab-orange);
  box-shadow: 0 0 0 11px rgba(241,90,36,.17);
}

.si-rehab-search-window {
  position: absolute;
  left: 0;
  top: 48px;
  width: min(100%, 470px);
  padding: 28px 28px 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(4,18,34,.76);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(8px);
}

.si-rehab-search-bar {
  display: flex;
  align-items: center;
  min-height: 54px;
  margin-bottom: 28px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #1b2b3f;
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.si-rehab-search-bar::before {
  content: "";
  width: 13px;
  height: 13px;
  margin-right: 12px;
  border: 2px solid var(--si-rehab-orange);
  border-radius: 50%;
  box-shadow: 7px 7px 0 -5px var(--si-rehab-orange);
}

.si-rehab-search-result {
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.si-rehab-search-result:last-child {
  border-bottom: 0;
}

.si-rehab-search-result span {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7bc0f5;
}

.si-rehab-search-result strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  color: #fff;
}

.si-rehab-search-result small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.60);
}

/* Program pages */
.si-rehab-program-section {
  position: relative;
  overflow: hidden;
  padding: 98px 0 104px;
  background: #fff;
}

.si-rehab-program-section::before {
  content: "PROGRAMS";
  position: absolute;
  left: -24px;
  bottom: 12px;
  font-size: clamp(90px, 15vw, 220px);
  line-height: .74;
  font-weight: 900;
  letter-spacing: -.085em;
  color: rgba(11,63,115,.045);
  pointer-events: none;
}

.si-rehab-program-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
  gap: 86px;
  align-items: start;
}

.si-rehab-program-marker {
  padding-top: 5px;
}

.si-rehab-program-marker strong {
  display: block;
  font-size: clamp(86px, 9vw, 136px);
  line-height: .82;
  letter-spacing: -.075em;
  color: var(--si-rehab-orange);
}

.si-rehab-program-marker span {
  display: block;
  max-width: 290px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--si-rehab-line);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #596a7f;
}

.si-rehab-program-copy {
  max-width: 770px;
}

.si-rehab-program-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--si-rehab-ink);
}

.si-rehab-program-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: #405167;
}

.si-rehab-program-quote {
  margin-top: 32px;
  padding: 24px 0 24px 28px;
  border-left: 5px solid var(--si-rehab-orange);
  font-size: 25px;
  line-height: 1.38;
  font-weight: 750;
  letter-spacing: -.02em;
  color: #173655;
}

/* Local rehab search */
.si-rehab-local-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  background:
    radial-gradient(circle at 82% 24%, rgba(255,255,255,.78) 0 7%, transparent 7.5%),
    linear-gradient(118deg, #c1e1ff 0%, #d8ecff 52%, #eef8ff 100%);
}

.si-rehab-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
  gap: 76px;
  align-items: center;
}

.si-rehab-local-copy {
  max-width: 700px;
}

.si-rehab-local-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.3vw, 56px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #0a2d52;
}

.si-rehab-local-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: #294964;
}

.si-rehab-map-visual {
  position: relative;
  min-height: 390px;
}

.si-rehab-map-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(11,63,115,.20);
}

.si-rehab-map-ring:nth-child(1) {
  width: 330px;
  height: 330px;
  right: 10px;
  top: 20px;
}

.si-rehab-map-ring:nth-child(2) {
  width: 238px;
  height: 238px;
  right: 56px;
  top: 66px;
  border-color: rgba(11,63,115,.30);
}

.si-rehab-map-ring:nth-child(3) {
  width: 148px;
  height: 148px;
  right: 101px;
  top: 111px;
  border-color: rgba(11,63,115,.42);
}

.si-rehab-map-pin {
  position: absolute;
  right: 149px;
  top: 126px;
  width: 54px;
  height: 68px;
  border-radius: 28px 28px 34px 34px;
  background: var(--si-rehab-orange);
  box-shadow: 0 18px 38px rgba(241,90,36,.28);
}

.si-rehab-map-pin::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 18px;
  top: 17px;
  border-radius: 50%;
  background: #fff;
}

.si-rehab-map-pin::after {
  content: "";
  position: absolute;
  left: 17px;
  bottom: -13px;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  background: var(--si-rehab-orange);
}

.si-rehab-local-label {
  position: absolute;
  left: 0;
  width: 240px;
  padding: 16px 18px;
  border-left: 4px solid var(--si-rehab-orange);
  background: rgba(255,255,255,.89);
  box-shadow: 0 16px 34px rgba(11,63,115,.12);
}

.si-rehab-local-label strong {
  display: block;
  font-size: 16px;
  color: #163553;
}

.si-rehab-local-label span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #607287;
}

.si-rehab-local-label:nth-of-type(1) { top: 70px; }
.si-rehab-local-label:nth-of-type(2) { top: 158px; left: 32px; }
.si-rehab-local-label:nth-of-type(3) { top: 246px; left: 7px; }

/* Directory competition */
.si-rehab-competition-section {
  padding: 98px 0;
  background: #f7f8fa;
}

.si-rehab-competition-shell {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: center;
}

.si-rehab-competition-statement {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 46px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(241,90,36,.18), transparent 26%),
    linear-gradient(145deg, #071a31 0%, #0a3c68 100%);
}

.si-rehab-competition-statement::before {
  content: "DIRECTORIES";
  position: absolute;
  left: -10px;
  top: 34px;
  font-size: clamp(58px, 7vw, 108px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.07em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.14);
}

.si-rehab-competition-statement p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  line-height: 1.32;
  font-weight: 750;
  letter-spacing: -.025em;
  color: #fff;
}

.si-rehab-competition-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--si-rehab-ink);
}

.si-rehab-competition-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: #425267;
}

/* Trust and admissions */
.si-rehab-trust-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 30%, rgba(241,90,36,.12), transparent 24%),
    linear-gradient(130deg, #06162b 0%, #0b2948 100%);
}

.si-rehab-trust-section::before {
  content: "TRUST";
  position: absolute;
  right: 2vw;
  top: 50%;
  transform: translateY(-52%);
  font-size: clamp(130px, 18vw, 280px);
  line-height: .75;
  font-weight: 900;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(193,225,255,.11);
  pointer-events: none;
}

.si-rehab-trust-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.si-rehab-trust-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: #fff;
}

.si-rehab-trust-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,.81);
}

/* Content journey */
.si-rehab-content-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  background: #fff;
  border-bottom: 1px solid #e2e8ef;
}

.si-rehab-content-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -170px;
  border-radius: 50%;
  border: 1px solid rgba(11,63,115,.14);
  box-shadow:
    0 0 0 42px rgba(11,63,115,.025),
    0 0 0 84px rgba(11,63,115,.018);
}

.si-rehab-content-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .52fr 1.48fr;
  gap: 70px;
  align-items: start;
}

.si-rehab-content-kicker {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--si-rehab-orange);
}

.si-rehab-content-copy h2 {
  max-width: 840px;
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--si-rehab-ink);
}

.si-rehab-content-copy p {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: #405066;
}

/* AI visibility */
.si-rehab-ai-section {
  padding: 82px 0;
  background: #eef5fb;
}

.si-rehab-ai-shell {
  max-width: 900px;
}

.si-rehab-ai-shell h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--si-rehab-ink);
}

.si-rehab-ai-shell p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: #405066;
}

/* Experience close */
.si-rehab-experience-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(40,126,198,.21), transparent 27%),
    linear-gradient(130deg, #07172d 0%, #0a3155 100%);
}

.si-rehab-experience-section::before {
  content: "2002";
  position: absolute;
  right: 2vw;
  top: 50%;
  transform: translateY(-53%);
  font-size: clamp(140px, 19vw, 300px);
  line-height: .75;
  font-weight: 900;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(193,225,255,.11);
  pointer-events: none;
}

.si-rehab-experience-copy {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.si-rehab-experience-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: #fff;
}

.si-rehab-experience-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,.81);
}

.si-rehab-marketing-page .si-2026-contact-band .si-2026-action-group {
  justify-content: center;
}

/* Responsive */
@media (max-width: 979px) {
  .si-rehab-search-grid,
  .si-rehab-program-grid,
  .si-rehab-local-grid,
  .si-rehab-competition-shell,
  .si-rehab-content-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .si-rehab-search-grid > *,
  .si-rehab-program-grid > *,
  .si-rehab-local-grid > *,
  .si-rehab-competition-shell > *,
  .si-rehab-content-shell > * {
    min-width: 0;
  }

  .si-rehab-search-stage {
    max-width: 560px;
    min-height: 390px;
  }

  .si-rehab-program-marker {
    display: flex;
    align-items: flex-end;
    gap: 28px;
  }

  .si-rehab-program-marker span {
    max-width: 360px;
    margin: 0 0 4px;
  }

  .si-rehab-map-visual {
    max-width: 540px;
  }

  .si-rehab-competition-statement {
    min-height: 300px;
  }
}

@media (max-width: 767px) {
  body.si-rehab-marketing-page {
    overflow-x: hidden;
  }

  .si-rehab-intro-shell > .container,
  .si-rehab-search-section > .container,
  .si-rehab-program-section > .container,
  .si-rehab-local-section > .container,
  .si-rehab-competition-section > .container,
  .si-rehab-trust-section > .container,
  .si-rehab-content-section > .container,
  .si-rehab-ai-section > .container,
  .si-rehab-experience-section > .container {
    width: auto !important;
    max-width: none !important;
    margin-left: 18px !important;
    margin-right: 18px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .si-rehab-intro,
  .si-rehab-search-grid,
  .si-rehab-search-copy,
  .si-rehab-search-stage,
  .si-rehab-search-window,
  .si-rehab-program-grid,
  .si-rehab-program-marker,
  .si-rehab-program-copy,
  .si-rehab-program-quote,
  .si-rehab-local-grid,
  .si-rehab-local-copy,
  .si-rehab-map-visual,
  .si-rehab-competition-shell,
  .si-rehab-competition-statement,
  .si-rehab-competition-copy,
  .si-rehab-trust-copy,
  .si-rehab-content-shell,
  .si-rehab-content-copy,
  .si-rehab-ai-shell,
  .si-rehab-experience-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .si-rehab-intro-shell {
    background: linear-gradient(180deg, #fff 0%, #fff 77%, #f2f7fb 100%);
  }

  .si-rehab-intro-shell::before {
    right: -14px;
    top: auto;
    bottom: 18px;
    transform: none;
    font-size: 58px;
  }

  .si-rehab-intro-shell::after {
    width: 130px;
    height: 130px;
    right: -44px;
    top: -50px;
    border-width: 17px;
  }

  .si-rehab-intro {
    padding: 58px 0 62px;
  }

  .si-rehab-intro h2,
  .si-rehab-search-copy h2,
  .si-rehab-program-copy h2,
  .si-rehab-local-copy h2,
  .si-rehab-competition-copy h2,
  .si-rehab-trust-copy h2,
  .si-rehab-content-copy h2,
  .si-rehab-ai-shell h2,
  .si-rehab-experience-copy h2 {
    font-size: 34px;
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  .si-rehab-intro p,
  .si-rehab-search-copy p,
  .si-rehab-program-copy p,
  .si-rehab-local-copy p,
  .si-rehab-competition-copy p,
  .si-rehab-trust-copy p,
  .si-rehab-content-copy p,
  .si-rehab-ai-shell p,
  .si-rehab-experience-copy p {
    font-size: 17px;
    line-height: 1.66;
    overflow-wrap: break-word;
  }

  .si-rehab-search-section,
  .si-rehab-program-section,
  .si-rehab-local-section,
  .si-rehab-competition-section,
  .si-rehab-trust-section,
  .si-rehab-content-section,
  .si-rehab-experience-section {
    padding: 64px 0;
  }

  .si-rehab-search-stage {
    min-height: 350px;
  }

  .si-rehab-search-stage::before {
    width: 290px;
    height: 290px;
    right: -70px;
  }

  .si-rehab-search-window {
    position: relative;
    top: 18px;
    left: auto;
    padding: 23px 21px 25px;
  }

  .si-rehab-search-bar {
    font-size: 13px;
  }

  .si-rehab-program-marker {
    display: block;
  }

  .si-rehab-program-marker strong {
    font-size: 78px;
  }

  .si-rehab-program-marker span {
    margin-top: 18px;
  }

  .si-rehab-program-quote {
    padding-left: 22px;
    font-size: 21px;
  }

  .si-rehab-map-visual {
    min-height: 470px;
  }

  .si-rehab-map-ring:nth-child(1) {
    width: 270px;
    height: 270px;
    right: -52px;
    top: 28px;
  }

  .si-rehab-map-ring:nth-child(2) {
    width: 194px;
    height: 194px;
    right: -14px;
    top: 66px;
  }

  .si-rehab-map-ring:nth-child(3) {
    width: 118px;
    height: 118px;
    right: 24px;
    top: 104px;
  }

  .si-rehab-map-pin {
    right: 57px;
    top: 112px;
  }

  .si-rehab-local-label,
  .si-rehab-local-label:nth-of-type(1),
  .si-rehab-local-label:nth-of-type(2),
  .si-rehab-local-label:nth-of-type(3) {
    left: 0;
    width: min(250px, calc(100% - 70px));
  }

  .si-rehab-local-label:nth-of-type(1) { top: 252px; }
  .si-rehab-local-label:nth-of-type(2) { top: 330px; left: 18px; }
  .si-rehab-local-label:nth-of-type(3) { top: 408px; left: 0; }

  .si-rehab-competition-statement {
    min-height: 250px;
    padding: 34px 28px;
  }

  .si-rehab-competition-statement::before {
    font-size: 56px;
  }

  .si-rehab-competition-statement p {
    font-size: 23px;
  }

  .si-rehab-trust-section::before,
  .si-rehab-experience-section::before {
    right: -18px;
    top: 28px;
    transform: none;
    font-size: 118px;
  }

  .si-rehab-ai-section {
    padding: 60px 0;
  }

  .si-rehab-marketing-page .si-2026-contact-band .si-2026-action-group {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
  }
}
