/* Страница «Как заказать». */

.order-guide {
  --order-primary: #012e41;
  --order-accent: #f28705;
  --order-dark-teal: #025158;
  --order-teal: #028c8c;
  --order-soft: #f7f9f9;
  --order-border: rgba(1, 46, 65, 0.12);
  overflow: hidden;
  color: var(--order-primary);
}

.order-guide__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(242, 135, 5, 0.24), transparent 24%),
    radial-gradient(circle at 64% 110%, rgba(2, 140, 140, 0.3), transparent 34%),
    var(--order-primary);
}

.order-guide__hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
}

.order-guide__hero-inner {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  padding-top: 68px;
  padding-bottom: 68px;
}

.order-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.order-guide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--order-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-guide__eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

.order-guide__hero h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  color: #ffffff;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.order-guide__lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.7;
}

.order-guide__hero-mark {
  position: absolute;
  right: clamp(8px, 5vw, 76px);
  bottom: -80px;
  color: rgba(255, 255, 255, 0.065);
  font-family: "Montserrat", var(--site-font-family);
  font-size: clamp(16rem, 33vw, 28rem);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.75;
  user-select: none;
}

.order-guide__intro {
  padding: 76px 0;
  background: var(--order-soft);
}

.order-guide__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 28px;
}

.order-guide__prep,
.order-guide__route {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--order-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.order-guide__intro-text {
  margin: -6px 0 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.order-guide__intro h2,
.order-guide__contact h2 {
  margin: 10px 0 20px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.order-guide__checklist,
.order-step__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-guide__checklist {
  display: grid;
  gap: 13px;
}

.order-guide__checklist li {
  position: relative;
  min-height: 34px;
  padding-left: 44px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.order-guide__checklist li::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--order-teal);
  content: "✓";
  font-size: 0.9rem;
  font-weight: 700;
}

.order-guide__route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-guide__route-list a {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--order-border);
  border-radius: 14px;
  color: var(--order-primary);
  background: var(--order-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    border-color var(--transition-ui),
    background-color var(--transition-ui),
    transform var(--transition-ui);
}

.order-guide__route-list a:hover,
.order-guide__route-list a:focus-visible {
  border-color: rgba(242, 135, 5, 0.55);
  background: #ffffff;
  transform: translateY(-2px);
}

.order-guide__route-list span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--order-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.order-guide__steps {
  padding: 18px 0 96px;
  background: #ffffff;
}

.order-step {
  position: relative;
  padding: 70px 0;
  border-bottom: 1px solid var(--order-border);
  scroll-margin-top: 96px;
}

.order-step:last-child {
  border-bottom: 0;
}

.order-step__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.order-step__number {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--order-primary), var(--order-dark-teal));
  box-shadow: 0 12px 28px rgba(1, 46, 65, 0.18);
  font-family: "Montserrat", var(--site-font-family);
  font-size: 1.25rem;
  font-weight: 700;
}


.order-step__head h2 {
  max-width: 860px;
  margin: 3px 0 0;
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.order-step__body {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.order-step__content {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.order-step__content--wide {
  max-width: 820px;
  margin-left: 74px;
}

.order-step__content p {
  margin: 0 0 15px;
}

.order-step__content strong {
  color: var(--order-primary);
}

.order-step__content ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 22px;
}

.order-step__content li {
  position: relative;
  padding-left: 24px;
}

.order-step__content li::before {
  position: absolute;
  top: 0.68em;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--order-accent);
  content: "";
}

.order-step__media {
  margin: 0;
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid var(--order-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.order-step__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.order-step__media--payment {
  background: var(--order-soft);
}

.order-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(242, 135, 5, 0.26);
  border-radius: 16px;
  color: var(--order-primary);
  background: rgba(242, 135, 5, 0.075);
}

.order-note > span {
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: center;
}

.order-note p {
  margin: 0;
  line-height: 1.55;
}

.order-note--success {
  border-color: rgba(2, 140, 140, 0.24);
  background: rgba(2, 140, 140, 0.075);
}

.order-note--success > span {
  color: var(--order-teal);
  font-weight: 700;
}

.order-guide__contact {
  padding: 80px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 135, 5, 0.22), transparent 28%),
    linear-gradient(110deg, var(--order-primary), var(--order-dark-teal));
}


.order-guide__contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.order-guide__contact h2 {
  max-width: 760px;
  color: #ffffff;
}

.order-guide__contact p {
  max-width: 700px;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.order-guide__text-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  text-decoration-skip-ink: auto;
  transition: color var(--transition-ui);
}

.order-guide__text-link:hover,
.order-guide__text-link:focus-visible {
  color: var(--order-teal);
}

.order-guide__contact-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  color: var(--order-primary);
  background: var(--order-accent);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color var(--transition-ui),
    background-color var(--transition-ui),
    transform var(--transition-ui);
}

.order-guide__contact-button:hover,
.order-guide__contact-button:focus-visible {
  color: #ffffff;
  background: var(--order-teal);
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .order-guide__hero-inner {
    min-height: 340px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .order-guide__hero-mark {
    right: -14px;
    bottom: -44px;
    font-size: 17rem;
  }

  .order-guide__intro-grid,
  .order-step__body,
  .order-guide__contact-inner {
    grid-template-columns: 1fr;
  }

  .order-step__body {
    gap: 28px;
  }

  .order-step__content--wide {
    margin-left: 0;
  }

  .order-guide__contact-button {
    justify-self: start;
  }
}

@media (max-width: 575.98px) {
  .order-guide__hero-inner {
    min-height: 300px;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .order-guide__hero h1 {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .order-guide__hero-mark {
    right: -34px;
    bottom: -14px;
    font-size: 12rem;
  }

  .order-guide__intro {
    padding: 48px 0;
  }

  .order-guide__intro-grid {
    gap: 16px;
  }

  .order-guide__prep,
  .order-guide__route {
    padding: 22px;
    border-radius: 18px;
  }

  .order-guide__route-list {
    grid-template-columns: 1fr;
  }

  .order-guide__steps {
    padding-bottom: 58px;
  }

  .order-step {
    padding: 50px 0;
  }

  .order-step__head {
    gap: 13px;
    margin-bottom: 22px;
  }

  .order-step__number {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
    font-size: 1.05rem;
  }

  .order-step__head h2 {
    font-size: clamp(1.55rem, 7.5vw, 2.05rem);
  }

  .order-step__media {
    padding: 8px;
    border-radius: 16px;
  }

  .order-step__media img {
    border-radius: 10px;
  }

  .order-note {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 14px;
  }

  .order-guide__contact {
    padding: 58px 0;
  }

  .order-guide__contact-inner {
    gap: 26px;
  }

  .order-guide__contact-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
