:root {
  --pink: #c199a3;
  --pink-dark: #aa7784;
  --ink: #404040;
  --muted: #777;
  --paper: #fff;
  --soft-paper: #f7f4f4;
  --footer: #272727;
  --content-width: 1140px;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: #fff;
  background: #111;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-width {
  width: min(calc(100% - 3rem), var(--content-width));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  scroll-margin-top: var(--nav-height);
}

.section-heading {
  margin: 0 auto 64px;
  padding-inline: 1.5rem;
  text-align: center;
}

.section-heading h2,
.detail-copy h2 {
  margin: 0;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8125rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.section-heading p {
  margin: 0.55rem 0 0;
  font-size: 1rem;
}

.heading-line {
  display: block;
  width: 80px;
  height: 2px;
  margin: 24px auto 0;
  background: var(--pink);
}

.light-heading {
  color: #fff;
}

.light-heading .heading-line {
  background: rgba(255, 255, 255, 0.8);
}

.site-header {
  position: relative;
  min-height: 570px;
  padding-top: var(--nav-height);
  color: #fff;
  background-image: linear-gradient(rgba(40, 40, 40, 0.64), rgba(40, 40, 40, 0.64)), url("content/33411759352_c8092f969b_o.jpg");
  background-position: center;
  background-size: cover;
}

.navigation {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 max(24px, calc((100% - var(--content-width)) / 2));
  color: #858585;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.07);
}

.brand {
  display: block;
  width: 148px;
}

.brand img {
  width: 148px;
  max-height: 64px;
  object-fit: contain;
}

.main-menu,
.submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-menu a {
  position: relative;
  display: block;
  padding: 10px 0;
  color: #858585;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-menu > li > a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--pink);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.main-menu a:hover,
.main-menu a:focus-visible {
  color: var(--pink-dark);
}

.main-menu > li > a:hover::after,
.main-menu > li > a:focus-visible::after {
  transform: scaleX(1);
}

.has-submenu {
  position: relative;
}

.has-submenu > a::before {
  position: absolute;
  top: 50%;
  right: -14px;
  width: 0;
  height: 0;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

.submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: -18px;
  display: none;
  min-width: 220px;
  padding: 8px 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: block;
}

.menu-toggle {
  display: none;
}

.hero-content {
  display: grid;
  min-height: calc(570px - var(--nav-height));
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.about {
  color: #fff;
  background: var(--pink);
}

.about-copy {
  font-weight: 300;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(240px, 336px) 1fr;
  gap: 56px;
  align-items: start;
}

.about-photo {
  width: 100%;
  border: 10px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(52, 38, 41, 0.18);
}

.about-copy p {
  margin: 0 0 1.25em;
}

.about-copy a {
  font-weight: 700;
}

.treatments {
  background: #fff;
}

.treatment-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 82px;
}

.treatment-card {
  text-align: center;
  text-decoration: none;
}

.treatment-image {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px rgba(193, 153, 163, 0.45);
  transition: transform 180ms ease;
}

.treatment-card:hover .treatment-image,
.treatment-card:focus-visible .treatment-image {
  transform: translateY(-4px);
}

.treatment-image-relax {
  background-image: url("content/v2.i1259426.w720.h480.x4B5B5BE7-1-e1516455567815.jpg");
}

.treatment-image-sport {
  background-image: url("content/v2.i1259425.w720.h480.x92F67ED0.jpg");
}

.treatment-image-stone {
  background-image: url("content/v2.i1259424.w720.h480.x72F7BD46-e1516452926306.jpg");
}

.treatment-card h3,
.rate-card h3 {
  margin: 0 0 0.55rem;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.treatment-card p {
  margin: 0;
  color: var(--muted);
}

.carousel {
  position: relative;
  padding-inline: 46px;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 420ms ease;
}

.carousel-slide {
  flex: 0 0 33.333%;
  margin: 0;
  aspect-ratio: 3 / 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 54px;
  border: 0;
  color: #fff;
  background: rgba(30, 30, 30, 0.8);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-65%);
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--pink-dark);
}

.carousel-previous {
  left: 28px;
}

.carousel-next {
  right: 28px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  min-height: 18px;
  margin-top: 14px;
}

.carousel-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dot[aria-current="true"] {
  background: var(--ink);
}

.treatment-detail {
  background: var(--soft-paper);
}

.treatment-detail[hidden] {
  display: none;
}

.treatment-view .site-header {
  min-height: var(--nav-height);
  padding-top: var(--nav-height);
  background: #fff;
}

.treatment-view .hero-content,
.treatment-view .about,
.treatment-view .treatments,
.treatment-view .rates,
.treatment-view .address,
.treatment-view .contact {
  display: none;
}

.back-to-site {
  display: block;
  margin-bottom: 42px;
  color: var(--pink-dark);
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.back-to-site:hover,
.back-to-site:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.treatment-detail-alt {
  background: #fff;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: 64px;
  align-items: start;
}

.detail-grid-reverse .detail-copy {
  order: 2;
}

.detail-grid-reverse {
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.55fr);
}

.detail-copy h2 {
  margin-bottom: 32px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.detail-copy h2::after {
  display: block;
  width: 70px;
  height: 2px;
  margin-top: 20px;
  background: var(--pink);
  content: "";
}

.detail-copy p {
  margin: 0 0 1.15em;
}

.detail-image {
  position: sticky;
  top: calc(var(--nav-height) + 28px);
  width: 100%;
  margin-top: 4px;
  border: 10px solid #fff;
  box-shadow: 0 12px 32px rgba(52, 38, 41, 0.14);
}

.parallax-section {
  background-image: linear-gradient(rgba(40, 40, 40, 0.72), rgba(40, 40, 40, 0.72)), url("content/33411759352_c8092f969b_o.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.rates {
  color: #fff;
}

.rate-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.rate-card {
  padding: 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
}

.rate-card h3 {
  min-height: 3.4em;
  font-size: 1.25rem;
  text-transform: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

th:last-child,
td:last-child {
  text-align: right;
}

.address {
  background: #fff;
}

.address-grid {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 56px;
  align-items: stretch;
}

.address address {
  align-self: center;
  font-size: 1.12rem;
  font-style: normal;
}

.address address strong {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 1.35rem;
}

.address address a {
  text-decoration-color: var(--pink);
  text-underline-offset: 3px;
}

.map-wrapper {
  min-height: 380px;
}

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

.contact {
  color: #fff;
}

.contact-form {
  max-width: 820px;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: block;
}

.contact-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.message-field {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 0;
  outline: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  font: inherit;
}

.contact-form input {
  height: 50px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 190px;
  padding: 14px 16px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.contact-form button {
  display: block;
  min-width: 190px;
  margin: 22px auto 0;
  padding: 14px 26px;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  color: var(--ink);
  background: #fff;
}

.form-help {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  text-align: center;
}

.site-footer {
  padding: 34px 0;
  color: #bbb;
  background: var(--footer);
}

.footer-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-items a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-decoration: none;
}

.footer-items a:hover,
.footer-items a:focus-visible {
  color: #fff;
}

.footer-items img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

@media (max-width: 960px) {
  :root {
    --nav-height: 70px;
  }

  .navigation {
    padding-inline: 24px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font: 700 0.85rem "Montserrat", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before,
  .menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-icon::before {
    top: -7px;
  }

  .menu-icon::after {
    top: 7px;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .main-menu {
    position: fixed;
    inset: var(--nav-height) 0 0;
    display: none;
    align-content: start;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 14px 24px 24px;
    background: #fff;
  }

  .main-menu.is-open {
    display: grid;
  }

  .main-menu a {
    padding: 13px 8px;
    font-size: 1.05rem;
  }

  .main-menu > li {
    width: 100%;
  }

  .main-menu > li > a::after,
  .has-submenu > a::before {
    display: none;
  }

  .submenu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 8px 18px;
    background: transparent;
    box-shadow: none;
  }

  .submenu a {
    padding: 7px 8px;
    font-size: 0.95rem;
  }

  .treatment-cards {
    gap: 26px;
  }

  .about-layout {
    grid-template-columns: minmax(210px, 280px) 1fr;
    gap: 36px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .detail-grid-reverse .detail-copy {
    order: initial;
  }

  .detail-grid-reverse {
    grid-template-columns: 1fr;
  }

  .detail-image {
    position: static;
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .rate-columns {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .rate-card h3 {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .content-width {
    width: min(calc(100% - 2rem), var(--content-width));
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 44px;
    padding-inline: 1rem;
  }

  .site-header {
    min-height: 370px;
    background-position: 62% center;
  }

  .hero-content {
    min-height: calc(370px - var(--nav-height));
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .brand,
  .brand img {
    width: 128px;
  }

  .treatment-cards {
    grid-template-columns: 1fr;
    gap: 54px;
    max-width: 440px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-photo {
    width: min(100%, 336px);
    margin-inline: auto;
  }

  .carousel {
    padding-inline: 0;
  }

  .carousel-slide {
    flex-basis: 100%;
  }

  .carousel-previous {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }

  .detail-grid {
    gap: 28px;
  }

  .detail-copy h2 {
    font-size: 1.55rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .parallax-section {
    background-attachment: scroll;
  }

  .address-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .address address {
    text-align: center;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 330px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
  }

  .message-field {
    grid-column: auto;
  }

  .footer-items {
    grid-template-columns: 1fr;
  }

  .footer-items a {
    justify-content: flex-start;
    max-width: 270px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
