.elementor-kit-6{--e-global-color-primary:#123E5A;--e-global-color-secondary:#277DA1;--e-global-color-text:#17293A;--e-global-color-accent:#D9A514;--e-global-color-rb900:#0A2436;--e-global-color-rb700:#0D3049;--e-global-color-co600:#216B8A;--e-global-color-co100:#E3EEF3;--e-global-color-gd600:#C0900C;--e-global-color-gd100:#FBF1D5;--e-global-color-inks:#4A5C6B;--e-global-color-line:#DFE7EA;--e-global-color-soft:#F5F8F9;--e-global-color-soft2:#EEF3F5;--e-global-color-white:#FFFFFF;--e-global-typography-primary-font-family:"Fraunces";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Manrope";--e-global-typography-secondary-font-weight:600;--e-global-typography-text-font-family:"Manrope";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Fraunces";--e-global-typography-accent-font-weight:500;color:#17293A;font-family:"Manrope", Sans-serif;font-size:17px;font-weight:400;line-height:1.65em;}.elementor-kit-6 button,.elementor-kit-6 input[type="button"],.elementor-kit-6 input[type="submit"],.elementor-kit-6 .elementor-button{background-color:#D9A514;font-family:"Manrope", Sans-serif;font-size:16px;font-weight:700;color:#123E5A;border-radius:10px 10px 10px 10px;padding:15px 28px 15px 28px;}.elementor-kit-6 button:hover,.elementor-kit-6 button:focus,.elementor-kit-6 input[type="button"]:hover,.elementor-kit-6 input[type="button"]:focus,.elementor-kit-6 input[type="submit"]:hover,.elementor-kit-6 input[type="submit"]:focus,.elementor-kit-6 .elementor-button:hover,.elementor-kit-6 .elementor-button:focus{background-color:#C0900C;color:#123E5A;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 a{color:#277DA1;}.elementor-kit-6 a:hover{color:#123E5A;}.elementor-kit-6 h1{color:#123E5A;font-family:"Fraunces", Sans-serif;font-size:54px;font-weight:600;line-height:1.12em;}.elementor-kit-6 h2{color:#123E5A;font-family:"Fraunces", Sans-serif;font-size:40px;font-weight:600;line-height:1.12em;}.elementor-kit-6 h3{color:#123E5A;font-family:"Fraunces", Sans-serif;font-size:27px;font-weight:600;line-height:1.12em;}.elementor-kit-6 h4{color:#123E5A;font-family:"Fraunces", Sans-serif;font-size:18px;font-weight:600;line-height:1.12em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1200px;}.e-con{--container-max-width:1200px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-6 h1{font-size:36px;}.elementor-kit-6 h2{font-size:30px;}.elementor-kit-6 h3{font-size:23px;}.elementor-kit-6 h4{font-size:17px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* =============================================================
   Twin River Behavioral Health — Global Design System
   Built to mirror the Riverfront Recovery architecture with an
   entirely new, premium, nature-inspired identity.
   Elementor-friendly: containers, flexbox, grid, reusable classes.
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette */
  --river-blue: #123E5A;      /* Deep River Blue — primary */
  --river-blue-700: #0d3049;
  --river-blue-900: #0a2436;
  --coastal: #277DA1;         /* Coastal Blue — supporting */
  --coastal-600: #216b8a;
  --coastal-100: #e3eef3;
  --gold: #D9A514;            /* Warm Golden Yellow — CTA/accent */
  --gold-600: #c0900c;
  --gold-100: #fbf1d5;

  --ink: #17293a;             /* body text on light */
  --ink-soft: #4a5c6b;        /* secondary text */
  --line: #dfe7ea;            /* hairlines */
  --soft: #F5F8F9;            /* soft section bg */
  --soft-2: #eef3f5;
  --white: #ffffff;

  /* Typography */
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Radii & shadow */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 62, 90, .06), 0 4px 14px rgba(18, 62, 90, .06);
  --shadow-md: 0 10px 30px rgba(18, 62, 90, .10);
  --shadow-card: 0 12px 34px rgba(18, 62, 90, .08);

  /* Layout */
  --maxw: 1200px;
  --gap: clamp(20px, 3vw, 40px);
  --section-y: clamp(56px, 7vw, 104px);
  --header-h: 84px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--coastal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--river-blue); }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--river-blue); font-weight: 700; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. Typography scale ---------- */
.display { font-family: var(--font-display); font-weight: 600; font-optical-sizing: auto; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3, .h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4, .h4 { font-size: 1.12rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.maxw-prose { max-width: 68ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- 4. Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1340px; }
.container--narrow { max-width: 900px; }
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--soft); }
.section--tint2 { background: var(--soft-2); }
.section--navy { background: var(--river-blue); color: #dce6ec; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--gradient {
  background: linear-gradient(160deg, var(--river-blue) 0%, var(--river-blue-900) 60%, #071c2b 100%);
  color: #cfdce4;
}
.section--gradient h2, .section--gradient h3 { color: #fff; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack-sm { display: grid; gap: 12px; }

/* ---------- 5. Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coastal-600); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.section--navy .eyebrow, .section--gradient .eyebrow { color: var(--gold); }
.section--navy .eyebrow::before, .section--gradient .eyebrow::before { background: var(--gold); }

.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--ink-soft); }
.section--navy .section-head p, .section--gradient .section-head p { color: #b9cad6; }

/* thin gold accent underline used under some headings */
.accent-line { width: 64px; height: 3px; background: var(--gold); border-radius: 3px; margin: 18px 0; }
.accent-line--center { margin-left: auto; margin-right: auto; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer; text-align: center; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--river-blue); box-shadow: 0 8px 20px rgba(217,165,20,.28); }
.btn--primary:hover { background: var(--gold-600); color: var(--river-blue); box-shadow: 0 12px 26px rgba(217,165,20,.34); }
.btn--secondary { background: var(--river-blue); color: #fff; }
.btn--secondary:hover { background: var(--river-blue-700); color: #fff; }
.btn--outline { background: transparent; color: var(--river-blue); border-color: var(--river-blue); }
.btn--outline:hover { background: var(--river-blue); color: #fff; }
.btn--light { background: #fff; color: var(--river-blue); }
.btn--light:hover { background: var(--gold); color: var(--river-blue); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--river-blue); border-color: #fff; }
.btn--lg { padding: 17px 32px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- 7. Header / navigation ---------- */
.topbar {
  background: var(--river-blue-900); color: #cfe0e9; font-size: .84rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 24px; max-width: var(--maxw); margin: 0 auto; }
.topbar a { color: #cfe0e9; }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; gap: 22px; }
.topbar__left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__right { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar__right .gold { color: var(--gold); }

.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; color: var(--river-blue); text-transform: uppercase; letter-spacing: .04em; }
.brand__tag { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coastal-600); font-weight: 700; }

.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__menu > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 8px;
  color: var(--river-blue); font-weight: 600; font-size: .95rem;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--coastal-600); background: var(--soft); }
.nav__link.is-active { color: var(--coastal-600); }
.nav__link.is-active::after { content: ""; display: block; }
.nav__menu > li > .nav__link.is-active { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }
.nav__link .chev { width: 12px; height: 12px; transition: transform .2s ease; }
.has-dropdown:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; z-index: 70;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.dropdown a:hover { background: var(--soft); color: var(--coastal-600); }

.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__phone { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1; font-weight: 700; color: var(--river-blue); }
.nav__phone small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coastal-600); font-weight: 700; }
.nav__phone span { font-size: 1.05rem; }

.hamburger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 10px; align-items: center; justify-content: center; }
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--river-blue); position: relative; transition: .25s;
}
.hamburger span::before { position: absolute; top: -7px; }
.hamburger span::after { position: absolute; top: 7px; }
.hamburger.is-open span { background: transparent; }
.hamburger.is-open span::before { top: 0; transform: rotate(45deg); }
.hamburger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); background: #fff; z-index: 90;
  transform: translateX(100%); transition: transform .28s ease; box-shadow: -20px 0 60px rgba(0,0,0,.2);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-nav__close { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 1.4rem; color: var(--river-blue); }
.m-accordion { border-top: 1px solid var(--line); }
.m-accordion > button, .mobile-nav__link {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 15px 4px; background: none; border: 0; font-size: 1.05rem; font-weight: 700; color: var(--river-blue); text-align: left;
}
.mobile-nav__link { border-top: 1px solid var(--line); }
.m-accordion__panel { display: none; padding: 0 4px 12px; }
.m-accordion.is-open .m-accordion__panel { display: block; }
.m-accordion__panel a { display: block; padding: 9px 12px; color: var(--ink-soft); font-weight: 600; border-radius: 8px; }
.m-accordion__panel a:hover { background: var(--soft); color: var(--coastal-600); }
.m-accordion .chev { transition: transform .2s ease; width: 16px; }
.m-accordion.is-open .chev { transform: rotate(180deg); }
.mobile-nav__cta { margin-top: 20px; display: grid; gap: 12px; }
.nav-overlay { position: fixed; inset: 0; background: rgba(10,36,54,.5); z-index: 85; opacity: 0; visibility: hidden; transition: .25s; }
.nav-overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- 8. Hero (home) ---------- */
.hero { position: relative; background: var(--river-blue-900); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,36,54,.94) 0%, rgba(10,36,54,.82) 42%, rgba(10,36,54,.45) 100%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: clamp(56px, 7vw, 104px) 0; }
.hero__eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5.2vw, 4rem); color: #fff; line-height: 1.05; letter-spacing: -.015em; margin-bottom: 20px; }
.hero__title .accent { color: var(--gold); font-style: italic; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: #c8d7e0; max-width: 54ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; align-items: center; gap: 14px; color: #b8cad6; font-size: .92rem; }
.hero__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }

.hero__media { position: relative; }
.hero__portraits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hero__portraits .tile { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3/4; }
.hero__portraits .tile:first-child { grid-row: span 2; aspect-ratio: 3/5; }
.hero__portraits img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -10px; bottom: -18px; background: #fff; color: var(--river-blue);
  border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 14px 18px; display: flex; gap: 12px; align-items: center;
}
.hero__badge b { display: block; font-size: 1.35rem; line-height: 1; }
.hero__badge small { color: var(--ink-soft); font-size: .78rem; }

/* wave divider */
.wave { display: block; width: 100%; height: auto; position: relative; z-index: 2; margin-top: -1px; }

/* ---------- 9. Inner page hero ---------- */
.page-hero { position: relative; background: var(--river-blue-900); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,36,54,.72), rgba(10,36,54,.88)); }
.page-hero__inner { position: relative; z-index: 2; padding: clamp(48px, 6vw, 88px) 0; max-width: 820px; }
.breadcrumb { font-size: .84rem; color: #9fb6c4; margin-bottom: 16px; }
.breadcrumb a { color: #cfe0e9; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero .lead { color: #cad9e2; margin-top: 8px; }
.page-hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 10. Cards & components ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card--pad { padding: clamp(22px, 3vw, 34px); }
.card:hover { box-shadow: var(--shadow-card); }

/* icon chip */
.icon-chip { width: 54px; height: 54px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-100); color: var(--gold-600); margin-bottom: 16px; }
.icon-chip svg { width: 26px; height: 26px; }
.icon-chip--blue { background: var(--coastal-100); color: var(--coastal-600); }
.icon-chip--navy { background: var(--river-blue); color: #fff; }

/* program card (large) */
.program-card { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); background: #fff; display: flex; flex-direction: column; }
.program-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.program-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.program-card:hover .program-card__media img { transform: scale(1.05); }
.program-card__tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--river-blue); font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 20px; }
.program-card__body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.program-card__body h3 { margin-bottom: 10px; }
.program-card .feature-list { margin: 16px 0 22px; }
.program-card .btn { margin-top: auto; align-self: flex-start; }

/* feature / icon list */
.feature-list { list-style: none; display: grid; gap: 11px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--coastal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23277DA1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.feature-list--gold li::before { background-color: var(--gold-100); }

/* value / benefit card */
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.value-card h3 { font-size: 1.2rem; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* split editorial */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.split__media--layer::after {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%;
  border: 2px solid var(--gold); border-radius: var(--r-lg); z-index: -1;
}
.split__badge { position: absolute; left: -22px; bottom: 24px; background: var(--river-blue); color: #fff; padding: 16px 20px; border-radius: var(--r-md); box-shadow: var(--shadow-md); max-width: 220px; }
.split__badge b { color: var(--gold); font-size: 1.6rem; display: block; }

/* steps (how it works) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 26px 28px; box-shadow: var(--shadow-sm); }
.step__num { counter-increment: step; position: absolute; top: -22px; left: 26px; width: 48px; height: 48px; border-radius: 12px; background: var(--gold); color: var(--river-blue); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.step__num::before { content: counter(step); }
.step h3 { margin-top: 12px; font-size: 1.22rem; }
.step p { margin: 0; color: var(--ink-soft); }
.steps--connected .step:not(:last-child)::after { content: ""; position: absolute; top: 2px; right: -22px; width: 44px; height: 2px; background: var(--line); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); text-align: center; }
.stat { padding: 20px; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--gold); line-height: 1; }
.stat__label { color: #b9cad6; font-weight: 600; margin-top: 8px; letter-spacing: .02em; }
.stat__note { display: block; font-size: .72rem; color: #7f97a6; margin-top: 4px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.team-card__photo { aspect-ratio: 1/1.05; overflow: hidden; background: var(--soft-2); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 18px 20px 22px; }
.team-card__name { font-weight: 700; color: var(--river-blue); font-size: 1.08rem; }
.team-card__role { color: var(--coastal-600); font-weight: 600; font-size: .86rem; margin-top: 2px; }
.team-card__bio { color: var(--ink-soft); font-size: .9rem; margin-top: 10px; }

/* reviews */
.reviews { position: relative; }
.review-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; }
.review-card { scroll-snap-align: start; flex: 0 0 min(88%, 420px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review-card__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.review-card__text { color: var(--ink); font-size: 1rem; }
.review-card__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--coastal-100); color: var(--coastal-600); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.review-card__name { font-weight: 700; color: var(--river-blue); font-size: .95rem; }
.review-card__meta { color: var(--ink-soft); font-size: .82rem; }
.review-nav { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.review-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--river-blue); display: flex; align-items: center; justify-content: center; }
.review-nav button:hover { background: var(--river-blue); color: #fff; }

/* insurance strip / marquee */
.insurance-band { background: #fff; }
.logo-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 26px; width: max-content; animation: marquee 34s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-pill { flex: 0 0 auto; height: 84px; min-width: 170px; display: flex; align-items: center; justify-content: center; padding: 0 26px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--river-blue); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; }
.logo-pill span { opacity: .78; }
/* static grid variant */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-grid .logo-pill { width: 100%; min-width: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; opacity: .18; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }

/* callout (why choose) */
.why-callout { text-align: center; max-width: 780px; margin: 0 auto; }
.why-callout .accent-word { color: var(--gold); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery a, .gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img, .gallery figure:hover img { transform: scale(1.06); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* FAQ accordion */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: none; border: 0; text-align: left; font-weight: 700; font-size: 1.05rem; color: var(--river-blue); }
.faq__q .plus { flex: 0 0 auto; width: 26px; height: 26px; position: relative; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--coastal); border-radius: 2px; transition: .2s; }
.faq__q .plus::before { top: 12px; left: 4px; width: 18px; height: 2px; }
.faq__q .plus::after { left: 12px; top: 4px; width: 2px; height: 18px; }
.faq__item.is-open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a .faq__a-inner { padding: 0 22px 22px; color: var(--ink-soft); }
.faq__item.is-open .faq__a { max-height: 520px; }

/* quick treatment links bar */
.quicklinks { display: flex; flex-wrap: wrap; gap: 10px; }
.quicklinks a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--river-blue); }
.quicklinks a:hover { border-color: var(--coastal); background: var(--soft); color: var(--coastal-600); }

/* two-up info panel (detox amenities compare) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.compare__col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.compare__col--accent { background: var(--river-blue); color: #dce6ec; border-color: transparent; }
.compare__col--accent h3 { color: #fff; }
.compare__col--accent .feature-list li { color: #b9cad6; }
.compare__col--accent .feature-list li::before { background-color: rgba(255,255,255,.12); }

/* prose blocks for long-form treatment pages */
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--coastal-600); }
.prose ul { list-style: none; display: grid; gap: 9px; margin: 1em 0 1.4em; }
.prose ul li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.prose > :first-child { margin-top: 0; }

/* sidebar callout card on treatment pages */
.side-card { background: var(--river-blue); color: #cddbe4; border-radius: var(--r-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 16px); }
.side-card h3 { color: #fff; }
.side-card .btn { margin-top: 8px; }
.side-card__phone { font-size: 1.5rem; font-weight: 800; color: #fff; display: block; margin: 6px 0 14px; }

.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* pill / badge */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px; background: var(--gold-100); color: var(--gold-600); font-weight: 700; font-size: .8rem; letter-spacing: .04em; }
.pill--blue { background: var(--coastal-100); color: var(--coastal-600); }

/* trust seals row */
.seals { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: center; }
.seal { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 130px; text-align: center; }
.seal__box { width: 96px; height: 96px; border-radius: 50%; border: 2px dashed var(--line); display: flex; align-items: center; justify-content: center; color: var(--coastal-600); background: var(--soft); }
.seal__box svg { width: 40px; height: 40px; }
.seal small { color: var(--ink-soft); font-size: .78rem; font-weight: 600; }

/* placeholder note */
.ph-note { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--gold-600); background: var(--gold-100); border-radius: 6px; padding: 4px 10px; }

/* ---------- 11. Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: clamp(24px, 3vw, 40px); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .88rem; color: var(--river-blue); }
.field label .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coastal); box-shadow: 0 0 0 3px rgba(39,125,161,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-consent { font-size: .8rem; color: var(--ink-soft); }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--river-blue-900); color: #a9c0cd; font-size: .94rem; }
.footer-top { padding: clamp(48px, 6vw, 76px) 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tag { color: var(--gold); }
.footer-about { margin: 18px 0; max-width: 34ch; color: #94adbb; }
.footer-seals { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-seals .seal__box { width: 66px; height: 66px; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: var(--gold); }
.footer-seals .seal__box svg { width: 28px; height: 28px; }
.footer-col h4 { color: #fff; font-size: 1rem; letter-spacing: .03em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #a9c0cd; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold); margin-top: 3px; }
.footer-contact a, .footer-contact span { color: #cdddE6; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .8rem; color: #7f97a6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: #7f97a6; }
.footer-bottom a { color: #9fb6c4; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 13. Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10,36,54,.62); backdrop-filter: blur(3px); }
.modal__box { position: relative; z-index: 2; width: min(560px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: clamp(26px, 4vw, 40px); max-height: 90vh; overflow-y: auto; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 1.3rem; color: var(--river-blue); }
.modal__head { text-align: center; margin-bottom: 20px; }
.modal__head .eyebrow { justify-content: center; }

/* ---------- 14. Sticky mobile CTA ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  grid-template-columns: 1fr 1fr; gap: 0; background: var(--river-blue-900); box-shadow: 0 -6px 24px rgba(0,0,0,.25);
}
.mobile-cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-weight: 700; font-size: .95rem; }
.mobile-cta-bar a:first-child { background: var(--gold); color: var(--river-blue); }
.mobile-cta-bar a:last-child { background: transparent; color: #fff; }
.mobile-cta-bar svg { width: 18px; height: 18px; }

/* ---------- 15. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .logo-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 16. Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; }
.text-gold { color: var(--gold); }
.text-white { color: #fff; }
.hide-desktop { display: none; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav__menu, .nav__phone { display: none; }
  .hamburger { display: inline-flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .with-aside { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps--connected .step:not(:last-child)::after { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .compare { grid-template-columns: 1fr; }
  .topbar { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery .wide { grid-column: span 2; }
  .form-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: grid; }
  body.has-mobile-cta { padding-bottom: 56px; }
  .hero__portraits .tile:first-child { aspect-ratio: 3/4; }
  .btn { width: 100%; }
  .hero__actions .btn, .page-hero__actions .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
}
@media (max-width: 400px) {
  .team-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}

/* Elementor compat guards */
.elementor-widget-icon svg,.elementor-button-icon svg,.e-font-icon-svg,.elementor-icon svg{display:inline-block;}
.elementor-widget-container>.elementor-icon-list-items{margin:0;padding:0;}

/* layout class overrides */
.e-con.grid,.e-con.split,.e-con.steps,.e-con.stats,.e-con.team-grid,.e-con.gallery,.e-con.with-aside,.e-con.compare,.e-con.footer-grid,.e-con.hero__inner,.e-con.hero__portraits,.e-con.form-2col{display:grid;}
.e-con.review-track,.e-con.logo-track,.e-con.btn-row,.e-con.seals,.e-con.footer-seals,.e-con.quicklinks,.e-con.hero__actions,.e-con.hero__trust{display:flex;}
.e-con.grid>.e-con,.e-con.split>.e-con,.e-con.steps>.e-con,.e-con.stats>.e-con,.e-con.team-grid>.e-con,.e-con.gallery>*,.e-con.with-aside>.e-con,.e-con.footer-grid>.e-con,.e-con.hero__inner>.e-con,.e-con.hero__portraits>.e-con{width:auto;max-width:100%;}

/* ===== twin river header ===== */
#tr-header{position:sticky;top:0;z-index:100;}
.tr-topL,.tr-topR{color:#cfe0e9;font-size:.84rem;}
.tr-topL a,.tr-topR a{color:#cfe0e9;text-decoration:none;}
.tr-topR a{color:#D9A514;font-weight:700;}
.tr-brand{display:inline-flex;flex-direction:column;line-height:1.05;text-decoration:none;}
.tr-brand-name{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:1.15rem;color:#123E5A;text-transform:uppercase;letter-spacing:.04em;}
.tr-brand-tag{font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:#216B8A;font-weight:700;}
.tr-navlink{display:inline-flex;align-items:center;gap:5px;padding:10px 12px;border-radius:8px;color:#123E5A;font-weight:600;font-size:.95rem;text-decoration:none;white-space:nowrap;cursor:pointer;}
.tr-navlink:hover{color:#216B8A;background:#F5F8F9;}
.tr-navlink.has-caret::after{content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:5px;transition:transform .2s;display:inline-block;}
[id^="tr-nav-"]{position:relative;}
[id^="tr-nav-"]:hover .tr-navlink.has-caret::after{transform:rotate(225deg) translateY(2px);}
[id^="tr-dd-"]{position:absolute;top:calc(100% + 6px);left:0;min-width:240px;background:#fff;border:1px solid #DFE7EA;border-radius:12px;box-shadow:0 12px 30px rgba(18,62,90,.12);padding:8px;z-index:90;opacity:0;visibility:hidden;transform:translateY(6px);transition:all .18s ease;}
[id^="tr-nav-"]:hover > [id^="tr-dd-"]{opacity:1;visibility:visible;transform:none;}
.tr-ddlink{display:block;padding:9px 12px;border-radius:8px;color:#17293a;font-weight:600;font-size:.92rem;text-decoration:none;}
.tr-ddlink:hover{background:#F5F8F9;color:#216B8A;}
#tr-mega{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%) translateY(8px);width:min(940px,94vw);background:#fff;border:1px solid #DFE7EA;border-radius:16px;box-shadow:0 24px 60px rgba(18,62,90,.18);padding:22px;z-index:90;opacity:0;visibility:hidden;transition:all .2s ease;}
#tr-nav-3:hover #tr-mega{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.tr-blurb{display:block;padding:9px 12px;border-radius:10px;text-decoration:none;border:1px solid transparent;transition:.15s;}
.tr-blurb:hover{background:#F5F8F9;border-color:#DFE7EA;}
.tr-blurb b{display:block;color:#123E5A;font-weight:700;font-size:.95rem;margin-bottom:1px;}
.tr-blurb span{display:block;color:#4a5c6b;font-size:.8rem;line-height:1.4;}
.tr-megahead{color:#216B8A;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;}
.tr-flink{color:#a9c0cd;text-decoration:none;display:block;padding:4px 0;font-size:.94rem;}
.tr-flink:hover{color:#D9A514;}
.tr-fhead{color:#fff;font-weight:700;font-size:1rem;margin-bottom:4px;letter-spacing:.02em;}
.tr-fbrandname{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:1.15rem;color:#fff;text-transform:uppercase;letter-spacing:.04em;}
.tr-fbrandtag{font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:#D9A514;font-weight:700;}
@media (max-width:1024px){ #tr-desktop-nav{display:none!important;} }
@media (min-width:1025px){ #tr-mobile-nav{display:none!important;} }/* End custom CSS */