.req__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.req__field { display: flex; flex-direction: column; gap: 7px; }

.req__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-footnote);
}

.req__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-btn);
  background: var(--bg);
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  transition: border-color var(--dur), background var(--dur);
}
.req__input::placeholder { color: var(--text-footnote); }
.req__input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.req__input--area { resize: vertical; min-height: 88px; }

.req__input.is-invalid { border-color: #C0562F; background: #FCF1EC; }
.req__error { font-size: 12.5px; line-height: 1.5; color: #A8431F; }
.req__error[hidden] { display: none; }

.req__submit {
  width: 100%;
  text-align: center;
  margin-top: 6px;
  padding: 18px 30px;
  font-size: 15px;
  font-weight: 700;
}

.req__legal {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-footnote);
  text-align: center;
}
.req__legal a { color: var(--accent); border-bottom: 1px solid var(--hairline-warm); }
.req__legal a:hover { color: var(--text); }

.req__done {
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.req__done[hidden] { display: none; }
.req__done-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--text);
}
.req__done-text { font-size: 13.5px; line-height: 1.6; color: var(--text-soft); }
.req__copy {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--field-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  transition: border-color var(--dur), color var(--dur);
}
.req__copy:hover { border-color: var(--accent); color: var(--text); }

.req__form.is-sent .req__field,
.req__form.is-sent .req__submit { opacity: .45; pointer-events: none; }

.est__alt {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  border-bottom: 1px solid var(--hairline-warm);
  transition: color var(--dur), border-color var(--dur);
}
.est__alt:hover { color: var(--text); border-color: var(--accent); }

.order {
  width: min(92vw, 460px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 32px 80px -24px rgba(28, 26, 24, .55);
}
.order::backdrop { background: rgba(28, 26, 24, .62); backdrop-filter: blur(3px); }

@media (prefers-reduced-motion: no-preference) {
  .order[open] { animation: order-in .44s var(--ease-out) both; }
  .order[open]::backdrop { animation: order-veil .44s var(--ease) both; }
  .order.is-closing { animation: order-out .26s var(--ease) both; }
  .order.is-closing::backdrop { animation: order-unveil .26s var(--ease) both; }

  @keyframes order-in    { from { opacity: 0; transform: translateY(18px) scale(.985); } }
  @keyframes order-out   { to   { opacity: 0; transform: translateY(10px) scale(.99); } }
  @keyframes order-veil  { from { opacity: 0; } }
  @keyframes order-unveil { to  { opacity: 0; } }
}
.order__inner {
  padding: clamp(30px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order__close {
  position: absolute;
  top: 12px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--text-footnote);
  transition: background var(--dur), color var(--dur);
}
.order__close:hover { background: var(--bg-warm); color: var(--text); }

.order__eyebrow { display: none; }
.order__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 31px);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--text);
  text-wrap: balance;
}

.order__choice { display: flex; flex-direction: column; gap: 12px; }
.order__choice[hidden], .order__req[hidden] { display: none; }

.order__tg {
  width: 100%;
  text-align: center;
  padding: 19px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.order__hint { font-size: 13.5px; line-height: 1.6; color: var(--text-soft); text-align: center; max-width: 34ch; margin-inline: auto; }

.order__switch,
.order__back {
  align-self: center;
  font-size: 13.5px;
  color: var(--accent);
  border-bottom: 1px solid var(--hairline-warm);
  padding-bottom: 2px;
  transition: color var(--dur), border-color var(--dur);
}
.order__switch:hover, .order__back:hover { color: var(--text); border-color: var(--accent); }
.order__back { margin-top: 4px; font-size: 13px; color: var(--text-footnote); border-color: transparent; }

.order__req { display: flex; flex-direction: column; gap: 14px; }
.order__req-lead { font-size: 13.5px; line-height: 1.55; color: var(--text-soft); }

@media (max-width: 520px) {
  .order { width: 100vw; max-width: 100vw; max-height: 100dvh; border-radius: 0; margin: 0; height: 100dvh; }
  .order__inner { padding-top: 54px; justify-content: center; height: 100%; }
}

.order { width: min(94vw, 520px); border-radius: 22px; }
.order__inner { padding: clamp(34px, 4.4vw, 52px); gap: 20px; }
.order__title { font-size: clamp(26px, 3.6vw, 34px); }
.order__choice { gap: 16px; }
.order__hint { font-size: 14px; }
.order__switch {
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  border-bottom: 0;
  align-self: stretch;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.order__switch:hover { color: var(--text); }
.order__close { top: 16px; right: 18px; }

.order__lead {
  margin-top: -6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
  text-align: center;
  text-wrap: balance;
}
.order__title { text-align: center; }
.order__choice { margin-top: 10px; }
.order__inner { gap: 18px; }

.order__stock {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
  background: var(--bg-warm);
  border-radius: 14px;
}
.order__stock[hidden] { display: none; }
.order__stock-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.order__stock-name { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.3; }
.order__stock-meta { font-size: 13px; color: var(--text-soft); }

.order { width: min(94vw, 500px); }
.order__inner { padding: clamp(38px, 5vw, 56px) clamp(28px, 4vw, 44px); gap: 26px; }
.order__choice { gap: 18px; margin-top: 0; }
.order__tg { padding: 21px 32px; font-size: 15.5px; }
.order__hint { font-size: 14px; line-height: 1.6; max-width: 32ch; }
.order__switch { margin-top: 2px; padding-top: 24px; }
.order__stock { padding: 18px 20px; }

.order__hint {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 0;
  max-width: none;
  font-size: 13.5px;
  color: var(--text-soft);
}
.order__hint span { padding: 0 12px; white-space: nowrap; }
.order__hint span + span { border-left: 1px solid var(--hairline-warm); }

.order__title { font-size: clamp(25px, 3.2vw, 32px); }
.order__switch { white-space: nowrap; }

.order__stock-name { text-wrap: balance; }

.order__grip { display: none; }

@media (max-width: 767px) {
  .order {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 92dvh;
    margin: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -24px 60px rgba(28, 26, 24, .4);
  }
  .order::backdrop { background: rgba(28, 26, 24, .62); }

  .order__grip {
    display: flex;
    justify-content: center;
    padding-top: 12px;
  }
  .order__grip::before {
    content: '';
    width: 36px;
    height: 4px;
    border-radius: 999px;

    background: #D8D2CA;
  }

  .order__close { display: none; }

  .order__inner {
    padding: 22px 24px 30px;
    gap: 18px;
    height: auto;
    justify-content: flex-start;
  }
  .order__title { font-size: 25px; line-height: 1.1; letter-spacing: -.025em; }
  .order__choice { gap: 14px; }
  .order__tg { padding: 20px; font-size: 15px; font-weight: 700; min-height: 0; line-height: normal; }
  .order__hint { font-size: 13px; line-height: normal; }

  .order__switch { margin-top: 4px; padding: 18px 0 0; line-height: normal; }
}

.req__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
