:root {
  --ink: #25212a;
  --muted: #6f6876;
  --paper: #fffdfb;
  --shell: #f6f1f5;
  --lavender: #8b73a8;
  --lavender-deep: #624f7d;
  --sage: #7e9a8f;
  --gold: #b78a4f;
  --line: rgba(37, 33, 42, 0.12);
  --shadow: 0 24px 70px rgba(61, 47, 71, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 251, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.card-foot {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--lavender-deep);
  color: #fff;
  font-family: Georgia, serif;
}

.nav {
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--lavender-deep);
}

.header-action,
.button,
.card-foot button,
.course-card a {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action {
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 116px);
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px) 34px;
  background:
    linear-gradient(135deg, rgba(139, 115, 168, 0.13), transparent 45%),
    linear-gradient(225deg, rgba(126, 154, 143, 0.12), transparent 40%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  min-width: 150px;
  padding: 13px 21px;
}

.primary {
  background: var(--lavender-deep);
  color: #fff;
  box-shadow: 0 14px 30px rgba(98, 79, 125, 0.24);
}

.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button:hover,
.header-action:hover,
.card-foot button:hover,
.course-card a:hover {
  transform: translateY(-2px);
}

.hero-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: #f8f2f4;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stats div {
  padding: 22px;
  background: #fff;
}

.stats strong {
  display: block;
  font-size: 1.8rem;
}

.stats span {
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 94px) clamp(18px, 4vw, 56px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.product-grid,
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.course-card,
.booking-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.product-visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--shell);
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  content: "";
}

.bottle::before,
.serum::before {
  left: 50%;
  bottom: 24px;
  width: 76px;
  height: 148px;
  border-radius: 18px 18px 10px 10px;
  transform: translateX(-50%);
  box-shadow: inset -12px 0 rgba(255, 255, 255, 0.34);
}

.bottle::after,
.serum::after {
  left: 50%;
  bottom: 172px;
  width: 42px;
  height: 32px;
  border-radius: 8px 8px 3px 3px;
  transform: translateX(-50%);
  background: var(--ink);
}

.jar::before {
  left: 50%;
  bottom: 38px;
  width: 128px;
  height: 102px;
  border-radius: 24px 24px 34px 34px;
  transform: translateX(-50%);
  background: linear-gradient(160deg, #fbfbf7, #cfdcd4);
  box-shadow: inset -18px 0 rgba(255, 255, 255, 0.6);
}

.jar::after {
  left: 50%;
  bottom: 140px;
  width: 112px;
  height: 28px;
  border-radius: 10px 10px 4px 4px;
  transform: translateX(-50%);
  background: var(--sage);
}

.lavender::before {
  background: linear-gradient(160deg, #c7badb, #6f5b91);
}

.sage {
  background: #eef4ef;
}

.pearl::before {
  background: linear-gradient(160deg, #fff, #d8c3de 70%, #927aad);
}

.product-card h3,
.course-card h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.product-card p,
.course-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-foot {
  justify-content: space-between;
  gap: 12px;
}

.card-foot span {
  color: var(--lavender-deep);
  font-size: 1.4rem;
  font-weight: 900;
}

.card-foot button {
  padding: 9px 17px;
  background: var(--shell);
  color: var(--ink);
}

.courses-band {
  background: var(--shell);
}

.course-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.course-card > span {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
}

.course-card a {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  margin-top: 12px;
  padding: 10px 18px;
  background: var(--lavender-deep);
  color: #fff;
}

.booking-layout {
  display: block;
}

.booking-form {
  display: grid;
  gap: 16px;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(37, 33, 42, 0.08);
}

.form-head h2 {
  margin-bottom: 0;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

input:focus,
select:focus {
  border-color: var(--lavender);
  outline: 3px solid rgba(139, 115, 168, 0.18);
}

.form-note {
  min-height: 28px;
  margin: 0;
  color: var(--lavender-deep);
  font-weight: 800;
}

footer {
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .booking-layout,
  .product-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 10ch;
  }

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

  .section-head {
    display: block;
  }
}

@media (max-width: 520px) {
  .header-action {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero-media img {
    aspect-ratio: auto;
  }
}
