/* Physio LP layer, loaded after the Webflow export. Overrides only. */

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

/* Fluid type scale: the export's 72px h1 / 40px h2 break at phone widths */
h1, h2, h3, h4, h5, h6 {
  text-transform: none;
}

h1 {
  font-size: clamp(34px, 26px + 2.4vw, 56px);
  line-height: 1.12;
}

h2 {
  font-size: clamp(26px, 21px + 1.5vw, 38px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(20px, 18px + 0.6vw, 26px);
}

/* Slim the fixed header: the export renders the logo ~85-96px tall,
   which eats a third of a phone viewport above the fold */
.navbar {
  padding-top: 16px;
  padding-bottom: 16px;
}

.navbar .logo-header {
  width: auto;
  height: 90px;
}

@media screen and (min-width: 992px) {
  .navbar .menu-wrap.mt-20 {
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .navbar .logo-header {
    height: 68px;
  }
}

/* Anchor targets must clear the fixed top-bar (~50px) + navbar */
#section-conditions,
#section-treatment,
#section-pricing,
#section-testimonials,
#section-faq,
#back-neck,
#joints,
#sports,
#specialized,
#prenatal {
  scroll-margin-top: 190px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .promo-button:before {
    animation: none;
  }
}

/* ---------- Hero ---------- */

.section.services-1-banner {
  padding-top: 220px;
  padding-bottom: 70px;
}

@media screen and (min-width: 1280px) {
  .section.services-1-banner {
    padding-top: 230px;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 991px) {
  .section.services-1-banner {
    padding-top: 210px;
  }
}

@media screen and (max-width: 767px) {
  .section.services-1-banner {
    padding-top: 190px;
    padding-bottom: 50px;
  }
}

.lp-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.lp-subhead {
  font-size: clamp(17px, 16px + 0.5vw, 21px);
  max-width: 580px;
  margin: 14px auto 30px;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.lp-cta-phone {
  font-size: 18px;
  padding: 16px 34px;
}

.lp-hero-facts {
  margin: 24px auto 0;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.2px;
  opacity: 0.85;
}

@media screen and (max-width: 479px) {
  .lp-hero-ctas {
    flex-direction: column;
  }
  .lp-hero-ctas .promo-button,
  .lp-hero-ctas .button-white {
    width: 100%;
  }
}

/* Condition chips: translucent pills on the green instead of the lavender box */
.service-features-container {
  background: none;
  border-radius: 0;
  padding: 0;
  margin: 36px auto 0;
  max-width: 780px;
}

.service-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.service-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 18px 7px 8px;
  transition: background 0.2s;
}

.service-feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.service-feature-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  background: var(--white);
  border-radius: 50%;
  padding: 5px;
}

.service-icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-feature-title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

/* ---------- Proof band ---------- */

.lp-proof {
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  padding: 32px 0;
}

.lp-proof-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.lp-proof-list li {
  display: block;
  margin: 0;
}

.lp-proof-list li + li {
  border-left: 1px solid var(--gray);
}

.lp-proof-strong {
  display: block;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 17px + 0.7vw, 26px);
  line-height: 1.2;
  color: var(--primary);
}

.lp-proof-strong a {
  font: inherit;
  color: inherit;
}

.lp-proof-label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--paragraph-gray);
}

@media screen and (max-width: 767px) {
  .lp-proof {
    padding: 26px 0;
  }
  .lp-proof-list {
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
  }
  .lp-proof-list li + li {
    border-left: none;
  }
  .lp-proof-list li:nth-child(even) {
    border-left: 1px solid var(--gray);
  }
}

/* ---------- Shared section helpers ---------- */

.lp-section-intro {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.lp-center-heading {
  text-align: center;
}

/* ---------- Conditions ---------- */

/* Columns instead of grid so uneven card heights pack without orphans */
.lp-conditions .services-grid-container {
  display: block;
  width: 100%;
  columns: 3;
  column-gap: 20px;
  margin-bottom: 0;
}

@media screen and (max-width: 991px) {
  .lp-conditions .services-grid-container {
    columns: 2;
  }
}

@media screen and (max-width: 600px) {
  .lp-conditions .services-grid-container {
    columns: 1;
  }
}

.condition-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  break-inside: avoid;
}

.condition-title {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
}

.condition-list li {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.4;
}

.condition-list li::before {
  font-size: 16px;
}

.lp-conditions-note {
  width: 100%;
  margin-top: 34px;
  text-align: center;
}

/* ---------- Treatment ---------- */

.lp-treatment-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.lp-treatment-media img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
}

.lp-steps {
  list-style: none;
  counter-reset: step;
  margin: 24px 0 0;
  padding: 0;
}

.lp-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  line-height: 1.5;
}

.lp-steps li::before {
  content: counter(step);
  flex: 0 0 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: 15px;
}

.lp-steps strong {
  color: var(--primary);
}

.lp-when {
  width: 100%;
  margin-top: 50px;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 30px 34px;
}

.lp-when ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 30px;
  margin: 8px 0 0;
  padding: 0;
}

.lp-when li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.lp-when li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: 700;
}

@media screen and (max-width: 991px) {
  .lp-treatment-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .lp-treatment-media img {
    max-height: 300px;
  }
}

@media screen and (max-width: 767px) {
  .lp-when {
    padding: 24px 20px;
  }
  .lp-when ul {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing & coverage: the full-bleed green anchor ---------- */

.lp-pricing {
  background-color: var(--primary);
}

.lp-pricing h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 10px;
}

.lp-pricing-sub {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.lp-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 44px;
  width: 100%;
  max-width: 960px;
  margin: 44px auto 0;
}

.lp-price-card {
  background: var(--white);
  border-radius: 14px;
  padding: 34px;
  text-align: center;
}

.lp-price-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--paragraph-gray);
}

.lp-price-figure {
  margin-top: 10px;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 34px + 2vw, 58px);
  line-height: 1;
  color: var(--primary);
}

.lp-price-figure s {
  margin-right: 10px;
  font-size: 0.55em;
  font-weight: 700;
  color: var(--dark-gray);
}

.lp-price-note {
  display: inline-block;
  margin-top: 14px;
  background: #ffb6504d;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.lp-price-rest {
  list-style: none;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--gray);
  text-align: left;
}

.lp-price-rest li {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 16px;
  color: var(--paragraph-gray);
}

.lp-price-amount {
  color: var(--primary);
  font-weight: 600;
}

.lp-price-card .promo-button {
  width: 100%;
  margin-top: 26px;
}

.lp-coverage {
  color: var(--white);
}

.lp-coverage h3 {
  color: var(--white);
  margin-top: 4px;
}

.lp-coverage p {
  color: rgba(255, 255, 255, 0.85);
}

.lp-coverage ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.lp-coverage li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  font-size: 17px;
  color: var(--white);
}

.lp-coverage li::before {
  content: "\2713";
  color: var(--yellow-primary);
  font-weight: 700;
}

@media screen and (max-width: 991px) {
  .lp-pricing-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 560px;
  }
}

@media screen and (max-width: 479px) {
  .lp-price-card {
    padding: 26px 20px;
  }
}

/* ---------- Reviews ---------- */

.lp-reviews-link {
  width: 100%;
  margin-top: 34px;
  text-align: center;
}

/* ---------- FAQ: native details/summary, no JS required ---------- */

.lp-faq-item {
  background-color: var(--white);
}

.lp-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.lp-faq-q::-webkit-details-marker {
  display: none;
}

.lp-faq-q .accordion-title {
  margin: 0;
}

.lp-faq-icon {
  flex: 0 0 auto;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: var(--yellow-primary);
  margin-top: 2px;
}

.lp-faq-icon::before {
  content: "+";
}

.lp-faq-item[open] .lp-faq-icon::before {
  content: "\2212";
}

.lp-faq-a {
  padding-top: 14px;
}

.lp-faq-a > :first-child {
  margin-top: 0;
}

/* ---------- Close ---------- */

.lp-close {
  background-color: var(--primary);
}

.lp-close h2 {
  color: var(--white);
  text-align: center;
}

.lp-close .lp-hero-ctas {
  margin-top: 30px;
}

.lp-close .lp-hero-facts {
  margin-top: 26px;
}
