/* ===========================================
   PEARL BEAUTY LOUNGE — Digital Price List
   Self-contained brand styles for this client page
=========================================== */
:root {
  --pl-bg:      #0b0b0c;
  --pl-bg-2:    #141415;
  --pl-card:    #1a1a1b;
  --pl-cream:   #f5f5f3;
  --pl-gold:    #ffffff;
  --pl-gold-lt: #d6d6d3;
  --pl-muted:   rgba(245, 245, 243, .58);
  --pl-line:    rgba(245, 245, 243, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--pl-bg); color: var(--pl-cream); overflow-x: hidden; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.pearl-display { font-family: 'Playfair Display', serif; }

/* ---- Header ---- */
.pearl-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pl-line);
}
.pearl-header a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pearl-header-word {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--pl-cream);
}
.pearl-header-word span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .32em;
  color: var(--pl-gold);
  margin-top: 2px;
}

/* ---- Hero (real salon photo, desaturated to black & white) ---- */
.pearl-hero {
  position: relative;
  min-height: 78vh;
  padding: 150px 24px 70px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.pearl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../img/pearl-hero.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(1) contrast(1.05);
}
.pearl-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, .45) 0%, rgba(11, 11, 12, .72) 60%, rgba(11, 11, 12, .97) 100%),
    linear-gradient(90deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .15) 45%, rgba(11, 11, 12, .55) 100%);
}
.pearl-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.pearl-hero-logo {
  width: min(360px, 78vw);
  margin: 0 auto 26px;
  opacity: 0;
  animation: pearlFadeUp .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.pearl-hero-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--pl-gold);
  margin-bottom: 14px;
  opacity: 0;
  animation: pearlFadeUp .9s .15s cubic-bezier(.2, .7, .2, 1) forwards;
}
.pearl-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: .01em;
  margin-bottom: 16px;
  opacity: 0;
  animation: pearlFadeUp .9s .25s cubic-bezier(.2, .7, .2, 1) forwards;
}
.pearl-hero-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--pl-muted);
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  animation: pearlFadeUp .9s .35s cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes pearlFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Gender toggle (animated segmented control) ---- */
.gender-toggle-wrap {
  position: sticky;
  top: 65px;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 18px 24px;
  background: linear-gradient(180deg, var(--pl-bg) 60%, rgba(11, 11, 12, 0) 100%);
}
.gender-toggle {
  position: relative;
  display: inline-flex;
  background: var(--pl-card);
  border: 1px solid var(--pl-line);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.gender-indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  background: linear-gradient(135deg, var(--pl-gold) 0%, var(--pl-gold-lt) 100%);
  border-radius: 999px;
  transition: transform .45s cubic-bezier(.65, 0, .15, 1);
  z-index: 0;
}
.gender-toggle[data-active="him"] .gender-indicator { transform: translateX(100%); }
.gender-btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 11px 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pl-muted);
  transition: color .35s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gender-btn.is-active { color: #171216; }
.gender-btn i { font-size: 12px; }

/* ---- Category nav ---- */
.pearl-catnav {
  position: sticky;
  top: 129px;
  z-index: 39;
  background: rgba(11, 11, 12, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pl-line);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.pearl-catnav::-webkit-scrollbar { display: none; }
.pearl-catnav-inner {
  display: inline-flex;
  gap: 6px;
  padding: 12px 20px;
}
.pearl-catnav a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--pl-muted);
  border-radius: 999px;
  transition: background .3s, color .3s;
  white-space: nowrap;
}
.pearl-catnav a:hover { background: var(--pl-card); color: var(--pl-cream); }

/* ---- Gender panels (animated cross-fade) ---- */
.gender-panel {
  display: none;
}
.gender-panel.is-visible {
  display: block;
  animation: pearlPanelIn .55s cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes pearlPanelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Sections ---- */
.pearl-section {
  padding: 64px 24px 10px;
  max-width: 760px;
  margin: 0 auto;
}
.pearl-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.pearl-section-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pl-card);
  border: 1px solid var(--pl-line);
  display: grid;
  place-items: center;
  color: var(--pl-gold);
  font-size: 17px;
  flex-shrink: 0;
}
.pearl-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: .01em;
}
.pearl-section-sub {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pl-gold);
  margin-top: 3px;
}

.pearl-group { margin-bottom: 30px; }
.pearl-group-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pl-gold-lt);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pl-line);
}

.pearl-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--pl-line);
}
.pearl-row:last-child { border-bottom: none; }
.pearl-row-name {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--pl-cream);
}
.pearl-row-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(245, 245, 243, .25);
  transform: translateY(-4px);
}
.pearl-row-price {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--pl-gold);
  white-space: nowrap;
}

.pearl-divider {
  max-width: 760px;
  margin: 8px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pl-line) 50%, transparent);
}

/* ---- CTA / contact ---- */
.pearl-cta {
  padding: 70px 24px 90px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.pearl-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 34px);
  margin-bottom: 12px;
}
.pearl-cta-text {
  font-size: 14.5px;
  color: var(--pl-muted);
  margin-bottom: 30px;
}
.pearl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--pl-gold) 0%, var(--pl-gold-lt) 100%);
  color: #171216;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.pearl-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 0, 0, .5); }

.pearl-contact-info {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  color: var(--pl-muted);
}
.pearl-contact-info a { color: var(--pl-cream); font-weight: 500; }
.pearl-contact-info a:hover { color: var(--pl-gold); }
.pearl-contact-info i { width: 16px; text-align: center; margin-right: 6px; color: var(--pl-gold); }

.pearl-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}
.pearl-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--pl-line);
  display: grid;
  place-items: center;
  color: var(--pl-cream);
  transition: background .3s, transform .3s, color .3s;
}
.pearl-socials a:hover { background: var(--pl-gold); color: #171216; transform: translateY(-3px); }

/* ---- Footer ---- */
.pearl-footer {
  padding: 34px 24px;
  text-align: center;
  border-top: 1px solid var(--pl-line);
}
.pearl-footer-credits {
  font-size: 12px;
  color: var(--pl-muted);
}
.pearl-footer-credits a { color: var(--pl-gold-lt); font-weight: 600; }
.pearl-footer-credits a:hover { color: var(--pl-gold); }
.pearl-sep { margin: 0 8px; }

/* ---- Scroll reveal ----
   .js-reveal is added by JS only, right before observing, so content is
   fully visible by default if JavaScript fails to run (progressive
   enhancement: no permanently-invisible content). ---- */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.js-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 600px) {
  .pearl-header { padding: 13px 20px; }
  .gender-toggle-wrap { top: 58px; padding: 14px 16px; }
  .pearl-catnav { top: 118px; }
  .pearl-btn { width: 100%; justify-content: center; }
  .pearl-row-name { font-size: 13.5px; }
  /* On narrow screens, keep the couple in the chairs (right side of the
     photo) in frame instead of the empty wall at the center crop. */
  .pearl-hero-bg { background-position: right 30%; }
}
