:root {
  --paper: #f7f3f0;
  --paper-warm: #efe7e2;
  --ink: #171313;
  --muted: #726866;
  --rose: #a96373;
  --rose-soft: #d8aab3;
  --rose-deep: #7d4855;
  --sage: #647569;
  --stone: #d8d0c9;
  --white: #fffaf7;
  --green: #0a9e4b;
  --line: rgba(23, 19, 19, 0.14);
  --soft-line: rgba(125, 72, 85, 0.2);
  --shadow: 0 22px 60px rgba(36, 25, 25, 0.12);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  scrollbar-gutter: stable;
  overflow-x: clip;
}

html.is-scroll-locked {
  scroll-behavior: auto;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  padding: 0 38px;
  color: var(--white);
  background: rgba(23, 19, 19, 0.16);
  border-bottom: 1px solid rgba(255, 250, 247, 0.22);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

html.is-scroll-locked .site-header {
  padding-right: calc(38px + var(--scrollbar-lock, 0px));
}

.site-header.scrolled,
body.menu-open .site-header {
  color: var(--ink);
  background: rgba(247, 243, 240, 0.9);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  text-transform: lowercase;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 247, 0.3);
  border-radius: 50%;
  background: rgba(255, 250, 247, 0.08);
  box-shadow: 0 16px 34px rgba(67, 33, 50, 0.2);
  backdrop-filter: blur(12px);
}

.site-header.scrolled .brand-mark,
body.menu-open .brand-mark,
.site-footer .brand-mark {
  border-color: rgba(125, 72, 85, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  padding: 1px;
  object-fit: contain;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a,
.header-phone,
.header-cta {
  text-decoration: none;
}

.desktop-nav a {
  opacity: 0.86;
  padding: 8px 10px;
  border-radius: 999px;
  transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  opacity: 1;
  color: #ffe6ec;
  background: rgba(255, 250, 247, 0.12);
}

.site-header.scrolled .desktop-nav a:hover,
.site-header.scrolled .desktop-nav a.active {
  color: var(--rose-deep);
  background: rgba(169, 99, 115, 0.14);
}

.header-phone {
  font-size: 14px;
  font-weight: 700;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-cta {
  color: var(--ink);
  background: var(--white);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--rose-deep);
}

.btn-light {
  color: var(--white);
  border-color: rgba(255, 250, 247, 0.62);
  background: rgba(255, 250, 247, 0.08);
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 250, 247, 0.5);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.mobile-nav {
  position: fixed;
  inset: 78px 0 auto;
  z-index: 45;
  display: grid;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  transition: max-height 0.3s ease;
}

.mobile-nav a {
  padding: 15px 24px;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

body.menu-open .mobile-nav {
  max-height: calc(100svh - 78px);
  overflow: auto;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    url("assets/images/spa-lounge-mural.jpg")
    center / cover;
  --hero-scale-from: 1.04;
  --hero-scale-to: 1.08;
  animation: heroDrift 18s ease-in-out infinite alternate, heroFocus 10s ease-in-out infinite;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 16, 16, 0.68), rgba(20, 16, 16, 0.2) 54%, rgba(20, 16, 16, 0.42)),
    linear-gradient(0deg, rgba(20, 16, 16, 0.72), rgba(20, 16, 16, 0.08) 44%);
}

.hero-content {
  position: relative;
  width: min(980px, calc(100% - 48px));
  margin: 0 0 94px 38px;
}

.hero-logo {
  width: 112px;
  height: 112px;
  margin-bottom: 24px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 20px rgba(223, 105, 190, 0.18));
  animation: logoBreath 4.8s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0cdd5;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.96;
}

h1 {
  font-size: 116px;
  text-transform: lowercase;
}

h2 {
  max-width: 760px;
  font-size: 62px;
}

h3 {
  font-size: 34px;
}

p {
  margin: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 24px;
  font-size: 19px;
  color: rgba(255, 250, 247, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-bottom {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 247, 0.28);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 250, 247, 0.72);
  text-transform: uppercase;
}

.marquee-band {
  overflow: hidden;
  padding: 22px 0;
  color: var(--white);
  background: var(--rose-deep);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 42px;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
}

.section {
  padding: 128px 0;
}

main section[id] {
  scroll-margin-top: 92px;
}

.section-inner {
  width: min(1180px, calc(100% - 76px));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 72px;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.section-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.wide-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 20% 15%, rgba(216, 170, 179, 0.38), transparent 36%),
    linear-gradient(145deg, var(--paper-warm), #c999a4);
}

.wide-photo img,
.image-break img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  --image-scale: 1;
  --image-hover-scale: 1.02;
}

.wide-photo img,
.image-break img {
  transform: scale(var(--image-scale));
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), filter 1.2s ease;
}

.wide-photo:hover img,
.image-break:hover img {
  transform: scale(var(--image-hover-scale));
  filter: saturate(1.08) contrast(1.03);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 88px;
  align-items: start;
}

.section-title h2 {
  margin-bottom: 0;
}

.title-spread {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 54px;
}

.title-note {
  max-width: 320px;
  color: var(--muted);
  font-size: 15px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  min-height: 98px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto) 52px;
  gap: 18px;
  align-items: center;
  padding: 0 0 0 0;
  cursor: pointer;
  list-style: none;
  transition: color 0.28s ease, padding 0.28s ease;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.accordion summary small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  text-transform: lowercase;
}

.accordion summary::after {
  content: "+";
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--rose-deep);
  font-size: 28px;
  line-height: 1;
  transition: transform 0.34s ease, color 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.accordion details:hover summary {
  color: var(--rose-deep);
  padding-left: 10px;
}

.accordion details:hover summary::after {
  color: var(--white);
  border-color: var(--rose);
  background: var(--rose);
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-width: 650px;
  padding: 0 92px 34px 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 17px;
}

.faq-accordion summary {
  grid-template-columns: minmax(0, 1fr) 52px;
}

.faq-accordion .accordion-content {
  max-width: 720px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--rose-deep);
  font-weight: 800;
  text-decoration: none;
}

.image-break {
  position: relative;
  height: 540px;
  overflow: hidden;
  color: var(--white);
  background: var(--rose-deep);
}

.image-break img {
  object-position: center 46%;
}

.image-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 19, 19, 0.12), rgba(23, 19, 19, 0.54));
}

.image-break > div {
  position: absolute;
  z-index: 1;
  left: 38px;
  right: 38px;
  bottom: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.program-list article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--white);
  transition: transform 0.34s ease, background 0.34s ease, box-shadow 0.34s ease;
}

.program-list article:hover {
  z-index: 1;
  background: #fff6f4;
  box-shadow: 0 22px 54px rgba(36, 25, 25, 0.12);
  transform: translateY(-8px);
}

.program-list span {
  color: var(--sage);
  font-weight: 800;
}

.program-list h3 {
  margin-top: 22px;
}

.program-list p {
  margin-top: 18px;
  color: var(--muted);
}

.program-list strong {
  margin-top: auto;
  color: var(--rose-deep);
  font-size: 22px;
}

.price-section {
  background: var(--paper-warm);
}

.price-accordion {
  border-top-color: rgba(23, 19, 19, 0.22);
}

.price-items {
  padding-bottom: 28px;
  overflow: hidden;
}

.price-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin: 0 -14px;
  padding: 17px 14px;
  border-top: 1px solid rgba(23, 19, 19, 0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.price-row::after {
  content: none;
}

.price-row:hover,
.price-row:focus-visible {
  color: var(--rose-deep);
  background: rgba(255, 250, 247, 0.66);
  box-shadow: 0 16px 34px rgba(36, 25, 25, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.price-row strong {
  display: block;
  font-size: 21px;
}

.price-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.price-row b {
  font-size: 25px;
  white-space: nowrap;
}

.promo-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 76px;
  align-items: start;
}

.promo-list {
  display: grid;
  gap: 14px;
}

.promo-list a {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.promo-list a::after {
  content: none;
}

.promo-list a:hover {
  transform: translateX(8px);
  border-color: var(--rose);
}

.specialist-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.specialist-list article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.specialist-list article:last-child {
  border-right: 0;
}

.specialist-list span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 700;
}

.specialist-list small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.review-gallery-stack {
  position: relative;
  background: var(--rose-deep);
}

.reviews-section {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100svh;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(125, 72, 85, 0.94), rgba(169, 99, 115, 0.96)),
    var(--rose-deep);
}

.reviews-section .eyebrow {
  color: #f4d5dc;
}

.reviews-section .section-inner {
  padding-top: 88px;
}

.reviews-section.reveal {
  opacity: 1;
  transform: none;
}

.reviews-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.review-controls {
  display: flex;
  gap: 10px;
}

.review-btn {
  min-width: 76px;
  width: auto;
  height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 247, 0.45);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 250, 247, 0.08);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.review-btn:hover {
  color: var(--rose-deep);
  background: var(--white);
  transform: translateY(-2px);
}

.review-btn:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.review-window {
  overflow: hidden;
  margin-top: 52px;
  border: 1px solid rgba(255, 250, 247, 0.3);
  background: rgba(255, 250, 247, 0.1);
}

.review-track {
  display: flex;
  gap: 14px;
  background: transparent;
  transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 28px) / 3);
  min-height: 280px;
  margin: 0;
  padding: 34px;
  background: rgba(255, 250, 247, 0.15);
  color: rgba(255, 250, 247, 0.92);
  font-size: 20px;
  border: 1px solid rgba(255, 250, 247, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.review-card:hover {
  border-color: rgba(255, 250, 247, 0.34);
  transform: translateY(-4px);
}

.review-card cite {
  display: block;
  margin-top: 28px;
  color: #fff6f8;
  font-style: normal;
  font-weight: 800;
}

.review-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.review-dots button {
  width: 28px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 247, 0.35);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.review-dots button.active {
  width: 48px;
  background: var(--white);
}

.gallery-section {
  position: relative;
  z-index: 2;
  margin-top: -86px;
  padding-top: 128px;
  background: var(--paper);
  border-radius: 42px 42px 0 0;
  box-shadow: 0 -26px 70px rgba(23, 19, 19, 0.18);
}

.gallery-section.reveal {
  opacity: 1;
  transform: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.gallery-grid img {
  opacity: 0;
  min-height: 360px;
  height: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 54px rgba(36, 25, 25, 0.13);
  transform: translateY(38px) scale(calc(0.975 * var(--image-scale)));
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.7s ease,
    box-shadow 0.7s ease;
  will-change: transform;
}

.gallery-section.is-visible .gallery-grid img {
  opacity: 1;
  transform: translateY(0) scale(calc(1 * var(--image-scale)));
}

.gallery-section.is-visible .gallery-grid img:nth-child(2) {
  transition-delay: 80ms;
}

.gallery-section.is-visible .gallery-grid img:nth-child(3) {
  transition-delay: 160ms;
}

.gallery-section.is-visible .gallery-grid img:nth-child(4) {
  transition-delay: 220ms;
}

.gallery-section.is-visible .gallery-grid img:nth-child(5) {
  transition-delay: 280ms;
}

.gallery-section.is-visible .gallery-grid img:nth-child(6) {
  transition-delay: 340ms;
}

.gallery-grid img:nth-child(1) {
  grid-column: span 5;
  height: 620px;
  object-position: center 42%;
}

.gallery-grid img:nth-child(2) {
  grid-column: span 4;
  height: 500px;
  margin-top: 92px;
  object-position: center 56%;
}

.gallery-grid img:nth-child(3) {
  grid-column: span 3;
  height: 620px;
  object-position: center 50%;
}

.gallery-grid img:nth-child(4) {
  grid-column: span 4;
  height: 460px;
  margin-top: -42px;
  object-position: center 50%;
}

.gallery-grid img:nth-child(5) {
  grid-column: span 3;
  height: 520px;
  object-position: center 50%;
}

.gallery-grid img:nth-child(6) {
  grid-column: span 5;
  height: 430px;
  margin-top: 54px;
  object-position: center 46%;
}

.gallery-grid img:hover {
  filter: saturate(1.08) contrast(1.04);
  transform: translateY(-12px) scale(calc(1.012 * var(--image-scale)));
  box-shadow: 0 30px 76px rgba(36, 25, 25, 0.18);
}

.contacts-section {
  background: var(--ink);
  color: var(--white);
}

.contacts-section .eyebrow {
  color: #e1bec7;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 32px;
  color: rgba(255, 250, 247, 0.78);
  font-weight: 800;
}

.contact-lines a {
  text-decoration: none;
}

.map-link {
  min-width: 190px;
  min-height: 190px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 247, 0.35);
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.map-link:hover {
  background: var(--rose);
  border-color: var(--rose);
  transform: scale(1.04);
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.56s var(--ease-soft);
  will-change: opacity;
}

.service-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 15%, rgba(216, 170, 179, 0.24), transparent 36%),
    rgba(23, 13, 16, 0.72);
  will-change: opacity;
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 250, 247, 0.6);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(23, 13, 16, 0.34);
  backface-visibility: hidden;
  transform: translate3d(0, 28px, 0) scale(0.97);
  transition: transform 0.74s var(--ease-out), box-shadow 0.74s var(--ease-out);
  will-change: transform;
}

.service-modal.is-open .modal-card {
  transform: translate3d(0, 0, 0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(125, 72, 85, 0.22);
  border-radius: 50%;
  color: var(--rose-deep);
  background: rgba(255, 250, 247, 0.78);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.modal-close:hover {
  color: var(--white);
  background: var(--rose);
  transform: rotate(90deg);
}

.modal-nav {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.modal-arrow {
  min-width: 72px;
  width: auto;
  height: 48px;
  padding: 0 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 247, 0.58);
  border-radius: 999px;
  color: var(--white);
  background: rgba(125, 72, 85, 0.72);
  box-shadow: 0 14px 34px rgba(23, 13, 16, 0.22);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.modal-arrow:hover,
.modal-arrow:focus-visible {
  color: var(--rose-deep);
  border-color: var(--white);
  background: var(--white);
  outline: none;
  transform: translateY(-2px);
}

.modal-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--rose-deep);
}

.modal-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(55, 29, 36, 0.28));
}

.modal-photo img {
  height: 100%;
  object-fit: cover;
  --modal-image-scale: 1.01;
  --modal-image-switch-scale: 1.045;
  transform: translate3d(0, 0, 0) scale(var(--modal-image-scale));
  transition: opacity 0.44s var(--ease-soft), transform 0.66s var(--ease-out), filter 0.44s ease;
  will-change: opacity, transform, filter;
}

.modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.44s var(--ease-soft), transform 0.58s var(--ease-out);
  will-change: opacity, transform;
}

.modal-card.is-switching .modal-copy {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

.modal-card.is-switching .modal-photo img {
  opacity: 0.42;
  filter: blur(3px) saturate(0.92);
  transform: translate3d(0, 0, 0) scale(var(--modal-image-switch-scale));
}

.modal-copy h3 {
  font-size: 52px;
}

.modal-copy p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.modal-meta span,
.modal-meta strong {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
}

.modal-meta span {
  color: var(--rose-deep);
  background: rgba(169, 99, 115, 0.12);
}

.modal-meta strong {
  color: var(--white);
  background: var(--rose-deep);
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.modal-open .service-modal {
  touch-action: pan-x;
}

body.modal-open .scroll-top {
  display: none;
  opacity: 0 !important;
  pointer-events: none;
}

.booking-section {
  padding: 104px 0;
  background: var(--rose-deep);
  color: var(--white);
}

.booking-section .eyebrow {
  color: #f0cdd5;
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 74px;
  align-items: start;
}

.booking-layout p:not(.eyebrow) {
  margin-top: 18px;
  color: rgba(255, 250, 247, 0.74);
  font-size: 18px;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-form input:not([type="checkbox"]),
.booking-form select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 54px;
  border: 1px solid rgba(255, 250, 247, 0.38);
  border-radius: 8px;
  box-sizing: border-box;
  padding: 0 16px;
  color: var(--white);
  background: rgba(255, 250, 247, 0.08);
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.booking-form input:not([type="checkbox"])::placeholder {
  color: rgba(255, 250, 247, 0.58);
}

.booking-form select option {
  color: var(--ink);
}

.booking-form input[type="date"] {
  overflow: hidden;
}

.booking-form input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.booking-form input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.92;
}

.booking-form .policy-consent {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 250, 247, 0.78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}

.booking-form .policy-consent input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  padding: 0;
  accent-color: var(--rose);
}

.booking-form .policy-consent span {
  display: block;
}

.booking-form .policy-consent a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.booking-form button {
  grid-column: span 2;
  justify-self: start;
  background: var(--white);
  color: var(--rose-deep);
}

.booking-status {
  grid-column: span 2;
  min-height: 22px;
  margin: 2px 0 0;
  color: rgba(255, 250, 247, 0.88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.booking-status.is-error {
  color: #ffd5dd;
}

.booking-status.is-success {
  color: #f7ede6;
}

.site-footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 38px;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer p {
  color: var(--muted);
}

.site-footer a:not(.brand) {
  font-weight: 800;
  text-decoration: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-policy-link {
  color: var(--muted);
  font-size: 13px;
}

.privacy-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(169, 99, 115, 0.18), transparent 34%),
    linear-gradient(180deg, #f8f0ec 0%, var(--paper) 52%, #efe2dc 100%);
}

.privacy-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 38px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 240, 236, 0.88);
  backdrop-filter: blur(18px);
}

.privacy-main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 110px;
}

.privacy-hero {
  display: grid;
  gap: 24px;
  max-width: 900px;
}

.privacy-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 9vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.privacy-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.privacy-card {
  margin-top: 58px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 250, 247, 0.72);
  box-shadow: 0 28px 90px rgba(74, 37, 43, 0.1);
}

.privacy-text {
  max-width: 920px;
  color: rgba(25, 22, 21, 0.78);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.75;
  white-space: pre-line;
}

.privacy-footer {
  padding: 0 38px 34px;
  color: var(--muted);
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-width: 64px;
  width: auto;
  height: 46px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(23, 19, 19, 0.2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.95s var(--ease-soft), transform 1s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.admin-preview {
  padding-top: 0;
}

body.admin-preview [data-edit-text],
body.admin-preview [data-edit-image],
body.admin-preview [data-service-index] {
  outline: 1px dashed rgba(40, 194, 212, 0.72);
  outline-offset: 4px;
  cursor: pointer;
  transition: outline-color 0.2s ease, outline-offset 0.2s ease, box-shadow 0.2s ease;
}

body.admin-preview [data-edit-image] {
  outline-offset: -6px;
}

body.admin-preview [data-edit-text]:hover,
body.admin-preview [data-edit-image]:hover,
body.admin-preview [data-service-index]:hover,
body.admin-preview .admin-selected {
  outline-color: var(--rose-soft);
  outline-offset: 7px;
  box-shadow: 0 0 0 4px rgba(216, 170, 179, 0.16);
}

body.admin-preview [data-edit-image]:hover,
body.admin-preview [data-edit-image].admin-selected {
  outline-offset: -10px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(var(--hero-scale-from, 1.04)) translateY(0);
  }

  to {
    transform: scale(var(--hero-scale-to, 1.08)) translateY(-12px);
  }
}

@keyframes heroFocus {
  0%,
  100% {
    filter: saturate(0.92) contrast(1.02) brightness(0.82);
  }

  50% {
    filter: saturate(1.06) contrast(1.06) brightness(0.9);
  }
}

@keyframes logoBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 24px;
  }

  html.is-scroll-locked .site-header {
    padding-right: calc(24px + var(--scrollbar-lock, 0px));
  }

  .desktop-nav,
  .header-phone,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    color: var(--white);
  }

  .site-header.scrolled .menu-toggle,
  body.menu-open .menu-toggle {
    color: var(--ink);
    border-color: var(--line);
  }

  .hero-content {
    margin-left: 24px;
    width: calc(100% - 48px);
  }

  h1 {
    font-size: 86px;
  }

  h2 {
    font-size: 50px;
  }

  .section-inner {
    width: min(920px, calc(100% - 48px));
  }

  .two-column,
  .two-column.reverse,
  .services-layout,
  .promo-layout,
  .booking-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .program-list,
  .specialist-list {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex-basis: calc((100% - 1px) / 2);
  }

  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(5),
  .gallery-grid img:nth-child(6) {
    grid-column: span 6;
  }

  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(6) {
    margin-top: 54px;
  }

  .specialist-list article {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 86px;
  }

  .site-header {
    height: 82px;
    padding: 0 24px;
    color: var(--ink);
    background: rgba(247, 243, 240, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition-duration: 0.24s;
  }

  .gallery-grid img {
    opacity: 1;
    transform: none;
  }

  .menu-toggle,
  .site-header.scrolled .menu-toggle,
  body.menu-open .menu-toggle {
    color: var(--ink);
    border-color: var(--line);
  }

  .mobile-nav {
    inset: 92px 16px auto;
    max-height: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 247, 0.97);
    box-shadow: 0 24px 70px rgba(23, 19, 19, 0.18);
    transform: translateY(-10px);
    opacity: 0;
    transition: max-height 0.36s ease, opacity 0.24s ease, transform 0.24s ease;
  }

  body.menu-open .mobile-nav {
    max-height: min(64svh, 560px);
    opacity: 1;
    transform: translateY(0);
  }

  body.menu-open {
    overflow: auto;
  }

  .mobile-nav a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    font-size: 17px;
  }

  .brand {
    gap: 10px;
    font-size: 28px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border-color: rgba(125, 72, 85, 0.2);
    background: rgba(255, 250, 247, 0.6);
  }

  .hero {
    min-height: 690px;
    padding-top: 82px;
    align-items: end;
  }

  .hero-content {
    width: calc(100% - 48px);
    margin: 0 24px 138px;
  }

  .hero-logo {
    display: none;
  }

  h1 {
    font-size: clamp(66px, 19vw, 86px);
  }

  h2 {
    font-size: clamp(42px, 13vw, 62px);
    line-height: 0.94;
  }

  h3 {
    font-size: 28px;
  }

  .hero-content p:not(.eyebrow),
  .section-copy p:not(.eyebrow),
  .booking-layout p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    width: min(280px, 100%);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-bottom {
    left: 24px;
    right: 24px;
    bottom: 22px;
    flex-direction: column;
    gap: 7px;
    padding-top: 0;
    border-top: 0;
    font-size: 12px;
  }

  .section {
    padding: 88px 0;
  }

  .section-inner {
    width: calc(100% - 48px);
  }

  .marquee-track span {
    font-size: 30px;
  }

  .title-spread {
    display: grid;
    gap: 20px;
    margin-bottom: 36px;
  }

  .accordion summary {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 18px;
    padding: 24px 0;
    align-items: center;
  }

  .accordion summary span {
    min-width: 0;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .accordion summary small {
    display: none;
  }

  .accordion-content {
    padding: 0 0 28px;
    font-size: 17px;
    line-height: 1.65;
  }

  .accordion summary::after {
    width: 46px;
    height: 46px;
    align-self: center;
    font-size: 24px;
  }

  .faq-accordion summary {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .faq-accordion summary span {
    font-size: clamp(27px, 7.6vw, 34px);
    line-height: 1.06;
  }

  .faq-accordion .accordion-content {
    padding-right: 58px;
  }

  main section[id] {
    scroll-margin-top: 86px;
  }

  .reviews-section {
    position: relative;
    top: auto;
    z-index: 0;
    height: auto;
    min-height: auto;
    padding: 66px 0 88px;
    overflow: visible;
  }

  .reviews-head {
    display: grid;
    align-items: start;
  }

  .reviews-section .section-inner {
    padding-top: 0;
  }

  .review-controls {
    margin-top: 22px;
  }

  .review-btn {
    min-width: 92px;
    height: 48px;
  }

  .review-track {
    gap: 0;
  }

  .review-card {
    flex-basis: 100%;
    min-height: 260px;
    padding: 26px;
    background: rgba(255, 250, 247, 0.15);
  }

  .gallery-section {
    margin-top: 0;
    padding-top: 82px;
    border-radius: 0;
  }

  .review-window {
    max-width: 100%;
    margin-top: 24px;
  }

  .image-break {
    height: 430px;
  }

  .image-break > div {
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: min(310px, calc(100% - 48px));
    gap: 5px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 250, 247, 0.34);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(23, 19, 19, 0.54), rgba(125, 72, 85, 0.24));
    box-shadow: 0 18px 50px rgba(23, 19, 19, 0.22);
    backdrop-filter: blur(12px);
  }

  .image-break > div p {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: lowercase;
  }

  .program-list article {
    min-height: 250px;
  }

  .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    margin: 0;
    padding: 20px 0;
    border-radius: 0;
  }

  .price-row strong {
    font-size: 20px;
    line-height: 1.35;
  }

  .price-row b {
    font-size: 22px;
  }

  .service-modal {
    align-items: center;
    padding: 18px;
    transition: opacity 0.24s ease;
  }

  .service-modal.is-open {
    opacity: 1;
  }

  .modal-card {
    width: 100%;
    max-height: calc(100svh - 36px);
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: 28px;
    transform: none;
    transition: none;
  }

  .service-modal.is-open .modal-card {
    transform: none;
  }

  .modal-photo {
    min-height: 180px;
    height: 180px;
  }

  .modal-nav {
    display: none;
  }

  .modal-arrow {
    min-width: 66px;
    height: 40px;
    padding: 0 12px;
    font-size: 11px;
  }

  .modal-close {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    background: rgba(255, 250, 247, 0.9);
  }

  .modal-copy {
    padding: 28px 24px max(26px, env(safe-area-inset-bottom));
  }

  .modal-copy h3 {
    font-size: clamp(34px, 9.5vw, 44px);
    line-height: 0.98;
  }

  .modal-copy p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.56;
  }

  .modal-meta {
    margin: 24px 0 22px;
  }

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

  .gallery-grid img,
  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(5),
  .gallery-grid img:nth-child(6) {
    grid-column: auto;
    min-height: 0;
    height: min(480px, 112vw);
    margin-top: 0;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-form button {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .booking-form .policy-consent {
    grid-column: auto;
    gap: 10px;
    padding-right: 4px;
  }

  .booking-status {
    grid-column: auto;
  }

  .map-link {
    width: 172px;
    height: 172px;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1 / 1;
    justify-self: center;
    margin: 30px auto 0;
    border-radius: 50%;
  }

  .contacts-layout {
    justify-items: start;
  }

  .contact-lines {
    display: grid;
    gap: 14px;
    font-size: 17px;
  }

  #certificates .btn {
    margin-top: 30px;
  }

  .promo-list a {
    min-height: 70px;
    padding: 18px 22px;
    justify-content: flex-start;
    font-size: 22px;
    line-height: 1.25;
  }

  .site-footer {
    min-height: auto;
    display: grid;
    justify-items: start;
    padding: 26px 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .privacy-header {
    min-height: 78px;
    padding: 14px 24px;
  }

  .privacy-main {
    width: min(100% - 36px, 720px);
    padding: 58px 0 76px;
  }

  .privacy-card {
    margin-top: 36px;
    border-radius: 24px;
  }
}
