/* ===================================================
   IDEAL SPINE POSTURE — Landing Page Styles
   Primary #0B8F8C · Secondary #1B3A57 · Poppins
=================================================== */
:root {
  --teal: #0B8F8C;
  --teal-d: #097a77;
  --navy: #1B3A57;
  --navy-d: #142a40;
  --ink: #1f2d3d;
  --muted: #5b6b7b;
  --line: #e6edf2;
  --bg: #ffffff;
  --tint: #f3f9f9;
  --tint2: #eef5f8;
  --shadow: 0 10px 30px rgba(27, 58, 87, .08);
  --shadow-lg: 0 20px 50px rgba(27, 58, 87, .14);
  --radius: 16px;
  --radius-sm: 12px;
  --grad: linear-gradient(135deg, var(--teal), var(--navy));
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em
}

p {
  color: var(--muted)
}

a {
  text-decoration: none
}

img {
  max-width: 100%
}

.container {
  max-width: 1180px
}

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: .65rem 1.5rem;
  transition: .25s;
  border: 0
}

.btn-lg {
  padding: .85rem 2rem;
  font-size: 1.02rem
}

.btn-primary {
  background: var(--teal);
  color: #fff
}

.btn-primary:hover {
  background: var(--teal-d);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 143, 140, .35)
}

.btn-outline-primary {
  border: 2px solid var(--teal);
  color: var(--teal);
  background: #fff
}

.btn-outline-primary:hover {
  background: var(--teal);
  color: #fff
}

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow)
}

.btn-light:hover {
  box-shadow: var(--shadow-lg)
}

/* ---------- Logo ---------- */
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 14px rgba(11, 143, 140, .4)
}

.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1
}

.logo-text span {
  color: var(--teal)
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: .3s
}

.site-header.scrolled {
  box-shadow: var(--shadow)
}

.site-header .nav-link {
  color: var(--navy);
  font-weight: 500;
  padding: .4rem .8rem;
  border-radius: 8px
}

.site-header .nav-link:hover {
  color: var(--teal)
}

.header-cta .btn {
  padding: .55rem 1.1rem;
  font-size: .92rem
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 72px;
  background:
    radial-gradient(1100px 460px at 85% -10%, rgba(11, 143, 140, .10), transparent 60%),
    linear-gradient(180deg, #fff, var(--tint));
  overflow: hidden
}

.hero-bg-shape {
  position: absolute;
  inset: auto -120px -160px auto;
  width: 420px;
  height: 420px;
  background: var(--grad);
  opacity: .06;
  border-radius: 46% 54% 60% 40%;
  filter: blur(8px)
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal);
  font-weight: 600;
  font-size: .85rem;
  padding: .4rem .9rem;
  border-radius: 50px;
  box-shadow: var(--shadow)
}

.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 1.1rem 0
}

.hero-title .hl {
  color: var(--teal)
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1.4rem
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-bottom: 1.6rem
}

.hero-trust li {
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .4rem
}

.hero-trust i {
  color: var(--teal);
  font-size: 1.15rem
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.3rem
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .95rem;
  flex-wrap: wrap
}

.stars {
  color: #ffb400
}

.hero-rating strong {
  color: var(--navy)
}

/* ---------- Lead Form ---------- */
.lead-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden
}

.lead-card-head {
  background: var(--grad);
  color: #fff;
  padding: 1.4rem 1.6rem
}

.lead-card-head h3 {
  color: #fff;
  margin: 0;
  font-size: 1.4rem
}

.urgency {
  margin: .4rem 0 0;
  color: #eafffe;
  font-weight: 500;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .4rem
}

.lead-form {
  padding: 1.4rem 1.6rem 1.6rem
}

.lead-form .form-control,
.lead-form .form-select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .75rem 1rem;
  font-size: .97rem;
  background: #fbfdfe
}

.lead-form .form-control:focus,
.lead-form .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 143, 140, .15);
  background: #fff
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem
}

.form-msg {
  font-size: .92rem;
  font-weight: 600;
  display: none
}

.form-msg.ok {
  display: block;
  color: var(--teal)
}

.form-msg.err {
  display: block;
  color: #d9534f
}

.form-foot {
  font-size: .82rem;
  color: var(--muted);
  margin: .9rem 0 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem
}

.form-foot i {
  color: var(--teal)
}

/* ---------- Stats ---------- */
.stats-strip {
  background: var(--navy);
  padding: 42px 0;
  color: #fff
}

.stats-strip .num,
.stats-strip .plus {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  color: #fff
}

.stats-strip .plus {
  color: var(--teal)
}

.stats-strip p {
  color: rgba(255, 255, 255, .72);
  margin: .2rem 0 0;
  font-weight: 500;
  font-size: .95rem
}

.stat {
  position: relative
}

/* ---------- Sections ---------- */
.section {
  padding: 74px 0
}

.section-tint {
  background: var(--tint)
}

.sec-head {
  max-width: 720px;
  margin: 0 auto 3rem
}

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: .6rem
}

.eyebrow.light {
  color: #7fe8e5
}

.sec-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem)
}

.sec-head p {
  margin-top: .6rem
}

/* ---------- Conditions ---------- */
.cond-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  transition: .25s;
  box-shadow: var(--shadow)
}

.cond-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg)
}

.cond-card i {
  font-size: 2rem;
  color: var(--teal);
  background: var(--tint2);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 0 auto .8rem
}

.cond-card h5 {
  font-size: 1rem;
  margin: 0;
  color: var(--navy)
}

/* ---------- Service / Condition Cards (image + heading + button) ---------- */
.svc-group-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1.4rem
}

.svc-group-title i {
  color: var(--teal);
  background: var(--tint2);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.3rem
}

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: .25s;
  box-shadow: var(--shadow)
}

.svc-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg)
}

.svc-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--tint2)
}

.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}



.svc-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27, 58, 87, .12))
}

.svc-card-body {
  padding: 1rem .9rem 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 1;
  justify-content: space-between
}

.svc-card-body h5 {
  font-size: 1rem;
  margin: 0;
  color: var(--navy);
  line-height: 1.35
}

.svc-card-body .btn {
  align-self: center
}

.svc-card-body .btn-sm {
  padding: .45rem 1.2rem;
  font-size: .85rem
}

/* ---------- Why ---------- */
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  height: 100%;
  transition: .25s;
  box-shadow: var(--shadow)
}

.why-card:hover {
  box-shadow: var(--shadow-lg)
}

.why-card i {
  font-size: 1.7rem;
  color: #fff;
  background: var(--grad);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1rem
}

.why-card h5 {
  font-size: 1.05rem;
  margin-bottom: .4rem
}

.why-card p {
  margin: 0;
  font-size: .92rem
}

/* ---------- Journey ---------- */
.section-dark {
  background: var(--navy)
}

.step-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 2rem 1.4rem 1.6rem;
  text-align: center;
  position: relative;
  height: 100%;
  transition: .25s
}

.step-card:hover {
  background: rgba(255, 255, 255, .09);

}

.step-no {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(11, 143, 140, .5)
}

.step-card i {
  font-size: 2.1rem;
  color: #7fe8e5;
  margin: .6rem 0 .8rem
}

.step-card h5 {
  color: #fff;
  font-size: 1.1rem
}

.step-card p {
  color: rgba(255, 255, 255, .65);
  margin: 0;
  font-size: .9rem
}

/* ---------- Testimonials ---------- */
.g-rating {
  margin-top: .8rem;
  font-size: 1rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap
}

.g-rating .bi-google {
  color: #4285F4
}

.g-rating strong {
  color: var(--navy);
  font-size: 1.2rem
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
  box-shadow: var(--shadow)
}

.rc-stars {
  color: #ffb400;
  margin-bottom: .7rem
}

.review-card p {
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.2rem
}

.rc-author {
  display: flex;
  align-items: center;
  gap: .7rem
}

.av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700
}

.rc-author strong {
  display: block;
  color: var(--navy);
  font-size: .95rem
}

.rc-author small {
  color: var(--muted)
}

.rc-author small .bi-google {
  color: #4285F4
}

#reviewCarousel {
  padding: 0 10px
}

.carousel-control-prev,
.carousel-control-next {
  width: 42px;
  height: 42px;
  background: var(--teal);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1
}

.carousel-control-prev {
  left: -8px
}

.carousel-control-next {
  right: -8px
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 18px;
  height: 18px
}

/* Trust badges */
.trust-badges {
  text-align: center
}

.tb {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem .6rem;
  height: 100%;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem
}

.tb i {
  font-size: 1.5rem;
  color: var(--teal)
}

.tb span {
  font-weight: 600;
  font-size: .86rem;
  color: var(--navy)
}

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: .8rem;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--navy);
  padding: 1.1rem 1.3rem
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--tint);
  color: var(--teal);
  box-shadow: none
}

.faq-accordion .accordion-button:focus {
  box-shadow: none
}

.faq-accordion .accordion-button::after {
  filter: hue-rotate(120deg)
}

.faq-accordion .accordion-body {
  color: var(--muted)
}

/* ---------- Contact ---------- */
.contact-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem;
  height: 100%;
  box-shadow: var(--shadow)
}

.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px dashed var(--line);
  color: inherit
}

.ci-row:last-of-type {
  border-bottom: 0
}

.ci-row i {
  font-size: 1.2rem;
  color: #fff;
  background: var(--grad);
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 12px
}

.ci-row span {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em
}

.ci-row strong {
  color: var(--navy);
  font-size: .98rem
}

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 380px;
  border: 1px solid var(--line)
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-d);
  color: #fff;
  padding: 54px 0 26px
}

.site-footer .logo-text {
  color: #fff
}

.site-footer h6 {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600
}

.foot-links li {
  margin-bottom: .55rem
}

.foot-links a,
.foot-links li {
  color: rgba(255, 255, 255, .7);
  font-size: .92rem
}

.foot-links a:hover {
  color: #7fe8e5
}

.foot-links i {
  color: var(--teal);
  margin-right: .3rem
}

.foot-divider {
  border-color: rgba(255, 255, 255, .12);
  margin: 2rem 0 1.2rem
}

.site-footer small {
  color: rgba(255, 255, 255, .6)
}

/* ---------- Floating buttons ---------- */
.floating-btns {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: .7rem
}

.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  transition: box-shadow .2s
}

.fab:hover {
  color: #fff
}

.fab-wa {
  background: #25D366
}

.fab-call {
  background: var(--navy)
}

.fab-book {
  background: var(--teal)
}



/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1035;
  display: flex;
  background: #fff;
  box-shadow: 0 -6px 18px rgba(27, 58, 87, .12);
  padding: .55rem .6rem;
  gap: .5rem
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: .7rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem
}

.m-call {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal)
}

.m-book {
  background: var(--teal);
  color: #fff
}

/* ---------- Exit popup ---------- */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 58, 87, .6);
  backdrop-filter: blur(4px);
  z-index: 1060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem
}

.exit-overlay.show {
  display: flex
}

.exit-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 430px;
  width: 100%;
  padding: 2.2rem 1.8rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg)
}

.exit-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer
}

.exit-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem
}

.exit-modal h3 {
  font-size: 1.5rem
}

.exit-modal p {
  margin: .6rem 0 1rem
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 1.2rem
}

.countdown>div {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: .55rem .8rem;
  min-width: 62px;
  display: flex;
  flex-direction: column;
  line-height: 1.1
}

.countdown span {
  font-size: 1.6rem;
  font-weight: 800
}

.countdown small {
  font-size: .7rem;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase
}

.cd-sep {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  background: none !important;
  padding: 0 !important;
  min-width: auto !important
}

.exit-foot {
  font-size: .78rem;
  color: var(--muted);
  margin: .8rem 0 0
}

/* ---------- Responsive ---------- */
@media (max-width:991px) {
  .header-cta .btn-call {
    display: none
  }

  /* Mobile dropdown menu panel */
  #mainNav {
    background: #fff;
    border-top: 1px solid var(--line);
    margin-top: .6rem;
    padding: .8rem 0 1rem;
    border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow)
  }

  .site-header .navbar-nav {
    padding: .3rem .5rem
  }

  .site-header .nav-link {
    padding: .7rem 1rem;
    border-radius: 10px
  }

  .site-header .nav-link:hover {
    background: var(--tint)
  }

  .header-cta {
    padding: .4rem 1rem 0;
    width: 100%
  }

  .header-cta .btn {
    width: 100%
  }

  .navbar-toggler {
    border: 1.5px solid var(--line);
    padding: .35rem .6rem
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(11, 143, 140, .15)
  }

  .hero {
    padding: 40px 0 56px
  }

  .svc-list {
    grid-template-columns: 1fr
  }

  body {
    padding-bottom: 64px
  }

  /* room for mobile CTA */
  .floating-btns {
    bottom: 74px
  }
}

@media (max-width:575px) {
  .hero-actions .btn {
    width: 100%
  }

  .countdown>div {
    min-width: 54px
  }
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important
  }
}

/* Focus visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(11, 143, 140, .5);
  outline-offset: 2px
}