:root {
  --lavender: #b99be7;
  --lavender-deep: #7b55b6;
  --lavender-dark: #4e386f;
  --cream: #fffaf3;
  --mist: #f4f0f8;
  --sage: #6f8a71;
  --charcoal: #18151d;
  --muted: #6b6472;
  --line: rgba(78, 56, 111, 0.15);
  --shadow: 0 24px 70px rgba(29, 20, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: white;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--charcoal);
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 12px 36px rgba(24, 21, 29, 0.09);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(24, 21, 29, 0.16);
}

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

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(123, 85, 182, 0.28);
  background: white;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--lavender);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  font-size: 0.72rem;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover {
  color: var(--lavender);
  opacity: 1;
}

.nav-cta {
  padding: 12px 17px;
  border-radius: 999px;
  color: white;
  background: var(--lavender-deep);
  box-shadow: 0 12px 30px rgba(123, 85, 182, 0.28);
}

.nav-cta:hover {
  color: white !important;
  background: var(--lavender-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 21, 29, 0.84), rgba(24, 21, 29, 0.38) 56%, rgba(24, 21, 29, 0.18)),
    linear-gradient(0deg, rgba(24, 21, 29, 0.7), rgba(24, 21, 29, 0.08) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 160px 0 124px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lavender-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero .eyebrow {
  color: #eadfff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
}

h1 {
  color: var(--lavender);
  font-size: clamp(3.3rem, 9vw, 7.5rem);
}

h2 {
  color: var(--lavender-dark);
  font-size: clamp(2rem, 4.4vw, 4.4rem);
}

h3 {
  margin: 0;
  color: var(--lavender-dark);
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  color: white;
  background: var(--lavender-deep);
  box-shadow: 0 18px 42px rgba(123, 85, 182, 0.32);
}

.button.primary:hover {
  background: var(--lavender-dark);
}

.button.secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(24, 21, 29, 0.36);
  backdrop-filter: blur(18px);
}

.hero-strip span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 16px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
  background: var(--cream);
}

.intro > p,
.contact-section p,
.experience-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

.section-heading {
  max-width: 760px;
}

.services-section {
  background: var(--mist);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.service-card {
  min-height: 234px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 40px rgba(78, 56, 111, 0.08);
}

.service-card span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.experience {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: #fff;
}

.experience-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.experience-image img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.feature-list div {
  padding: 18px 0 18px 24px;
  border-left: 3px solid var(--lavender);
}

.feature-list strong {
  display: block;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.gallery-section {
  background: var(--cream);
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 260px;
  gap: 16px;
  margin-top: 42px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 18px 50px rgba(24, 21, 29, 0.12);
  cursor: zoom-in;
}

.gallery-item::after {
  content: "Expand";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(24, 21, 29, 0.58);
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

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

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item:nth-child(3) {
  grid-column: span 2;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: center;
  color: white;
  background:
    linear-gradient(115deg, rgba(78, 56, 111, 0.96), rgba(24, 21, 29, 0.92)),
    url("assets/studio-massage.jpeg") center / cover;
}

.contact-section h2,
.contact-section .eyebrow {
  color: white;
}

.contact-section p {
  max-width: 660px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-panel {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.contact-panel > a:first-child {
  color: var(--lavender);
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--charcoal);
}

.site-footer strong {
  color: var(--lavender);
}

.whatsapp-float {
  position: fixed;
  z-index: 25;
  right: 22px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: white;
  background: #25d366;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.38);
  font-weight: 900;
}

.chatbox {
  position: fixed;
  z-index: 26;
  right: 22px;
  bottom: 96px;
  width: min(340px, calc(100vw - 32px));
}

.chat-launcher {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--lavender-deep);
  box-shadow: 0 14px 34px rgba(123, 85, 182, 0.32);
  font-weight: 800;
  cursor: pointer;
}

.chat-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b7f4c9;
  box-shadow: 0 0 0 5px rgba(183, 244, 201, 0.2);
}

.chat-panel {
  clear: both;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(78, 56, 111, 0.14);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: white;
  background: var(--lavender-dark);
}

.chat-header small {
  display: block;
  margin-top: 3px;
  opacity: 0.78;
}

.chat-header button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.4rem;
  cursor: pointer;
}

.chat-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.55;
}

.incoming {
  color: var(--charcoal);
  background: var(--mist);
}

.chat-body button,
.chat-form button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.chat-body button {
  padding: 12px;
  color: var(--lavender-dark);
  background: rgba(185, 155, 231, 0.16);
  text-align: left;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.chat-form button {
  padding: 0 16px;
  color: white;
  background: var(--lavender-deep);
}

.lightbox {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(24, 21, 29, 0.88);
  backdrop-filter: blur(14px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: auto;
  max-width: min(1080px, 100%);
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

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

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--charcoal);
    background: rgba(255, 250, 243, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 2px;
  }

  .nav-cta {
    text-align: center;
  }

  .intro,
  .experience,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery-item:first-child,
  .gallery-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding: 132px 0 74px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(24, 21, 29, 0.82), rgba(24, 21, 29, 0.22) 64%),
      linear-gradient(90deg, rgba(24, 21, 29, 0.68), rgba(24, 21, 29, 0.2));
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero-strip span {
    min-height: 58px;
  }

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

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .gallery {
    grid-auto-rows: 320px;
  }

  .contact-panel {
    padding: 22px;
  }

  .chatbox {
    right: 16px;
    bottom: 88px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 18px;
  }
}
