/* =========================================================
   «صوتك يهمنا» — the page /your-voice-matters/ (assets/js/voice/page.js).
   On top of page.css (the service pages' tokens, bar, buttons and
   booking fields). The service's own look, as on the home scene
   (xp-voice.css): navy, the gold line icons with a soft fill, the
   logo medallion, the white heart. Mobile first, 280px → desktop.
========================================================= */

.vm-body {
  background:
    radial-gradient(circle at 85% -10%, rgba(31, 94, 151, .28), transparent 42%),
    radial-gradient(circle at 10% 110%, rgba(var(--gold-rgb), .1), transparent 40%),
    var(--ink);
  background-attachment: fixed;
}

.vm {
  display: grid;
  gap: 22px;
  max-width: 760px;
  padding-top: 12px;
}

.vm-loading {
  padding: 40px 0;
  text-align: center;
  color: var(--text-3);
}

.vm[data-state="ready"] .vm-loading {
  display: none;
}

/* ---------- the icons (xp-voice.css .vo-icon: the same drawing language) ---------- */

.vm-icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.vm-icon .duo { fill: currentColor; fill-opacity: .22; }
.vm-icon .dot { fill: currentColor; stroke: none; }
.vm-icon .beat,
.vm-icon .twinkle,
.vm-icon .piece,
.vm-icon .flame,
.vm-icon .dot,
.vm-icon .drop { transform-box: fill-box; transform-origin: center; }
.vm-icon .flame { transform-origin: 50% 100%; }

.vm-icon--heart {
  fill: #fff;
  stroke: none;
}

/* the living details play on the chosen card and in the popup only */
.vm-card[aria-checked="true"] .vm-icon .rays,
.vm-form__icon .rays,
.vm-done__icon .rays { animation: vm-rays 1s ease-in-out infinite; }
.vm-card[aria-checked="true"] .vm-icon .drop,
.vm-form__icon .drop,
.vm-done__icon .drop { animation: vm-drop 1s ease-in infinite; }
.vm-card[aria-checked="true"] .vm-icon .dot,
.vm-form__icon .dot,
.vm-done__icon .dot { animation: vm-type 1s ease-in-out infinite; }
.vm-card[aria-checked="true"] .vm-icon .beat,
.vm-form__icon .beat,
.vm-done__icon .beat { animation: vm-beat 1s ease-in-out infinite; }
.vm-card[aria-checked="true"] .vm-icon .flame,
.vm-form__icon .flame,
.vm-done__icon .flame { animation: vm-flame 1.2s ease-in-out infinite; }
.vm-card[aria-checked="true"] .vm-icon .twinkle,
.vm-form__icon .twinkle,
.vm-done__icon .twinkle { animation: vm-twinkle 1s ease-in-out infinite; }
.vm-card[aria-checked="true"] .vm-icon .piece,
.vm-form__icon .piece,
.vm-done__icon .piece { animation: vm-piece 1s ease-in-out infinite; }
.vm-icon .drop.d2 { animation-delay: .33s; }
.vm-icon .drop.d3 { animation-delay: .66s; }
.vm-icon .dot.d1 { animation-delay: .15s; }
.vm-icon .dot.d2 { animation-delay: .3s; }
.vm-icon .twinkle.d4 { animation-delay: .5s; }

@keyframes vm-rays { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes vm-drop { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(3px); } }
@keyframes vm-type { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-1.6px); } }
@keyframes vm-beat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 28% { transform: scale(.96); } }
@keyframes vm-flame { 0%, 100% { transform: scale(1, 1) rotate(0); } 30% { transform: scale(.94, 1.08) rotate(-3deg); } 60% { transform: scale(1.04, .95) rotate(2deg); } }
@keyframes vm-twinkle { 0%, 100% { opacity: .45; transform: scale(.75); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes vm-piece { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }

/* ---------- the welcome (the old app's intro) ---------- */

.vm-intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  animation: vm-intro-out .45s ease 6s forwards;
}

/* the dark backdrop on its own layer: it fades while the logo flies over the page */
.vm-intro__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--gold-rgb), .14), transparent 55%),
    var(--ink);
}

.vm-intro.is-flying {
  pointer-events: none;
}

.vm-w {
  display: inline-block;
}

/* the page waits under the welcome: its parts come in one by one once it leaves (page.js) */
.vm-intro-on .vm-hero,
.vm-intro-on .vm-work,
.vm-intro-on .vm-thanks,
.vm-intro-on .pbar__brand img {
  visibility: hidden;
}

body:not(.vm-intro-on) .vm-hero__sub {
  animation: vm-rise-in .5s cubic-bezier(.2, .7, .3, 1) .35s backwards;
}

body:not(.vm-intro-on) .vm-work {
  animation: vm-rise-in .55s cubic-bezier(.2, .7, .3, 1) .5s backwards;
}

body:not(.vm-intro-on) .vm-thanks {
  animation: vm-rise-in .55s cubic-bezier(.2, .7, .3, 1) .35s backwards;
}

.vm-intro.is-out {
  animation: vm-intro-out .45s ease forwards;
}

.vm-intro__medal,
.vm-hero__medal {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(var(--gold-hi-rgb), .3), rgba(var(--gold-rgb), .08) 60%);
  box-shadow: 0 0 0 1px var(--gold-line-strong), 0 18px 40px -18px rgba(0, 0, 0, .8);
}

.vm-intro__medal img,
.vm-hero__medal img {
  width: 82%;
  height: auto;
  border-radius: 50%;
}

.vm-intro__medal {
  animation: vm-medal 1s cubic-bezier(.2, .7, .3, 1) both;
}

.vm-intro__title {
  font-family: "Cairo", sans-serif;
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--gold-hi);
  animation: vm-rise .6s .5s cubic-bezier(.2, .7, .3, 1) both;
}

.vm-intro__sub {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-2);
  animation: vm-rise .6s .9s cubic-bezier(.2, .7, .3, 1) both;
}

.vm-intro__medal {
  position: relative;
}

.vm-intro__ring {
  position: absolute;
  inset: -2px;
  border: 1.5px solid rgba(var(--gold-hi-rgb), .55);
  border-radius: 50%;
  animation: vm-ring 2s ease-out .9s infinite;
}

.vm-intro__ring--2 {
  animation-delay: 1.9s;
}

.vm-intro__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.vm-intro__heart {
  width: .55em;
  height: .55em;
  fill: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .45));
  animation: vm-pop-in .45s cubic-bezier(.3, 1.55, .55, 1) 1.2s both, vm-beat 1.2s ease-in-out 1.7s infinite;
}

@keyframes vm-ring {
  from { transform: scale(.96); opacity: .8; }
  to { transform: scale(1.7); opacity: 0; }
}

@keyframes vm-medal {
  from { opacity: 0; transform: perspective(700px) translateZ(-300px) rotateY(540deg); }
  to { opacity: 1; transform: none; }
}

@keyframes vm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes vm-intro-out {
  to { opacity: 0; visibility: hidden; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .vm-intro { display: none; }
}

/* ---------- the cover (the service's banner, the old app's best part) ---------- */

.vm-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 14px 0 2px;
  text-align: center;
}

.vm-cover {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(var(--gold-hi-rgb), .38), 0 22px 46px -24px rgba(0, 0, 0, .9);
}

.vm-cover__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 583;
  background: var(--navy-900);
  transform-origin: 50% 40%;
}

/* a slow light passing over the gold, now and then */
.vm-cover__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 240, 200, .22) 48%, rgba(255, 240, 200, .05) 54%, transparent 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  mix-blend-mode: screen;
  animation: vm-shine 7s ease-in-out 1.4s infinite;
}

/* the frame's inner edge */
.vm-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 -40px 60px -40px rgba(2, 9, 20, .6);
  pointer-events: none;
}

body:not(.vm-intro-on) .vm-cover {
  animation: vm-cover-in .9s cubic-bezier(.2, .7, .3, 1) both;
}

body:not(.vm-intro-on) .vm-cover__img {
  animation: vm-cover-zoom 9s ease-out both;
}

body:not(.vm-intro-on) .vm-card {
  animation: vm-card-in .5s cubic-bezier(.2, .7, .3, 1) calc(.7s + var(--i, 0) * 80ms) backwards;
}

@keyframes vm-cover-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes vm-cover-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes vm-shine {
  0% { background-position: 130% 0; }
  45%, 100% { background-position: -30% 0; }
}

.vm-hero__sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
}

.vm-hero__heart {
  width: 18px;
  height: 18px;
  animation: vm-beat 1.4s ease-in-out infinite;
}

/* ---------- «حابب تقولنا إيه؟»: the glass panel and the 7 cards ---------- */

.vm-work {
  display: grid;
  gap: 14px;
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(31, 94, 151, .22), transparent 46%),
    rgba(8, 28, 52, .72);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
}

@media (min-width: 640px) {
  .vm-work {
    padding: 26px 24px;
  }
}

.vm-work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
}

.vm-work__title {
  margin: 0;
  font-size: clamp(1.45rem, 6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

.vm-profile__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-hi);
}

.vm-work__text,
.vm-profile__text {
  margin: 4px 0 0;
  color: var(--text-2);
}

/* the chosen one, as a gold pill (the old app's «لم تختار حاجة») */
.vm-count {
  margin: 0;
  max-width: 100%;
  padding: 5px 14px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--gold-hi);
  background: rgba(var(--gold-rgb), .08);
  transition: background-color .25s, color .25s;
}

.vm-work[data-chosen] .vm-count {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: transparent;
}

.vm-cards {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

@media (min-width: 640px) {
  .vm-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vm-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 14px 16px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  font: inherit;
  color: var(--text);
  text-align: start;
  background: rgba(6, 26, 49, .55);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}

.vm-card:hover {
  border-color: var(--gold-line-strong);
}

.vm-card:active {
  transform: scale(.985);
}

.vm-card:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}

.vm-card[aria-checked="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--navy-900));
  box-shadow: inset 0 0 0 1px var(--accent);
}

.vm-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 11px;
  border-radius: 16px;
  color: var(--gold-hi);
  background: rgba(var(--gold-rgb), .1);
  box-shadow: inset 0 0 0 1px var(--gold-line-strong);
}

.vm-card__text {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding-inline-end: 22px;
}

.vm-card__title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.45;
}

.vm-card__line {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--text-3);
}

/* the radio's mark, top corner */
.vm-card__check {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-line-strong);
  border-radius: 50%;
}

.vm-card[aria-checked="true"] .vm-card__check {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 45%, transparent 50%);
}

/* ---------- «بياناتك», the form, the send ---------- */

.vm-profile,
.vm-form,
.vm-sendbox {
  display: grid;
  gap: 16px;
  padding: 18px 16px;
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius-lg);
  background: rgba(2, 9, 20, .55);
  scroll-margin-top: 72px;
}

.vm-turnstile[hidden],
.vm-profile[hidden],
.vm-sendbox[hidden],
.vm-form [hidden],
.vm-profile [hidden] {
  display: none;
}

.vm-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 6px;
  margin: 0;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  color: var(--accent-ink);
  background: var(--accent);
}

.vm-badge__icon {
  width: 16px;
  height: 16px;
}

.vm-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .vm-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vm-form__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.vm-form__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--gold-hi);
}

.vm-form__icon {
  flex: none;
  width: 30px;
  height: 30px;
}

.vm-link {
  min-height: 40px;
  padding: 4px 6px;
  border: 0;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  cursor: pointer;
}

.vm-link:hover {
  color: var(--text);
}

.vm-req {
  color: var(--carmine-hi);
}

.vm-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.65;
  color: var(--text-2);
  background: rgba(var(--gold-rgb), .07);
  border: 1px solid var(--gold-line);
}

.vm-notice__icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--gold-hi);
}

.vm-short {
  min-height: 72px;
}

.vm-choices {
  display: grid;
  gap: 10px;
}

@media (min-width: 480px) {
  .vm-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vm-choice {
  min-height: 54px;
}

.vm-choice__dot {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-line-strong);
  border-radius: 50%;
}

.vm-choice:has(input:checked) .vm-choice__dot {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 45%, transparent 50%);
}

.vm-choice__label {
  font-weight: 700;
}

.vm-privacy {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-3);
}

.vm-send {
  width: 100%;
  min-height: 54px;
  font-size: 1.1rem;
}

.vm-send:disabled {
  opacity: .7;
  cursor: progress;
}

/* ---------- the chips (contact method, participation area) ---------- */

.vm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vm-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-weight: 700;
  color: var(--text-2);
  background: rgba(6, 26, 49, .6);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}

.vm-chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.vm-chip:hover {
  border-color: var(--gold-line-strong);
  color: var(--text);
}

.vm-chip:active {
  transform: scale(.96);
}

.vm-chip:has(input:checked) {
  border-color: transparent;
  color: var(--accent-ink);
  background: var(--accent);
  animation: vm-pop-in .3s cubic-bezier(.3, 1.55, .55, 1);
}

.vm-chip:has(input:focus-visible) {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}

/* ---------- motion: the cards come in one by one, the chosen one lives, the forms rise ---------- */

.vm-card {
}

.vm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .9);
}

.vm-card__icon {
  transition: transform .35s cubic-bezier(.3, 1.55, .55, 1), background-color .25s, box-shadow .25s;
}

.vm-card:hover .vm-card__icon {
  transform: rotate(-4deg) scale(1.05);
}

.vm-card[aria-checked="true"] .vm-card__icon {
  transform: scale(1.08);
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 10px 24px -10px var(--accent-glow);
}

.vm-card[aria-checked="true"] .vm-card__check {
  animation: vm-pop-in .35s cubic-bezier(.3, 1.55, .55, 1);
}

/* the icons' living details play on hover too */
.vm-card:hover .vm-icon .rays { animation: vm-rays 1s ease-in-out infinite; }
.vm-card:hover .vm-icon .drop { animation: vm-drop 1s ease-in infinite; }
.vm-card:hover .vm-icon .dot { animation: vm-type 1s ease-in-out infinite; }
.vm-card:hover .vm-icon .beat { animation: vm-beat 1s ease-in-out infinite; }
.vm-card:hover .vm-icon .flame { animation: vm-flame 1.2s ease-in-out infinite; }
.vm-card:hover .vm-icon .twinkle { animation: vm-twinkle 1s ease-in-out infinite; }
.vm-card:hover .vm-icon .piece { animation: vm-piece 1s ease-in-out infinite; }

.vm-form,
.vm-profile:not([hidden]),
.vm-sendbox:not([hidden]),
.vm-in {
  animation: vm-rise-in .45s cubic-bezier(.2, .7, .3, 1) both;
}

/* the send button: a light passes over it while it waits */
.vm-send {
  position: relative;
  overflow: hidden;
}

.vm-send::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 130% 0;
  animation: vm-shine 4.5s ease-in-out 1s infinite;
  pointer-events: none;
}

.vm-send:disabled::after {
  animation-duration: 1.1s;
}

@keyframes vm-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes vm-rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes vm-pop-in {
  0% { transform: scale(.8); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .vm-cover, .vm-cover__img, .vm-cover__shine, .vm-card, .vm-form, .vm-profile, .vm-sendbox, .vm-in, .vm-send::after, .vm-chip {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- after sending: the popup ---------- */

.vm-done {
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--text);
  background: transparent;
}

.vm-done::backdrop {
  background: rgba(2, 9, 20, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.vm-done__card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 20px 20px;
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(160deg, var(--navy-850), var(--navy-950));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  animation: vm-pop .45s cubic-bezier(.3, 1.55, .55, 1) both;
}

.vm-done__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding: 18px;
  border-radius: 50%;
  color: var(--gold-hi);
  background: rgba(var(--gold-rgb), .12);
  box-shadow: inset 0 0 0 1px var(--gold-line-strong);
}

.vm-done__icon--complaint,
.vm-done__icon--prayer {
  animation: vm-breathe 3s ease-in-out infinite;
}

.vm-done__title {
  margin: 4px 0 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-hi);
}

.vm-done__text {
  margin: 0;
  line-height: 1.75;
  color: var(--text-2);
}

.vm-done__ask {
  margin: 8px 0 2px;
  font-weight: 800;
}

.vm-done .bk-actions {
  width: 100%;
}

.vm-fx {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

@keyframes vm-pop {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: none; }
}

@keyframes vm-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* the particles (fx.js; the home scene's .vo-p, in pixels) */
.vm-p {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
  opacity: 0;
  will-change: transform, opacity;
}

.vm-p--confetti {
  width: 9px;
  height: 5px;
  margin: -2px 0 0 -4px;
  border-radius: 1px;
  background: currentColor;
}

.vm-p--dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: currentColor;
}

.vm-p--heart,
.vm-p--star {
  margin: -.5em 0 0 -.45em;
  font-size: 18px;
}

.vm-p--ring {
  border: 2px solid currentColor;
  border-radius: 50%;
}

/* ---------- the thank-you, and a closed service ---------- */

.vm-thanks {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px 16px;
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  background: rgba(2, 9, 20, .55);
}

.vm-thanks:focus {
  outline: none;
}

.vm-thanks__heart {
  width: 56px;
  height: 56px;
  animation: vm-beat 1.4s ease-in-out infinite;
}

.vm-thanks__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-hi);
}

.vm-thanks__text {
  margin: 0;
  line-height: 1.75;
  color: var(--text-2);
}

.vm-thanks .bk-actions {
  width: min(100%, 420px);
}

@media (prefers-reduced-motion: reduce) {
  .vm-icon *,
  .vm-hero__heart,
  .vm-thanks__heart,
  .vm-done__card,
  .vm-done__icon {
    animation: none !important;
  }
}
