:root {
  --order-ink: #0b2545;
  --order-muted: #58697d;
  --order-line: #dce4ec;
}
.package-choice {
  margin-top: 24px;
}
.package-choice .order-note {
  margin-top: 12px;
}
@media (min-width: 600px) {
  .order-options {
    grid-template-columns: 1fr 1fr;
  }
  .order-option {
    align-items: flex-start;
    padding: 18px 16px;
  }
  .order-option strong {
    font-size: 16px;
  }
  .order-option .option-mark {
    margin-top: 4px;
  }
}
.image-help {
  margin-top: 13px;
  border: 1px solid var(--order-line);
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}
.image-help summary {
  padding: 13px 15px;
  cursor: pointer;
  color: #355675;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.image-help summary::marker {
  color: var(--red, #c0392b);
}
.image-help summary:focus-visible {
  outline: 2px solid #45698e;
  outline-offset: -3px;
}
.image-help figure {
  margin: 0;
}
.image-help img {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid var(--order-line);
}
.image-help figcaption {
  padding: 17px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--order-muted);
}
.image-help figcaption strong {
  color: var(--order-ink);
  font-weight: 600;
}
.image-help .help-source {
  display: inline-block;
  margin: 0 17px 17px;
  font-size: 12px;
  color: #526e8a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.upload-help {
  margin-top: 20px;
}
.order-page {
  background: #f4f7fa;
  color: var(--order-ink);
  font-size: 16px;
}
.order-page [hidden] {
  display: none !important;
}
.order-header {
  min-height: 100px;
  padding: 22px max(28px, calc((100vw - 1200px) /2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border-bottom: 1px solid var(--order-line);
}
.order-header img {
  width: 190px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}
.order-help {
  color: var(--order-muted);
  font-size: 14px;
  display: flex;
  gap: 8px;
}
.order-help strong {
  color: var(--order-ink);
  font-weight: 600;
}
.order-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 28px 72px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.order-aside {
  position: sticky;
  top: 32px;
}
.order-back {
  font-size: 14px;
  color: var(--order-muted);
  display: inline-block;
  margin-bottom: 36px;
}
.order-eyebrow {
  color: var(--red, #c0392b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  margin-bottom: 16px;
}
.order-aside h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
}
.order-aside > p:not(.order-eyebrow) {
  font-size: 16px;
  line-height: 1.7;
  color: var(--order-muted);
}
.order-progress {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.order-progress li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--order-muted);
  font-size: 14px;
}
.order-progress li > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #c8d3df;
  border-radius: 50%;
  font-size: 13px;
}
.order-progress li[aria-current] {
  color: var(--order-ink);
  font-weight: 600;
}
.order-progress li[aria-current] > span {
  background: var(--order-ink);
  color: white;
  border-color: var(--order-ink);
}
.order-progress li.done > span {
  background: #e2eee8;
  border-color: #c2dacf;
  color: #286648;
}
.order-price {
  border-top: 1px solid var(--order-line);
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}
.order-price > span {
  font-size: 14px;
}
.order-price > strong {
  font-size: 23px;
  letter-spacing: -0.03em;
}
.order-price small {
  grid-column: 1/-1;
  font-size: 13px;
  color: var(--order-muted);
  line-height: 1.6;
}
.order-surface {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--order-line);
  border-radius: 22px;
  padding: 36px 40px 28px;
  box-shadow: 0 14px 48px #0b254509;
}
.order-step-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--order-muted);
  font-size: 13px;
}
.order-meter {
  height: 3px;
  background: #edf1f6;
  border-radius: 5px;
  margin: 16px 0 36px;
  overflow: hidden;
}
.order-meter span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--red, #c0392b);
  transition: width 0.25s ease;
}
.order-page fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.order-page legend {
  float: none;
  width: 100%;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 12px;
  outline: none;
}
.step-intro {
  margin: 0 0 28px;
  color: var(--order-muted);
  font-size: 16px;
  line-height: 1.65;
}
.order-options {
  display: grid;
  gap: 14px;
}
.order-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--order-line);
  border-radius: 12px;
  padding: 21px;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.order-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.order-option > span:first-of-type {
  flex: 1;
}
.order-option strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.order-option small {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--order-muted);
  line-height: 1.6;
}
.option-mark {
  width: 19px;
  height: 19px;
  border: 1px solid #bbc9d7;
  border-radius: 50%;
  flex-shrink: 0;
}
.order-option:has(:checked) {
  border-color: var(--order-ink);
  background: #f5f8fb;
}
.order-option:has(:checked) .option-mark {
  border: 5px solid var(--order-ink);
}
.order-option:has(:focus-visible) {
  outline: 2px solid #45698e;
  outline-offset: 3px;
}
.order-note {
  font-size: 14px;
  line-height: 1.65;
  color: var(--order-muted);
  margin: 24px 0 0;
}
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}
.order-field.full {
  grid-column: 1/-1;
}
.order-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 500;
}
.order-field label > span {
  font-weight: 400;
  color: var(--order-muted);
  font-size: 13px;
  margin-left: 4px;
}
.order-page input:not([type='checkbox']):not([type='radio']):not([type='file']),
.order-page select,
.order-page textarea {
  width: 100%;
  border: 1px solid #cbd6e1;
  border-radius: 8px;
  background: #fff;
  color: var(--order-ink);
  font: inherit;
  padding: 13px 14px;
  min-height: 48px;
  box-sizing: border-box;
}
.order-page textarea {
  resize: vertical;
}
.order-field > small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--order-muted);
}
.order-page :is(input, select, textarea, button, a):focus-visible {
  outline: 2px solid #45698e;
  outline-offset: 3px;
}
.order-page input[aria-invalid='true'] {
  border-color: #a82f25;
}
.field-error {
  font-size: 14px;
  line-height: 1.5;
  color: #a82f25;
  margin: 7px 0 0;
}
.field-error:empty {
  display: none;
}
.order-error {
  background: #fff4f2;
  color: #992d24;
  border: 1px solid #eac3bf;
  border-radius: 10px;
  padding: 16px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
}
.order-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--order-line);
  margin-top: 34px;
  padding-top: 26px;
}
.order-actions #next {
  margin-left: auto;
}
.order-primary,
.order-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 49px;
  padding: 13px 24px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}
.order-primary {
  background: var(--red, #c0392b);
  color: #fff;
}
.order-primary:hover {
  background: #a93126;
}
.order-secondary {
  background: #edf2f7;
  color: var(--order-ink);
}
.order-page button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.order-text-link {
  color: var(--order-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  font: inherit;
  font-size: 14px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.order-text-link:hover {
  color: var(--red, #c0392b);
}
.order-submit-status {
  font-size: 14px;
  line-height: 1.6;
  color: var(--order-muted);
  margin-top: 14px;
}
.order-submit-status:empty {
  display: none;
}
.order-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 30px 20px;
  margin: 24px 0 16px;
  border: 1px dashed #a5b8cb;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  text-align: center;
}
.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.upload-zone:has(:focus-visible) {
  outline: 2px solid #45698e;
  outline-offset: 3px;
}
.upload-icon {
  font-size: 28px;
  color: #45698e;
}
.upload-zone > span:not(.upload-icon) {
  font-size: 14px;
  color: var(--order-muted);
}
.upload-zone small {
  font-size: 13px;
  color: var(--order-muted);
}
.upload-zone strong {
  font-size: 16px;
}
.file-list {
  display: grid;
  gap: 10px;
}
.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.8fr) 32px;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--order-line);
}
.file-row strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 500;
}
.file-row small {
  color: var(--order-muted);
  font-size: 12px;
}
.file-row select {
  font-size: 13px;
  padding: 8px;
}
.file-remove {
  border: 0;
  background: none;
  font-size: 23px;
  cursor: pointer;
  min-height: 44px;
  color: var(--order-muted);
}
#document-hint {
  margin-top: 0;
  padding: 15px 17px;
  border-radius: 9px;
  background: #f3f6fa;
}
[data-step='3'] > .order-text-link {
  display: inline-block;
  margin-top: 18px;
}
.order-review > section {
  padding: 19px 0;
  border-bottom: 1px solid var(--order-line);
}
.order-review > section:first-child {
  padding-top: 0;
}
.order-review > section > div {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.order-review h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.order-review p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-line;
  color: var(--order-muted);
  overflow-wrap: anywhere;
}
.review-price {
  margin: 24px 0;
  padding: 20px;
  background: #f4f7fa;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.review-price > strong {
  font-size: 22px;
}
.review-price small {
  grid-column: 1/-1;
  font-size: 13px;
  line-height: 1.6;
  color: var(--order-muted);
}
.order-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 18px;
}
.order-consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--order-ink);
}
.order-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.order-success {
  padding: 24px 0;
  outline: none;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: #e5f1ea;
  color: #247044;
  border-radius: 50%;
  font-size: 25px;
  margin-bottom: 30px;
}
.order-success h2 {
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}
.order-success > p:not(.order-eyebrow) {
  color: var(--order-muted);
  line-height: 1.7;
}
.reference-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: start;
  padding: 23px;
  margin: 28px 0;
  background: #f3f6fa;
  border-radius: 12px;
}
.reference-box > span {
  font-size: 14px;
  color: var(--order-muted);
}
.reference-box > strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}
.order-success > .order-primary {
  margin-top: 28px;
}
.order-footer {
  max-width: 1200px;
  margin: auto;
  padding: 24px 28px;
  border-top: 1px solid var(--order-line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--order-muted);
  font-size: 13px;
}
.order-footer > div {
  display: flex;
  gap: 22px;
}
@media (max-width: 1000px) {
  .order-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
  }
  .order-aside h1 {
    font-size: 34px;
  }
  .order-surface {
    padding: 30px;
  }
}
@media (max-width: 760px) {
  .order-header {
    min-height: 78px;
    padding: 17px 20px;
  }
  .order-header img {
    width: 150px;
  }
  .order-help {
    font-size: 14px;
    display: block;
  }
  .order-help strong {
    display: block;
  }
  .order-layout {
    display: block;
    padding: 26px 20px 40px;
  }
  .order-aside {
    position: static;
  }
  .order-back {
    margin-bottom: 25px;
  }
  .order-aside h1 {
    font-size: 32px;
  }
  .order-aside h1 br {
    display: none;
  }
  .order-aside > p:not(.order-eyebrow) {
    margin-bottom: 24px;
  }
  .order-eyebrow {
    margin-bottom: 10px;
  }
  .order-progress {
    display: none;
  }
  .order-price {
    margin: 0 0 24px;
    padding-top: 18px;
  }
  .order-surface {
    padding: 26px 22px;
    border-radius: 16px;
  }
  .order-page legend {
    font-size: 25px;
  }
  .order-grid {
    gap: 18px 14px;
  }
  .order-footer {
    padding: 20px;
    flex-wrap: wrap;
  }
  .file-row {
    grid-template-columns: minmax(0, 1fr) 32px;
  }
  .file-row > select {
    grid-column: 1;
    grid-row: 2;
  }
  .file-remove {
    grid-column: 2;
    grid-row: 1/3;
  }
  .order-success h2 {
    font-size: 30px;
  }
}
@media (max-width: 420px) {
  .order-layout {
    padding-inline: 14px;
  }
  .order-surface {
    padding: 25px 18px;
  }
  .order-grid {
    grid-template-columns: 1fr;
  }
  .order-step-meta > span:last-child {
    display: none;
  }
  .order-option {
    padding: 18px 15px;
  }
  .order-option strong {
    font-size: 16px;
  }
  .order-actions {
    gap: 10px;
  }
  .order-primary,
  .order-secondary {
    padding: 13px 20px;
  }
  .review-price {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .order-meter span {
    transition: none;
  }
}
