.guide-hero {
  display: flex;
  justify-content: center;
}

.guide-hero__content {
  width: 1312px;
  max-width: 100%;
  border-radius: 20px;
  background: linear-gradient(223deg, #24A08F 2.38%, #043945 93.74%);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.guide-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #EBFFFB;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.guide-hero__title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  max-width: 820px;
}

.guide-hero__subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
}

.guide-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.guide-badge b { color: #7FEFD6; }

.guide-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.guide-section {
  scroll-margin-top: 90px;
}

.guide-section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.guide-eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3ABFA4;
}

.guide-section__lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #2E2E2E;
  max-width: 860px;
}

.guide-logic {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-logic__card {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #EBFFFB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.guide-ico img {
  width: 30px;
  height: 30px;
}

.guide-logic__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #27907B;
}

.guide-logic__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #2E2E2E;
}

.guide-route {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-route__chip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 300px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.guide-route__chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(4, 57, 69, 0.1);
}

.guide-route__num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(260deg, #3ABFA4 2.07%, #0C687C 99.43%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-route__label {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  color: #2E2E2E;
}

.guide-tariffs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.guide-tariff {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  position: relative;
}

.guide-tariff--accent {
  background: linear-gradient(258deg, #3ABFA4 2.07%, #0C687C 99.43%);
  color: #fff;
}

.guide-tariff__label {
  font-size: 16px;
  font-weight: 500;
  color: #888;
}

.guide-tariff--accent .guide-tariff__label { color: rgba(255, 255, 255, 0.85); }

.guide-tariff__value {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: #27907B;
}

.guide-tariff--accent .guide-tariff__value { color: #fff; }

.guide-tariff__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #2E2E2E;
}

.guide-tariff--accent .guide-tariff__desc { color: rgba(255, 255, 255, 0.92); }

.guide-note {
  background: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-note__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #2E2E2E;
}

.guide-note__text b { color: #27907B; font-weight: 700; }

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-step {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  scroll-margin-top: 90px;
}

.guide-step__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.guide-step__num {
  min-width: 52px;
  height: 52px;
  padding: 0 10px;
  border-radius: 14px;
  background: linear-gradient(260deg, #3ABFA4 2.07%, #0C687C 99.43%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-step__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: #2E2E2E;
}

.guide-step__where {
  display: inline-block;
  background: #F4F8F7;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #4A6B64;
  margin-bottom: 18px;
}

.guide-step__where b { color: #27907B; }

.guide-step__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #2E2E2E;
  margin-bottom: 18px;
}

.guide-step__text:last-child { margin-bottom: 0; }

.guide-step__subhead {
  font-size: 18px;
  font-weight: 700;
  color: #27907B;
  margin: 22px 0 14px;
}

.guide-actions {
  list-style: none;
  counter-reset: guide-actions;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.guide-actions li {
  counter-increment: guide-actions;
  position: relative;
  padding-left: 44px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #2E2E2E;
  min-height: 30px;
}

.guide-actions li::before {
  content: counter(guide-actions);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #EBFFFB;
  color: #27907B;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-actions li b { color: #27907B; font-weight: 700; }
.guide-actions--warn li.is-warn::before { background: #FDE8E8; color: #D84C4C; }

.guide-step__text b,
.guide-list b { color: #27907B; font-weight: 700; }

.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.guide-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.5;
  color: #2E2E2E;
}

.guide-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ABFA4;
}

.guide-shot {
  margin: 20px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E6ECEA;
  background: #F4F8F7;
}

.guide-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.guide-shot--tall {
  text-align: center;
  padding: 18px 0;
}

.guide-shot--tall img {
  width: auto;
  max-width: 100%;
  max-height: 460px;
  margin: 0 auto;
  border-radius: 10px;
}

.guide-shot__cap {
  font-size: 14px;
  font-weight: 500;
  color: #7C8B88;
  padding: 10px 16px;
  border-top: 1px solid #E6ECEA;
  background: #fff;
}

.guide-shots-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.guide-shots-2 .guide-shot { margin: 0; }

.guide-code {
  background: #0E2E30;
  color: #CFF5EC;
  border-radius: 12px;
  padding: 16px 18px;
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre;
  overflow-x: auto;
  margin: 4px 0 20px;
}

.guide-prompt {
  background: #0E2E30;
  border-radius: 16px;
  overflow: hidden;
  margin: 18px 0 22px;
}

.guide-prompt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-prompt__title {
  color: #CFF5EC;
  font-size: 14px;
  font-weight: 700;
}

.guide-prompt__copy {
  flex-shrink: 0;
  border: 1px solid rgba(127, 239, 214, 0.4);
  background: rgba(127, 239, 214, 0.1);
  color: #7FEFD6;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.guide-prompt__copy:hover { background: rgba(127, 239, 214, 0.2); }

.guide-prompt__copy.is-copied {
  color: #fff;
  border-color: #3ABFA4;
  background: #27907B;
}

.guide-prompt__body {
  margin: 0;
  padding: 16px 18px;
  max-height: 340px;
  overflow: auto;
  color: #CFF5EC;
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.guide-xref {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #EBFFFB;
  border: 1px solid #CDEDE6;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 18px 0;
  font-size: 15px;
  line-height: 1.45;
  color: #2E2E2E;
}

.guide-xref img { width: 20px; height: 20px; flex-shrink: 0; }

.guide-xref a { color: #27907B; font-weight: 700; }

.guide-xref a:hover { color: #1F7A68; }

.guide-hint {
  background: #F4F8F7;
  border: 1px solid #E9EFED;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 20px;
}

.guide-hint__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #4A6B64;
}

.guide-hint__text b {
  color: #27907B;
  font-weight: 700;
}

.guide-totop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #070708;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(4, 57, 69, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 600;
}

.guide-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.guide-totop:hover { opacity: 0.88; }

.guide-totop img {
  width: 13px;
  height: 13px;
  transform: rotate(90deg);
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .guide-totop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

.guide-support {
  display: flex;
  justify-content: center;
}

.guide-support__content {
  width: 1312px;
  max-width: 100%;
  border-radius: 20px;
  background: linear-gradient(260deg, #3ABFA4 2.07%, #0C687C 99.43%);
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.guide-support__text { color: #fff; max-width: 560px; }

.guide-support__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.guide-support__desc {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.guide-support__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
}

.guide-support__actions .btn { width: 100%; }

.btn--tg {
  background: #fff;
  color: #0C687C;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

@media (max-width: 1360px) {
  .guide-hero__content,
  .guide-support__content {
    width: 100%;
    max-width: 1312px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1024px) {
  .guide-hero__content { padding: 40px 32px; }
  .guide-step { padding: 28px; }
  .guide-step__title { font-size: 22px; }
  .guide-support__content { padding: 32px; }
}

@media (max-width: 768px) {
  .guide-hero__content { padding: 28px 22px; border-radius: 16px; }
  .guide-hero__subtitle { font-size: 16px; }
  .guide-badge { font-size: 14px; padding: 8px 12px; }
  .guide-hero__actions { width: 100%; }
  .guide-hero__actions .btn { width: 100%; }

  .guide-section__lead { font-size: 16px; }

  .guide-step { padding: 22px; border-radius: 16px; }
  .guide-step__head { gap: 12px; }
  .guide-step__num { min-width: 44px; height: 44px; font-size: 18px; }
  .guide-step__title { font-size: 20px; }

  .guide-actions li { font-size: 15px; }
  .guide-shots-2 { grid-template-columns: 1fr; }

  .guide-route__chip { flex-basis: 100%; }
  .guide-logic__card { flex-basis: 100%; padding: 24px; }
  .guide-tariff { flex-basis: 100%; padding: 24px; }

  .guide-support__content { padding: 24px; border-radius: 16px; }
  .guide-support__actions { width: 100%; min-width: 0; }
}

@media (max-width: 400px) {
  .guide-hero__title { font-size: 24px; }
  .guide-tariff__value { font-size: 28px; }
}
