.paper-section-heading {
  --paper-turn: -5deg;
  position: relative;
  gap: .65rem 1rem;
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.paper-section-heading h2 {
  width: fit-content;
  padding: .12em .3em .23em;
  background: #fff7df;
  color: #263b2d;
  box-shadow: .14em .13em #e0b982, 0 .25em .45em #3d291f45;
  border-radius: .03em .16em .04em .17em;
}

#services .paper-section-heading > p {
  flex-shrink: 0;
  width: fit-content;
  min-width: 0;
  padding: .36rem .57rem;
  color: #41392b;
  background: #f5e7ccee;
  border-radius: .16rem;
}

#services .service-grid { gap: clamp(1.2rem, 2.65vw, 2.3rem); }

#services .paper-package {
  --paper-turn: -7deg;
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: clamp(1.2rem, 2.5vw, 1.9rem) clamp(1rem, 2.15vw, 1.65rem) .72rem;
  color: #27372c;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.paper-bath {
  --package-paper: #d9e9e4;
  --package-fold: #adcdc1;
  --package-ink: #20473d;
  --package-tag: #2f5f54;
  --tape: #f2ca79;
  --cut: polygon(0 1%, 98.7% 0, 100% 5%, 99.3% 98.4%, 92% 99.4%, 44% 98.7%, 13% 100%, 1% 98.4%);
}

#services .paper-groom {
  --package-paper: #f6dacc;
  --package-fold: #d5a596;
  --package-ink: #713829;
  --package-tag: #874638;
  --tape: #e5a77e;
  --paper-turn: 8deg;
  --cut: polygon(1.1% 0, 99% 1.4%, 100% 96.7%, 97% 100%, 77% 99%, 32% 100%, 0 98.2%);
}

#services .paper-spa {
  --package-paper: #e8ecc7;
  --package-fold: #bdc590;
  --package-ink: #3d4929;
  --package-tag: #495635;
  --tape: #d2abce;
  --cut: polygon(0 2%, 55% 0, 91% .9%, 99.8% 0, 99.1% 98%, 83% 100%, 65% 99%, 16% 100%, 0 98.7%);
}

.paper-sheet { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.paper-sheet::before, .paper-sheet::after { position: absolute; content: ""; inset: 0; }

.paper-sheet::before {
  background: var(--package-fold);
  transform: rotate(1.25deg) translateY(3px);
  border-radius: .25rem .65rem .18rem .3rem;
  box-shadow: 0 4px 6px #402b2647, 0 15px 24px -6px #36251671, 0 23px 34px -16px #35272378;
}

.paper-groom .paper-sheet::before { transform: rotate(-1.45deg) translateY(3px); }
.paper-spa .paper-sheet::before { transform: rotate(1.4deg) translateY(3px); }

.paper-sheet::after {
  background:
    radial-gradient(circle, #403a2a18 .45px, transparent .7px) 0 0 / 4px 4px,
    linear-gradient(145deg, #fff9e599 0, transparent 47%), var(--package-paper);
  box-shadow: inset 0 0 0 2px #fff6e970;
  clip-path: var(--cut);
}

#services .paper-package::before {
  inset: -.62rem auto auto 12%;
  width: clamp(3rem, 7vw, 5.1rem);
  height: 1.25rem;
  background-color: var(--tape);
}

#services .paper-groom::before { inset-inline-start: 34%; transform: rotate(7deg); }
#services .paper-spa::before { inset-inline-start: 18%; transform: rotate(-9deg); }

#services .paper-package .service-top {
  justify-content: flex-start;
  min-height: 3.05rem;
  margin-bottom: .2rem;
  padding-inline-end: 4.2rem;
}

#services .paper-package .service-top span {
  display: inline-block;
  padding: .33rem .55rem;
  color: #fffaf0;
  background: var(--package-tag);
  clip-path: polygon(0 0, 85% 0, 100% 24%, 98% 75%, 87% 100%, 0 100%, 4% 53%);
  font-size: .75rem;
  font-weight: 750;
  transform: rotate(-3deg);
}

#services .paper-package h3 {
  margin: .25rem 0 .22rem;
  color: var(--package-ink);
  font-size: clamp(1.45rem, 2.9vw, 2.15rem);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .19em;
  text-decoration-color: #fff8e7;
  text-decoration-thickness: .2em;
}

#services .paper-package .service-description,
#services .paper-package .duration,
#services .paper-package .service-price span { color: #3a473e; }

#services .paper-package .service-price { color: var(--package-ink); margin-top: 1.2rem; }
#services .paper-package .duration { font-size: .78rem; }
#services .paper-package ul { padding-block: 1rem; gap: .35rem; }
#services .paper-package li::before { color: var(--package-tag); font-weight: 800; }

#services .paper-package .service-select {
  min-height: 46px;
  margin-top: auto;
  padding: .6rem .75rem;
  color: var(--package-ink);
  border: 1px solid var(--package-tag);
  border-radius: .15rem .52rem .16rem .45rem;
  background: #fff8e8ba;
  font-size: .92rem;
  text-align: left;
}

#services .paper-package .service-select:hover { background: #fffaf0; }

#services .section-footnote {
  width: fit-content;
  margin-top: 1.7rem;
  padding: .5rem .75rem;
  color: #40382c;
  background: #fff7e6e8;
  border-radius: .18rem;
  font-size: .81rem;
}

.paper-motif {
  position: absolute;
  top: .68rem;
  right: .79rem;
  width: 4rem;
  height: 3.65rem;
  background: #fff9e9;
  border-radius: 48% 52% 55% 45%;
  box-shadow: 1px 3px 0 #6447373c, 1px 6px 11px #48302a4d;
  pointer-events: none;
  transform: rotate(9deg);
}

.paper-motif i { position: absolute; display: block; }
.paper-duck { background: #ffefb9; }
.paper-duck .motif-body { top: 27px; right: 14px; width: 38px; height: 20px; border: 1px solid #b17533; border-radius: 3px 3px 22px 18px; background: #eab646; transform: rotate(8deg); }
.paper-duck .motif-body::after { position: absolute; content: ""; top: 4px; left: 6px; width: 14px; height: 7px; background: #c48c31; border-radius: 11px 1px 12px 3px; }
.paper-duck .motif-detail { top: 13px; right: 12px; width: 19px; height: 20px; border: 1px solid #b17533; border-bottom: 0; border-radius: 60% 60% 45% 45%; background: #eab646; }
.paper-duck .motif-detail::before { position: absolute; content: ""; top: 5px; right: 5px; width: 3px; height: 4px; border-radius: 50%; background: #553a2e; }
.paper-duck .motif-detail::after { position: absolute; content: ""; top: 8px; right: -7px; width: 9px; height: 6px; border-radius: 2px 55% 55% 2px; background: #c75739; }
.paper-duck .motif-accent { top: 10px; left: 16px; width: 9px; height: 9px; border: 1px solid #698f82; border-radius: 50%; background: #e4f0da; box-shadow: -4px 9px 0 -1px #e4f0da, -4px 9px 0 0 #698f82; }

.paper-bandana { background: #ffd9cd; transform: rotate(-10deg); }
.paper-bandana .motif-body {
  inset: 18px 9px 8px;
  clip-path: polygon(0 0, 100% 5%, 54% 100%);
  background:
    repeating-linear-gradient(90deg, #f3bb9677 0 5px, transparent 5px 11px),
    repeating-linear-gradient(0deg, #f3bb9677 0 5px, transparent 5px 11px), #aa493c;
}
.paper-bandana .motif-detail { inset: 15px 7px auto; height: 8px; border: 1px solid #803627; border-radius: 12px; background: #b54e40; transform: rotate(4deg); }
.paper-bandana .motif-accent { top: 20px; left: 30px; width: 10px; height: 10px; border: 1px solid #946028; border-radius: 50%; background: #f0c574; }

.paper-bottle { background: #e5e6ab; transform: rotate(12deg); }
.paper-bottle .motif-body { inset: 21px 17px 8px; display: grid; place-items: center; border: 1px solid #45664f; border-radius: 9px 9px 5px 5px; color: #375345; background: #a9c69a; }
.paper-bottle .motif-body::before { position: absolute; inset: 7px 4px 5px; content: ""; border-radius: 3px; background: #fef2d6; }
.paper-bottle .motif-body svg { position: relative; width: 15px; height: 15px; }
.paper-bottle .motif-detail { top: 13px; left: 27px; width: 12px; height: 10px; border: 1px solid #45664f; border-radius: 2px; background: #719976; }
.paper-bottle .motif-detail::before { position: absolute; content: ""; top: -4px; left: -1px; width: 17px; height: 4px; border-radius: 3px; background: #45664f; }
.paper-bottle .motif-accent { top: 18px; right: 7px; width: 6px; height: 8px; border: 1px solid #4a7e67; border-radius: 80% 50% 64% 45%; background: #d9eddd; transform: rotate(-27deg); }

#booking.booking-section {
  background: linear-gradient(105deg, #f4e3c13b, #dce5c849);
  border-color: #b29978;
}

#booking .demo-chip {
  width: fit-content;
  padding: .33rem .65rem;
  color: #5c362a;
  background: #f5d59e;
  box-shadow: 1px 3px 5px #4b302a44;
  border: 1px dashed #9c7141;
  border-radius: .18rem;
  transform: rotate(3deg);
}

#booking .booking-calendar, #booking .booking-summary {
  position: relative;
  color: #293b30;
  border-radius: .2rem .68rem .2rem .44rem;
  box-shadow: 0 4px 7px #48302b4f, 0 18px 30px -9px #3d2c2275;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#booking .booking-calendar {
  background: #fff9e9;
  border: 1px solid #b49b75;
  border-left: 4px solid #b9815d;
}

#booking .booking-summary {
  --paper-turn: 7deg;
  isolation: isolate;
  min-width: 0;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}

.paper-receipt {
  position: absolute;
  z-index: -1;
  inset: -1px;
  border: 1px solid #83946a;
  border-radius: inherit;
  background: #eaf0ce;
  box-shadow: 0 4px 7px #48302b4f, 0 18px 30px -9px #3d2c2275;
  pointer-events: none;
}

.paper-receipt::before {
  position: absolute;
  z-index: 1;
  inset: -.65rem 14% auto auto;
  width: 4.3rem;
  height: 1.2rem;
  content: "";
  background: repeating-linear-gradient(110deg, #ffffff35 0 3px, transparent 3px 7px), #dca5a0;
  clip-path: polygon(0 3%, 100% 0, 97% 24%, 100% 46%, 97% 72%, 100% 100%, 0 97%, 2% 53%);
  transform: rotate(9deg);
  pointer-events: none;
}

#booking .summary-title {
  gap: .6rem;
  padding-bottom: .65rem;
  border-color: #93a176;
  border-bottom-style: dashed;
}

#booking .summary-title h3 { color: #263b2d; font-size: clamp(1.03rem, 2.15vw, 1.3rem); }

#booking .summary-title svg {
  box-sizing: content-box;
  width: 1.12rem;
  height: 1.12rem;
  padding: .42rem;
  color: #405b37;
  background: #faf4d9;
  border: 1px dashed #748962;
  border-radius: 48% 52% 52% 48%;
  transform: rotate(-11deg);
}

#booking .form-step-title > span {
  color: #fff8e9;
  border: 1px solid #754736;
  border-radius: .23rem .15rem .35rem .16rem;
  background: #8c4e3c;
  transform: rotate(-6deg);
}

#booking .form-step-title h3 { font-size: clamp(.92rem, 2vw, 1.1rem); }
#booking .field input, #booking .field select, #booking .booking-draft textarea { color: #293b30; }
#booking .field input, #booking .field select { min-height: 44px; }
#booking .booking-note { padding: .55rem .62rem; background: #f7ead2; border-color: #d8c4a0; font-size: .78rem; }

#booking .booking-bottom-note {
  width: fit-content;
  padding: .4rem .6rem;
  color: #40382c;
  background: #fff7e6e8;
  border-radius: .18rem;
  font-size: .76rem;
}

@media (max-width: 45rem) {
  #services .service-grid { grid-template-columns: 1fr; gap: 1.55rem; }
  #services .paper-package { padding-inline: clamp(.95rem, 5vw, 1.7rem); }
  #services .paper-package .service-top { min-height: 2.65rem; }
  #services .paper-section-heading > p { margin-top: .65rem; }
  .paper-section-heading h2 { font-size: clamp(1.3rem, 6.15vw, 2.15rem); }
  #booking .booking-layout { gap: 1.4rem; }
  #booking .booking-summary { display: block; }
}

@media (max-width: 22rem) {
  #booking .booking-calendar { padding-inline: .57rem; }
  #booking .booking-summary { padding-inline: .9rem; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-paper-state="waiting"] { opacity: 0; }
  [data-paper-state="sticking"], [data-paper-state="sticking"] > [data-paper-surface] {
    animation: velvet-paper-stick 380ms cubic-bezier(.18, .72, .30, 1) var(--paper-delay, 0ms) both;
  }
  [data-paper-state="sticking"][data-paper-stable] { animation-name: velvet-paper-ink; }
  [data-paper-state]:focus-within, [data-paper-state]:focus-within > [data-paper-surface] { opacity: 1; animation: none; }

  @keyframes velvet-paper-stick {
    0% { opacity: 0; rotate: var(--paper-turn, -5deg); scale: .92; translate: 0 -7px; }
    36% { opacity: 1; }
    73% { opacity: 1; rotate: .65deg; scale: 1.012; translate: 0 0; }
    100% { opacity: 1; rotate: 0deg; scale: 1; translate: 0 0; }
  }

  @keyframes velvet-paper-ink {
    0% { opacity: 0; }
    44%, 100% { opacity: 1; }
  }
}
