@charset "utf-8";

/*
 * Phase 5: final reservation CTA and reusable visual tokens.
 * Tokens are intentionally namespaced so later phases can adopt them safely.
 */
:root {
  --salon-green-deep: #365244;
  --salon-green-muted: #6f8b78;
  --salon-sage-pale: #e7eee8;
  --salon-ivory: #f8f6f1;
  --salon-gray-warm: #e9e6df;
  --salon-gray-medium: #a8a59d;
  --salon-charcoal: #2b2b2b;
  --salon-champagne: #cdbb92;
  --salon-sparkle-white: rgba(255, 255, 255, .78);
  --salon-sparkle-gold: rgba(205, 187, 146, .52);
  --salon-sparkle-mint: rgba(190, 218, 198, .42);
  --salon-luxury-ease: cubic-bezier(.25, .1, .25, 1);
}

.p5-final-cta {
  width: 100%;
  padding: 52px 0 58px;
  overflow: clip;
  background: var(--salon-ivory);
  color: var(--salon-charcoal);
}

.p5-final-cta__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 39%);
  gap: 6%;
  width: min(1280px, 90%);
  min-height: 286px;
  align-items: center;
  margin: 0 auto;
  padding: 54px clamp(48px, 5vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(54, 82, 68, .16);
  border-radius: 3px;
  background-color: var(--salon-sage-pale);
  background:
    radial-gradient(circle at 82% 47%, rgba(255, 255, 255, .68) 0, rgba(255, 255, 255, 0) 25%),
    radial-gradient(circle at 91% 5%, rgba(190, 218, 198, .2) 0, rgba(190, 218, 198, 0) 31%),
    radial-gradient(circle at 68% 100%, rgba(205, 187, 146, .1) 0, rgba(205, 187, 146, 0) 34%),
    linear-gradient(118deg, var(--salon-ivory) 0%, var(--salon-ivory) 24%, color-mix(in srgb, var(--salon-ivory) 58%, var(--salon-sage-pale)) 60%, var(--salon-sage-pale) 100%);
  box-shadow: 0 24px 58px rgba(43, 43, 43, .07), inset 0 1px 0 rgba(255, 255, 255, .74);
}

.p5-final-cta__panel::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: clamp(48px, 5vw, 76px);
  width: 72px;
  height: 2px;
  background: var(--salon-champagne);
  content: "";
  opacity: .86;
}

.p5-final-cta__copy,
.p5-final-cta__action {
  position: relative;
  z-index: 2;
}

.p5-final-cta__eyebrow {
  margin: 0 0 16px;
  color: var(--salon-green-muted);
  font-family: var(--salon-serif, serif);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .24em;
}

.p5-final-cta__copy h2 {
  max-width: 580px;
  margin: 0;
  color: var(--salon-green-deep);
  font-family: var(--salon-serif, serif);
  font-size: clamp(29px, 2.35vw, 38px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .075em;
}

.p5-final-cta__description {
  max-width: 560px;
  margin: 20px 0 0;
  color: #555a56;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .06em;
}

.p5-final-cta__action {
  display: flex;
  justify-content: flex-end;
}

.p5-final-cta__action::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(118%, 500px);
  height: 154px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .48) 0, rgba(190, 218, 198, .18) 38%, rgba(190, 218, 198, 0) 72%);
  content: "";
  filter: blur(8px);
  transform: translate(-50%, -50%);
}

.p5-final-cta__button {
  display: flex;
  width: min(100%, 430px);
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 28px 15px 34px;
  border: 1px solid rgba(205, 187, 146, .52);
  border-radius: 10px;
  background: var(--salon-green-deep);
  box-shadow: 0 12px 26px rgba(54, 82, 68, .16), inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(43, 43, 43, .08);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .07em;
  text-align: left;
  text-decoration: none;
  transition: background-color .3s var(--salon-luxury-ease), border-color .3s var(--salon-luxury-ease), box-shadow .3s var(--salon-luxury-ease);
}

.p5-final-cta__button:visited {
  color: #fff;
}

.p5-final-cta__button:hover {
  border-color: rgba(205, 187, 146, .9);
  background: linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)), var(--salon-green-deep);
  box-shadow: 0 15px 30px rgba(54, 82, 68, .2), 0 0 20px rgba(205, 187, 146, .1), inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 -1px 0 rgba(43, 43, 43, .08);
}

.p5-final-cta__button:focus-visible {
  outline: 3px solid var(--salon-champagne);
  outline-offset: 4px;
}

.p5-final-cta__arrow {
  position: relative;
  display: block;
  width: 24px;
  height: 9px;
  flex: 0 0 24px;
  border-bottom: 1px solid currentColor;
  opacity: .86;
  transition: transform .3s var(--salon-luxury-ease);
}

.p5-final-cta__arrow::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(-45deg);
  transform-origin: right bottom;
}

.p5-final-cta__button:hover .p5-final-cta__arrow {
  transform: translateX(4px);
}

.p5-final-cta__decor,
.p5-final-cta__decor > span {
  position: absolute;
  pointer-events: none;
}

.p5-final-cta__decor {
  z-index: 1;
  inset: 0;
}

.p5-final-cta__sparkle {
  background-color: var(--salon-champagne);
  -webkit-mask-image: url("../images/fairy/fairy-sparkles.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("../images/fairy/fairy-sparkles.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  opacity: .24;
  filter: drop-shadow(0 0 5px var(--salon-sparkle-white));
  animation: salon-sparkle-breathe 6.4s var(--salon-luxury-ease) infinite;
}

.p5-final-cta__sparkle--one {
  top: 30px;
  right: 36px;
  width: 34px;
  height: 34px;
  background-color: #adc4b3;
}

.p5-final-cta__sparkle--two {
  right: 45%;
  bottom: 24px;
  width: 22px;
  height: 22px;
  animation-delay: -2.7s;
  animation-duration: 7.2s;
}

.p5-final-cta__sparkle--three {
  top: 32px;
  left: 43%;
  width: 15px;
  height: 15px;
  background-color: #fff;
  opacity: .28;
  animation-delay: -4.2s;
  animation-duration: 5.8s;
}

.p5-final-cta__dust {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--salon-sparkle-white);
  box-shadow: 0 0 5px rgba(255, 255, 255, .7);
  opacity: .28;
  animation: salon-dust-drift 7.6s ease-in-out infinite;
}

.p5-final-cta__dust--one {
  top: 22%;
  right: 31%;
  width: 3px;
  height: 3px;
}

.p5-final-cta__dust--two {
  top: 67%;
  right: 17%;
  background: var(--salon-champagne);
  animation-delay: -2.3s;
  animation-duration: 8.6s;
}

.p5-final-cta__dust--three {
  top: 33%;
  right: 9%;
  background: #fff;
  animation-delay: -4.1s;
  animation-duration: 6.8s;
}

.p5-final-cta__dust--four {
  right: 39%;
  bottom: 18%;
  width: 1px;
  height: 1px;
  background: var(--salon-green-muted);
  animation-delay: -5.5s;
  animation-duration: 8.9s;
}

.p5-final-cta__dust--five {
  top: 17%;
  right: 22%;
  width: 1px;
  height: 1px;
  background: var(--salon-champagne);
  animation-delay: -1.4s;
  animation-duration: 7.1s;
}

.p5-final-cta__trail {
  top: 27px;
  right: 54px;
  width: 360px;
  height: 150px;
  border-top: 1px solid rgba(205, 187, 146, .19);
  border-radius: 50% 50% 0 0;
  opacity: .54;
  filter: blur(.25px) drop-shadow(0 0 7px var(--salon-sparkle-mint));
  transform: rotate(-8deg);
}

.p5-final-cta__trail--secondary {
  top: auto;
  right: 8%;
  bottom: 20px;
  width: 285px;
  height: 104px;
  border-top-color: rgba(111, 139, 120, .12);
  opacity: .42;
  transform: rotate(9deg) scaleX(-1);
}

.p5-final-cta__trail::after {
  position: absolute;
  top: -3px;
  right: 18%;
  width: 44%;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--salon-sparkle-white), rgba(255, 255, 255, 0));
  content: "";
  filter: blur(3px);
}

.p5-final-cta__orb {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .58) 0, rgba(190, 218, 198, .14) 38%, rgba(255, 255, 255, 0) 72%);
  filter: blur(1px);
}

.p5-final-cta__orb--one {
  top: -12px;
  right: 17%;
  width: 108px;
  height: 108px;
}

.p5-final-cta__orb--two {
  bottom: -48px;
  left: 36%;
  width: 136px;
  height: 136px;
  opacity: .66;
}

/* Reusable foundation for restrained sparkles in later sections. */
.salon-sparkle-foundation {
  color: var(--salon-champagne);
  filter: drop-shadow(0 0 5px var(--salon-sparkle-white));
  animation: salon-sparkle-breathe 6.4s var(--salon-luxury-ease) infinite;
}

@keyframes salon-sparkle-breathe {
  0%, 100% { opacity: .16; transform: scale(.96); }
  50% { opacity: .36; transform: scale(1.035); }
}

@keyframes salon-dust-drift {
  0%, 100% { opacity: .16; transform: translate3d(0, 0, 0); }
  50% { opacity: .38; transform: translate3d(2px, -2px, 0); }
}

@media (max-width: 1024px) {
  .p5-final-cta__panel {
    width: min(1280px, 92%);
    grid-template-columns: minmax(0, 52%) minmax(0, 44%);
    gap: 4%;
    padding-inline: 42px;
  }

  .p5-final-cta__button {
    padding-inline: 26px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .p5-final-cta {
    padding: 40px 0 44px;
  }

  .p5-final-cta__panel {
    display: block;
    min-height: 0;
    padding: 52px 50px 54px;
  }

  .p5-final-cta__copy {
    max-width: 570px;
    margin: 0 auto;
    text-align: center;
  }

  .p5-final-cta__copy h2,
  .p5-final-cta__description {
    margin-inline: auto;
  }

  .p5-final-cta__action {
    justify-content: center;
    margin-top: 32px;
  }

  .p5-final-cta__sparkle--three {
    display: none;
  }

  .p5-final-cta__dust--three,
  .p5-final-cta__dust--four,
  .p5-final-cta__dust--five,
  .p5-final-cta__trail--secondary {
    display: none;
  }

  .p5-final-cta__dust--one,
  .p5-final-cta__dust--two {
    display: none;
  }

  .p5-final-cta__sparkle--one {
    top: 18px;
    right: 20px;
    width: 27px;
    height: 27px;
  }

  .p5-final-cta__sparkle--two {
    right: auto;
    bottom: 16px;
    left: 17px;
    width: 19px;
    height: 19px;
  }

  .p5-final-cta__trail {
    top: 13px;
    right: 35px;
    width: 205px;
    height: 92px;
    opacity: .36;
  }
}

@media (max-width: 480px) {
  .p5-final-cta {
    padding: 28px 0 34px;
  }

  .p5-final-cta__panel {
    width: 90%;
    padding: 48px 20px 38px;
  }

  .p5-final-cta__panel::before {
    left: 20px;
    width: 48px;
  }

  .p5-final-cta__eyebrow {
    margin-bottom: 13px;
    font-size: 8px;
    letter-spacing: .18em;
  }

  .p5-final-cta__copy h2 {
    max-width: 290px;
    font-size: 24px;
    line-height: 1.55;
    letter-spacing: .055em;
  }

  .p5-final-cta__description {
    max-width: 290px;
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: .045em;
  }

  .p5-final-cta__action {
    margin-top: 27px;
  }

  .p5-final-cta__button {
    width: 100%;
    min-height: 62px;
    gap: 13px;
    padding: 12px 19px 12px 22px;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: .035em;
  }

  .p5-final-cta__arrow {
    width: 19px;
    flex-basis: 19px;
  }

  .p5-final-cta__sparkle--one {
    top: 14px;
    right: 12px;
    width: 23px;
    height: 23px;
  }

  .p5-final-cta__sparkle--two {
    bottom: 8px;
    left: 8px;
    width: 16px;
    height: 16px;
  }

  .p5-final-cta__trail {
    top: 10px;
    right: 24px;
    width: 135px;
    height: 70px;
    opacity: .28;
  }

  .p5-final-cta__orb--one {
    right: -5%;
    width: 76px;
    height: 76px;
  }

  .p5-final-cta__orb--two {
    bottom: -28px;
    left: 5%;
    width: 88px;
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p5-final-cta__sparkle,
  .p5-final-cta__dust,
  .salon-sparkle-foundation {
    animation: none;
  }

  .p5-final-cta__button,
  .p5-final-cta__arrow {
    transition: none;
  }

  .p5-final-cta__button:hover .p5-final-cta__arrow {
    transform: none;
  }
}
