/* United Medical Therapy Center Limited — therapy bench stylesheet */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #F8F4D8;
  color: #445A6E;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #6A9268;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: #5A7A8A;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

p {
  margin: 0 0 1.1em 0;
}

h1, h2, h3, h4 {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  color: #445A6E;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
  font-weight: 700;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #6A9268;
  color: #F8F4D8;
  padding: 10px 18px;
  z-index: 60;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- NAVIGATION: MOXA BUNDLE RAIL ---------- */

.therapybay {
  background-color: #F8F4D8;
  border-bottom: 1px solid #D8CE9E;
  padding: 14px 0;
}

.therapybay .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.therapybrand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #445A6E;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  max-width: 320px;
}

.therapybrand:hover {
  text-decoration: none;
}

.therapybrand span {
  display: inline-block;
}

.moxadot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #5A7A8A;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px #E8E1B8;
}

.navtoggle {
  display: none;
  background-color: #445A6E;
  color: #F8F4D8;
  border: 0;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 9px 16px;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.moxarail {
  background-color: #445A6E;
  border-radius: 4px;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 8px;
  flex-wrap: wrap;
}

.moxabundle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  background-color: #F8F4D8;
  border-radius: 20px;
  padding: 8px 16px;
  margin: 2px;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.moxabundle:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.moxabundle .leafedge {
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background-color: #6A9268;
  flex: 0 0 auto;
}

.moxabundle .wrapdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #F4BC64;
  flex: 0 0 auto;
}

.moxabundle .maxtxt {
  color: #445A6E;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  font-family: Georgia, serif;
}

.moxabundle.is-current {
  background-color: #F4BC64;
}

.moxabundle.is-current .maxtxt {
  color: #445A6E;
}

/* ---------- HERO: TREATMENT BAY COLUMNS ---------- */

.treatmentbay {
  padding: 64px 0 40px 0;
  background-color: #F8F4D8;
}

.treatmentbay .wrap {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 54px;
  align-items: center;
}

.treatcopy h1 {
  font-size: 3.15rem;
  line-height: 1.08;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
}

.displayword {
  display: block;
  color: #6A9268;
  font-style: italic;
  font-size: 3.6rem;
  letter-spacing: -0.015em;
}

.treatcopy .lede {
  font-size: 1.1rem;
  color: #445A6E;
  max-width: 40ch;
  margin-bottom: 26px;
}

.inlinearrow {
  color: #6A9268;
  font-weight: 700;
  white-space: nowrap;
}

.inlinearrow:hover {
  color: #5A7A8A;
}

.ctabar {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background-color: #6A9268;
  color: #F8F4D8;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  padding: 16px 30px;
  border-radius: 3px;
  margin-top: 8px;
}

.ctabar:hover {
  background-color: #5A7A8A;
  text-decoration: none;
  color: #F8F4D8;
}

.ctabar .arrowspan {
  font-size: 1.3rem;
  line-height: 1;
}

/* ---------- CUPPING SET (pure CSS) ---------- */

.cuppingset {
  position: relative;
  background-color: #F8F4D8;
  border: 1px solid #D8CE9E;
  border-radius: 6px;
  height: 390px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.heatlamp {
  position: absolute;
  top: 24px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lamphood {
  width: 96px;
  height: 46px;
  background-color: #F4BC64;
  border-radius: 96px 96px 6px 6px;
  border: 2px solid #D89B3C;
}

.lampstem {
  width: 4px;
  height: 34px;
  background-color: #445A6E;
}

.lampglow {
  position: absolute;
  top: 66px;
  width: 4px;
  height: 44px;
  background-color: #F4BC64;
  border-radius: 2px;
}

.drapedown {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background-color: #EDE6C2;
  border-top: 1px solid #D8CE9E;
}

.cup {
  position: absolute;
  bottom: 80px;
  background-color: #445A6E;
  border-radius: 6px 6px 14px 14px;
  box-shadow: inset 0 -8px 0 #3A4C5C;
}

.cup.cup-one {
  left: 44px;
  width: 66px;
  height: 72px;
}

.cup.cup-two {
  left: 128px;
  width: 54px;
  height: 58px;
}

.cup.cup-three {
  left: 200px;
  width: 44px;
  height: 46px;
}

.cup-lip {
  position: absolute;
  top: -7px;
  left: 8%;
  width: 84%;
  height: 12px;
  border-radius: 50%;
  background-color: #5A7A8A;
}

.cuproll {
  position: absolute;
  bottom: 96px;
  right: 44px;
  width: 150px;
  height: 30px;
  background-color: #6A9268;
  border-radius: 16px;
  box-shadow: 0 14px 0 #7BA579, 0 28px 0 #6A9268;
  transform: rotate(-6deg);
}

.cuprset-label {
  position: absolute;
  bottom: 34px;
  left: 26px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #445A6E;
  background-color: #F8F4D8;
  padding: 2px 8px;
  border: 1px solid #5A7A8A;
  border-radius: 2px;
}

/* ---------- section heads ---------- */

.sectionhead {
  padding: 46px 0 8px 0;
}

.sectionhead h2 {
  font-size: 2.05rem;
  margin: 0 0 8px 0;
}

.sectionhead p {
  max-width: 62ch;
  color: #445A6E;
  font-size: 1.04rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5A7A8A;
  margin-bottom: 10px;
  font-weight: 700;
}

/* ---------- KNEE ROW RUN ---------- */

.kneerow {
  padding: 26px 0 60px 0;
}

.kneerow .wrap {
  display: block;
}

.kneelist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kneeline {
  display: grid;
  grid-template-columns: 42px 260px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid #F4BC64;
}

.kneeline:last-child {
  border-bottom: 0;
}

.tapeglyph {
  width: 30px;
  height: 30px;
  position: relative;
  margin-top: 6px;
}

.tapeglyph::before,
.tapeglyph::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 30px;
  height: 5px;
  background-color: #5A7A8A;
  border-radius: 1px;
}

.tapeglyph::before {
  transform: rotate(45deg);
}

.tapeglyph::after {
  transform: rotate(-45deg);
}

.kneeline h3 {
  font-size: 1.34rem;
  margin: 0;
}

.kneeline h3 a {
  color: #445A6E;
}

.kneeline h3 a:hover {
  color: #6A9268;
}

.knee-copy {
  font-size: 1.02rem;
  margin: 0;
  max-width: 62ch;
}

.kneeline .rollglyph {
  display: none;
}

.kneeline.alt {
  grid-template-columns: 42px 260px 1fr 30px;
}

.kneeline.alt .rollglyph {
  display: block;
  width: 24px;
  height: 12px;
  background-color: #6A9268;
  border-radius: 6px;
  box-shadow: 0 8px 0 #6A9268;
  margin-top: 12px;
}

/* ---------- MERIDIAN BAND ---------- */

.meridianband {
  position: relative;
  background-color: #6A9268;
  padding: 58px 0 46px 0;
  margin-top: 16px;
}

.meridianedge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background-color: #F8F4D8;
  border-bottom: 2px solid #6A9268;
}

.bodyline {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 0;
  border-top: 3px dashed #445A6E;
}

.meridianband .wrap {
  position: relative;
  text-align: center;
}

.meridianband p.bandline {
  color: #F8F4D8;
  font-size: 1.32rem;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  max-width: 62ch;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 600;
}

.pointdots {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 46px;
}

.pointdots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #F4BC64;
}

/* ---------- deeper content blocks ---------- */

.bayintros {
  padding: 60px 0 20px 0;
}

.bayintros .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.bayintros h2 {
  font-size: 1.85rem;
}

.bayintros p {
  font-size: 1.02rem;
}

.pullnote {
  border-left: 4px solid #6A9268;
  padding: 4px 0 4px 20px;
  font-size: 1.08rem;
  color: #445A6E;
  font-style: italic;
  margin: 0;
}

.pullafter {
  margin-top: 26px;
}

.statrow {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.statitem {
  flex: 1 1 120px;
}

.statitem strong {
  display: block;
  font-size: 1.9rem;
  color: #6A9268;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
}

.statitem span {
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #445A6E;
}

/* ---------- process strip ---------- */

.processrun {
  padding: 56px 0 30px 0;
}

.processgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 24px;
}

.processstep {
  background-color: #F4BC64;
  border-radius: 4px;
  padding: 24px 22px;
}

.processstep h3 {
  font-size: 1.12rem;
  margin: 0 0 8px 0;
  color: #445A6E;
}

.processstep p {
  margin: 0;
  color: #445A6E;
  font-size: 0.98rem;
}

.processnum {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  background-color: #445A6E;
  color: #F8F4D8;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- FAQ accordion ---------- */

.faqwrap {
  padding: 50px 0 60px 0;
}

.faqitem {
  border-bottom: 1px solid #F4BC64;
}

.faqq {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #445A6E;
  padding: 18px 32px 18px 0;
  cursor: pointer;
  position: relative;
}

.faqq::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1.5rem;
  color: #6A9268;
  line-height: 1;
}

.faqitem.is-open .faqq::after {
  content: "\2013";
}

.faqa {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faqitem.is-open .faqa {
  max-height: 400px;
}

.faqa p {
  margin: 0 0 20px 0;
  max-width: 72ch;
  font-size: 1rem;
}

/* ---------- contact form ---------- */

.contactbay {
  padding: 56px 0 60px 0;
}

.contactbay .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.fieldrow {
  margin-bottom: 18px;
}

.fieldrow label {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #445A6E;
  margin-bottom: 6px;
  font-weight: 700;
}

.fieldrow input,
.fieldrow textarea {
  width: 100%;
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #445A6E;
  background-color: #F8F4D8;
  border: 1px solid #5A7A8A;
  border-radius: 3px;
  padding: 11px 13px;
}

.fieldrow input:focus,
.fieldrow textarea:focus {
  outline: 2px solid #6A9268;
  outline-offset: 1px;
}

.formsubmit {
  background-color: #6A9268;
  color: #F8F4D8;
  border: 0;
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: 3px;
  cursor: pointer;
}

.formsubmit:hover {
  background-color: #5A7A8A;
}

.formnote {
  font-size: 0.9rem;
  margin-top: 14px;
  color: #445A6E;
}

.contactcard {
  background-color: #F4BC64;
  border-radius: 6px;
  padding: 30px 28px;
}

.contactcard h2 {
  font-size: 1.4rem;
  margin: 0 0 14px 0;
}

.contactcard p {
  margin: 0 0 12px 0;
  color: #445A6E;
}

.contactcard a {
  color: #445A6E;
  text-decoration: underline;
  text-decoration-color: #6A9268;
}

.hoursbox {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #D89B3C;
}

/* ---------- generic page hero for subpages ---------- */

.pagehero {
  padding: 54px 0 30px 0;
  border-bottom: 1px solid #F4BC64;
}

.pagehero h1 {
  font-size: 2.7rem;
  margin: 0 0 12px 0;
}

.pagehero p {
  max-width: 66ch;
  font-size: 1.1rem;
}

/* ---------- long-form services detail ---------- */

.serviceblock {
  padding: 22px 0;
  border-bottom: 1px solid #F4BC64;
}

.serviceblock h2 {
  font-size: 1.62rem;
  margin: 0 0 6px 0;
}

.serviceblock .tagline {
  color: #5A7A8A;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.serviceblock p {
  max-width: 72ch;
}

.servicelist {
  padding: 30px 0 10px 0;
}

/* ---------- CTA band ---------- */

.ctaband {
  background-color: #445A6E;
  padding: 40px 0;
  margin-top: 30px;
}

.ctaband .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.ctaband p {
  color: #F8F4D8;
  font-size: 1.22rem;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  margin: 0;
  max-width: 56ch;
  font-weight: 600;
}

.ctaband .ctabar {
  margin-top: 0;
  background-color: #6A9268;
}

.ctaband .ctabar:hover {
  background-color: #F4BC64;
  color: #445A6E;
}

/* ---------- FOOTER: SALVE CLOSER ---------- */

.salvefoot {
  background-color: #F8F4D8;
  padding-top: 0;
  margin-top: 20px;
}

.salverule {
  position: relative;
  height: 2px;
  background-color: #445A6E;
  margin-bottom: 34px;
}

.jar {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 34px;
  background-color: #5A7A8A;
  border-radius: 4px 4px 9px 9px;
  border: 0;
}

.jarlid {
  position: absolute;
  top: -7px;
  left: 6px;
  width: 34px;
  height: 10px;
  background-color: #F4BC64;
  border-radius: 3px;
}

.jarsprig {
  position: absolute;
  top: -20px;
  right: -6px;
  width: 5px;
  height: 22px;
  background-color: #6A9268;
  border-radius: 2px;
  transform: rotate(18deg);
}

.footlinks {
  text-align: center;
  margin-bottom: 26px;
  font-size: 0.98rem;
}

.footlinks a {
  color: #445A6E;
  margin: 0 10px;
  letter-spacing: 0.02em;
}

.footlinks a:hover {
  color: #6A9268;
}

.footdot {
  color: #5A7A8A;
}

.footbase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  text-align: center;
  padding-bottom: 36px;
}

.footbase .footbrand {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #445A6E;
}

.footbase .footblurb {
  max-width: 60ch;
  margin: 4px auto 10px auto;
  font-size: 0.94rem;
  color: #445A6E;
}

.footmeta {
  font-size: 0.9rem;
  color: #445A6E;
  border-top: 1px solid #D8CE9E;
  padding-top: 16px;
  margin-top: 8px;
}

.footmeta a {
  color: #6A9268;
}

.leafglyph {
  color: #6A9268;
  margin-right: 4px;
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-shown {
  opacity: 1;
  transform: none;
}

html.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .treatmentbay .wrap,
  .bayintros .wrap,
  .contactbay .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .treatcopy h1 {
    font-size: 2.4rem;
  }

  .displayword {
    font-size: 2.8rem;
  }

  .processgrid {
    grid-template-columns: 1fr;
  }

  .kneeline,
  .kneeline.alt {
    grid-template-columns: 30px 1fr;
    gap: 14px;
  }

  .kneeline .rollglyph {
    display: none;
  }

  .cuppingset {
    height: 300px;
  }
}

@media (max-width: 720px) {
  .navtoggle {
    display: inline-block;
  }

  .moxarail {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 12px;
  }

  .moxarail.is-open {
    display: flex;
  }

  .moxabundle {
    width: 100%;
    justify-content: flex-start;
  }

  .treatcopy h1 {
    font-size: 2rem;
  }

  .displayword {
    font-size: 2.3rem;
  }

  .pagehero h1 {
    font-size: 2rem;
  }

  .kneeline,
  .kneeline.alt {
    grid-template-columns: 1fr;
  }

  .tapeglyph {
    display: none;
  }

  .footlinks a {
    display: inline-block;
    margin: 4px 8px;
  }
}
