/* Treatment page styles */
.treatment-page .global-nav a[aria-current="page"]::after {
  width: 100%;
}

.treatment-page.menu-open .floating-actions {
  opacity: 0;
  pointer-events: none;
}

.treatment-hero {
  display: grid;
  min-height: calc(100svh - 100px);
  grid-template-columns: minmax(0, 1.12fr) minmax(500px, 0.88fr);
  background: var(--white);
}

.treatment-hero-media {
  min-height: 720px;
  overflow: hidden;
  background: var(--beige);
}

.treatment-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.treatment-hero-copy {
  display: flex;
  padding: clamp(58px, 6.4vw, 118px) clamp(68px, 7vw, 132px) 68px clamp(52px, 5.6vw, 102px);
  flex-direction: column;
  justify-content: center;
}

.treatment-back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: clamp(30px, 3vw, 48px);
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.treatment-back-link::before {
  content: "←";
}

.treatment-back-link::after {
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 200ms ease;
}

.treatment-back-link:hover::after,
.treatment-back-link:focus-visible::after {
  width: 28px;
}

.treatment-hero-copy h1 {
  margin-bottom: 12px;
  color: var(--red);
  font-size: clamp(15px, 1.05vw, 19px);
  letter-spacing: 0.13em;
}

.treatment-hero-copy h2 {
  margin-bottom: clamp(35px, 3.6vw, 57px);
  font-size: clamp(32px, 2.55vw, 48px);
  letter-spacing: 0.07em;
  line-height: 1.58;
}

.treatment-lead {
  max-width: 650px;
  font-size: clamp(14px, 0.94vw, 17px);
  line-height: 2.08;
}

.treatment-lead p {
  margin-bottom: 20px;
}

.treatment-lead p:last-child {
  margin-bottom: 0;
}

.treatment-services {
  padding: clamp(110px, 9vw, 175px) var(--side-space);
  background: var(--paper);
}

.treatment-service {
  display: grid;
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: clamp(70px, 6vw, 108px) 0;
  grid-template-columns: minmax(300px, 0.68fr) minmax(500px, 1.32fr);
  gap: clamp(70px, 9vw, 160px);
  border-top: 1px solid rgba(15, 15, 15, 0.48);
}

.treatment-service:first-child {
  padding-top: 0;
  border-top: 0;
}

.treatment-service:last-child {
  padding-bottom: 0;
}

.treatment-number {
  margin: 0 0 32px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.treatment-service-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 2.3vw, 43px);
}

.treatment-provider {
  margin: 0;
  color: var(--red);
  font-size: 17px;
  letter-spacing: 0.08em;
}

.treatment-service-body {
  max-width: 760px;
  font-weight: 500;
}

.treatment-service-body > p {
  margin-bottom: 27px;
}

.treatment-facts {
  margin: 42px 0 32px;
  border-top: 1px solid rgba(15, 15, 15, 0.5);
}

.treatment-facts div {
  display: grid;
  min-height: 65px;
  padding: 12px 4px;
  grid-template-columns: minmax(125px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid rgba(15, 15, 15, 0.5);
}

.treatment-facts dt,
.treatment-facts dd {
  margin: 0;
}

.treatment-facts dt {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.treatment-facts dd {
  font-size: 15px;
}

.treatment-note {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.8;
}

.treatment-contact-link,
.treatment-primary-link {
  display: flex;
  width: min(100%, 390px);
  min-height: 62px;
  padding: 12px 25px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  font-size: 14px;
  transition:
    color 200ms ease,
    background 200ms ease;
}

.treatment-contact-link:hover,
.treatment-contact-link:focus-visible,
.treatment-primary-link:hover,
.treatment-primary-link:focus-visible {
  color: var(--red);
  background: transparent;
}

.treatment-rest {
  display: grid;
  min-height: 600px;
  padding: clamp(105px, 9vw, 170px) var(--side-space);
  grid-template-columns: minmax(350px, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(70px, 10vw, 170px);
  color: var(--white);
  background: var(--red);
}

.treatment-rest-heading {
  max-width: 550px;
  margin-left: auto;
}

.treatment-rest-heading h2 {
  margin: 0;
  font-size: clamp(32px, 2.55vw, 48px);
  letter-spacing: 0.07em;
}

.treatment-rest-copy {
  max-width: 670px;
  font-size: clamp(15px, 1vw, 18px);
}

.treatment-rest-copy p {
  margin-bottom: 24px;
}

.treatment-rest-copy p:last-child {
  margin-bottom: 0;
}

.treatment-inquiry {
  padding: clamp(105px, 9vw, 165px) var(--side-space);
  background: #f1ece5;
}

.treatment-inquiry-inner {
  width: min(100%, 900px);
  margin: 0 auto;
  text-align: center;
}

.treatment-inquiry h2 {
  margin-bottom: 40px;
  font-size: clamp(33px, 2.7vw, 49px);
}

.treatment-inquiry p {
  margin: 0 auto 20px;
  font-weight: 500;
}

.treatment-inquiry p:nth-of-type(2) {
  max-width: 760px;
}

.treatment-primary-link {
  margin: 46px auto 0;
  text-align: left;
}

@media (max-width: 1180px) {
  .treatment-hero {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.95fr);
  }

  .treatment-hero-copy {
    padding: 70px 65px 65px 54px;
  }

  .treatment-service {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 70px;
  }

  .treatment-rest {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 75px;
  }
}

@media (max-width: 820px) {
  .treatment-page .global-nav a[aria-current="page"] {
    color: var(--red);
  }

  .treatment-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .treatment-hero-media {
    height: clamp(240px, 70vw, 330px);
    min-height: 0;
    order: 1;
  }

  .treatment-hero-media img {
    object-position: center;
  }

  .treatment-hero-copy {
    display: block;
    padding: 34px 52px 76px 36px;
    order: 2;
  }

  .treatment-back-link {
    margin-bottom: 31px;
    font-size: 10px;
  }

  .treatment-hero-copy h1 {
    margin-bottom: 9px;
    font-size: 12px;
  }

  .treatment-hero-copy h2 {
    margin-bottom: 32px;
    font-size: clamp(24px, 7vw, 28px);
  }

  .treatment-lead {
    font-size: 13px;
    line-height: 2;
  }

  .treatment-services {
    padding: 80px 24px 96px;
  }

  .treatment-service {
    display: block;
    padding: 72px 12px;
  }

  .treatment-service-heading {
    margin-bottom: 37px;
  }

  .treatment-number {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .treatment-service-heading h2 {
    margin-bottom: 9px;
    font-size: 25px;
  }

  .treatment-provider {
    font-size: 14px;
  }

  .treatment-service-body {
    font-size: 13px;
  }

  .treatment-facts {
    margin: 32px 0 27px;
  }

  .treatment-facts div {
    min-height: 56px;
    padding: 10px 2px;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .treatment-facts dt {
    font-size: 11px;
  }

  .treatment-facts dd {
    font-size: 12px;
  }

  .treatment-contact-link,
  .treatment-primary-link {
    width: 100%;
    min-height: 57px;
    padding: 11px 19px;
    font-size: 12px;
  }

  .treatment-rest {
    display: block;
    min-height: 0;
    padding: 82px 36px 90px;
  }

  .treatment-rest-heading {
    margin: 0 0 42px;
  }

  .treatment-rest-heading h2 {
    font-size: 25px;
  }

  .treatment-rest-copy {
    font-size: 13px;
  }

  .treatment-inquiry {
    padding: 84px 36px 96px;
  }

  .treatment-inquiry h2 {
    margin-bottom: 33px;
    font-size: 27px;
  }

  .treatment-inquiry p {
    font-size: 13px;
  }

  .treatment-primary-link {
    margin-top: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .treatment-back-link::after,
  .treatment-contact-link,
  .treatment-primary-link {
    transition: none;
  }
}
