/* PAGE-FACIALS A7 — Contact palette, button contract and page-local motion.
   Isolated to main.fp-main. Shared Header, Footer, Dock and Pricing untouched. */
body[data-page-facials] main.fp-main {
  --contact-pink: #fbecef;
  --contact-soft-pink: #fff7f8;
  --contact-cream: #fffcf8;
  --contact-gold: #c79f36;
  --contact-border: rgba(199, 159, 54, 0.27);
  --contact-ink: #27211f;
  color: var(--contact-ink);
}
body[data-page-facials] main.fp-main :is(h1,h2,h3) { color: var(--contact-ink); }
body[data-page-facials] main.fp-main .fp-eyebrow { color: #77581c; }

/* The same warm ivory/blush gradients that Contact applies between its sections.
   Layer over A5 images; do not replace/crop those Owner-chosen images. */
body[data-page-facials] main.fp-main .fp-hero {
  background:
    radial-gradient(ellipse at 90% 45%, rgba(214,177,83,.12), transparent 42%),
    linear-gradient(115deg, #fffafa 12%, #fdf0f2 58%, #fffdf7 100%);
}
body[data-page-facials] main.fp-main .fp-hero-photo {
  background-image:
    linear-gradient(90deg,#fffafa 0%,rgba(253,240,242,.8) 11%,rgba(253,240,242,.06) 49%),
    url('/images/pages/facials-a5/01_FACIALS_HERO.webp');
}
body[data-page-facials] main.fp-main .fp-introduction {
  background: linear-gradient(100deg,#fffaf9 0%,#fff 66%);
}
body[data-page-facials] main.fp-main .fp-treatment-section { background: #fff; }
body[data-page-facials] main.fp-main .fp-benefits {
  background: linear-gradient(100deg,#fffaf9 0%,#fdf0f2 54%,#fffdfa 100%);
}
body[data-page-facials] main.fp-main .fp-steps {
  background: linear-gradient(100deg,#fffaf9 0%,#fdf0f2 54%,#fffdfa 100%);
}
body[data-page-facials] main.fp-main .fp-aftercare {
  background:
    linear-gradient(90deg,rgba(255,252,250,.97) 36%,rgba(253,240,242,.80) 73%),
    url('/images/pages/facials-a5/08_BEFORE_AFTER_BACKGROUND.webp') no-repeat right center/cover;
}
body[data-page-facials] main.fp-main .fp-faq { background: #fff; }
body[data-page-facials] main.fp-main .fp-final-cta {
  background:
    linear-gradient(95deg, #fffafa 0%,rgba(253,240,242,.94) 45%,rgba(255,252,248,.16) 84%),
    url('/images/pages/facials-a5/09_READY_TO_BOOK_BACKGROUND.webp') no-repeat right center/cover;
}
body[data-page-facials] main.fp-main :is(
  .fp-introduction,.fp-treatment-section,.fp-benefits,.fp-steps,
  .fp-aftercare,.fp-faq,.fp-final-cta
) { border-top: 1px solid rgba(199,159,54,.18); }

/* Primary Booking: preserve the canonical global metallic gold button from
   site-shell.css, exactly as Contact does. Only normalize layout/typography here. */
body[data-page-facials] main.fp-main .button[data-link-key="booking.primary"] {
  min-height: 3rem;
  padding: .78rem 1.45rem;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 .0625rem 0 rgba(255,255,255,.45);
}
/* Contact's secondary CTA: champagne-gold glossy pill, matching bevel and focus. */
body[data-page-facials] main.fp-main .fp-button-secondary {
  min-height: 3rem;
  padding: .78rem 1.45rem;
  border-radius: 999px;
  border: 1px solid #c39a49;
  background: linear-gradient(180deg,#fff 0%,#fffdf8 42%,#f8eddb 75%,#efe0bd 100%);
  color: var(--contact-ink);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 2px rgba(255,255,255,.8),
    inset 0 -2px 4px rgba(128,90,34,.16), 0 3px 8px rgba(89,54,16,.17);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
body[data-page-facials] main.fp-main .fp-button-secondary:hover {
  background: linear-gradient(180deg,#fff 0%,#fffdf8 42%,#f8eddb 75%,#efe0bd 100%);
  color: var(--contact-ink);
  filter: brightness(1.025);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 2px rgba(255,255,255,.8),
    inset 0 -2px 4px rgba(128,90,34,.14), 0 5px 11px rgba(89,54,16,.2);
}
body[data-page-facials] main.fp-main .fp-button-secondary:active {
  filter: brightness(.98);
  transform: translateY(1px);
}
body[data-page-facials] main.fp-main .fp-button-secondary:focus-visible {
  outline: 3px solid #7e5720;
  outline-offset: 3px;
}
body[data-page-facials] main.fp-main .fp-card-actions .button {
  min-height: 3rem;
  padding: .65rem .45rem;
}
body[data-page-facials] main.fp-main .fp-card-actions .fp-button-secondary {
  font-size: .78rem;
}
/* Contact's fine gold line and 3D relief on cards; original Facials layout intact. */
body[data-page-facials] main.fp-main :is(
  .fp-treatment-card, .fp-aftercare-grid article, .fp-faq-grid details
) {
  border: 1px solid rgba(183,135,49,.52);
  background-color: #fff;
  background-image: linear-gradient(153deg,#fff 72%,#fff9f8);
  box-shadow: inset 0 1px 0 #fff,
    inset 0 0 0 2px rgba(255,252,248,.91),
    inset 0 -2px 0 rgba(189,143,63,.10),
    0 2px 0 rgba(142,100,30,.32),
    0 8px 17px rgba(98,60,24,.08),
    0 17px 32px rgba(77,42,18,.045);
}
body[data-page-facials] main.fp-main .fp-pricing-notice,
body[data-page-facials] main.fp-main .fp-aftercare-note {
  background: #fdf0f2;
  border-left: .19rem solid var(--contact-gold);
  color: #50413e;
}
/* Only visible elements below initial viewport can reveal; no-JS remains visible. */
@media (prefers-reduced-motion: no-preference) {
  body[data-page-facials] main.fp-main .fp-motion-pending {
    opacity: .15;
    transform: translate3d(var(--fp-motion-x,0px),46px,0) scale(.972);
  }
  body[data-page-facials] main.fp-main .fp-motion-entered {
    animation: fp-contact-reveal 990ms cubic-bezier(.16,.8,.18,1) backwards;
    animation-delay: var(--fp-motion-delay,0ms);
  }
  @keyframes fp-contact-reveal {
    0% {opacity:.15;transform:translate3d(var(--fp-motion-x,0px),46px,0) scale(.972);}
    72% {opacity:1;transform:translate3d(0,-4px,0) scale(1.004);}
    100% {opacity:1;transform:translate3d(0,0,0) scale(1);}
  }
  @media (hover:hover) and (pointer:fine) {
    body[data-page-facials] main.fp-main :is(
      .fp-treatment-card, .fp-aftercare-grid article, .fp-faq-grid details
    ):not(.fp-motion-pending) {
      transition: transform 320ms cubic-bezier(.2,.85,.2,1), box-shadow 320ms ease;
    }
    body[data-page-facials] main.fp-main :is(
      .fp-treatment-card, .fp-aftercare-grid article, .fp-faq-grid details
    ):hover:not(.fp-motion-pending) {
      transform: translate3d(0,-6px,0) scale(1.008);
      box-shadow: inset 0 1px 0 #fff,
        inset 0 0 0 3px rgba(255,252,248,.94),
        inset 0 -3px 0 rgba(189,143,63,.12),
        0 3px 0 rgba(142,100,30,.43),
        0 16px 26px rgba(98,60,24,.18),
        0 23px 40px rgba(77,42,18,.10);
    }
    body[data-page-facials] main.fp-main .fp-treatment-card img,
    body[data-page-facials] main.fp-main .fp-intro-photo img {
      transition: transform 650ms cubic-bezier(.2,.85,.2,1);
    }
    body[data-page-facials] main.fp-main .fp-treatment-card:hover img,
    body[data-page-facials] main.fp-main .fp-intro-photo:hover img {
      transform: scale(1.035);
    }
  }
}
@media(max-width: 640px) {
  body[data-page-facials] main.fp-main .fp-hero-photo {
    background-image:
      linear-gradient(0deg,#fff7f8,rgba(255,247,248,.01) 65%),
      url('/images/pages/facials-a5/01_FACIALS_HERO.webp');
  }
  body[data-page-facials] main.fp-main .fp-final-cta {
    background:
      linear-gradient(90deg,rgba(255,250,250,.96),rgba(253,240,242,.87)),
      url('/images/pages/facials-a5/09_READY_TO_BOOK_BACKGROUND.webp') center/cover;
  }
}
@media(prefers-reduced-motion:reduce) {
  body[data-page-facials] main.fp-main :is(.fp-motion-pending,.fp-motion-entered) {
    opacity:1!important;transform:none!important;animation:none!important;
    transition:none!important;
  }
  body[data-page-facials] main.fp-main .fp-button-secondary {
    transition:none!important;
  }
  body[data-page-facials] main.fp-main .fp-treatment-card img,
  body[data-page-facials] main.fp-main .fp-intro-photo img {
    transition:none!important;
  }
}
