/* Smile Shapers · reservation page */
body.reserve { background: var(--pearl); }
.r-hero { position: relative; padding: 130px 0 40px; overflow: hidden; }
.r-hero .hero-bg { inset: -20% -10% 0; }
.r-hero h1 { font-size: clamp(46px, 7vw, 100px); letter-spacing: -.055em; line-height: .92; }
.r-hero h1 em.s { color: var(--teal); }
.r-hero p { font-size: 18px; color: var(--ink-2); max-width: 560px; margin: 18px 0 0; }
.r-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; padding-bottom: 120px; }

/* stepper */
.stepper { display: flex; align-items: center; gap: 0; margin: 0 0 22px; position: relative; }
.stepper .rail { position: absolute; left: 22px; right: 22px; top: 50%; height: 3px; background: var(--line); border-radius: 3px; }
.stepper .rail i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal), var(--teal-2)); border-radius: 3px; transform-origin: 0 50%; transform: scaleX(0); transition: transform .7s var(--ease); }
.stepper .st { position: relative; z-index: 1; flex: 1; display: flex; justify-content: center; }
.stepper .st:first-child { justify-content: flex-start; } .stepper .st:last-child { justify-content: flex-end; }
.stepper .st b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink-3); transition: all .4s var(--spring); }
.stepper .st.done b { background: var(--teal); color: #fff; box-shadow: none; }
.stepper .st.on b { background: var(--navy); color: #fff; box-shadow: 0 0 0 6px rgba(38, 189, 185, .25); transform: scale(1.1); }
.stepper .st span { position: absolute; top: 52px; font-size: 12px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.stepper .st.on span { color: var(--ink); }

.panel { background: #fff; border-radius: 34px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(16, 42, 58, .45); margin-top: 34px; min-height: 520px; position: relative; overflow: hidden; }
.pane { display: none; }
.pane.on { display: block; animation: paneIn .6s var(--ease) both; }
.pane.back { animation-name: paneBack; }
@keyframes paneIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-40px); } }
.pane h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.04em; }
.pane h2 em.s { color: var(--teal-deep); }
.pane .hint { color: var(--ink-3); margin: 10px 0 26px; }

.tpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tpick button { text-align: left; border: 0; border-radius: 22px; padding: 18px; background: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; gap: 12px; transition: all .3s var(--ease); position: relative; }
.tpick button:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--teal), 0 16px 30px -20px rgba(16, 42, 58, .5); }
.tpick button .ic { width: 46px; height: 46px; border-radius: 15px; background: #fff; display: grid; place-items: center; color: var(--teal-deep); transition: all .3s; }
.tpick button .ic svg { width: 24px; height: 24px; }
.tpick button b { font-family: var(--display); font-size: 16.5px; letter-spacing: -.02em; line-height: 1.15; }
.tpick button small { color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.tpick button.sel { background: var(--navy); color: #fff; box-shadow: 0 20px 34px -18px rgba(16, 42, 58, .7); }
.tpick button.sel .ic { background: var(--teal); color: #fff; transform: rotate(-8deg); }
.tpick button.sel small { color: rgba(255, 255, 255, .6); }
.tpick button.sel::after { content: ''; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; animation: popIn .4s var(--spring) both; transform: scale(0); }

.month { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.month .arrows { display: flex; gap: 6px; }
.month .arrows button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mint); display: grid; place-items: center; }
.month .arrows button:disabled { opacity: .35; cursor: default; }
.month .arrows svg { width: 18px; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(76px, 1fr); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { scroll-snap-align: start; border: 0; border-radius: 22px; padding: 14px 6px; background: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; gap: 2px; justify-items: center; transition: all .3s var(--ease); }
.day small { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.day b { font-family: var(--display); font-size: 30px; letter-spacing: -.04em; line-height: 1.1; }
.day i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--teal-deep); height: 15px; }
.day:hover:not(:disabled) { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--teal); }
.day.sel { background: var(--teal); color: #fff; box-shadow: 0 16px 30px -14px rgba(38, 189, 185, .9); }
.day.sel small, .day.sel i { color: rgba(255, 255, 255, .85); }
.day:disabled { opacity: .38; cursor: not-allowed; background: repeating-linear-gradient(135deg, var(--pearl) 0 8px, #eef3f2 8px 16px); }
.slots-h { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 26px 0 12px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot { border: 0; height: 52px; border-radius: 16px; background: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; transition: all .25s var(--ease); }
.slot:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal-deep); }
.slot.sel { background: var(--navy); color: #fff; box-shadow: none; transform: scale(1.04); }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.closed-note { padding: 18px; border-radius: 18px; background: var(--mint); color: var(--teal-deep); font-weight: 600; }

.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.fld { position: relative; }
.fld input, .fld textarea { width: 100%; height: 62px; border-radius: 18px; border: 0; background: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--line); padding: 24px 18px 8px; font: 600 16px var(--body); color: var(--ink); outline: none; transition: box-shadow .25s; }
.fld textarea { height: 110px; resize: none; padding-top: 30px; }
.fld label { position: absolute; left: 18px; top: 20px; font-size: 15px; color: var(--ink-3); pointer-events: none; transition: all .25s var(--ease); font-weight: 500; }
.fld input:focus, .fld textarea:focus { box-shadow: inset 0 0 0 2px var(--teal), 0 0 0 5px rgba(38, 189, 185, .15); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { top: 9px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.fld.bad input { box-shadow: inset 0 0 0 2px var(--coral); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.seg { display: inline-flex; padding: 5px; border-radius: 99px; background: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--line); position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 11px 20px; border-radius: 99px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: color .3s; }
.seg button.on { color: #fff; }
.seg .pill { position: absolute; top: 5px; bottom: 5px; border-radius: 99px; background: var(--navy); transition: all .4s var(--spring); }
.fld-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }

.navbtns { display: flex; justify-content: space-between; gap: 10px; margin-top: 34px; align-items: center; }
.navbtns .back { border: 0; background: none; font-weight: 700; color: var(--ink-3); display: inline-flex; gap: 8px; align-items: center; padding: 10px 4px; }
.navbtns .back svg { width: 18px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.review { display: grid; gap: 2px; border-radius: 24px; overflow: hidden; margin-top: 8px; }
.review div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; background: var(--pearl); }
.review span { color: var(--ink-3); font-weight: 600; font-size: 14.5px; }
.review b { text-align: right; font-weight: 700; }
.review button { border: 0; background: none; color: var(--teal-deep); font-weight: 800; font-size: 13px; margin-left: 10px; }
.wa-note { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: #e9fbef; color: #13693a; font-size: 14.5px; font-weight: 600; }
.wa-note svg { width: 26px; height: 26px; flex: none; color: #1fa855; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .8); height: 62px; font-size: 17px; }
.btn-wa::before { background: #128c4a; }

/* smile pass */
.pass-wrap { position: sticky; top: 100px; margin-top: 34px; perspective: 1200px; }
.pass { position: relative; border-radius: 30px; background: var(--navy); color: #fff; overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease); box-shadow: 0 40px 80px -40px rgba(16, 42, 58, .8); }
.pass::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, rgba(38, 189, 185, .45), transparent 60%), radial-gradient(60% 40% at 0% 100%, rgba(255, 207, 90, .18), transparent 60%); }
.pass .shimmer { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .14) 45%, transparent 60%); background-size: 250% 100%; animation: shim 4s ease-in-out infinite; pointer-events: none; }
@keyframes shim { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.pass-top { position: relative; padding: 24px 24px 20px; display: flex; justify-content: space-between; align-items: center; }
.pass-top img { width: 52px; }
.pass-top .k { text-align: right; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2); }
.pass-top .k b { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -.02em; color: #fff; text-transform: none; }
.pass-body { position: relative; padding: 4px 24px 22px; display: grid; gap: 16px; }
.pass-row small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.pass-row b { display: block; font-family: var(--display); font-size: 21px; letter-spacing: -.02em; margin-top: 3px; min-height: 26px; }
.pass-row b.empty { color: rgba(255, 255, 255, .28); }
.pass-row b.pop { animation: passPop .5s var(--spring); }
@keyframes passPop { 0% { transform: scale(.85); opacity: 0; } }
.pass-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.perf { position: relative; height: 26px; }
.perf::before { content: ''; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .2); }
.perf i { position: absolute; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--pearl); }
.perf i:first-child { left: -13px; } .perf i:last-child { right: -13px; }
.pass-foot { position: relative; padding: 14px 24px 24px; display: flex; align-items: center; gap: 16px; }
.code { width: 74px; height: 74px; border-radius: 14px; background: #fff; padding: 7px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 1px; flex: none; }
.code i { background: var(--navy); border-radius: 1px; }
.code i.o { background: transparent; }
.pass-foot p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .6); line-height: 1.45; }
.pass-help { margin-top: 16px; padding: 18px 20px; border-radius: 24px; background: #fff; box-shadow: 0 1px 0 var(--line); display: flex; gap: 14px; align-items: center; font-size: 14.5px; }
.pass-help svg { width: 42px; height: 42px; flex: none; padding: 10px; border-radius: 14px; background: var(--mint); color: var(--teal-deep); }
.pass-help b { display: block; font-family: var(--display); font-size: 17px; }

/* success */
.done { text-align: center; padding: 30px 0 10px; }
.done .big-tooth { width: 150px; margin: 0 auto 10px; animation: hop 1s var(--spring) both; }
@keyframes hop { from { transform: translateY(40px) scale(.5); opacity: 0; } }
.done h2 { font-size: clamp(38px, 5vw, 60px); }
.done p { color: var(--ink-2); max-width: 460px; margin: 14px auto 0; }
.done .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 170; }

@media (max-width: 980px) {
  .r-layout { grid-template-columns: 1fr; }
  .pass-wrap { position: relative; top: 0; margin-top: 0; }
  .pass-help { display: none; }
}
@media (max-width: 560px) {
  .fgrid { grid-template-columns: 1fr; }
  .stepper .st span { display: none; }
  .panel { border-radius: 26px; }
  .tpick { grid-template-columns: 1fr 1fr; }
  .pass-two { grid-template-columns: 1fr 1fr; }
}
.r-layout > * { min-width: 0; }
@media (max-width: 560px) { .reserve .nav .btn { display: none; } .pass-body { gap: 12px; } .pass-row b { font-size: 18px; } }
