/* =========================================================
   Reserve your place — booking form + footer
   ========================================================= */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.rsv { scroll-margin-top: 70px; }           /* clears the fixed nav when jumped to via #reserve */

.rsv {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(40% 50% at 50% 30%, rgba(110, 30, 210, .22), transparent 72%),
    radial-gradient(30% 45% at 6% 90%, rgba(150, 50, 255, .32), transparent 70%),
    radial-gradient(30% 45% at 94% 90%, rgba(150, 50, 255, .32), transparent 70%),
    #050307;
}
.rsv::before {                              /* seamless join with the FAQ above */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 100px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, #050307, rgba(5, 3, 7, 0));
}
.rsv__sky {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- tilted orbits with travelling planets (behind the card) ---------- */
.rsv__orbits {
  position: absolute;
  left: 50%; top: 50%;
  width: min(1240px, 128%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.rsv__orbit {
  fill: none;
  stroke: url(#rsvOrbit);
  stroke-width: 1.4;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 5px rgba(247, 196, 124, .55));
  transition: stroke-dashoffset 2.6s var(--ease, ease) .2s;
}
.rsv__orbit--in { stroke-width: .9; opacity: .5; transition-delay: .5s; }
.rsv.is-in .rsv__orbit { stroke-dashoffset: 0; }
.rsv__comet {                               /* bright streak racing along each orbit */
  fill: none;
  stroke: #fff2d8;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 0 1000;
  filter: drop-shadow(0 0 6px #f7c47c);
  opacity: 0;
  transition: opacity 1s ease 2.4s;
}
.rsv.is-in .rsv__comet { opacity: 1; stroke-dasharray: 60 940; animation: rComet 7s linear 2.4s infinite; }
.rsv.is-in .rsv__comet--in { stroke-width: 1.6; animation-duration: 9s; animation-direction: reverse; }
.rsv__planet { opacity: 0; transition: opacity 1.2s ease 1.8s; }
.rsv__planet circle { filter: drop-shadow(0 0 10px rgba(190, 120, 255, .9)); }
.rsv__planet--gold circle { filter: drop-shadow(0 0 8px rgba(247, 196, 124, .95)); }
.rsv.is-in .rsv__planet { opacity: 1; }

/* ---------- card ---------- */
.rsv__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(8px, 1.5vw, 24px) clamp(16px, 3vw, 40px) clamp(40px, 5vw, 72px);
}
.rsv__card {
  --mx: 50%; --my: 0%;
  position: relative;
  padding: clamp(28px, 3.4vw, 44px) clamp(18px, 5vw, 64px) clamp(26px, 3vw, 36px);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(420px 240px at var(--mx) var(--my), rgba(180, 100, 255, .14), transparent 70%),
    linear-gradient(180deg, rgba(70, 26, 120, .5), rgba(24, 9, 44, .62) 55%, rgba(30, 10, 56, .66));
  border: 1px solid rgba(200, 150, 255, .32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 0 0 1px rgba(160, 80, 255, .08),
    0 0 60px rgba(130, 40, 240, .35),
    0 30px 80px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  overflow: hidden;
  opacity: 0;
  transform: perspective(1400px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(36px) scale(.98);
  transition: opacity 1s var(--ease, ease), transform 1.1s var(--ease, ease);
}
.rsv.is-in .rsv__card { opacity: 1; transform: perspective(1400px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.rsv.is-in .rsv__card.is-tilting { transition: opacity 1s var(--ease, ease), transform .25s ease-out; }
.rsv__card > * { position: relative; z-index: 1; }
.rsv__card > .rsv__halo, .rsv__card > .rsv__aurora { position: absolute; z-index: 0; }
.rsv__halo {                                /* bright arch of light along the top edge */
  left: 18%; right: 18%; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(247, 196, 124, .95), rgba(255, 240, 215, 1), rgba(210, 160, 255, .95), transparent);
  box-shadow: 0 0 18px 2px rgba(220, 160, 255, .55), 0 0 60px 10px rgba(160, 70, 255, .25);
  opacity: 0;
  transform: scaleX(.2);
  transition: opacity 1s ease .6s, transform 1.4s var(--ease, ease) .6s;
}
.rsv.is-in .rsv__halo { opacity: 1; transform: none; animation: rHalo 5s ease-in-out 2s infinite; }
.rsv__aurora {                              /* slow-moving colour wash inside the glass */
  inset: -40%;
  background:
    radial-gradient(30% 25% at 30% 30%, rgba(170, 80, 255, .16), transparent 70%),
    radial-gradient(25% 22% at 70% 60%, rgba(247, 196, 124, .08), transparent 70%),
    radial-gradient(28% 24% at 45% 80%, rgba(120, 40, 230, .14), transparent 70%);
  animation: rAurora 22s linear infinite;
  pointer-events: none;
}
.rsv__card::before {                        /* slow running light on the rim */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--rang, 0deg), transparent 0 72%, rgba(247, 196, 124, .9) 82%, rgba(210, 160, 255, .9) 90%, transparent 97%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: rRim 9s linear infinite;
}

.rsv__title {
  margin: 0;
  font-family: "Crimson Text", Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.05;
  color: #f7f3fb;
  text-shadow: 0 0 30px rgba(190, 120, 255, .35);
}
.rsv__when {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin: 12px 0 0;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  color: #efe8f8;
}
.rsv__cal {
  width: 22px; height: 22px;
  fill: none;
  stroke: #f7c47c;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-right: 4px;
}
.rsv__title, .rsv__when {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease, ease) .3s, transform .8s var(--ease, ease) .3s;
}
.rsv__when { transition-delay: .42s; }
.rsv.is-in .rsv__title, .rsv.is-in .rsv__when { opacity: 1; transform: none; }

/* ---------- form fields ---------- */
.rsv__form { margin-top: clamp(22px, 2.6vw, 32px); }
.rsv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px clamp(12px, 1.6vw, 20px);
  text-align: left;
}
.rfield { position: relative; min-width: 0; }
.rfield--full { grid-column: 1 / -1; }
.rfield {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease);
}
.rsv.is-in .rfield { opacity: 1; transform: none; }
.rsv.is-in .rfield:nth-child(1) { transition-delay: .55s; }
.rsv.is-in .rfield:nth-child(2) { transition-delay: .62s; }
.rsv.is-in .rfield:nth-child(3) { transition-delay: .69s; }
.rsv.is-in .rfield:nth-child(4) { transition-delay: .76s; }
.rsv.is-in .rfield:nth-child(5) { transition-delay: .83s; }

.rfield__box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 8px 0 16px;
  border-radius: 12px;
  background: rgba(20, 8, 38, .6);
  border: 1px solid rgba(190, 140, 250, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), inset 0 -8px 20px rgba(90, 20, 170, .12);
  cursor: text;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.rfield__box:hover { border-color: rgba(200, 150, 255, .42); }
.rfield__box:focus-within {
  border-color: rgba(205, 155, 255, .75);
  background: rgba(34, 12, 62, .7);
  box-shadow: 0 0 0 3px rgba(150, 70, 255, .2), 0 0 24px rgba(150, 70, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.rfield__icon {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  fill: none;
  stroke: #cdb4ef;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.rfield__icon .rfield__wa { stroke-width: 1.1; }
.rfield__box:focus-within .rfield__icon { stroke: #f7c47c; transform: scale(1.12) rotate(-6deg); }
.rfield__prefix {
  flex: 0 0 auto;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: 15px;
  color: #efe8f8;
}
.rfield input, .rfield select {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: 15px;
  color: #f7f3fb;
}
.rfield input::placeholder { color: #a99bbd; transition: opacity .3s, transform .3s; }
.rfield input:focus::placeholder { opacity: .5; transform: translateX(4px); }
.rfield input:-webkit-autofill {
  -webkit-text-fill-color: #f7f3fb;
  transition: background-color 9999s ease 0s;
}

/* coupon */
.rfield__apply {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(180deg, #9a3cff, #7012e6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 14px rgba(138, 23, 255, .45);
  transition: filter .3s, box-shadow .3s, transform .2s;
}
.rfield__apply > span { position: relative; z-index: 1; }
.rfield__apply:hover { filter: brightness(1.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 20px rgba(160, 60, 255, .7); }
.rfield__apply:active { transform: scale(.96); }
.rfield__apply:focus-visible { outline: 2px solid rgba(247, 196, 124, .8); outline-offset: 2px; }
.rfield--coupon.is-applied .rfield__box { border-color: rgba(247, 196, 124, .6); }
.rfield--coupon.is-applied .rfield__apply { background: linear-gradient(180deg, #3e1a6e, #2a0f4d); box-shadow: inset 0 0 0 1px rgba(247, 196, 124, .55); color: #f7c47c; }

/* select */
.rfield--select .rfield__box { cursor: pointer; padding-right: 16px; }
.rfield select {
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
  padding-right: 8px;
}
.rfield select:invalid, .rfield select.is-empty { color: #a99bbd; }
.rfield select option { color: #f7f3fb; background: #1d0b36; }
.rfield__chev {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  fill: none;
  stroke: #e3d4f7;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: transform .4s var(--ease, ease), stroke .3s;
}
.rfield--select .rfield__box:focus-within .rfield__chev { transform: rotate(180deg); stroke: #f7c47c; }

/* validation */
.rfield__err {
  display: block;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  padding-left: 4px;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: 12.5px;
  color: #ff9cc6;
  opacity: 0;
  transition: max-height .3s var(--ease, ease), opacity .3s, margin .3s;
}
.rfield.is-error .rfield__err, .rfield.is-note .rfield__err { max-height: 40px; opacity: 1; margin-top: 6px; }
.rfield.is-note .rfield__err { color: #f7c47c; }
.rfield.is-error .rfield__box { border-color: rgba(255, 120, 180, .7); box-shadow: 0 0 0 3px rgba(255, 90, 160, .14); }
.rfield.is-error .rfield__icon { stroke: #ff9cc6; }
.rfield.is-shake .rfield__box { animation: rShake .45s cubic-bezier(.36, .07, .19, .97); }
.rfield.is-valid .rfield__box { border-color: rgba(180, 230, 200, .35); }

/* ---------- submit ---------- */
.rsv__submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 360px);
  margin-top: clamp(22px, 2.6vw, 30px);
  padding: 18px 34px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  color: #fff;
  background: linear-gradient(180deg, #a447ff, #7012e6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(210, 160, 255, .35), 0 10px 34px rgba(138, 23, 255, .6);
  opacity: 0;
  transition: opacity .8s var(--ease, ease) .95s, filter .3s, box-shadow .35s, transform .35s var(--ease, ease);
}
.rsv.is-in .rsv__submit { opacity: 1; }
.rsv__submit > *:not(.ripple__dot) { position: relative; z-index: 1; }
.rsv__submit::after {                       /* shimmer */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -40%;
  width: 28%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  animation: rShine 4.5s ease-in-out 2.4s infinite;
  pointer-events: none;
}
.rsv__submit:hover, .rsv__submit:focus-visible {
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 1px rgba(230, 190, 255, .55), 0 0 0 6px rgba(170, 90, 255, .16), 0 14px 44px rgba(160, 60, 255, .8);
  outline: none;
}
.rsv__submit-arrow {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s var(--ease, ease);
}
.rsv__submit:hover .rsv__submit-arrow { transform: translateX(5px); }
.rsv__spinner {
  position: absolute !important;
  left: 50%; top: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  opacity: 0;
  animation: rSpin .8s linear infinite;
}
.rsv__submit.is-loading { pointer-events: none; }
.rsv__submit.is-loading .rsv__submit-label, .rsv__submit.is-loading .rsv__submit-arrow { opacity: 0; }
.rsv__submit.is-loading .rsv__spinner { opacity: 1; }
.rsv .ripple__dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%);
  transform: scale(0);
  pointer-events: none;
  z-index: 0;
  animation: rRipple .7s var(--ease, ease) forwards;
}

.rsv__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: clamp(13px, 1.1vw, 14.5px);
  color: #ddd3ea;
  opacity: 0;
  transition: opacity .8s ease 1.1s;
}
.rsv.is-in .rsv__note { opacity: 1; }
.rsv__note svg { width: 18px; height: 18px; flex: 0 0 auto; }
.rsv__shield { fill: #8a3df0; stroke: #c99bff; stroke-width: 1.2; }
.rsv__tick {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12;
  stroke-dashoffset: 12;
  transition: stroke-dashoffset .6s ease 1.5s;
}
.rsv.is-in .rsv__tick { stroke-dashoffset: 0; }

/* ---------- steps (line fills as the form is completed) ---------- */
.rsv__steps {
  --progress: 0;
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(24px, 3vw, 36px) auto 0;
  padding: 0;
  max-width: 760px;
  opacity: 0;
  transition: opacity .8s ease 1.2s;
}
.rsv.is-in .rsv__steps { opacity: 1; }
.rsv__steps::before, .rsv__steps::after {   /* track + fill between the circles */
  content: "";
  position: absolute;
  left: 16.66%; right: 16.66%;
  top: 17px;
  height: 1px;
}
.rsv__steps::before { background: rgba(200, 160, 255, .25); }
.rsv__steps::after {
  right: auto;
  width: calc(66.67% * var(--progress));
  height: 2px;
  top: 16.5px;
  background: linear-gradient(90deg, #b46bff, #f7c47c);
  box-shadow: 0 0 10px rgba(200, 140, 255, .8);
  transition: width .7s var(--ease, ease);
}
.rstep {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rstep__num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: 14px;
  color: #efe8f8;
  background: #1a0a31;
  border: 1px solid rgba(200, 160, 255, .45);
  box-shadow: 0 0 14px rgba(150, 70, 255, .3);
  transition: background .4s, border-color .4s, box-shadow .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1), color .4s;
}
.rstep__label {
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: clamp(12.5px, 1.1vw, 14.5px);
  color: #ddd3ea;
  transition: color .4s;
}
.rstep.is-active .rstep__num {
  background: radial-gradient(circle at 35% 30%, #c98bff, #7a1fe6);
  border-color: rgba(247, 196, 124, .8);
  box-shadow: 0 0 20px rgba(190, 110, 255, .8);
  transform: scale(1.1);
  color: #fff;
}
.rstep.is-active .rstep__label { color: #fff; }
.rstep:hover .rstep__num { transform: scale(1.12); }

/* ---------- footer ---------- */
.sfoot {
  position: relative;
  background: #07040c;
  border-top: 1px solid rgba(190, 140, 250, .16);
}
.sfoot::before {                            /* glow line along the top edge */
  content: "";
  position: absolute;
  left: 10%; right: 10%; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 120, 255, .7), rgba(247, 196, 124, .7), rgba(190, 120, 255, .7), transparent);
}
.sfoot__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: 13.5px;
  color: #cfc4de;
}
.sfoot__inner > * + * { position: relative; }
.sfoot__tag, .sfoot__links, .sfoot__mail, .sfoot__copy { padding-left: clamp(12px, 1.6vw, 22px); border-left: 1px solid rgba(200, 160, 255, .22); }
.sfoot__logo {
  flex: 0 0 auto;
  display: block;
  width: 190px;
  transition: filter .3s, transform .3s var(--ease, ease);
}
.sfoot__logo img { display: block; width: 100%; height: auto; }
.sfoot__logo:hover { filter: drop-shadow(0 0 10px rgba(190, 110, 255, .6)); transform: translateY(-1px); }
.sfoot__tag { flex: 1 1 auto; min-width: 250px; margin: 0; max-width: 360px; line-height: 1.55; }
.sfoot__links, .sfoot__mail, .sfoot__copy { flex: 0 0 auto; white-space: nowrap; }
.sfoot__links { display: flex; align-items: center; gap: 10px; }
.sfoot__links span { color: rgba(200, 160, 255, .4); }
.sfoot__links a, .sfoot__mail {
  color: #e7def2;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .3s, background-size .35s var(--ease, ease);
}
.sfoot__links a:hover, .sfoot__mail:hover { color: #fff; background-size: 100% 1px; }
.sfoot__mail { display: inline-flex; align-items: center; gap: 8px; background-position: 26px 100%; }
.sfoot__mail svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sfoot__copy { margin: 0 0 0 auto; white-space: nowrap; }

/* ---------- keyframes ---------- */
@property --rang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes rRim    { to { --rang: 360deg; } }
@keyframes rDrift  { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -10px); } }
@keyframes rShine  { 0%, 60% { left: -40%; } 100% { left: 130%; } }
@keyframes rRipple { to { transform: scale(1); opacity: 0; } }
@keyframes rSpin   { to { transform: rotate(360deg); } }
@keyframes rShake  { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {           /* footer stacks before its single row gets too wide */
  .sfoot__inner { flex-wrap: wrap; justify-content: center; text-align: center; row-gap: 12px; }
  .sfoot__tag, .sfoot__links, .sfoot__mail, .sfoot__copy { border-left: 0; padding-left: 0; }
  .sfoot__tag { flex: 1 1 100%; max-width: none; order: 1; }
  .sfoot__logo { order: 0; flex-basis: 100%; max-width: 190px; margin: 0 auto; }
  .sfoot__links { order: 2; }
  .sfoot__mail { order: 3; }
  .sfoot__copy { order: 4; margin: 0; flex-basis: 100%; }
}
@media (max-width: 640px) {
  .rsv__grid { grid-template-columns: 1fr; }
  .rsv__card { border-radius: 22px; }
  .rsv__submit { width: 100%; padding: 16px 20px; }
  .rsv__orbits { width: 150%; }
}
@media (prefers-reduced-motion: reduce) {
  .rsv *, .rsv *::before, .rsv *::after { animation: none !important; }
  .rsv__card, .rsv__title, .rsv__when, .rfield, .rsv__submit, .rsv__note, .rsv__steps, .rsv__planet, .rsv__halo { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rsv__orbit, .rsv__tick { stroke-dashoffset: 0 !important; transition: none !important; }
  .rsv__spinner { animation: rSpin .8s linear infinite !important; }
}

/* =========================================================
   Interaction polish
   ========================================================= */
/* focus: glowing line sweeps along the bottom of the field */
.rfield__box::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #c58bff, #f7c47c, #c58bff, transparent);
  box-shadow: 0 0 10px rgba(200, 140, 255, .8);
  transform: scaleX(0);
  transition: transform .5s var(--ease, ease);
  pointer-events: none;
}
.rfield__box:focus-within::after { transform: scaleX(1); }

/* valid: tick pops in at the end of the field */
.rfield__ok {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-right: 6px;
  fill: none;
  stroke: #9ff0c4;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
  opacity: 0;
  transition: stroke-dashoffset .45s var(--ease, ease), opacity .2s;
}
.rfield.is-valid .rfield__ok { stroke-dashoffset: 0; opacity: 1; }
.rfield.is-valid .rfield__icon { stroke: #c8f5dc; }

/* submit: breathing aura ring (outline sits outside the clipped button) */
.rsv.is-in .rsv__submit { animation: rAura 2.6s ease-out 2s infinite; }
.rsv__submit:hover, .rsv__submit:focus-visible { animation: none; }

/* steps: a light travels along the track; active step pulses */
.rsv__steps::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 228, 180, .95), transparent) no-repeat,
    rgba(200, 160, 255, .25);
  background-size: 16% 100%, 100% 100%;
  background-position: -20% 0, 0 0;
}
.rsv.is-in .rsv__steps::before { animation: rTrack 3.6s ease-in-out 2s infinite; }
.rstep__num { position: relative; }
.rstep.is-active .rstep__num::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(247, 196, 124, .7);
  animation: rStepPulse 2.2s ease-out infinite;
}

@keyframes rComet     { to { stroke-dashoffset: -1000; } }
@keyframes rHalo      { 0%, 100% { opacity: .85; } 50% { opacity: 1; box-shadow: 0 0 24px 3px rgba(230, 180, 255, .7), 0 0 80px 14px rgba(170, 80, 255, .3); } }
@keyframes rAurora    { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes rAura      { 0% { outline: 2px solid rgba(190, 120, 255, .6); outline-offset: 0; } 100% { outline: 2px solid rgba(190, 120, 255, 0); outline-offset: 14px; } }
@keyframes rTrack     { 0% { background-position: -20% 0, 0 0; } 100% { background-position: 120% 0, 0 0; } }
@keyframes rStepPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .rfield__ok { transition: none; }
}

/* =========================================================
   Custom dropdown for "Loop you want to explore" (reserve.js builds it; native select stays hidden)
   ========================================================= */
.rsel__native {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; opacity: 0 !important;
}
.rsel__btn {
  flex: 1 1 auto; min-width: 0;
  align-self: stretch;
  padding: 0 8px 0 0;
  border: 0; background: none;
  color: #f7f3fb;
  font: inherit;
  text-align: left;
  cursor: pointer;
  outline: none;
}
.rsel__btn.is-empty { color: #a99bbd; }
.rsel__value { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rfield--select.rsel--open .rfield__box {
  border-color: rgba(247, 196, 124, .65);
  box-shadow: 0 0 0 3px rgba(170, 90, 255, .2), 0 10px 30px -10px rgba(138, 23, 255, .6);
}
.rfield--select.rsel--open .rfield__chev { transform: rotate(180deg); stroke: #f7c47c; }
.rfield--select.rsel--open .rfield__icon { stroke: #f7c47c; transform: scale(1.12) rotate(-6deg); }
.rfield--select:not(.rsel--open) .rfield__box:focus-within .rfield__chev { transform: none; }
.rfield--select.rsel--picked .rfield__box { animation: rselPick .6s var(--ease, ease); }
@keyframes rselPick { 40% { box-shadow: 0 0 0 6px rgba(247, 196, 124, .22); } }

/* the open field (and the card child holding it) must paint above the rest of the card's content */
.rfield.rsel--open { z-index: 40; }
.rsv__card > *:has(.rsel--open) { z-index: 40; }
.rsel__list {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  margin: 0;
  padding: 8px;
  list-style: none;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(150, 60, 255, .22), transparent 60%),
    linear-gradient(170deg, #26103f, #150826);
  border: 1px solid rgba(200, 150, 255, .3);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 0 40px -10px rgba(138, 23, 255, .55);
  transform-origin: top center;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(.97);
  transition: opacity .22s ease, transform .3s var(--ease, ease), visibility 0s linear .3s;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 150, 255, .35) transparent;
}
.rsel--up .rsel__list { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; transform: translateY(6px) scale(.97); }
.rsel--open .rsel__list { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .35s var(--ease, ease), visibility 0s; }

.rsel__opt {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  color: #efe8f8;
  transition: background .2s, color .2s;
}
.rsel--open .rsel__opt { animation: rselIn .35s var(--ease, ease) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes rselIn { from { opacity: 0; transform: translateY(-4px); } }
.rsel__opt + .rsel__opt { margin-top: 2px; }
.rsel__opt.is-active { background: rgba(160, 80, 255, .2); }
.rsel__opt.is-selected { background: linear-gradient(90deg, rgba(247, 196, 124, .16), rgba(160, 80, 255, .12)); }
.rsel__dot {
  flex: none;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid rgba(200, 150, 255, .6);
  transition: background .2s, border-color .2s, box-shadow .2s, transform .25s var(--ease, ease);
}
.rsel__opt.is-active .rsel__dot { border-color: #f7c47c; transform: scale(1.15); }
.rsel__opt.is-selected .rsel__dot { background: #f7c47c; border-color: #f7c47c; box-shadow: 0 0 10px rgba(247, 196, 124, .8); }
.rsel__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.rsel__name { font-size: 14.5px; font-weight: 500; line-height: 1.25; }
.rsel__hint { font-size: 12px; line-height: 1.3; color: #a99bbd; }
.rsel__opt.is-active .rsel__hint, .rsel__opt.is-selected .rsel__hint { color: #cbbbe0; }
.rsel__check {
  flex: none;
  width: 18px; height: 18px;
  fill: none; stroke: #f7c47c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: scale(.6);
  transition: opacity .2s, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.rsel__opt.is-selected .rsel__check { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rsel__list, .rsel--open .rsel__opt { transition: none; animation: none; }
}
