:root {
  color-scheme: light;
  --bg: #f5f8fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #667085;
  --line: #dbe3ef;
  --line-soft: #edf2f7;
  --green: #079455;
  --green-dark: #067647;
  --green-soft: #e8f8f0;
  --blue: #1570ef;
  --blue-soft: #eaf3ff;
  --purple: #7a35ff;
  --purple-soft: #f1eaff;
  --orange: #f97316;
  --orange-soft: #fff0e6;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(21, 112, 239, 0.12), transparent 26%),
    radial-gradient(circle at 100% 10%, rgba(7, 148, 85, 0.12), transparent 28%),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
  color: var(--text);
}

.embed-mode {
  background: transparent;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  max-width: 1420px;
  margin: 0 auto;
  padding: 24px 28px 36px;
}

.embed-mode .page {
  max-width: none;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.anchor-target {
  scroll-margin-top: 120px;
}

.design-hero,
.steps-row article,
.constructor-heading,
.buy-section,
.faq-section {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}

.design-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
  gap: 18px;
  align-items: center;
  min-height: 410px;
  margin-bottom: 14px;
  padding: 58px 40px;
  background:
    radial-gradient(circle at 84% 18%, rgba(7, 148, 85, 0.11), transparent 30%),
    radial-gradient(circle at 10% 5%, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(180deg, #fbfefd 0%, #eef7f2 100%);
  overflow: hidden;
}

.design-hero .eyebrow {
  min-height: 0;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.design-hero-copy h1 {
  max-width: 1090px;
  margin: 0 0 18px;
  font-size: clamp(38px, 4.2vw, 63px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.design-hero-copy p {
  max-width: 1060px;
  margin: 0;
  color: #475467;
  font-size: 18px;
  line-height: 1.58;
}

.hero-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 26px;
}

.hero-mini span {
  position: relative;
  padding-left: 24px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.hero-mini span::before {
  content: "▣";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-size: 14px;
}

.design-hero-visual {
  position: relative;
  min-height: 330px;
}

.map-plate {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.12) 54%, rgba(255, 255, 255, 0) 75%);
}

.map-lines {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(67, 94, 83, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 94, 83, 0.28) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: rotate(-12deg);
}

.pin {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 3;
  width: 80px;
  height: 80px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(180deg, #36c878 0%, var(--green) 100%);
  box-shadow: 0 24px 34px rgba(7, 148, 85, 0.26);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #fff;
}

.poi {
  position: absolute;
  z-index: 2;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  color: #a8c5b8;
  font-size: 34px;
  font-weight: 900;
}

.poi-left { left: 12%; top: 42%; }
.poi-top { left: 46%; top: 1%; width: 58px; height: 58px; font-size: 22px; }
.poi-right { right: 4%; top: 20%; }
.poi-bottom { left: 55%; bottom: 5%; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.steps-row article {
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.steps-row span,
.buy-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-soft);
  color: #1570ef;
  font-weight: 900;
}

.steps-row span {
  margin-bottom: 14px;
}

.steps-row h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.steps-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.constructor-heading {
  margin-bottom: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.constructor-heading h2,
.buy-head h2,
.faq-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.buy-section,
.faq-section {
  margin-bottom: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.buy-head,
.faq-head {
  margin-bottom: 20px;
  text-align: center;
}

.buy-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.buy-steps article {
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.buy-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 18px 0;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.icon-blue { background: var(--blue-soft); color: var(--blue); }
.icon-purple { background: var(--purple-soft); color: var(--purple); font-size: 16px; }
.icon-orange { background: var(--orange-soft); color: var(--orange); }

.buy-steps h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.buy-steps p {
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.55;
}

.faq-section .faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.faq-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.final-cta {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 36px;
  padding: 24px 28px;
  border: 1px solid #cdebdc;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(7, 148, 85, 0.14), transparent 26%),
    linear-gradient(90deg, #f4fff8 0%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}

.final-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--green);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.final-copy h2 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.15;
}

.final-copy p {
  margin: 0;
  color: #475467;
  line-height: 1.55;
}

.final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.final-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border-radius: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.final-btn-primary {
  background: linear-gradient(180deg, #12b76a 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(7, 148, 85, 0.26);
}

.final-btn-outline {
  border: 1px solid #a6d8ff;
  background: #fff;
  color: var(--blue);
}

.bk-buy-steps {
  padding: 24px 0 18px;
}

.bk-buy-steps__inner {
  width: 100%;
  margin: 0 auto;
}

.bk-buy-steps h2 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
}

.bk-buy-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bk-step-card {
  position: relative;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.045);
}

.bk-step-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -16px;
  color: #8895a7;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.bk-step-card__top {
  margin-bottom: 22px;
}

.bk-step-badge {
  width: fit-content;
  min-width: 118px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
}

.bk-step-card--green .bk-step-badge {
  border: 1px solid rgba(7, 148, 85, 0.22);
  background: var(--green-soft);
  color: var(--green);
}

.bk-step-card--blue .bk-step-badge {
  border: 1px solid rgba(21, 112, 239, 0.22);
  background: var(--blue-soft);
  color: var(--blue);
}

.bk-step-card--purple .bk-step-badge {
  border: 1px solid rgba(122, 53, 255, 0.22);
  background: var(--purple-soft);
  color: var(--purple);
}

.bk-step-num {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.bk-step-divider {
  width: 1px;
  height: 26px;
  background: currentColor;
  opacity: 0.24;
}

.bk-step-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.bk-step-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.bk-step-icon--text {
  width: auto;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.bk-step-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.bk-step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 28px;
  background: rgba(247, 250, 255, 0.84);
  border-bottom: 1px solid rgba(219, 227, 239, 0.72);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  max-width: 1420px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  padding: 10px 14px 10px 16px;
  border: 1px solid rgba(219, 227, 239, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green) 0%, #12b76a 48%, var(--blue) 100%);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 13px 28px rgba(7, 148, 85, 0.22);
}

.logo-text strong,
.logo-text small {
  display: block;
}

.logo-text strong {
  font-size: 21px;
  line-height: 1;
}

.logo-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 6px;
}

.main-nav a {
  padding: 11px 12px;
  border-radius: 12px;
  color: #344054;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a:hover {
  background: #f1f5f9;
  color: var(--blue);
}

.header-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.telegram-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #229ed9;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(34, 158, 217, 0.24);
}

.telegram-link:hover {
  background: #168ac0;
}

.telegram-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.max-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3f8cff 0%, #1d62e8 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(29, 98, 232, 0.22);
}

.max-link:hover {
  background: linear-gradient(180deg, #2f7df0 0%, #1754ca 100%);
}

.max-mark {
  min-width: 28px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
  color: currentColor;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 18px;
}

.hero-copy,
.hero-panel,
.content-block,
.step-card,
.constructor-title {
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.07);
}

.hero-copy {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 54px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(18, 183, 106, 0.36), transparent 32%),
    linear-gradient(135deg, #0b1220 0%, #13213a 52%, #0b3b2b 100%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, 0.055);
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #d1fadf;
  font-size: 13px;
  font-weight: 900;
}

.hero-copy h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 20px 0 16px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  position: relative;
  z-index: 1;
  max-width: 770px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-primary,
.hero-secondary {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
}

.hero-primary {
  background: linear-gradient(180deg, #12b76a 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(7, 148, 85, 0.30);
}

.hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-points {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-points span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at top right, rgba(21, 112, 239, 0.18), transparent 38%);
}

.panel-topline {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.panel-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
}

.panel-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 15px;
  font-size: 24px;
  font-weight: 900;
}

.panel-metric strong,
.panel-metric small {
  display: block;
}

.panel-metric strong {
  font-size: 17px;
  line-height: 1.15;
}

.panel-metric small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.content-block {
  margin-bottom: 16px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.92);
}

.content-block__label {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.content-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: center;
}

.content-block h2 {
  max-width: 740px;
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.content-block p {
  margin: 0;
  color: #475467;
  font-size: 16px;
  line-height: 1.65;
}

.content-block p + p {
  margin-top: 12px;
}

.content-note {
  padding: 20px;
  border: 1px solid #cdebdc;
  border-radius: 20px;
  background: linear-gradient(180deg, #f4fff8 0%, #ffffff 100%);
}

.content-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 16px;
}

.seo-list-block h2,
.faq-block h2 {
  max-width: none;
}

.seo-point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seo-point {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
  color: #475467;
  font-size: 15px;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 17px 18px;
  color: var(--text);
  font-weight: 900;
  list-style-position: inside;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line-soft);
  background: #f8fbff;
}

.faq-list p {
  padding: 0 18px 18px;
}

.steps-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.step-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.step-card span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.constructor-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 28px 30px;
  background: linear-gradient(90deg, #ffffff 0%, #f3fbff 100%);
}

.constructor-title .eyebrow {
  border-color: #bfdbfe;
  background: var(--blue-soft);
  color: var(--blue);
}

.constructor-title h2 {
  margin: 12px 0 8px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

.constructor-title p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero {
  margin-bottom: 18px;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 800;
}

.hero p {
  margin: 0;
  max-width: 950px;
  color: #475467;
  font-size: 16px;
  line-height: 1.55;
}

.admin-link {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
  padding: 8px 0;
}

.admin-link:hover {
  color: #175cd3;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 16px;
}

.feature-card,
.section,
.picked-card,
.action-bar,
.metric-card,
.preview {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.045);
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
}

.feature-icon,
.section-icon,
.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 14px;
  font-weight: 800;
}

.feature-icon {
  width: 54px;
  height: 54px;
  font-size: 24px;
}

.feature-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.green-bg { background: var(--green-soft); color: var(--green); }
.blue-bg { background: var(--blue-soft); color: var(--blue); }
.purple-bg { background: var(--purple-soft); color: var(--purple); }
.orange-bg { background: var(--orange-soft); color: var(--orange); }
.green-text { color: var(--green); }
.blue-text { color: var(--blue); }
.purple-text { color: var(--purple); }
.orange-text { color: var(--orange); }

.section {
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 14px;
}

.country-section {
  padding-bottom: 20px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 16px;
}

.country-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "input name";
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.country-card:hover {
  background: #f8fafc;
}

.country-card:has(input:checked) {
  border-color: rgba(7, 148, 85, 0.65);
  background: #f3fcf7;
  box-shadow: 0 0 0 4px rgba(7, 148, 85, 0.08);
}

.country-card input {
  grid-area: input;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--green);
}

.country-name {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  color: #344054;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.compact-head {
  margin-bottom: 0;
}

.section-icon {
  width: 42px;
  height: 42px;
  font-size: 22px;
}

.section-title h2,
.section-title h3 {
  margin: 0 0 2px;
  font-size: 21px;
  letter-spacing: 0;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.rating-label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
  font-size: 14px;
}

.search-input {
  position: relative;
  margin-bottom: 10px;
}

.search-input input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 14px 0 42px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input input:focus,
.rating-grid input:focus {
  border-color: rgba(21, 112, 239, 0.65);
  box-shadow: 0 0 0 4px rgba(21, 112, 239, 0.1);
}

.search-input::before {
  content: "⌕";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #98a2b3;
  font-size: 18px;
}

.select-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.select-tools button,
.clear-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.select-tools button:hover,
.clear-btn:hover,
.secondary-btn:hover {
  background: #f8fafc;
}

.catalog-tree {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 8px;
}

.catalog-tree {
  height: 420px;
}

.tree-loader,
.tree-error {
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.tree-error {
  color: #b42318;
}

.tree-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #e6eef8;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.check-item,
.tree-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 28px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 14px;
}

.check-item:hover,
.tree-row:hover {
  background: #f8fafc;
}

.check-item input,
.tree-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
  flex: 0 0 auto;
}

.check-item label,
.tree-label {
  cursor: pointer;
  line-height: 1.3;
}

.check-item.hidden-by-search,
.tree-node.hidden-by-search {
  display: none;
}

.tree-node {
  margin: 2px 0;
}

.tree-toggle {
  width: 18px;
  min-height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #475467;
  text-align: center;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.tree-toggle.placeholder {
  color: transparent;
  pointer-events: none;
}

.tree-children {
  margin: 4px 0 4px 19px;
  padding: 0 0 0 16px;
  border-left: 1px solid var(--line);
}

.tree-node.collapsed > .tree-children {
  display: none;
}

.picked-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  padding: 14px;
}

.picked-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 14px;
}

.picked-note {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.picked-list {
  flex: 0 1 auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.picked-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 26px;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.picked-row:last-child {
  border-bottom: 0;
}

.picked-row .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picked-row .type {
  color: #667085;
  font-size: 13px;
}

.picked-row.more-row {
  display: block;
  padding: 10px;
  color: #344054;
  font-weight: 800;
}

.remove {
  border: 0;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 7px;
  background: #eef2f6;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.filters-row {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.rating-grid {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 18px minmax(120px, 1fr);
  align-items: center;
  gap: 10px;
}

.rating-grid input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  outline: none;
}

.rating-grid span {
  text-align: center;
  color: #98a2b3;
}

.rating-note {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-color: #cdebdc;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #fbfffd 0%, #f0fbf5 100%);
  box-shadow: 0 10px 28px rgba(6, 118, 71, 0.08);
  margin-bottom: 14px;
}

.selected-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-summary strong {
  margin-right: 4px;
  font-size: 14px;
}

.summary-pill {
  min-width: 102px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: center;
}

.summary-pill b {
  display: block;
  font-size: 16px;
}

.summary-pill span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.secondary-btn,
.primary-btn {
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.secondary-btn {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
}

.primary-btn,
.show-btn {
  border: 0;
  background: linear-gradient(180deg, #0aaa63 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(7, 148, 85, 0.24);
}

.primary-btn:hover,
.show-btn:hover {
  background: linear-gradient(180deg, #09995a 0%, var(--green-dark) 100%);
}

.result-section {
  padding: 16px;
}

.result-head {
  margin-bottom: 13px;
}

.result-head h2,
.result-head h3 {
  margin: 0 0 3px;
  font-size: 21px;
}

.result-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(160px, 0.9fr) minmax(190px, 1.05fr);
  gap: 14px;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #fff;
}

.metric-icon {
  width: 48px;
  height: 48px;
  font-size: 25px;
}

.metric-card b {
  display: block;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0;
}

.metric-card span {
  display: block;
  margin-top: 5px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.show-btn {
  width: 100%;
  height: 72px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 900;
}

.result-telegram-link {
  width: 100%;
  min-height: 34px;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.result-messenger-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-self: stretch;
}

.result-messenger-actions .telegram-link,
.result-messenger-actions .max-link {
  width: 100%;
  min-height: 72px;
  justify-content: center;
  padding: 10px;
}

.result-max-link {
  border-radius: var(--radius-md);
}

.preview {
  margin-top: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.preview-highlight {
  border-color: rgba(7, 148, 85, 0.95);
  box-shadow: 0 0 0 4px rgba(7, 148, 85, 0.12), 0 18px 48px rgba(7, 148, 85, 0.16);
}

.preview-head {
  padding: 14px 16px 10px;
}

.preview-highlight .preview-head {
  background: #e8f8f0;
  border-bottom: 1px solid rgba(7, 148, 85, 0.22);
}

.preview-head h2,
.preview-head h3 {
  margin: 0 0 3px;
  font-size: 20px;
}

.preview-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.bk-preview-card {
  border-color: rgba(7, 148, 85, 0.55);
}

.bk-preview-head {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: linear-gradient(90deg, #effff6 0%, #f8fffb 100%);
  border-bottom: 1px solid var(--line);
}

.bk-preview-status {
  padding: 11px 14px;
  border: 1px solid #b7ebca;
  border-radius: 12px;
  background: #f4fff8;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.bk-preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.bk-order-strip {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(260px, 0.7fr) minmax(340px, 1fr);
  gap: 26px;
  align-items: center;
  margin-top: 18px;
  padding: 24px 30px;
  border: 1px solid #a6d8ff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 5% 10%, rgba(34, 158, 217, 0.10), transparent 32%),
    linear-gradient(90deg, #fbfdff 0%, #f7fbff 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.075);
}

.bk-price-side {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bk-ruble-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e8f1ff;
  color: #1478e9;
  font-size: 44px;
  font-weight: 500;
}

.bk-price-label,
.bk-price-note,
.bk-price-badge {
  display: block;
}

.bk-price-badge {
  width: fit-content;
  margin-bottom: 9px;
  padding: 6px 10px;
  border: 1px solid #ade7c8;
  border-radius: 10px;
  background: #effff5;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.bk-price-label {
  color: #344054;
  font-size: 15px;
  font-weight: 800;
}

.bk-price-value {
  display: block;
  margin-top: 5px;
  color: #1478e9;
  font-size: 38px;
  line-height: 1;
  font-weight: 950;
}

.bk-price-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.bk-benefits {
  display: grid;
  gap: 12px;
  color: #344054;
  font-size: 14px;
  line-height: 1.35;
}

.bk-order-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

.bk-order-copy strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.bk-order-copy p {
  margin: 7px 0 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.45;
}

.bk-telegram-cta {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, #31a8e8 0%, #229ed9 100%);
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(34, 158, 217, 0.24);
}

.bk-telegram-cta:hover {
  background: linear-gradient(180deg, #229ed9 0%, #168ac0 100%);
}

.bk-order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bk-max-cta {
  gap: 8px;
  background: linear-gradient(180deg, #3f8cff 0%, #1d62e8 100%);
  box-shadow: 0 12px 26px rgba(29, 98, 232, 0.22);
}

.bk-max-cta:hover {
  background: linear-gradient(180deg, #2f7df0 0%, #1754ca 100%);
}

.result-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.result-modal.hidden {
  display: none;
}

.result-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(6px);
}

.result-modal__panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 24px 44px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(7, 148, 85, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
  animation: resultModalIn 0.18s ease-out;
}

@keyframes resultModalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.result-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #667085;
  font-size: 32px;
  line-height: 1;
}

.result-modal__close:hover {
  border-color: var(--line);
  background: #f8fafc;
  color: var(--text);
}

.result-modal__success {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid rgba(7, 148, 85, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, #e6f8ef 0%, #d8f3e5 100%);
  color: var(--green);
  box-shadow: 0 12px 28px rgba(7, 148, 85, 0.16);
}

.result-modal__success svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.result-modal__panel h2,
.result-modal__panel h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.05;
}

.result-modal__lead {
  margin: 8px 0 16px;
  text-align: center;
  color: #475467;
  font-size: 18px;
}

.result-modal__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.result-modal__metric {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.065);
  text-align: center;
}

.result-modal__metric-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 900;
}

.result-modal__metric span {
  min-height: 34px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.result-modal__metric strong {
  display: block;
  margin-top: 7px;
  color: var(--green);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1;
}

.result-modal__price {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: 16px;
  padding: 14px 20px;
  border: 1px solid rgba(7, 148, 85, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, #f0fbf5 0%, #eaf8f1 100%);
  text-align: center;
}

.result-modal__price span {
  color: #344054;
  font-size: 16px;
  font-weight: 900;
}

.result-modal__price strong {
  color: var(--green);
  font-size: clamp(40px, 5vw, 54px);
  line-height: 1;
}

.result-modal__price small {
  color: #475467;
  font-size: 16px;
  line-height: 1.35;
}

.result-modal__order-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(21, 112, 239, 0.38);
  border-radius: 14px;
  background: #f4f9ff;
}

.result-modal__order-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: 25px;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 900;
}

.result-modal__order-note strong,
.result-modal__order-note small {
  display: block;
}

.result-modal__order-note strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.result-modal__order-note small {
  margin-top: 5px;
  color: #475467;
  font-size: 15px;
  line-height: 1.35;
}

.result-modal__messengers {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px auto 0;
}

.result-modal__telegram {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2da8f5 0%, #168de2 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(29, 155, 240, 0.25);
}

.result-modal__telegram:hover {
  background: linear-gradient(180deg, #209bea 0%, #0f7fd0 100%);
}

.result-modal__max {
  background: linear-gradient(180deg, #3f8cff 0%, #1d62e8 100%);
  box-shadow: 0 12px 24px rgba(29, 98, 232, 0.24);
}

.result-modal__max:hover {
  background: linear-gradient(180deg, #2f7df0 0%, #1754ca 100%);
}

.result-modal__telegram svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.result-modal__telegram b,
.result-modal__telegram small {
  display: block;
  text-align: center;
}

.result-modal__telegram b {
  font-size: 16px;
  line-height: 1.15;
}

.result-modal__telegram small {
  margin-top: 3px;
  opacity: 0.9;
  font-size: 13px;
}

.result-modal__preview {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  border: 2px solid rgba(7, 148, 85, 0.95);
  border-radius: 13px;
  background: #fff;
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

.result-modal__preview:hover {
  background: #f3fcf7;
}

.result-modal__preview-icon {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.result-modal__preview b,
.result-modal__preview small {
  display: block;
}

.result-modal__preview b {
  color: var(--green);
  line-height: 1.1;
}

.result-modal__preview small {
  margin-top: 4px;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
}

.result-modal__footer {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.result-modal__footer span {
  margin-right: 8px;
}

.table-wrap {
  overflow: auto;
  max-height: 360px;
}

.bk-table-wrap {
  max-height: 420px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 960px;
  font-size: 13px;
}

.bk-table {
  min-width: 1400px;
}

th,
td {
  padding: 11px 13px;
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  border-right: 0;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: #344054;
  font-weight: 800;
}

td {
  color: #243047;
  max-width: 280px;
  overflow-wrap: anywhere;
}

.message {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
}

.message.error {
  color: #b42318;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.32);
}

.modal-panel {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  padding: 18px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-head h2 {
  margin: 0;
  font-size: 21px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: #344054;
  font-size: 20px;
  line-height: 1;
}

.admin-password {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  outline: none;
}

.modal-submit {
  width: 100%;
  margin-top: 14px;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(5px);
}

.loading-box {
  min-width: 260px;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.spinner {
  width: 54px;
  height: 54px;
  border: 5px solid #e6eef8;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-text {
  color: #344054;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

@media (max-width: 1040px) {
  .design-hero,
  .steps-row,
  .bk-buy-steps__grid,
  .buy-steps,
  .faq-section .faq-list {
    grid-template-columns: 1fr 1fr;
  }

  .bk-step-card:not(:last-child)::after {
    display: none;
  }

  .bk-step-card {
    min-height: 235px;
  }

  .design-hero {
    grid-template-columns: 1fr;
  }

  .design-hero-visual {
    min-height: 280px;
  }

  .features,
  .two-column,
  .filters-row,
  .metrics,
  .landing-hero,
  .content-block__grid,
  .seo-point-grid {
    grid-template-columns: 1fr;
  }

  .preview-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .bk-order-strip {
    grid-template-columns: 1fr 1fr;
  }

  .result-modal {
    align-items: end;
    padding: 10px;
  }

  .result-modal__panel {
    width: 100%;
    padding: 30px 16px 20px;
    border-radius: 22px;
  }

  .result-modal__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .result-modal__metric {
    min-height: 128px;
  }

  .result-modal__panel h2,
  .result-modal__panel h3 {
    font-size: 36px;
  }

  .result-modal__lead {
    font-size: 18px;
  }

  .result-modal__price strong {
    font-size: 44px;
  }

  .result-modal__price span,
  .result-modal__price small,
  .result-modal__order-note strong {
    font-size: 16px;
  }

  .result-modal__order-note {
    align-items: flex-start;
    padding: 16px;
  }

  .result-modal__order-note small {
    font-size: 14px;
  }

  .result-modal__preview {
    min-height: 70px;
    gap: 12px;
    font-size: 18px;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-copy {
    min-height: auto;
  }

  .steps-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .actions {
    width: 100%;
  }

  .secondary-btn,
  .primary-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .design-hero,
  .steps-row,
  .bk-buy-steps__grid,
  .buy-steps,
  .faq-section .faq-list,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .bk-buy-steps {
    padding: 24px 0 14px;
  }

  .bk-buy-steps h2 {
    margin-bottom: 18px;
    font-size: 27px;
    text-align: center;
  }

  .bk-step-card {
    min-height: auto;
    padding: 20px;
    border-radius: 20px;
  }

  .bk-step-card__top {
    margin-bottom: 18px;
  }

  .bk-step-badge {
    min-width: 112px;
    height: 50px;
    gap: 11px;
    padding: 0 15px;
    border-radius: 17px;
  }

  .bk-step-num {
    font-size: 23px;
  }

  .bk-step-divider {
    height: 24px;
  }

  .bk-step-icon,
  .bk-step-icon svg {
    width: 26px;
    height: 26px;
  }

  .bk-step-icon--text {
    font-size: 15px;
  }

  .bk-step-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .bk-step-card p {
    font-size: 15px;
  }

  .design-hero {
    padding: 30px 22px;
  }

  .design-hero-copy h1 {
    font-size: 36px;
  }

  .design-hero-visual {
    display: none;
  }

  .constructor-heading,
  .buy-section,
  .faq-section,
  .final-cta {
    padding: 22px;
  }

  .constructor-heading h2,
  .buy-head h2,
  .faq-head h2 {
    font-size: 27px;
  }

  .final-actions {
    display: grid;
    width: 100%;
  }

  .final-btn {
    width: 100%;
  }

  .site-header {
    position: static;
    padding: 10px 12px;
  }

  .site-header__inner {
    padding: 12px;
    border-radius: 18px;
  }

  .logo {
    min-width: 0;
  }

  .logo-text small {
    display: none;
  }

  .main-nav {
    gap: 4px;
  }

  .main-nav a {
    padding: 9px 10px;
    font-size: 13px;
  }

  .page {
    padding: 18px 12px 28px;
  }

  .hero-copy,
  .hero-panel,
  .content-block,
  .constructor-title {
    border-radius: 20px;
  }

  .hero-copy {
    padding: 30px 20px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
  }

  .hero-panel,
  .content-block,
  .constructor-title {
    padding: 20px;
  }

  .content-block h2,
  .constructor-title h2 {
    font-size: 27px;
  }

  .steps-section {
    grid-template-columns: 1fr;
  }

  .section,
  .result-section {
    padding: 14px;
  }

  .check-list,
  .catalog-tree {
    height: 280px;
  }

  .country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .actions {
    flex-direction: column;
  }

  .selected-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .bk-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bk-preview-status {
    white-space: normal;
  }

  .bk-order-strip {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .bk-order-actions,
  .result-modal__messengers {
    grid-template-columns: 1fr;
  }

  .bk-price-side {
    align-items: flex-start;
  }

  .bk-ruble-icon {
    width: 62px;
    height: 62px;
    font-size: 32px;
  }

  .bk-price-value {
    font-size: 34px;
  }

  .selected-summary strong {
    grid-column: 1 / -1;
  }

  .summary-pill {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .result-modal__metrics {
    grid-template-columns: 1fr;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-text strong {
    font-size: 18px;
  }

  .header-contacts .admin-link {
    padding: 0 4px;
  }

  .telegram-link {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 13px;
  }

  .max-link {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 13px;
  }

  .header-contacts .max-link span:not(.max-mark) {
    display: none;
  }

  .result-messenger-actions {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 33px;
  }

  .hero-points span {
    width: 100%;
  }
}
