/* test.dengo.ru — design tokens & shared styles (Figma: Кармашек / dengo redesign).
   Mobile-first; widens to a 2-column layout at >=768px and a centered desktop layout at >=1024px. */

:root {
  --c-navy:    #1d3461;
  --c-navy-2:  #152848;
  --c-blue:    #3a6fd8;
  --c-blue-2:  #cdd8ee;
  --c-bg-blue: #eef3fb;
  --c-yellow:  #ffcb00;
  --c-muted:   #6b7280;
  --c-line:    #cdd8ee;
  --c-white:   #ffffff;
  --c-input-placeholder: #9ca3af;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);

  --col-width: 480px;   /* mobile-style column width on desktop */
  --container-max: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--c-navy);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; }

a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }

/* ---------------- header ---------------- */
.dengo-header {
  background: var(--c-navy);
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.dengo-header__inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.dengo-header__logo {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.dengo-header__dot { color: var(--c-yellow); font-size: 22px; line-height: 1; }

.dengo-header__nav {
  display: none;
  gap: 28px;
  align-items: center;
}
.dengo-header__nav > a,
.dengo-header__nav .nav-dropdown__toggle {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 14px;
}
.dengo-header__nav > a:hover,
.dengo-header__nav .nav-dropdown__toggle:hover { color: var(--c-yellow); }

/* Dropdown «О компании» в десктопной шапке */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle {
  background: transparent;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.nav-dropdown__arrow { transition: transform 0.2s; display: inline-block; }
.nav-dropdown[data-open] .nav-dropdown__arrow,
.nav-dropdown:hover  .nav-dropdown__arrow,
.nav-dropdown:focus-within .nav-dropdown__arrow { transform: rotate(180deg); }

.nav-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(29, 52, 97, 0.18);
  padding: 8px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0s 0.15s;
  z-index: 40;
}
.nav-dropdown[data-open] .nav-dropdown__panel,
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.15s, transform 0.15s;
}
.nav-dropdown__panel a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
}
.nav-dropdown__panel a:hover { background: var(--c-bg-blue); color: var(--c-blue); }

.dengo-header__burger {
  background: transparent;
  border: 0;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dengo-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
body.menu-open .dengo-header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .dengo-header__burger span:nth-child(2) { opacity: 0; }
body.menu-open .dengo-header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- burger drawer ---------------- */
.drawer {
  position: fixed;
  inset: 56px 0 0 0;
  background: var(--c-navy);
  color: #fff;
  z-index: 25;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
body.menu-open .drawer { transform: translateX(0); }
.drawer__list { list-style: none; padding: 8px 0; margin: 0; }
.drawer__list > li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.drawer__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}
.drawer__list a::after { content: '›'; color: var(--c-yellow); font-size: 22px; line-height: 1; }
.drawer__list a:hover { background: rgba(255, 255, 255, 0.05); }

/* Группа с раскрывающимся подсписком («О компании») */
.drawer__group-toggle {
  background: transparent;
  border: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.drawer__group-arrow { color: var(--c-yellow); font-size: 18px; transition: transform 0.2s; }
.drawer__group[data-open] .drawer__group-arrow { transform: rotate(180deg); }
.drawer__group-toggle:hover { background: rgba(255, 255, 255, 0.05); }

.drawer__sublist {
  list-style: none;
  padding: 0 0 8px;
  margin: 0;
  background: rgba(0, 0, 0, 0.15);
}
.drawer__sublist li + li { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.drawer__sublist a {
  padding-left: 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}
.drawer__footer {
  margin-top: auto;
  padding: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

/* ---------------- hero ---------------- */
.hero {
  background: var(--c-bg-blue);
  padding: 26px 16px 32px;
  position: relative;
  overflow: hidden;
}
.hero--main { padding-bottom: 16px; min-height: 296px; }
.hero__copy { max-width: 220px; position: relative; z-index: 2; }
.hero__title {
  margin: 0;
  font-weight: 800;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-navy);
}
.hero__subtitle {
  margin-top: 18px;
  color: var(--c-navy);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}
.hero__image {
  position: absolute;
  right: -20px;
  bottom: 24px;
  width: 200px;
  pointer-events: none;
}
.hero__image--mascot {
  right: -4px;
  bottom: 0;
  width: 180px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(29, 52, 97, 0.18));
  animation: mascotFloat 4.2s ease-in-out infinite;
  transform-origin: 50% 100%;
  pointer-events: none;
  z-index: 1;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-1.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__image--mascot { animation: none; }
}

/* moneybar */
.money-bar {
  background: var(--c-yellow);
  color: var(--c-navy);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 13px 0;
}

/* ---------------- shell (wraps all main sections to a centered column on mobile) ---------------- */
.shell {
  max-width: var(--col-width);
  margin: 0 auto;
}

/* ---------------- calculator ---------------- */
.calculator {
  background: #fff;
  padding: 16px;
}
.calc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.calc__row--mt { margin-top: 24px; }
.calc__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--c-navy);
}
.calc__value-pill {
  display: inline-block;
  min-width: 96px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--c-navy);
  background: #fff;
  border: 1.5px solid var(--c-blue-2);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}
.calc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--c-blue-2);
  background-image: linear-gradient(var(--c-yellow), var(--c-yellow));
  background-repeat: no-repeat;
  background-size: 20% 100%;
  outline: none;
}
.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-yellow);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.calc__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-yellow);
  border: 2px solid #fff;
  cursor: pointer;
}
.calc__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--c-muted);
  margin-top: 8px;
}
.calc__cta { margin-top: 24px; width: 100%; }
.calc__cta.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

/* Consent checkbox под CTA */
.calc__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--c-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s, box-shadow 0.2s;
}
.calc__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin: 1px 0 0;
  accent-color: var(--c-blue);
  cursor: pointer;
}
.calc__consent a { color: var(--c-blue); text-decoration: underline; }
.calc__consent a:hover { color: var(--c-navy); }
.calc__consent.is-warn {
  background: #ffe8e8;
  box-shadow: 0 0 0 2px #d33 inset;
  animation: consentShake 0.4s;
}
@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
.calc__summary { margin: 24px 0 0; padding: 0; }
.calc__summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
}
.calc__summary dt { color: var(--c-muted); font-size: 13px; }
.calc__summary dd { margin: 0; font-weight: 700; font-size: 13px; color: var(--c-navy); }

/* Money-pill (privsosed-style): hidden on mobile, shown inside calculator on desktop */
.money-pill { display: none; }
.money-pill__time { font-weight: 800; margin-left: 4px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-lg);
  height: 56px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  width: 100%;
  text-decoration: none;
}
.btn--primary { background: var(--c-yellow); color: var(--c-navy); }
.btn--primary:hover { filter: brightness(0.95); }
.btn--primary:active { transform: translateY(1px); }

/* ---------------- trust strip ---------------- */
.trust-strip {
  background: #fff;
  padding: 16px;
  border-top: 1px solid var(--c-line);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-bg-blue);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  min-height: 56px;
  color: var(--c-navy);
}
.trust-item--link { transition: background 0.15s; }
.trust-item--link:hover { background: #e1eaf5; }
.trust-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.trust-item--license .trust-item__icon { color: #1aa05b; border-color: #1aa05b; }
.trust-item__icon--ya { background: #FC3F1D; color: #fff; border-color: #FC3F1D; font-size: 18px; }
.trust-item__icon--bnk { background: #003ec3; color: #fff; border-color: #003ec3; font-size: 18px; }
.trust-item__icon--award { color: var(--c-yellow); border-color: var(--c-yellow); }
.trust-item__title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  color: var(--c-navy);
}
.trust-item__star { color: var(--c-yellow); }
.trust-item__sub {
  font-size: 11px;
  line-height: 1.2;
  color: var(--c-muted);
  margin-top: 2px;
}

/* ---------------- how it works ---------------- */
.section__title {
  margin: 0 0 24px;
  padding: 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--c-navy);
}
.how-it-works { padding: 24px 0; }
.steps { margin: 0; padding: 0 16px; list-style: none; position: relative; }
.steps__item { display: flex; gap: 16px; padding: 8px 0; position: relative; }
.steps__item + .steps__item::before {
  content: '';
  position: absolute;
  left: 23px;
  top: -8px;
  height: 16px;
  width: 2px;
  background: var(--c-blue);
  border-radius: 1px;
}
.steps__num {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-yellow);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps__title { font-weight: 700; font-size: 15px; color: var(--c-navy); margin-bottom: 4px; }
.steps__text { font-size: 13px; color: var(--c-muted); line-height: 1.4; }

/* ---------------- stats ("О нас в цифрах") ---------------- */
.stats { padding: 24px 0 8px; }
.stats__lead {
  margin: 0 16px 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-muted);
}
.stats__grid {
  margin: 0 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stats__grid .stat:nth-child(5) {
  grid-column: 1 / -1;        /* on mobile, last (5th) card spans full width */
}
.stat {
  background: var(--c-bg-blue);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  text-align: center;
}
.stat__num {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  color: var(--c-navy);
  margin-bottom: 6px;
}
.stat__label {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.35;
}

/* ---------------- payment ---------------- */
.payment {
  background: #f0f4f6;
  margin: 24px 16px;
  padding: 20px;
  border-radius: 12px;
}
.payment__title {
  font-weight: 700;
  font-size: 18px;
  color: var(--c-navy);
  line-height: 1.4;
  margin-bottom: 16px;
}
.payment__brands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.payment__brand {
  background: #fff;
  border-radius: 6px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment__brand img {
  display: block;
  width: auto;
  height: 24px;
}

/* ---------------- reviews ---------------- */
.reviews { padding: 24px 0; }
.reviews__grid { margin: 0 16px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.review {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  column-gap: 12px;
  row-gap: 4px;
}
.review__av {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.review__av--c1 { background: #FE825D; }
.review__av--c2 { background: #6D5BFF; }
.review__av--c3 { background: #2EC4B6; }
.review__av--c4 { background: #F4A742; }
.review__head { grid-column: 2; grid-row: 1; }
.review__name { font-weight: 700; font-size: 13px; color: var(--c-navy); }
.review__age { font-size: 12px; color: var(--c-muted); }
.review__stars { grid-column: 3; grid-row: 1; font-weight: 700; color: var(--c-yellow); font-size: 13px; }
.review__text { grid-column: 1 / 4; grid-row: 3; font-size: 13px; color: #374151; line-height: 1.45; margin-top: 12px; }
.review__meta { grid-column: 1 / 4; grid-row: 4; font-size: 11px; color: var(--c-muted); margin-top: 8px; }
.reviews__note {
  margin: 16px 16px 0;
  font-size: 11px;
  color: var(--c-muted);
  line-height: 1.45;
}

/* ---------------- faqs (accordion) ---------------- */
.faqs { padding: 0 0 32px; }
.faqs__list { margin: 0 16px; }
.faq-item {
  background: var(--c-bg-blue);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-navy);
  user-select: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-navy);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  transition: transform 0.2s;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  padding: 0 16px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #374151;
}

/* ---------------- sticky mobile CTA ---------------- */
.cta-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 28;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 16px rgba(29, 52, 97, 0.08);
  transform: translateY(110%);
  transition: transform 0.22s ease-out;
}
.cta-sticky--visible { transform: translateY(0); }
.cta-sticky[hidden] { display: none; }
.cta-sticky__btn { height: 52px; font-size: 16px; max-width: 480px; margin: 0 auto; }
body.has-sticky-cta { padding-bottom: 84px; }

/* ---------------- footer ---------------- */
.dengo-footer {
  background: var(--c-navy-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.55;
  padding: 24px 16px 28px;
}
.dengo-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.dengo-footer p {
  margin: 0 0 12px;
  text-align: justify;
  text-justify: inter-word;
}
.dengo-footer__copy {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  margin-bottom: 14px;
}
.dengo-footer__details {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
}
.dengo-footer__details li {
  margin-bottom: 4px;
}
.dengo-footer__details a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dengo-footer__details a:hover { color: var(--c-yellow); }
.dengo-footer__reg {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

/* ---------------- info pages ---------------- */
.info-page { padding: 24px 16px 40px; }
.info-page h1 { font-size: 26px; font-weight: 800; color: var(--c-navy); margin: 0 0 16px; }
.info-page h2 { font-size: 18px; font-weight: 700; color: var(--c-navy); margin: 24px 0 8px; }
.info-page p, .info-page li {
  font-size: 14px; color: #374151; line-height: 1.55;
}
.info-page__lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-navy);
  margin: 0 0 24px;
  line-height: 1.45;
}
.info-page__review {
  background: var(--c-bg-blue);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 0 0 12px;
}
.info-page__review-text { margin: 0 0 6px; font-style: italic; color: var(--c-navy); }
.info-page__review-meta { margin: 0; font-size: 12px; color: var(--c-muted); }
.info-page__note { margin: 16px 0 24px; font-size: 12px; color: var(--c-muted); }
.info-page p { margin: 0 0 12px; }
.info-page ul, .info-page ol { padding-left: 20px; margin: 0 0 16px; }
.info-page ul li { margin-bottom: 6px; }
.info-page .info-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

/* =============================================================
   TABLET / SMALL DESKTOP — >=768px
   ============================================================= */
@media (min-width: 768px) {
  body { max-width: none; }

  .dengo-header__inner { padding: 0 32px; }
  .dengo-header__nav { display: inline-flex; }

  /* desktop nav is the menu — burger and drawer are mobile-only */
  .dengo-header__burger { display: none; }
  .drawer { display: none; }

  /* Hero + calculator side-by-side, on shared light-blue bg (promo-top) */
  .promo-top {
    background: var(--c-bg-blue);
    padding: 56px 32px;
  }
  .promo-top > * {
    grid-column: auto;  /* reset in case .hero or .calculator inherits anything */
  }
  .promo-top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
  }
  /* hero block now lives in the left column of promo-top */
  .hero {
    background: transparent;
    padding: 0;
    min-height: auto;
    overflow: visible;
  }
  .hero__inner {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .hero__copy { max-width: none; }
  .hero__title { font-size: 52px; line-height: 1.05; }
  .hero__subtitle { margin-top: 24px; font-size: 17px; font-weight: 400; }
  /* hero image (non-mascot) hidden on tablet+ */
  .hero__image { display: none; }
  /* mascot — viewable at tablet, под текстом, тело внутри hero колонки */
  .promo-top { overflow: visible; }
  .hero { position: relative; overflow: visible; }
  .hero__image--mascot {
    display: block;
    position: absolute;
    bottom: -130px;
    right: 60px;
    left: auto;
    top: auto;
    width: 270px;
    height: auto;
    margin: 0;
    z-index: 1;
    pointer-events: none;
  }

  /* full-width yellow money-bar is mobile-only */
  .promo-top > .money-bar { display: none; }

  /* calculator becomes a card in the right column */
  .calculator {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
    margin: 0;
    position: relative;       /* создаёт stacking context */
    z-index: 3;               /* выше маскота — карточка спереди, кенгуру за ней */
  }
  /* show the in-card money pill (privsosed-style) on desktop */
  .money-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-bg-blue);
    color: var(--c-navy);
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1;
  }
  .money-pill__icon { display: inline-block; flex-shrink: 0; color: var(--c-navy); }

  /* sticky CTA is mobile-only */
  .cta-sticky { display: none; }

  /* trust strip — 4 across, slightly larger on desktop */
  .trust-strip { padding: 16px 24px; }
  .trust-strip__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .trust-item { padding: 12px 14px; min-height: 64px; gap: 12px; }
  .trust-item__icon { width: 36px; height: 36px; }
  .trust-item__title { font-size: 14px; }
  .trust-item__sub { font-size: 12px; }

  /* "Получение денег легко" is a standalone full-width section now */
  .how-it-works {
    padding: 40px 24px;
    max-width: var(--container-max);
    margin: 0 auto;
  }
  .how-it-works .section__title { padding-left: 0; }
  .steps {
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .steps__item + .steps__item::before { display: none; }  /* horizontal layout, vertical line not needed */

  /* stats: 5 cards across, full-width section */
  .stats {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 48px 24px;
  }
  .stats .section__title { padding: 0; }
  .stats__lead {
    margin: 0 0 32px;
    font-size: 16px;
    max-width: 760px;
  }
  .stats__grid {
    margin: 0;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .stats__grid .stat:nth-child(5) { grid-column: auto; }  /* reset mobile span */
  .stat { padding: 24px 16px; }
  .stat__num { font-size: 32px; }

  /* payment row full-width */
  .payment {
    max-width: var(--container-max);
    margin: 32px auto;
    padding: 28px 24px;
  }
  .payment__brand { height: 56px; }
  .payment__brand img { height: 28px; }

  /* Reviews 2-up */
  .reviews { padding: 32px 24px; max-width: var(--container-max); margin: 0 auto; }
  .reviews .section__title { padding: 0; }
  .reviews__grid { margin: 0; grid-template-columns: 1fr 1fr; gap: 16px; }
  .reviews__note { margin: 16px 0 0; }

  .faqs { padding: 0 24px 40px; max-width: var(--container-max); margin: 0 auto; }
  .faqs .section__title { padding: 0; }
  .faqs__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: start; }
  .faq-item { margin-bottom: 12px; }

  .dengo-footer { padding: 28px 32px; }

  /* Info pages */
  .info-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 64px;
  }
  .info-page h1 { font-size: 32px; }
  .info-page .info-cta { flex-direction: row; }
  .info-page .info-cta .btn { width: auto; min-width: 220px; }
}

/* =============================================================
   DESKTOP — >=1024px
   ============================================================= */
@media (min-width: 1024px) {
  .promo-top { padding: 72px 32px; gap: 48px; }
  .hero__title { font-size: 64px; line-height: 1.02; }
  .hero__subtitle { font-size: 18px; margin-top: 28px; }
  .calculator { padding: 32px; }
  .money-pill { font-size: 14px; padding: 7px 16px; margin-bottom: 24px; }

  /* mascot — смещён вправо (заходит к калькулятору) */
  .hero__image--mascot {
    bottom: -180px;
    right: -212px;
    width: 383px;
  }

  .reviews__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .review { padding: 20px; }
}
