/* Thank-you page (/cam-on/) — 1:1 customer design + lightweight SVG & GPU wind effects */
.mqt-thankyou-main {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 132px;
  background-color: #fcf6ec;
  isolation: isolate;
  box-sizing: border-box;
}

.mqt-thankyou-decor {
  position: absolute;
  top: 0;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.mqt-thankyou-decor svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.mqt-thankyou-decor svg * {
  transform-box: view-box;
}

.mqt-thankyou-decor--left {
  left: 0;
  width: clamp(250px, 26vw, 410px);
}

.mqt-thankyou-decor--right {
  right: 0;
  width: clamp(240px, 25vw, 395px);
}

/* Lightweight GPU-only breeze & sway animations */
.mqt-sway-bough {
  transform-origin: 0px 120px;
  animation: mqt-bough-sway 6.4s ease-in-out infinite;
  will-change: transform;
}

.mqt-sway-twig {
  transform-origin: 30px 140px;
  animation: mqt-twig-sway 4.8s ease-in-out -1.2s infinite;
}

.mqt-sway-twig-alt {
  transform-origin: 88px 150px;
  animation: mqt-twig-sway-alt 5.4s ease-in-out -2.4s infinite;
}

.mqt-lantern-swing {
  transform-origin: 296px 0px;
  animation: mqt-lantern-pendulum 5.6s ease-in-out infinite;
  will-change: transform;
}

.mqt-tassel-swing {
  transform-origin: 296px 163px;
  animation: mqt-tassel-pendulum 5.6s ease-in-out -0.65s infinite;
}

.mqt-cloud-drift {
  animation: mqt-cloud-glide 9s ease-in-out infinite;
}

.mqt-cloud-drift-alt {
  animation: mqt-cloud-glide 10.5s ease-in-out -4s infinite;
}

.mqt-float-flower {
  animation: mqt-breeze-bob 5.2s ease-in-out infinite;
}

.mqt-float-flower-alt {
  animation: mqt-breeze-bob 6.2s ease-in-out -2.5s infinite;
}

.mqt-float-petal {
  animation: mqt-breeze-petal 4.6s ease-in-out -1.5s infinite;
}

.mqt-wind-petal {
  opacity: 0;
  will-change: transform, opacity;
}

.mqt-wind-petal--1 {
  animation: mqt-wind-blow-left 8.5s linear infinite;
}

.mqt-wind-petal--2 {
  animation: mqt-wind-blow-left 10.2s linear -3.6s infinite;
}

.mqt-wind-petal--3 {
  animation: mqt-wind-blow-left 9.4s linear -6.8s infinite;
}

.mqt-wind-petal--4 {
  animation: mqt-wind-blow-right 9.8s linear -2.2s infinite;
}

@keyframes mqt-bough-sway {
  0%, 100% { transform: rotate(-0.8deg); }
  50% { transform: rotate(1.6deg); }
}

@keyframes mqt-twig-sway {
  0%, 100% { transform: rotate(-0.6deg); }
  50% { transform: rotate(1.8deg); }
}

@keyframes mqt-twig-sway-alt {
  0%, 100% { transform: rotate(0.8deg); }
  50% { transform: rotate(-1.5deg); }
}

@keyframes mqt-lantern-pendulum {
  0%, 100% { transform: rotate(-2.5deg); }
  50% { transform: rotate(2.5deg); }
}

@keyframes mqt-tassel-pendulum {
  0%, 100% { transform: rotate(3.6deg); }
  50% { transform: rotate(-3.6deg); }
}

@keyframes mqt-cloud-glide {
  0%, 100% { transform: translate3d(-5px, 0, 0); }
  50% { transform: translate3d(6px, 0, 0); }
}

@keyframes mqt-breeze-bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(4px, -5px, 0); }
}

@keyframes mqt-breeze-petal {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6px, 4px, 0); }
}

@keyframes mqt-wind-blow-left {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  15% {
    opacity: 0.92;
  }
  75% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translate3d(145px, 115px, 0) rotate(38deg);
  }
}

@keyframes mqt-wind-blow-right {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  18% {
    opacity: 0.88;
  }
  78% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate3d(-110px, 105px, 0) rotate(-32deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mqt-thankyou-decor svg *,
  .mqt-wind-petal {
    animation: none !important;
  }
}

.mqt-thankyou-card {
  position: relative;
  z-index: 2;
  width: min(740px, 100%);
  text-align: center;
}

.mqt-thankyou-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 16px;
}

.mqt-thankyou-rays {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.mqt-thankyou-rays--left {
  align-items: flex-end;
}

.mqt-thankyou-rays--right {
  align-items: flex-start;
}

.mqt-thankyou-ray {
  display: block;
  height: 2.5px;
  border-radius: 99px;
}

.mqt-thankyou-ray--red {
  width: 24px;
  background: #930e23;
}

.mqt-thankyou-rays--left .mqt-thankyou-ray--red {
  transform: rotate(24deg);
  margin-right: 2px;
}

.mqt-thankyou-rays--right .mqt-thankyou-ray--red {
  transform: rotate(-24deg);
  margin-left: 2px;
}

.mqt-thankyou-ray--gold {
  width: 30px;
  background: #dfb06a;
}

.mqt-thankyou-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #930e23;
  box-shadow: 0 6px 18px rgba(147, 14, 35, 0.18);
}

.mqt-thankyou-check svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #fff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mqt-thankyou-card h1 {
  margin: 0 auto 16px !important;
  color: #8b0d21;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.9vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.mqt-thankyou-lead {
  max-width: 640px;
  margin: 0 auto 24px !important;
  color: #4a5560;
  font-size: 17px;
  line-height: 1.62;
}

.mqt-thankyou-hotline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: fit-content;
  max-width: min(680px, 100%);
  margin: 0 auto 26px;
  padding: 16px 34px;
  border-radius: 14px;
  background: #f8eae5;
  color: #930e23;
  text-align: left;
  box-sizing: border-box;
}

.mqt-thankyou-hotline p {
  margin: 0 !important;
  font-size: 15.5px;
  line-height: 1.58;
  color: #930e23;
}

.mqt-thankyou-hotline a {
  color: #930e23 !important;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.mqt-thankyou-hotline a:hover {
  text-decoration: underline !important;
}

.mqt-thankyou-sep {
  display: inline-block;
  margin: 0 5px;
  opacity: 0.75;
}

.mqt-thankyou-hotline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  line-height: 0;
}

.mqt-thankyou-hotline-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.mqt-thankyou-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 244px;
  padding: 15px 38px;
  border-radius: 8px;
  background: #910e22;
  color: #fff !important;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(145, 14, 34, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mqt-thankyou-home:hover,
.mqt-thankyou-home:focus {
  background: #780a1b;
  color: #fff !important;
  transform: translateY(-1px);
}

.mqt-thankyou-home-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mqt-thankyou-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
  height: clamp(82px, 8.8vw, 130px);
  pointer-events: none;
  line-height: 0;
}

.mqt-thankyou-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mqt-thankyou-wave-fill {
  fill: var(--secondary-2, #670011);
}

/* Full-bleed page overrides for /cam-on/ */
.mqt-thankyou-page {
  background-color: #fcf6ec !important;
}

.mqt-thankyou-page .entry-header,
.mqt-thankyou-page .sticky-bottom-bar,
.mqt-thankyou-page .contact-banner {
  display: none !important;
}

.mqt-thankyou-page #page,
.mqt-thankyou-page .site-content,
.mqt-thankyou-page .content-area,
.mqt-thankyou-page .site-main,
.mqt-thankyou-page .site-main > article,
.mqt-thankyou-page .inside-article,
.mqt-thankyou-page .entry-content,
.mqt-thankyou-page .entry-content-inner {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.mqt-thankyou-page .mqt-thankyou-main {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  min-height: clamp(560px, calc(100vh - 132px), 760px);
}

@media (max-width: 1199px) {
  .mqt-thankyou-decor--left {
    width: 240px;
  }

  .mqt-thankyou-decor--right {
    width: 235px;
  }
}

@media (max-width: 991px) {
  .mqt-thankyou-decor--left {
    width: 190px;
    opacity: 0.9;
  }

  .mqt-thankyou-decor--right {
    width: 185px;
    opacity: 0.9;
  }
}

@media (max-width: 767px) {
  .mqt-thankyou-page .mqt-thankyou-main {
    min-height: calc(100vh - 110px);
    padding: 44px 16px 96px;
  }

  .mqt-thankyou-decor--left {
    left: -18px;
    width: 145px;
    opacity: 0.85;
  }

  .mqt-thankyou-decor--right {
    right: -12px;
    width: 140px;
    opacity: 0.85;
  }

  .mqt-thankyou-card h1 {
    font-size: 30px;
  }

  .mqt-thankyou-lead {
    font-size: 14.5px;
  }

  .mqt-thankyou-lead br {
    display: none;
  }

  .mqt-thankyou-hotline {
    padding: 14px 16px;
    gap: 12px;
  }

  .mqt-thankyou-hotline p {
    font-size: 13.5px;
  }

  .mqt-thankyou-hotline p br {
    display: none;
  }

  .mqt-thankyou-hotline-icon,
  .mqt-thankyou-hotline-icon svg {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .mqt-thankyou-wave {
    height: 64px;
  }
}
