:root {
  --ink: #231a16;
  --muted: #77645a;
  --cream: #fbf1ea;
  --soft: #f3ded4;
  --rose: #e4c1b3;
  --clay: #9b5d47;
  --deep: #1c1715;
  --white: #fffaf6;
  --success: #1d7f55;
  --error: #b4382f;
  --line: rgba(35, 26, 22, 0.14);
  --shadow: 0 22px 60px rgba(66, 38, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
}

img,
video,
svg {
  display: block;
}

img,
video {
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;

  &.is-scrolled {
    padding-block: 12px;
    color: var(--ink);
    background: rgba(251, 241, 234, 0.94);
    box-shadow: 0 10px 34px rgba(35, 26, 22, 0.1);
    backdrop-filter: blur(14px);
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Parisienne", cursive;
    font-size: 1.4rem;
    font-weight: 500;

    img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      border-radius: 50%;
      background: rgba(255, 250, 246, 0.9);
    }
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;

  a {
    opacity: 0.88;

    &:hover {
      opacity: 1;
    }
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;

  span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
  }
}

.nav-button,
.button,
.small-button,
.card-button,
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid currentColor;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;

  &:hover {
    transform: translateY(-2px);
  }
}

.button.primary,
.small-button,
.card-button {
  color: var(--white);
  border-color: var(--clay);
  background: var(--clay);
}

.language-toggle {
  min-width: 44px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.button.ghost {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(28, 23, 21, 0.82), rgba(28, 23, 21, 0.42), rgba(28, 23, 21, 0.7)),
      url("images/massage1.jpg") center / cover fixed;
    transform: scale(1.02);
  }

  .closure-badge {
    position: absolute;
    top: 96px;
    left: 50%;
    z-index: 2;
    width: min(760px, calc(100% - 40px));
    transform: translateX(-50%);
    padding: 12px 18px;
    color: var(--deep);
    background: rgba(255, 250, 246, 0.92);
    border: 1px solid rgba(255, 250, 246, 0.7);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    font-weight: 800;
    text-transform: uppercase;
  }

  .hero-content {
    position: relative;
    width: min(850px, calc(100% - 40px));
    padding-top: 132px;

    > p:not(.script) {
      width: min(650px, 100%);
      margin: 22px auto 0;
      color: rgba(255, 250, 246, 0.82);
    }
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
  }
}

.script,
.eyebrow {
  margin: 0 0 12px;
  color: #f1c7a6;
  font-family: "Parisienne", cursive;
  line-height: 1.1;
}

.script {
  font-size: clamp(1.45rem, 4vw, 2.25rem);
}

.eyebrow {
  color: var(--clay);
  font-size: 1.55rem;
}

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

h1 {
  font-size: clamp(2.9rem, 6.2vw, 5.35rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.65rem;
}

.intro-section,
.services-section,
.booking-section,
.studio-section,
.studio-insight-section,
.why-section,
.nai-section,
.gallery-section,
.voucher-section,
.contact-section {
  padding: clamp(70px, 9vw, 125px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 34px;

  h2 {
    max-width: 720px;
  }

  &.centered {
    display: block;
    text-align: center;
  }
}

.intro-section,
.studio-section,
.studio-insight-section,
.booking-section,
.nai-section,
.contact-section {
  display: grid;
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
}

.studio-insight-section {
  grid-template-columns: minmax(320px, 0.84fr) minmax(320px, 1fr);
  background: var(--cream);

  .studio-copy {
    max-width: 680px;
    justify-self: end;

    p:not(.eyebrow) {
      color: var(--muted);
    }
  }

  .insight-eyebrow {
    margin-top: 34px;
  }

  .video-frame {
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow);

    video {
      aspect-ratio: 16 / 10;
      object-fit: cover;
      background: var(--deep);
    }
  }
}

.intro-section {
  grid-template-columns: minmax(240px, 0.76fr) minmax(280px, 1fr);
  background: var(--cream);

  .intro-image {
    max-width: 520px;
    justify-self: end;
    box-shadow: var(--shadow);

    img {
      aspect-ratio: 4 / 5;
      height: auto;
      object-fit: cover;
    }
  }

  .intro-copy {
    max-width: 650px;

    p:not(.eyebrow) {
      color: var(--muted);
    }
  }
}

.services-section {
  background: var(--rose);

  .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--white);
    box-shadow: 0 16px 40px rgba(66, 38, 28, 0.12);

    img {
      height: 300px;
      object-fit: cover;
    }

    > div {
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: 26px;
    }

    dl {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin: 18px 0;

      div {
        padding: 0;
      }
    }

    dt {
      color: var(--clay);
      font-size: 0.72rem;
      font-weight: 800;
      text-transform: uppercase;
    }

    dd {
      margin: 2px 0 0;
      color: var(--ink);
      font-weight: 700;
    }

    p {
      color: var(--muted);
    }

    .card-button {
      align-self: flex-start;
      margin-top: auto;
      margin-bottom: 0;
      transform: translateY(0);

      &:hover {
        background: #b36d54;
      }
    }
  }
}

.booking-section {
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  background: var(--cream);

  .booking-copy {
    max-width: 560px;
    justify-self: end;

    p:not(.eyebrow),
    .selected-slot {
      color: var(--muted);
    }
  }

  .slot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 12px;
    margin: 28px 0 14px;

    button {
      min-height: 44px;
      border: 1px solid var(--line);
      color: var(--ink);
      background: var(--white);
      font-weight: 700;
      cursor: pointer;
      transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;

      &:hover,
      &.is-selected {
        border-color: var(--clay);
        color: var(--white);
        background: var(--clay);
        transform: translateY(-2px);
      }
    }
  }

  .selected-slot {
    min-height: 28px;
    margin: 0;
    font-weight: 600;
  }

  .calendar-frame {
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow);

    iframe {
      width: 100%;
      height: 520px;
      border: 0;
      background: var(--soft);
    }

    .calendar-button {
      width: 100%;
      margin-top: 12px;
    }
  }
}

.why-section {
  background: var(--white);

  .why-panel {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
    max-width: 980px;
    margin: 0 auto;

    img {
      width: min(220px, 70vw);
      margin: 0 auto;
      padding: 12px;
      border-radius: 50%;
      border: 12px solid var(--white);
      background: var(--cream);
      box-shadow: var(--shadow);
    }

    ul {
      display: grid;
      grid-template-columns: repeat(2, minmax(220px, 1fr));
      gap: 14px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    li {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 58px;
      padding: 14px 16px;
      background: var(--cream);
      font-weight: 700;
    }

    span {
      font-size: 1.35rem;
    }
  }
}

.studio-section {
  grid-template-columns: minmax(240px, 0.7fr) minmax(300px, 1.1fr);
  background: var(--cream);

  .studio-copy {
    max-width: 520px;
    justify-self: end;

    p:not(.eyebrow) {
      color: var(--muted);
    }
  }

  .video-frame {
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow);

    video {
      aspect-ratio: 16 / 10;
      object-fit: cover;
      background: var(--deep);
    }
  }
}

.nai-section {
  grid-template-columns: minmax(260px, 0.6fr) minmax(320px, 1.1fr);
  background: var(--soft);

  .nai-portrait {
    justify-self: end;
    width: min(100%, 470px);
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow);

    img {
      aspect-ratio: 4 / 7;
      object-fit: cover;
    }
  }

  .nai-copy {
    max-width: 780px;

    p:not(.eyebrow) {
      color: var(--muted);
      font-size: 1.05rem;
    }
  }
}

.diploma-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;

  .diploma-card {
    display: grid;
    min-height: 100%;
    border: 1px solid var(--line);
    padding: 0;
    text-align: left;
    background: rgba(255, 250, 246, 0.78);
    cursor: zoom-in;
    transition: transform 180ms ease, background 180ms ease;

    &:hover {
      transform: translateY(-4px);
      background: var(--white);
    }

    img {
      height: 160px;
      object-fit: cover;
      object-position: top center;
    }

    span,
    h3,
    p {
      margin-inline: 18px;
    }

    span {
      margin-top: 16px;
      color: var(--clay);
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 2.3rem;
      line-height: 1;
    }

    h3 {
      margin-top: 8px;
      margin-bottom: 16px;
      font-size: 1.35rem;
    }

    p {
      margin-bottom: 18px;
      color: var(--muted);
    }
  }
}

.gallery-section {
  background: var(--white);

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
  }

  .gallery-item {
    overflow: hidden;
    border: 0;
    padding: 0;
    background: var(--soft);
    cursor: zoom-in;

    img {
      height: 100%;
      object-fit: cover;
      transition: transform 300ms ease;
    }

    &:hover img {
      transform: scale(1.05);
    }

    &.tall {
      grid-row: span 2;
    }

    &.wide {
      grid-column: span 2;
    }
  }
}

.voucher-section {
  background:
    linear-gradient(rgba(251, 241, 234, 0.72), rgba(251, 241, 234, 0.72)),
    url("images/steine2.jpg") center / cover;

  .voucher-card {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 30px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px);
    background: rgba(255, 250, 246, 0.9);
    box-shadow: var(--shadow);

    p:not(.eyebrow) {
      max-width: 620px;
      color: var(--muted);
    }
  }

  .voucher-options {
    display: grid;
    grid-template-columns: repeat(3, 84px);
    gap: 10px;

    button {
      min-height: 44px;
      border: 1px solid var(--line);
      color: var(--ink);
      background: var(--white);
      font-weight: 700;
      cursor: pointer;

      &:hover,
      &.is-selected {
        border-color: var(--clay);
        color: var(--white);
        background: var(--clay);
      }
    }
  }
}

.contact-section {
  grid-template-columns: 1fr minmax(300px, 470px);
  color: var(--white);
  background:
    linear-gradient(rgba(28, 23, 21, 0.86), rgba(28, 23, 21, 0.86)),
    url("images/steine1.jpg") center / cover;

  h2 {
    max-width: 760px;
  }

  .contact-details {
    margin-top: 28px;
    color: rgba(255, 250, 246, 0.8);

    p {
      margin: 6px 0;
    }

    strong,
    a {
      color: var(--white);
    }
  }

  .maps-link {
    display: inline-flex;
    vertical-align: middle;
    width: 28px;
    height: 28px;
    margin-left: 6px;
    border-radius: 50%;
    color: var(--white);
    background: var(--clay);

    svg {
      width: 18px;
      margin: auto;
      fill: currentColor;
    }
  }

  .hours-list {
    margin: 18px 0;
  }

  .contact-card {
    padding: 34px;
    color: var(--ink);
    background: var(--white);

    form {
      display: grid;
      gap: 16px;
    }

    label {
      display: grid;
      gap: 6px;
      color: var(--ink);
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
    }

    input,
    select,
    textarea {
      width: 100%;
      min-height: 46px;
      border: 1px solid var(--line);
      padding: 12px 13px;
      color: var(--ink);
      background: var(--cream);
      font: inherit;
    }

    textarea {
      resize: vertical;
    }

    .is-invalid {
      border-color: var(--error);
      outline: 2px solid rgba(180, 56, 47, 0.18);
    }

    .field-error {
      display: none;
      color: var(--error);
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: none;
    }

    .field-error:not(:empty) {
      display: block;
    }

    .form-status.is-success {
      color: var(--success);
    }

    .honeypot {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      opacity: 0;
    }
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 250, 246, 0.76);
  background: var(--deep);
  font-size: 0.85rem;

  p {
    margin: 0;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(28, 23, 21, 0.9);

  &.is-open {
    display: grid;
  }

  img {
    max-width: min(100%, 1100px);
    max-height: 86vh;
    object-fit: contain;
    background: var(--white);
  }

  .lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 250, 246, 0.7);
    color: var(--white);
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }
}

.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: grid;
  justify-items: end;
  gap: 12px;

  .whatsapp-toggle,
  .whatsapp-link {
    border: 0;
    color: var(--white);
    background: #1d7f55;
    box-shadow: 0 16px 40px rgba(22, 82, 55, 0.25);
    font-weight: 800;
    cursor: pointer;
  }

  .whatsapp-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 18px;

    svg {
      width: 23px;
      height: 23px;
      fill: currentColor;
    }
  }

  .chat-panel {
    display: none;
    width: min(340px, calc(100vw - 32px));
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);

    &.is-open {
      display: block;
    }
  }

  .chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    color: var(--white);
    background: var(--deep);

    button {
      border: 0;
      color: var(--white);
      background: transparent;
      font-size: 1.5rem;
      cursor: pointer;
    }
  }

  .chat-body {
    display: grid;
    gap: 10px;
    max-height: 280px;
    overflow: auto;
    padding: 16px;
  }

  .bot-message,
  .user-message {
    max-width: 88%;
    margin: 0;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--cream);
    font-size: 0.9rem;
  }

  .user-message {
    justify-self: end;
    color: var(--white);
    background: var(--clay);
  }

  .chat-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 16px 16px;

    button {
      min-height: 38px;
      border: 1px solid var(--line);
      color: var(--ink);
      background: var(--cream);
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;

      &:hover {
        color: var(--white);
        border-color: var(--clay);
        background: var(--clay);
      }
    }
  }

  .whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 16px 16px;
  }
}

@supports (-webkit-touch-callout: none) {
  .hero .hero-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
    font-size: 0.7rem;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: 20px;
    display: grid;
    min-width: min(320px, calc(100vw - 40px));
    padding: 24px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;

    &.is-open {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
  }

  .intro-section,
  .booking-section,
  .studio-section,
  .studio-insight-section,
  .nai-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-section .intro-image,
  .booking-section .booking-copy,
  .studio-section .studio-copy,
  .studio-insight-section .studio-copy,
  .nai-section .nai-portrait {
    justify-self: stretch;
    max-width: none;
  }

  .services-section .service-grid,
  .diploma-grid {
    grid-template-columns: 1fr;
  }

  .why-section .why-panel,
  .voucher-section .voucher-card {
    grid-template-columns: 1fr;
  }

  .why-section .why-panel ul {
    grid-template-columns: 1fr;
  }

  .voucher-section .voucher-options {
    grid-template-columns: repeat(3, minmax(76px, 1fr));
  }

  .gallery-section .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;

    .brand span {
      max-width: 138px;
      line-height: 1.1;
    }
  }

  .hero {
    min-height: 760px;

    .closure-badge {
      top: 88px;
      font-size: 0.72rem;
    }
  }

  .section-heading {
    display: block;

    .small-button {
      margin-top: 22px;
    }
  }

  .gallery-section .gallery-grid {
    display: block;

    .gallery-item {
      width: 100%;
      height: 280px;
      margin-bottom: 14px;
    }
  }

  .hero .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }

  .booking-section {
    .slot-list {
      grid-template-columns: 1fr;
    }

    .calendar-frame iframe {
      height: 420px;
    }
  }

  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
  }
}
