/* ===================================================================
   InMotion Pain Solutions -- Chiropractic LP (pagerocket.net/inmotion-chiropractic)
   Brand palette extracted live from inmotionpainsolutions.com 2026-06-29.
   All classes namespaced lp-* to avoid collisions.
   =================================================================== */

:root {
  --lp-primary: #02426D;       /* deep navy */
  --lp-primary-2: #013154;     /* darker navy for gradients */
  --lp-secondary: #34B2CC;     /* InMotion cyan */
  --lp-accent: #7CC400;        /* lime */
  --lp-cta: #7CC400;
  --lp-cta-hover: #6BB000;
  --lp-cta-text: #FFFFFF;
  --lp-ink: #1F2933;           /* body text */
  --lp-ink-soft: #51606E;      /* secondary text */
  --lp-light: #F4F8FB;         /* light section bg */
  --lp-light-2: #EAF1F7;       /* alt light */
  --lp-white: #FFFFFF;
  --lp-star: #F5A623;
  --lp-border: #E1E8EF;
  --lp-radius: 18px;
  --lp-radius-pill: 50px;
  --lp-maxw: 1200px;
  --lp-shadow: 0 14px 40px rgba(2,66,109,0.10);
  --lp-shadow-sm: 0 6px 18px rgba(2,66,109,0.08);
  --lp-font-head: 'Poppins', system-ui, sans-serif;
  --lp-font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--lp-font-body);
  color: var(--lp-ink);
  background: var(--lp-white);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--lp-font-head); font-weight: 700; color: var(--lp-primary); line-height: 1.12; text-wrap: balance; letter-spacing: -0.01em; }
.lp-hero__headline { font-weight: 800; }

.lp-wrap { width: 100%; max-width: var(--lp-maxw); margin: 0 auto; padding: 0 22px; }
.lp-eyebrow {
  font-family: var(--lp-font-body);
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lp-secondary); font-size: 14px; margin-bottom: 14px;
}
.lp-section { padding: 84px 0; }
.lp-section--light { background: var(--lp-light); }
.lp-section--navy { background: var(--lp-primary); color: #fff; }
.lp-section--navy h2, .lp-section--navy h3 { color: #fff; }

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--lp-font-body); font-weight: 800; font-size: 18px;
  padding: 16px 30px; border-radius: var(--lp-radius-pill); cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-align: center; line-height: 1.1;
}
.lp-btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.lp-btn--primary { background: var(--lp-cta); color: var(--lp-cta-text); box-shadow: 0 8px 20px rgba(124,196,0,0.28); }
.lp-btn--primary:hover { background: var(--lp-cta-hover); transform: translateY(-2px); }
.lp-btn--outline { background: transparent; color: var(--lp-primary); border-color: var(--lp-primary); }
.lp-btn--outline:hover { background: var(--lp-primary); color: #fff; }
.lp-btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.lp-btn--outline-white:hover { background: #fff; color: var(--lp-primary); }

/* ---------- Pre-header bar ---------- */
.lp-bar {
  background: var(--lp-primary); color: #fff; text-align: center;
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
  padding: 9px 14px;
}
.lp-bar a { color: #fff; white-space: nowrap; }
.lp-bar__sep { color: var(--lp-secondary); margin: 0 8px; }

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--lp-border);
  box-shadow: 0 2px 12px rgba(2,66,109,0.05);
}
.lp-nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; max-width: var(--lp-maxw); margin: 0 auto; }
.lp-nav__logo img { height: 46px; width: auto; }
.lp-nav__links { display: none; gap: 30px; font-weight: 700; color: var(--lp-ink); }
.lp-nav__links a:hover { color: var(--lp-secondary); }
.lp-nav__cta { font-size: 16px; padding: 12px 22px; }

/* ---------- Hero ---------- */
.lp-hero { background: linear-gradient(160deg, var(--lp-light) 0%, #fff 70%); padding: 56px 0 64px; }
.lp-hero__grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.lp-hero__headline { font-size: clamp(38px, 5.6vw, 58px); color: var(--lp-primary); margin-bottom: 22px; text-wrap: normal; }
.lp-hl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 32'%3E%3Cg transform='translate(0,32) scale(1,-1)'%3E%3Cpath d='M4 20 C 70 13 130 13 180 13 C 230 12 265 8 297 3 C 291 15 248 20 192 22 C 132 26 64 28 8 27 C 3 27 2 23 4 20 Z' fill='%23F5A623'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left bottom; background-size: 100% 0.62em;
  padding-bottom: 0.16em;
}
.lp-hero__sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--lp-ink-soft); max-width: 620px; margin-bottom: 30px; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.lp-hero__trust { display: flex; flex-wrap: wrap; gap: 12px 18px; font-weight: 700; font-size: 14px; color: var(--lp-ink); }
.lp-hero__trust span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lp-hero__trust svg { width: 20px; height: 20px; }
.lp-hero__media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lp-hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; aspect-ratio: 3/4.3; box-shadow: var(--lp-shadow); }
.lp-hero__media img:nth-child(1) { object-position: 50% center; }
.lp-hero__media img:nth-child(2) { object-position: 50% center; }

/* ---------- Trust strip ---------- */
.lp-trust { background: var(--lp-primary); color: #fff; padding: 42px 0; }
.lp-trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 14px; text-align: center; align-items: center; }
.lp-trust__big { font-family: var(--lp-font-head); font-weight: 700; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.12; letter-spacing: 0.015em; margin-bottom: 8px; }
.lp-trust__big--lime { color: var(--lp-accent); font-size: clamp(42px, 6vw, 58px); line-height: 1; margin-bottom: 3px; }
.lp-trust__label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #B9D2E3; }
.lp-trust__stars { color: var(--lp-star); letter-spacing: 2px; font-size: 18px; margin-bottom: 7px; }
.lp-trust__item { border-left: 1px solid rgba(255,255,255,.16); padding: 4px 8px; display: flex; flex-direction: column; justify-content: center; }
.lp-trust__item:first-child, .lp-trust__item:nth-child(3) { border-left: none; }

/* ---------- Generic section heads ---------- */
.lp-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.lp-head h2 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 14px; }
.lp-head p { color: var(--lp-ink-soft); font-size: 19px; }
.lp-section--navy .lp-head p { color: #C7DCEA; }

/* ---------- Cards (problem) ---------- */
.lp-cards3 { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 820px; margin: 0 auto; }
.lp-card {
  background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
  padding: 34px 28px; text-align: center; box-shadow: var(--lp-shadow-sm);
}
.lp-card__icon { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--lp-secondary); }
.lp-card__icon svg { width: 100%; height: 100%; }
.lp-card h3 { font-size: 23px; margin-bottom: 10px; }
.lp-card p { color: var(--lp-ink-soft); font-size: 16.5px; }

/* ---------- Solution (split) ---------- */
.lp-split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.lp-feat { display: flex; gap: 16px; margin-bottom: 26px; }
.lp-feat__tick { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-accent); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.lp-feat__tick svg { width: 17px; height: 17px; }
.lp-feat h3 { font-size: 21px; margin-bottom: 4px; }
.lp-feat p { color: var(--lp-ink-soft); font-size: 16.5px; }
.lp-split__copy > .lp-btn { margin-left: 46px; }  /* align CTA under the feature text, not the icons */
.lp-split__media img { border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 5; object-position: 32% 20%; }

/* ---------- Steps (root cause) ---------- */
.lp-steps { display: grid; grid-template-columns: 1fr; gap: 22px; }
.lp-step { background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 30px 26px; box-shadow: var(--lp-shadow-sm); }
.lp-step__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--lp-secondary); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lp-step__icon svg { width: 28px; height: 28px; }
.lp-step h3 { font-size: 21px; margin-bottom: 8px; }
.lp-step p { color: var(--lp-ink-soft); font-size: 16px; }

/* ---------- Testimonials ---------- */
.lp-rev-badge { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -22px auto 44px; font-weight: 800; color: var(--lp-ink); }
.lp-rev-badge .lp-trust__stars { font-size: 20px; }
.lp-revs { display: grid; grid-template-columns: 1fr; gap: 22px; }
.lp-rev { background: #fff; border: 1px solid var(--lp-border); border-top: 4px solid var(--lp-secondary); border-radius: var(--lp-radius); padding: 28px 26px; box-shadow: var(--lp-shadow-sm); }
.lp-rev:nth-child(2) { border-top-color: var(--lp-accent); }
.lp-rev__stars { color: var(--lp-star); letter-spacing: 2px; font-size: 17px; margin-bottom: 12px; }
.lp-rev__text { font-size: 16.5px; color: var(--lp-ink); margin-bottom: 20px; }
.lp-rev__who { display: flex; align-items: center; gap: 12px; }
.lp-rev__avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 19px; font-family: var(--lp-font-body); }
.lp-rev__name { font-weight: 800; font-size: 15px; }
.lp-rev__src { font-size: 13px; color: var(--lp-ink-soft); display: flex; align-items: center; gap: 5px; }
.lp-gicon { width: 14px; height: 14px; }

/* ---------- Full spectrum (3 equal navy cards) ---------- */
.lp-spectrum { display: grid; grid-template-columns: 1fr; gap: 22px; }
.lp-spec-card { border: 1.5px solid rgba(255,255,255,.28); border-radius: var(--lp-radius); padding: 32px 26px; text-align: center; }
.lp-spec-card__icon { width: 60px; height: 60px; margin: 0 auto 16px; color: var(--lp-secondary); }
.lp-spec-card__icon svg { width: 100%; height: 100%; }
.lp-spec-card h3 { font-size: 22px; margin-bottom: 8px; }
.lp-spec-card p { color: #C7DCEA; font-size: 15.5px; }

/* ---------- Offer ---------- */
.lp-offer-card { background: #fff; border-radius: var(--lp-radius); border-left: 6px solid var(--lp-accent); box-shadow: var(--lp-shadow); padding: 40px 34px; max-width: 820px; margin: 0 auto; }
.lp-offer-step { display: flex; gap: 18px; margin-bottom: 24px; }
.lp-offer-step:last-of-type { margin-bottom: 30px; }
.lp-offer-num { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--lp-accent); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.lp-offer-step h3 { font-size: 20px; margin-bottom: 3px; }
.lp-offer-step p { color: var(--lp-ink-soft); font-size: 16px; }
.lp-offer-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 820px; margin: 0 auto; }
.lp-faq__item { background: var(--lp-light); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.lp-faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px; font-family: var(--lp-font-body); font-weight: 800; font-size: 18px; color: var(--lp-primary); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lp-faq__q span.lp-faq__plus { flex: 0 0 auto; color: var(--lp-secondary); font-size: 26px; line-height: 1; transition: transform .2s ease; }
.lp-faq__item.is-open .lp-faq__plus { transform: rotate(45deg); }
.lp-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.lp-faq__a p { padding: 0 24px 22px; color: var(--lp-ink-soft); font-size: 16.5px; }

/* ---------- About doctor ---------- */
.lp-doc { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.lp-doc__photo { position: relative; max-width: 420px; margin: 0 auto; }
.lp-doc__photo img { border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); width: 100%; }
.lp-doc__cap { position: absolute; left: 18px; bottom: 18px; background: var(--lp-primary); color: #fff; font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 10px; }
.lp-doc__cred { border-top: 1px solid var(--lp-secondary); padding-top: 12px; margin-top: 14px; }
.lp-doc__cred strong { display: block; color: var(--lp-primary); font-size: 16px; }
.lp-doc__cred span { color: var(--lp-ink-soft); font-size: 15px; }
.lp-doc p.lp-doc__intro { color: var(--lp-ink-soft); font-size: 17.5px; margin: 8px 0 6px; }

/* ---------- Final CTA + form ---------- */
.lp-final { background: linear-gradient(150deg, var(--lp-primary) 0%, var(--lp-primary-2) 55%, #024a78 100%); color: #fff; }
.lp-final__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.lp-final h2 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 16px; }
.lp-final__sub { color: #CFE3F0; font-size: 19px; margin-bottom: 26px; }
.lp-final__bullets { list-style: none; margin-bottom: 26px; }
.lp-final__bullets li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-weight: 600; }
.lp-final__bullets svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--lp-accent); margin-top: 3px; }
.lp-final__call { font-size: 15px; color: #CFE3F0; }
.lp-final__call a { font-family: var(--lp-font-head); font-size: 30px; color: #fff; display: block; margin-top: 4px; }

.lp-form { background: #fff; border-radius: var(--lp-radius); padding: 32px 28px; box-shadow: 0 24px 60px rgba(0,16,75,0.30); color: var(--lp-ink); }
.lp-form h3 { font-size: 24px; margin-bottom: 6px; }
.lp-form__intro { color: var(--lp-ink-soft); font-size: 15.5px; margin-bottom: 20px; }
.lp-field { margin-bottom: 16px; }
.lp-field label { display: block; font-weight: 700; font-size: 14px; color: var(--lp-primary); margin-bottom: 6px; }
.lp-field input, .lp-field textarea {
  width: 100%; font-family: var(--lp-font-body); font-size: 16px; color: var(--lp-ink);
  padding: 13px 15px; border: 1.5px solid var(--lp-border); border-radius: 12px; background: #fff;
}
.lp-field input:focus, .lp-field textarea:focus { outline: none; border-color: var(--lp-secondary); box-shadow: 0 0 0 3px rgba(52,178,204,.15); }
.lp-field textarea { resize: vertical; min-height: 84px; }
.lp-form .lp-btn { width: 100%; margin-top: 6px; }
.lp-form__fine { font-size: 12.5px; color: var(--lp-ink-soft); margin-top: 12px; text-align: center; }
.lp-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.lp-form__msg { display: none; padding: 14px; border-radius: 10px; font-weight: 700; margin-top: 12px; }
.lp-form__msg.is-err { display: block; background: #FDEDED; color: #B3261E; }

/* ---------- Final CTA - 3 ways to schedule ---------- */
.lp-final__head { text-align: center; max-width: 820px; margin: 0 auto 46px; }
.lp-final__head p { color: #CFE3F0; font-size: 20px; font-weight: 800; letter-spacing: .01em; }
.lp-ways { display: grid; gap: 16px; align-content: start; }
.lp-way { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 22px 24px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.lp-way h3 { color: #fff; font-size: 21px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.lp-way p { color: #CFE3F0; font-size: 16px; margin-bottom: 16px; }
.lp-way:last-child p { margin-bottom: 0; }
.lp-way__num { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--lp-accent); color: #fff; font-weight: 800; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }
.lp-way--primary { background: rgba(124,196,0,.12); border-color: rgba(124,196,0,.5); }
.lp-way .lp-btn { width: 100%; }
.lp-final__form { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 24px 60px rgba(0,16,75,.30); }
.lp-final__form iframe { display: block; width: 100%; }

/* ---------- Footer ---------- */
.lp-foot { background: var(--lp-primary-2); color: #C7DCEA; padding: 46px 0 26px; font-size: 15px; }
.lp-foot__grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.lp-foot__logo img { height: 46px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.lp-foot a { color: #fff; }
.lp-foot h4 { color: #fff; font-family: var(--lp-font-body); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.lp-foot__row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.lp-foot__row svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--lp-secondary); margin-top: 3px; }
.lp-foot__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; text-align: center; font-size: 13px; color: #8FB3C9; }

/* ---------- Sticky mobile call ---------- */
.lp-sticky-call {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--lp-accent); color: #fff; text-align: center; font-weight: 800; font-size: 17px;
  padding: 15px; box-shadow: 0 -4px 18px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; gap: 9px;
}
.lp-sticky-call svg { width: 20px; height: 20px; }

/* ---------- Subtle card rollover (shared across all boxes) ---------- */
.lp-card, .lp-step, .lp-rev, .lp-spec-card, .lp-offer-card, .lp-faq__item {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.lp-card:hover, .lp-step:hover, .lp-rev:hover, .lp-offer-card:hover {
  transform: translateY(-4px); box-shadow: 0 18px 46px rgba(2,66,109,0.16);
}
.lp-faq__item:hover { background: var(--lp-light-2); }
.lp-spec-card:hover {
  transform: translateY(-4px); border-color: rgba(255,255,255,0.6);
  box-shadow: 0 18px 46px rgba(0,0,0,0.22); background: rgba(255,255,255,0.04);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (min-width: 640px) {
  .lp-cards3 { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-revs { grid-template-columns: repeat(3, 1fr); }
  .lp-spectrum { grid-template-columns: repeat(3, 1fr); }
  .lp-trust__grid { grid-template-columns: repeat(4, 1fr); }
  .lp-trust__item:nth-child(3) { border-left: 1px solid rgba(255,255,255,.16); }
  .lp-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .lp-section { padding: 96px 0; }
  .lp-nav__links { display: flex; }
  .lp-hero { padding: 70px 0 80px; }
  .lp-hero .lp-wrap { max-width: 1320px; }
  .lp-hero__grid { grid-template-columns: 1fr 1.12fr; gap: 44px; align-items: center; }
  .lp-hero__media { gap: 12px; }
  .lp-split { grid-template-columns: 1.05fr .95fr; gap: 54px; }
  .lp-doc { grid-template-columns: .8fr 1.2fr; gap: 48px; }
  .lp-final__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .lp-sticky-call { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 1023px) {
  body { padding-bottom: 64px; }   /* room for sticky call */
}

/* ---------- Mobile: equal-width stacked hero CTAs ---------- */
@media (max-width: 639px) {
  .lp-hero__ctas { flex-direction: column; align-items: stretch; }
  .lp-hero__ctas .lp-btn { width: 100%; }
}
