:root {
  --ink: #160d13;
  --ink-soft: #392635;
  --muted: #765f70;
  --line: rgba(113, 68, 87, 0.16);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --rose: #ff4f9a;
  --rose-soft: #ffe4ef;
  --blush: #fff5f8;
  --gold: #d8a932;
  --gold-soft: #fff0bc;
  --peach: #ffc3aa;
  --shadow: 0 24px 70px rgba(80, 34, 60, 0.16);
  --shadow-strong: 0 34px 90px rgba(60, 18, 45, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Heebo", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 79, 154, 0.18), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(216, 169, 50, 0.25), transparent 22rem),
    radial-gradient(circle at 64% 60%, rgba(255, 195, 170, 0.24), transparent 30rem),
    linear-gradient(135deg, #fff9f8 0%, #fff0f5 42%, #fffaf0 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(216, 169, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 79, 154, 0.07) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    conic-gradient(from 120deg at 50% 50%, transparent 0 38%, rgba(255, 255, 255, 0.62) 42%, transparent 47% 100%);
  animation: lightSweep 12s linear infinite;
  opacity: 0.56;
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.54;
  pointer-events: none;
}

.ambient--rose {
  top: 12%;
  inset-inline-start: -14vw;
  background: rgba(255, 79, 154, 0.28);
}

.ambient--gold {
  right: -9vw;
  bottom: 2vh;
  background: rgba(216, 169, 50, 0.26);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 249, 248, 0.78);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(216, 169, 50, 0.28);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 14px 42px rgba(216, 169, 50, 0.18);
}

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

.brand strong {
  font-size: 1.04rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-weight: 800;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(80, 34, 60, 0.08);
}

.tab,
.button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.tab:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(80, 34, 60, 0.12);
}

.tab.is-active,
.button--primary {
  background: linear-gradient(135deg, var(--ink), #5f2849 58%, var(--rose));
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(255, 79, 154, 0.26);
}

.button--glass {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.72);
}

main {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 30px 0 52px;
}

.view { display: none; }
.view.is-active { display: grid; gap: 22px; }
.hidden { display: none !important; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 22px;
  align-items: stretch;
  min-height: 560px;
}

.hero__copy,
.hero__visual,
.surface,
.experience article {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__copy {
  position: relative;
  display: grid;
  align-content: center;
  overflow: hidden;
  padding: clamp(28px, 6vw, 62px);
}

.hero__copy::after {
  content: "";
  position: absolute;
  inset-inline: 9%;
  bottom: 72px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(216, 169, 50, 0.56), rgba(255, 79, 154, 0.3), transparent);
  filter: blur(8px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(216, 169, 50, 0.28);
  border-radius: 999px;
  padding: 8px 13px;
  background: linear-gradient(135deg, rgba(255, 240, 188, 0.92), rgba(255, 228, 239, 0.92));
  color: #7a3a11;
  font-weight: 900;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 6px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.hero__lead {
  max-width: 650px;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.quick-steps,
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.quick-steps span {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 900;
}

.quick-steps b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
}

.hero__stats span,
.summary,
.stats div {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.72);
}

.hero__stats strong,
.summary strong,
.stats strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 560px;
  background:
    radial-gradient(circle at 38% 18%, rgba(255, 255, 255, 0.92), transparent 9rem),
    radial-gradient(circle at 64% 62%, rgba(255, 79, 154, 0.34), transparent 16rem),
    linear-gradient(135deg, #160d13, #5b263f 48%, #f7a7c5);
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
}

.hero__visual::after {
  content: "";
  position: absolute;
  width: 130%;
  height: 70px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: rotate(-24deg);
  animation: shine 5.8s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(78%, 430px);
  aspect-ratio: 1;
  border: 10px solid rgba(255, 255, 255, 0.74);
  border-radius: 36px;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
  animation: logoFloat 6.5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(216, 169, 50, 0.48);
  border-radius: 999px;
  transform: rotate(-15deg);
}

.orbit--one {
  width: 78%;
  height: 46%;
  animation: orbitPulse 5.6s ease-in-out infinite;
}

.orbit--two {
  width: 62%;
  height: 34%;
  border-color: rgba(255, 255, 255, 0.42);
  animation: orbitPulse 6.8s ease-in-out infinite reverse;
}

.sparkle {
  position: absolute;
  z-index: 3;
  width: 18px;
  aspect-ratio: 1;
  background: #ffffff;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.88));
  animation: twinkle 2.7s ease-in-out infinite;
}

.sparkle--one { top: 17%; inset-inline-start: 19%; }
.sparkle--two { top: 28%; inset-inline-end: 14%; animation-delay: 0.6s; }
.sparkle--three { bottom: 18%; inset-inline-start: 23%; animation-delay: 1.2s; }

.floating-note {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.floating-note--top {
  top: 48px;
  inset-inline-start: 42px;
}

.floating-note--bottom {
  right: 40px;
  bottom: 44px;
}

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

.experience article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.experience span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 999px;
  margin-bottom: 18px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

.experience strong,
.service-card strong,
.gallery strong {
  display: block;
  color: var(--ink);
  font-size: 1.16rem;
}

.surface {
  padding: clamp(20px, 3vw, 28px);
}

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

.section-kicker {
  margin-bottom: 10px;
  font-size: 0.86rem;
}

.services,
.gallery,
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card,
.gallery article,
.appointment {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 17px;
  background: var(--surface-strong);
  box-shadow: 0 12px 34px rgba(80, 34, 60, 0.08);
}

.service-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset-inline: 16px;
  top: 14px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--peach));
  opacity: 0.72;
}

.service-card:hover,
.service-card.is-selected {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 154, 0.48);
  box-shadow: 0 24px 54px rgba(255, 79, 154, 0.16);
}

.service-card.is-selected {
  background:
    linear-gradient(145deg, rgba(255, 228, 239, 0.84), rgba(255, 255, 255, 0.94)),
    #ffffff;
}

.service-card strong {
  margin-top: 16px;
}

.service-card small {
  display: block;
  color: #965f16;
  font-weight: 900;
  margin-top: 8px;
}

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

.services--simple .service-card {
  min-height: auto;
  padding: 16px;
}

.services--simple .service-card p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.booking-grid,
.booking-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
  gap: 18px;
}

.booking-flow {
  align-items: stretch;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 248, 0.88)),
    var(--surface-strong);
}

.booking-main {
  display: grid;
  gap: 14px;
}

.step-block {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 79, 154, 0.14);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.step-title span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  color: #ffffff;
  font-weight: 900;
}

.step-title strong {
  font-size: 1.12rem;
}

.form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

input,
textarea,
select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 79, 154, 0.2);
  border-radius: 18px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 5px rgba(255, 79, 154, 0.12);
}

.summary {
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 79, 154, 0.42), transparent 11rem),
    linear-gradient(135deg, #160d13, #5c2846 58%, #a75631);
  color: #ffffff;
  min-height: 300px;
}

.summary::after {
  content: "";
  position: absolute;
  inset-inline: 18px;
  bottom: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
}

.summary span,
.summary p {
  color: rgba(255, 255, 255, 0.78);
}

.summary strong {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.gallery article {
  min-height: 230px;
}

.swatch {
  display: block;
  position: relative;
  height: 92px;
  border-radius: 999px 999px 30px 30px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: inset 0 -18px 28px rgba(0, 0, 0, 0.08);
}

.swatch::after {
  content: "";
  position: absolute;
  inset: 12px 16px auto;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.swatch--clean { background: linear-gradient(135deg, #fff4f4, #ffd7de); }
.swatch--french { background: linear-gradient(135deg, #fff, #ffe8c3 64%, #fffbf0); }
.swatch--chrome { background: linear-gradient(135deg, #f5f5ff, #b7a1ff, #fff); }
.swatch--art { background: linear-gradient(135deg, #ff4f9a, #ffd873, #fff3f8); }

.admin-login {
  max-width: 480px;
  margin: 34px auto;
}

.admin-panel {
  display: grid;
  gap: 18px;
}

.stats {
  margin-bottom: 0;
}

.appointments {
  display: grid;
  gap: 12px;
}

.appointment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.appointment__meta {
  display: grid;
  gap: 5px;
}

.appointment__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.status {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--rose-soft);
  color: #8b2254;
  font-weight: 900;
}

.toast {
  position: fixed;
  inset-inline-start: 50%;
  bottom: 22px;
  z-index: 20;
  transform: translateX(50%);
  border-radius: 999px;
  padding: 13px 18px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.reveal {
  animation: riseIn 620ms ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes orbitPulse {
  0%, 100% { transform: rotate(-15deg) scale(1); opacity: 0.82; }
  50% { transform: rotate(-19deg) scale(1.05); opacity: 0.46; }
}

@keyframes twinkle {
  0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0.34; }
  50% { transform: scale(1.22) rotate(26deg); opacity: 1; }
}

@keyframes shine {
  0% { translate: 70% -210%; opacity: 0; }
  35% { opacity: 0.72; }
  72%, 100% { translate: -70% 210%; opacity: 0; }
}

@keyframes lightSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@media (max-width: 980px) {
  .hero,
  .booking-grid,
  .booking-flow {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    min-height: 460px;
  }

  .experience,
  .services,
  .services--simple,
  .gallery,
  .stats,
  .quick-steps,
  .hero__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    display: grid;
  }

  .tabs {
    justify-content: stretch;
  }

  .tab {
    flex: 1;
    padding-inline: 12px;
  }

  main {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .hero__copy {
    padding: 24px;
  }

  .hero__visual {
    min-height: 380px;
  }

  .hero-logo {
    width: min(82%, 330px);
    border-width: 7px;
    border-radius: 28px;
  }

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

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

  .appointment__actions {
    justify-content: stretch;
  }

  .appointment__actions .button {
    flex: 1;
  }
}
