.quote-success-body {
  overflow-x: clip;
}

.quote-success-page {
  position: relative;
  min-height: 910px;
  overflow: hidden;
  padding: 16px 0 22px;
  background: rgba(255, 253, 248, 0.68);
}

.quote-success-page::before,
.quote-success-page::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  width: 330px;
  height: 700px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.quote-success-page::before {
  left: 0;
  background-image: url("../assets/success-lineart-left.png");
  background-position: left bottom;
}

.quote-success-page::after {
  right: 0;
  background-image: url("../assets/success-lineart-right.png");
  background-position: right bottom;
}

.success-panel {
  position: relative;
  z-index: 1;
  width: 820px;
  min-height: 850px;
  margin: 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 34px 40px 28px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.success-mark {
  position: relative;
  width: 96px;
  height: 90px;
  margin: 0 auto 2px;
  color: #c29a5b;
}

.success-mark > span {
  display: inline-grid;
  width: 82px;
  height: 82px;
  place-content: center;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-size: 58px;
  font-weight: 400;
  line-height: 1;
}

.success-mark i {
  position: absolute;
  font-size: 21px;
  font-style: normal;
}

.success-mark i:nth-of-type(1) { top: 8px; left: -4px; }
.success-mark i:nth-of-type(2) { top: 8px; right: -2px; }
.success-mark i:nth-of-type(3) { bottom: 4px; left: 3px; }
.success-mark i:nth-of-type(4) { right: 3px; bottom: 4px; }

.success-panel h1 {
  margin: 3px 0 8px;
  color: #690c16;
  font-size: 42px;
  letter-spacing: 0.1em;
}

.success-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.success-lead span {
  width: 52px;
  height: 1px;
  background: var(--gold);
}

.success-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 510px;
  margin: 38px auto 27px;
}

.success-meta div {
  padding: 0 24px;
}

.success-meta div + div {
  border-left: 1px solid var(--line);
}

.success-meta dt {
  font-size: 13px;
  font-weight: 800;
}

.success-meta dd {
  margin: 3px 0 0;
  color: var(--wine);
  font-size: 19px;
  font-weight: 900;
}

.pickup-code {
  display: flex;
  width: 580px;
  height: 88px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf5ed;
}

.pickup-code__icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d0ae70, #ad8041);
  color: #fff;
}

.pickup-code__icon .icon {
  width: 27px;
  height: 27px;
}

.pickup-code > strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.pickup-code > span:not(.pickup-code__icon) {
  color: var(--gold-deep);
  font-size: 25px;
}

.pickup-code b {
  color: var(--wine);
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.pickup-copy {
  margin: 12px 0 36px;
  font-size: 12px;
}

.success-next {
  border-top: 1px solid var(--line-soft);
}

.success-next h2 {
  width: max-content;
  margin: -13px auto 34px;
  padding: 0 18px;
  background: #fffdf8;
  font-size: 17px;
}

.success-steps {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr;
  align-items: center;
}

.success-steps > div {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 92px;
  text-align: left;
}

.success-steps > div > b {
  position: absolute;
  top: -15px;
  left: 18px;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d0ae70, #ad8041);
  color: #fff;
  font-size: 12px;
}

.success-steps > div > .icon {
  width: 48px;
  height: 48px;
  margin-top: 15px;
  color: #9b463b;
}

.success-steps strong,
.success-steps small {
  display: block;
}

.success-steps strong {
  font-size: 13px;
}

.success-steps small {
  margin-top: 5px;
  color: #5e4941;
  font-size: 9px;
  line-height: 1.45;
}

.success-arrow {
  color: var(--gold-deep);
  font-size: 30px;
}

.success-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 34px 40px 34px;
}

.success-contact .btn {
  height: 64px;
  font-size: 15px;
}

.success-contact .btn > span:not(.icon) {
  line-height: 1.25;
}

.success-contact small {
  display: block;
  font-size: 11px;
}

.success-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}

.success-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 800;
}

.success-links a + a {
  border-left: 1px solid var(--line);
}

.success-links .icon {
  width: 28px;
  height: 28px;
  color: var(--gold-deep);
}

@media (max-width: 1200px) {
  .quote-success-page::before,
  .quote-success-page::after {
    opacity: 0.72;
  }

  .success-panel {
    width: 790px;
  }
}
