/* ==========================================================================
   FuelFront — Shell Gift Cards landing
   Палитра: тёплая топливная (красный + жёлтый) на светлой основе,
   с тёмными контрастными блоками в середине и в подвале.

   1. Reset          6. Hero          11. Reviews      16. Motion
   2. Tokens         7. Marquee       12. Order form   17. Responsive
   3. Base           8. Steps         13. FAQ
   4. Components     9. Pricing       14. CTA
   5. Header        10. Why / cases   15. Footer
   ========================================================================== */

/* 1. RESET ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* иначе правило выше «включает» скрытые img */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
}

:target {
  scroll-margin-top: 96px;
}

/* 2. TOKENS --------------------------------------------------------------- */
:root {
  /* фирменные цвета */
  --red: #d81e27;
  --red-deep: #a5141b;
  --red-soft: rgba(216, 30, 39, 0.09);
  --yellow: #ffcb05;
  --yellow-2: #ffb800;
  --yellow-soft: rgba(255, 203, 5, 0.16);

  /* светлая основа */
  --bg: #ffffff;
  --bg-warm: #fff8ec;
  --bg-warm-2: #fff3dc;
  --line: #eae3d7;
  --line-2: #f0eae0;

  /* тёмные блоки */
  --ink: #17161a;
  --ink-2: #201e24;
  --ink-3: #2b2830;
  --ink-line: rgba(255, 255, 255, 0.11);

  /* текст */
  --text: #16151a;
  --muted: #5e5a66;
  --muted-2: #8a8592;
  --on-ink: #f7f4ef;
  --on-ink-mut: #ada7b4;

  --grad-yellow: linear-gradient(135deg, #ffe072 0%, #ffcb05 42%, #ffa400 100%);
  --grad-red: linear-gradient(135deg, #e8353d 0%, #d81e27 48%, #a5141b 100%);

  /* геометрия */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pad: clamp(20px, 5vw, 32px);
  --maxw: 1200px;

  --sh-sm: 0 2px 10px rgba(40, 24, 8, 0.07);
  --sh-md: 0 18px 40px -20px rgba(40, 24, 8, 0.3);
  --sh-lg: 0 40px 80px -34px rgba(40, 24, 8, 0.45);
  --sh-red: 0 16px 34px -12px rgba(216, 30, 39, 0.48);
  --sh-yel: 0 16px 34px -12px rgba(255, 168, 0, 0.5);

  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* 3. BASE ----------------------------------------------------------------- */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(60px, 8.5vw, 112px);
  position: relative;
}

.section--warm {
  background: var(--bg-warm);
}

.section--dark {
  background: var(--ink);
  color: var(--on-ink);
}

.section--dark .muted,
.section--dark .lead {
  color: var(--on-ink-mut);
}

/* мягкий переход между светлой и тёмной зоной */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-yellow);
}

/* две тёмные секции подряд — полоска только у первой */
.section--dark+.section--dark::before {
  display: none;
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(34px, 4.6vw, 58px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.section--dark .eyebrow {
  color: var(--yellow);
  background: var(--yellow-soft);
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.55;
  }
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.15rem);
}

h2 {
  font-size: clamp(1.8rem, 3.7vw, 2.85rem);
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 750;
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  color: var(--muted);
  margin-top: 16px;
  max-width: 58ch;
}

.section-head--center .lead {
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.red-text {
  color: var(--red);
}

.yel-text {
  background: var(--grad-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* подчёркивание-мазок под ключевым словом */
.brush {
  position: relative;
  white-space: nowrap;
}

.brush::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.04em;
  height: 0.28em;
  background: var(--yellow);
  border-radius: 0.14em;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: brush-in 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) 0.5s forwards;
}

@keyframes brush-in {
  to {
    transform: scaleX(1);
  }
}

/* 4. COMPONENTS ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1),
    box-shadow 0.24s,
    background 0.22s,
    border-color 0.22s,
    color 0.22s;
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.25s;
}

.btn:hover svg:last-child {
  transform: translateX(3px);
}

/* бегущий блик по кнопке */
.btn--primary::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  width: 45%;
  left: -70%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.45),
      transparent);
  transform: skewX(-18deg);
  animation: btn-shine 4.5s ease-in-out infinite;
}

@keyframes btn-shine {

  0%,
  62% {
    left: -70%;
  }

  85%,
  100% {
    left: 130%;
  }
}

.btn--primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: var(--sh-red);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -12px rgba(216, 30, 39, 0.58);
}

.btn--yellow {
  background: var(--grad-yellow);
  color: #2a1d00;
  box-shadow: var(--sh-yel);
}

.btn--yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -12px rgba(255, 168, 0, 0.6);
}

.btn--ghost {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: var(--sh-sm);
}

.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.section--dark .btn--ghost,
.footer .btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--ink-line);
  color: var(--on-ink);
  box-shadow: none;
}

.section--dark .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn--lg {
  padding: 18px 34px;
  font-size: 1.02rem;
}

.btn--block {
  width: 100%;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition:
    transform 0.26s cubic-bezier(0.2, 0.8, 0.3, 1),
    box-shadow 0.3s,
    border-color 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: #e0d6c6;
}

/* жёлтая полоска сверху, выезжающая при наведении */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.card:hover::before {
  transform: scaleX(1);
}

.section--dark .card {
  background: var(--ink-2);
  border-color: var(--ink-line);
  box-shadow: none;
}

.section--dark .card:hover {
  border-color: rgba(255, 203, 5, 0.35);
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.9);
}

.section--dark .card p {
  color: var(--on-ink-mut);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 18px;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1),
    background 0.25s;
}

.card:hover .icon-badge {
  transform: rotate(-6deg) scale(1.08);
}

.icon-badge--yellow {
  background: var(--yellow-soft);
  color: #b07c00;
}

.section--dark .icon-badge {
  background: rgba(255, 203, 5, 0.14);
  color: var(--yellow);
}

.section--dark .icon-badge--yellow {
  background: rgba(216, 30, 39, 0.18);
  color: #ff7a80;
}

/* --- Gift card mockup: жёлтая карта в фирменной гамме ------------------- */
.gcard {
  position: relative;
  aspect-ratio: 1.586;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(120% 150% at 10% 6%,
      rgba(255, 255, 255, 0.5) 0%,
      transparent 44%),
    linear-gradient(128deg, #ffe072 0%, #ffcb05 38%, #ffa400 100%);
  color: #40290a;
  box-shadow:
    var(--sh-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  isolation: isolate;
}

/* красная дуга в верхнем правом углу — фирменный акцент, не мешает тексту */
.gcard::before {
  content: "";
  position: absolute;
  right: -22%;
  top: -52%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(150deg,
      #e8353d 0%,
      var(--red) 55%,
      var(--red-deep) 100%);
  box-shadow: 0 10px 26px -10px rgba(120, 12, 18, 0.55);
}

/* бегущий блик */
.gcard::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 130%;
  background: linear-gradient(100deg,
      transparent 40%,
      rgba(255, 255, 255, 0.5) 50%,
      transparent 60%);
  transform: translateX(-110%) rotate(-4deg);
  animation: card-shine 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes card-shine {

  0%,
  55% {
    transform: translateX(-110%) rotate(-4deg);
  }

  80%,
  100% {
    transform: translateX(110%) rotate(-4deg);
  }
}

.gcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
}

.gcard__brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.08rem;
  line-height: 1.15;
}

.gcard__brand span {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 3px;
}

/* Слот под официальный бренд-ассет. См. README, раздел «Логотип Shell». */
.gcard__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  z-index: 1;
}

.gcard__chip {
  width: 42px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(150deg, #fff2c4, #d9a93c 55%, #ffeeb8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}

.gcard__chip::before,
.gcard__chip::after {
  content: "";
  position: absolute;
  background: rgba(90, 62, 10, 0.4);
}

.gcard__chip::before {
  inset: 9px 0;
  height: 1px;
  box-shadow: 0 8px 0 rgba(90, 62, 10, 0.4);
}

.gcard__chip::after {
  inset: 0 13px;
  width: 1px;
}

.gcard__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
}

.gcard__value {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.gcard__label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-top: 6px;
}

.gcard__type {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: rgba(64, 41, 10, 0.13);
  padding: 6px 10px;
  border-radius: 999px;
}

/* 5. HEADER --------------------------------------------------------------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-red);
  z-index: 80;
  transition: width 0.1s linear;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.header.is-stuck {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -12px rgba(40, 24, 8, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 1.18rem;
}

.logo img {
  width: 36px;
  height: 36px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.logo:hover img {
  transform: rotate(-8deg) scale(1.06);
}

.logo b {
  color: var(--red);
  font-weight: 800;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.logo__sub {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
}

.footer .logo__sub {
  color: var(--yellow);
  opacity: 0.8;
}

.footer .logo {
  color: var(--on-ink);
}

.footer .logo b {
  color: var(--yellow);
}

.nav {
  display: flex;
  gap: 2px;
  margin-inline: auto;
}

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 550;
  color: var(--muted);
  position: relative;
  transition: color 0.18s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 550;
}

.header__phone:hover {
  color: var(--red);
}

.burger {
  display: none;

  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  place-items: center;
  background: #fff;
}

.burger span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.2s;
}

.burger span+span {
  margin-top: 2px;
}

/* 
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  }
  
  .burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    }
    
    .burger[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
      } */
/* Крестик */
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(13px) translateX(-1px) rotate(48deg);
  width: 32px;
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-13px) translateX(-1px) rotate(-48deg);
  width: 32px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 55;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--pad) 26px;
  box-shadow: 0 20px 40px -24px rgba(40, 24, 8, 0.5);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 15px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line-2);
}

.mobile-menu .btn {
  margin-top: 20px;
}

/* 6. HERO ----------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 84px) clamp(56px, 8vw, 104px);
  background: linear-gradient(178deg, #fff8ec 0%, #ffffff 62%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* два «топливных» пятна, медленно дышат */
.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}

.hero__bg::before {
  width: 720px;
  height: 720px;
  max-width: 125vw;
  top: -300px;
  right: -160px;
  background: radial-gradient(circle,
      rgba(255, 203, 5, 0.55) 0%,
      rgba(255, 203, 5, 0) 62%);
  animation: blob 16s ease-in-out infinite;
}

.hero__bg::after {
  width: 560px;
  height: 560px;
  max-width: 115vw;
  bottom: -280px;
  left: -180px;
  background: radial-gradient(circle,
      rgba(216, 30, 39, 0.18) 0%,
      rgba(216, 30, 39, 0) 64%);
  animation: blob 19s ease-in-out -6s infinite reverse;
}

@keyframes blob {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(-32px, 26px, 0) scale(1.07);
  }

  66% {
    transform: translate3d(24px, -20px, 0) scale(0.95);
  }
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40, 24, 8, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 24, 8, 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 85% 62% at 50% 0%,
      #000 24%,
      transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 0%,
      #000 24%,
      transparent 76%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.hero h1 {
  margin-top: 4px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 42px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 2px solid var(--line-2);
}

.hero__proof-item strong {
  display: block;
  font-size: 1.72rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.hero__proof-item span {
  font-size: 0.84rem;
  color: var(--muted-2);
  font-weight: 550;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px;
}

/* perspective живёт на самом стеке, т.к. карта — его прямой потомок.
   transform-style: preserve-3d здесь не нужен и раньше ломал порядок
   отрисовки: при наклоне подложки и их тени вылезали из-под карты. */
.hero__stack {
  position: relative;
  width: min(430px, 100%);
  margin-block: 94px 96px;
  perspective: 900px;
}

.hero__stack .gcard {
  position: relative;
  z-index: 3;
  /* тень мягче и без большого смещения — иначе она «уезжает» при повороте */
  box-shadow:
    0 24px 48px -26px rgba(120, 70, 10, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
  will-change: transform;
}

.hero__stack-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(140deg, #ffdd8f, #ffb800);
}

.hero__stack-back--1 {
  transform: translate(22px, -22px) rotate(5deg);
  z-index: 2;
  opacity: 0.55;
}

.hero__stack-back--2 {
  transform: translate(40px, -42px) rotate(10deg);
  z-index: 1;
  opacity: 0.28;
}

.hero__float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  font-size: 0.85rem;
  font-weight: 650;
}

.hero__float small {
  display: block;
  font-weight: 500;
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* Бейдж высотой ~69px: выносим на 82px, чтобы он гарантированно не
   заходил на карту (с запасом на покачивание float-y). */
.hero__float--a {
  left: 0;
  bottom: -82px;
}

.hero__float--b {
  right: 0;
  top: -82px;
}

.hero__float .tick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  flex-shrink: 0;
}

/* 7. MARQUEE (жёлтая бегущая строка) -------------------------------------- */
.marquee {
  background: var(--grad-yellow);
  color: #2a1d00;
  padding-block: 13px;
  overflow: hidden;
  position: relative;
  border-block: 1px solid rgba(64, 41, 10, 0.12);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-inline: 22px;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: "•";
  opacity: 0.45;
  margin-left: 22px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* trust bar */
.trustbar {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line);
}

.trustbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trustbar__item {
  padding: 26px var(--pad);
  display: flex;
  align-items: center;
  gap: 13px;
}

.trustbar__item+.trustbar__item {
  border-left: 1px solid var(--line);
}

.trustbar__item svg {
  color: var(--red);
  flex-shrink: 0;
}

.trustbar__item strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
}

.trustbar__item span {
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* 8. STEPS ---------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding-top: 38px;
}

.step::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--mono);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--yellow);
  opacity: 0.35;
  line-height: 1;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.step:hover::after {
  opacity: 0.7;
  transform: translateY(-3px);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* 9. PRICING -------------------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  transition:
    transform 0.24s cubic-bezier(0.2, 0.8, 0.3, 1),
    box-shadow 0.28s,
    border-color 0.22s;
  box-shadow: var(--sh-sm);
}

.price-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-md);
}

.price-card.is-selected {
  border-color: var(--red);
  box-shadow:
    0 0 0 4px var(--red-soft),
    var(--sh-md);
}

.price-card--popular {
  border-color: var(--yellow-2);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 22px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--grad-red);
  color: #fff;
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: var(--sh-red);
}

.price-card .gcard {
  margin-bottom: 20px;
  border-radius: 14px;
  padding: 15px;
}

.price-card .gcard__value {
  font-size: 1.55rem;
}

.price-card .gcard__chip {
  width: 30px;
  height: 23px;
}

.price-card .gcard__chip::before {
  inset: 6px 0;
  box-shadow: 0 6px 0 rgba(90, 62, 10, 0.4);
}

.price-card .gcard__chip::after {
  inset: 0 9px;
}

.price-card .gcard__brand {
  font-size: 0.82rem;
}

.price-card .gcard__mark {
  width: 30px;
  height: 30px;
}

.price-card__face {
  font-size: 1.02rem;
  font-weight: 700;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 6px;
}

.price-card__price b {
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--red);
}

.price-card__price s {
  color: var(--muted-2);
  font-size: 0.95rem;
}

.price-card__save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 750;
  color: #1e7a4f;
  background: rgba(30, 122, 79, 0.1);
  padding: 5px 11px;
  border-radius: 999px;
}

.price-card__pick {
  margin-top: 20px;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid var(--line);
  background: #fffbf4;
  color: var(--text);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.18s;
}

.price-card:hover .price-card__pick {
  background: #fff3dc;
  border-color: var(--yellow-2);
}

.price-card.is-selected .price-card__pick {
  background: var(--grad-red);
  border-color: transparent;
  color: #fff;
}

.pricing-note {
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 64ch;
}

.pricing-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--muted-2);
}

/* 10. WHY / USE CASES ----------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit h3 {
  margin-bottom: 9px;
}

.benefit p {
  font-size: 0.94rem;
}

.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.usecase {
  position: relative;
  min-height: 270px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #fff;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.usecase:hover {
  transform: translateY(-6px);
}

.usecase__art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.usecase__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.usecase:hover .usecase__art img {
  transform: scale(1.06);
}

.usecase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(23, 22, 26, 0.06) 22%,
      rgba(23, 22, 26, 0.92) 100%);
}

.usecase>* {
  position: relative;
  z-index: 2;
}

.usecase h3 {
  margin-bottom: 8px;
}

.usecase p {
  font-size: 0.9rem;
  color: #d9d4e0;
}

/* 11. REVIEWS ------------------------------------------------------------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review {
  display: flex;
  flex-direction: column;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--yellow-2);
  margin-bottom: 16px;
}

.review p {
  font-size: 0.96rem;
  color: var(--muted);
  flex: 1;
}

.review__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: var(--grad-red);
  flex-shrink: 0;
}

.review__who strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.review__who span {
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* 12. ORDER FORM ---------------------------------------------------------- */
.order {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 3.2vw, 44px);
  align-items: start;
}

.form-box {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--sh-md);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.field label .req {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
  color: var(--text);
  font-size: 0.96rem;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b6afa4;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #dcd2c2;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px var(--red-soft);
}

.field textarea {
  resize: vertical;
  min-height: 92px;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235E5A66' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.field__hint {
  font-size: 0.79rem;
  color: var(--muted-2);
  margin-top: 7px;
}

.field__error {
  display: none;
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 7px;
  font-weight: 650;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  background: #fff6f6;
  animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.field.has-error .field__error {
  display: block;
}

@keyframes shake {

  10%,
  90% {
    transform: translateX(-1.5px);
  }

  20%,
  80% {
    transform: translateX(3px);
  }

  30%,
  50%,
  70% {
    transform: translateX(-5px);
  }

  40%,
  60% {
    transform: translateX(5px);
  }
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.qty {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fffdf9;
}

.qty button {
  width: 48px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition:
    background 0.18s,
    color 0.18s;
}

.qty button:hover {
  background: var(--red-soft);
  color: var(--red);
}

.qty input {
  width: 64px;
  text-align: center;
  border: 0;
  border-inline: 1.5px solid var(--line);
  border-radius: 0;
  font-weight: 800;
  background: #fff;
}

.qty input:focus {
  box-shadow: none;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty input {
  -moz-appearance: textfield;
}

.checkbox {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--red);
  cursor: pointer;
}

.checkbox a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox.has-error {
  color: var(--red);
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* summary — тёмная, чтобы притягивать взгляд */
.summary {
  min-width: 0;
  position: sticky;
  top: 100px;
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(22px, 2.6vw, 30px);
  color: var(--on-ink);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-yellow);
}

.summary h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.summary .gcard {
  margin-bottom: 22px;
}

.summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  font-size: 0.92rem;
  color: var(--on-ink-mut);
}

.summary__row+.summary__row {
  border-top: 1px solid var(--ink-line);
}

.summary__row span:last-child {
  color: var(--on-ink);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.summary__row--save span:last-child {
  color: #59d39b;
}

.summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.95rem;
}

.summary__total b {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.summary__list {
  margin-top: 22px;
  display: grid;
  gap: 11px;
}

.summary__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--on-ink-mut);
}

.summary__list svg {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
}

/* пульс при пересчёте суммы */
.is-bumped {
  animation: bump 0.38s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes bump {
  0% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.09);
  }

  100% {
    transform: scale(1);
  }
}

/* 13. FAQ ----------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-inline: auto;
}

.faq details {
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.25s;
}

.faq details:hover {
  border-color: #e0d6c6;
}

.faq details[open] {
  border-color: var(--yellow-2);
  box-shadow: var(--sh-sm);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 58px 20px 22px;
  position: relative;
  font-weight: 700;
  font-size: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-soft);
  transition: background 0.25s;
}

.faq details[open] summary::before {
  background: var(--yellow-soft);
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 29px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2.2px solid var(--red);
  border-bottom: 2.2px solid var(--red);
  transform: rotate(45deg);
  transition:
    transform 0.28s,
    border-color 0.25s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
  border-color: #b07c00;
}

.faq .faq__body {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* 14. CTA ----------------------------------------------------------------- */
.cta-strip {
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.5vw, 58px);
  background: var(--grad-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-red);
}

.cta-strip::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -60%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 203, 5, 0.32), transparent 62%);
  animation: blob 14s ease-in-out infinite;
}

.cta-strip>* {
  position: relative;
  z-index: 1;
}

.cta-strip h2 {
  max-width: 20ch;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
  max-width: 46ch;
}

.cta-strip .btn--yellow {
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
}

/* 15. FOOTER -------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--on-ink);
  padding-block: 58px 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer__about p {
  color: var(--on-ink-mut);
  font-size: 0.88rem;
  margin-top: 16px;
  max-width: 34ch;
}

.footer h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--yellow);
  font-weight: 800;
  margin-bottom: 16px;
}

.footer li+li {
  margin-top: 10px;
}

.footer a {
  font-size: 0.9rem;
  color: var(--on-ink-mut);
  transition: color 0.18s;
}

.footer a:hover {
  color: var(--yellow);
}

.footer__bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--on-ink-mut);
}

.disclaimer {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-line);
  font-size: 0.78rem;
  color: var(--on-ink-mut);
  line-height: 1.65;
}

/* 16. MOTION -------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.3, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
  transition-delay: var(--d, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes float-y {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.hero__float--a {
  animation: float-y 5.5s ease-in-out infinite;
}

.hero__float--b {
  animation: float-y 6.5s ease-in-out 0.8s infinite;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .brush::after {
    transform: scaleX(1);
  }

  .marquee__track {
    animation: none;
  }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 160%);
  z-index: 90;
  max-width: min(440px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: var(--sh-lg);
  font-size: 0.9rem;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.toast.is-open {
  transform: translate(-50%, 0);
}

.toast svg {
  flex-shrink: 0;
  color: var(--yellow);
}

.toast--error svg {
  color: #ff7a80;
}

/* Thank-you page */
.tyou {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}

.tyou__icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-red);
  color: #fff;
  margin: 0 auto 28px;
  box-shadow: var(--sh-red);
  animation: pop-in 0.55s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

@keyframes pop-in {
  from {
    transform: scale(0.4);
    opacity: 0;
  }

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

.tyou__steps {
  display: grid;
  gap: 12px;
  max-width: 540px;
  margin: 34px auto 0;
  text-align: left;
}

.tyou__steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 0.92rem;
  box-shadow: var(--sh-sm);
}

.tyou__steps b {
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.82rem;
}

/* Legal pages ------------------------------------------------------------- */
.prose {
  max-width: 760px;
  margin-inline: auto;
}

.prose h1 {
  margin-bottom: 14px;
}

.prose h2 {
  font-size: clamp(1.15rem, 1.9vw, 1.42rem);
  margin-top: 38px;
  margin-bottom: 12px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.prose ul {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.prose ul li {
  padding-left: 20px;
  position: relative;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose__meta {
  font-size: 0.84rem;
  color: var(--muted-2);
  margin-bottom: 30px;
}

.notice {
  border-left: 4px solid var(--yellow-2);
  background: var(--bg-warm-2);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  font-size: 0.88rem;
  color: #6b5218;
  margin-bottom: 32px;
}

.notice b {
  color: #8a5a00;
}

/* 17. RESPONSIVE ---------------------------------------------------------- */
/* Выше брейкпоинта мобильное меню не должно показываться никогда —
   даже если класс is-open остался после смены ширины окна. */
@media (min-width: 1081px) {

  .mobile-menu,
  .mobile-menu.is-open {
    display: none;
  }
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .burger {
    display: grid;
    margin-left: auto;
  }

  .header__phone {
    display: none;
  }

  .header__cta .btn {
    display: none;
  }

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

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

/* На средних ширинах подложки подтягиваем ближе к карте, иначе верхняя
   упирается в правый край экрана и обрезается. */
@media (max-width: 1100px) {
  .hero__stack-back--1 {
    transform: translate(15px, -16px) rotate(3.5deg);
  }

  .hero__stack-back--2 {
    transform: translate(27px, -31px) rotate(7deg);
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
    max-width: 440px;
    margin-inline: auto;
  }

  .hero__stack-back--1,
  .hero__stack-back--2 {
    display: none;
  }

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

  .summary {
    position: static;
  }

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

  .trustbar__item:nth-child(3) {
    border-left: 0;
  }

  .trustbar__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  /* Одноколоночный hero: карта сужается, и плавающие бейджи начинают
     налезать на неё. Ниже 960px они становятся обычным столбцом под картой. */
  .hero__stack {
    margin-block: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero__stack .gcard {
    order: -1;
  }

  .hero__float {
    position: static;
    width: 100%;
    animation: none;
  }
}

@media (max-width: 640px) {
  .text--mobile {
    font-size: 12px;
  }

  .mobile-menu a {
    padding: 15px 20px;
  }

  .steps,
  .benefits,
  .usecases,
  .reviews {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

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

  .trustbar__item+.trustbar__item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  /* на телефоне заголовок должен идти первым, а не картинка */
  .hero__visual {
    order: 0;
    margin-top: 8px;
    padding-inline: 0;
  }

  .hero__proof {
    gap: 18px 30px;
  }

  .hero__proof-item strong {
    font-size: 1.4rem;
  }

  .hero__float {
    padding: 12px 14px;
    font-size: 0.84rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-strip .btn {
    width: 100%;
  }

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

  .mobile-menu {
    inset-block-start: 66px;
  }

  .header__inner {
    min-height: 66px;
  }

  .step::after {
    font-size: 2rem;
  }

  /* Компактная карточка номинала: миниатюра слева, цена справа.
     В один столбец во всю ширину секция получалась бесконечно длинной. */
  .price-card {
    display: grid;
    align-items: start;
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-areas:
      "card face"
      "card price"
      "card save"
      "btn  btn";
    column-gap: 16px;
    row-gap: 2px;
    padding: 20px 18px 18px;
  }

  .price-card .gcard {
    grid-area: card;
    margin-bottom: 0;
    align-self: center;
    padding: 10px;
    border-radius: 10px;
  }

  .price-card .gcard__brand {
    font-size: 0.6rem;
  }

  .price-card .gcard__brand span {
    font-size: 0.44rem;
    letter-spacing: 0.1em;
    margin-top: 2px;
  }

  .price-card .gcard__chip {
    width: 20px;
    height: 15px;
    border-radius: 4px;
  }

  .price-card .gcard__chip::before {
    inset: 4px 0;
    box-shadow: 0 4px 0 rgba(90, 62, 10, 0.4);
  }

  .price-card .gcard__chip::after {
    inset: 0 6px;
  }

  .price-card .gcard__value {
    font-size: 1.05rem;
  }

  .price-card__face {
    grid-area: face;
    font-size: 0.92rem;
  }

  .price-card__price {
    grid-area: price;
  }

  .price-card__price b {
    font-size: 1.6rem;
  }

  .price-card__save {
    grid-area: save;
    margin-top: 8px;
  }

  .price-card__pick {
    grid-area: btn;
    margin-top: 16px;
  }
}

@media (max-width: 380px) {
  :root {
    --pad: 16px;
  }

  .gcard {
    padding: 15px;
    border-radius: 14px;
  }

  .price-card {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
  }

  .price-card__price b {
    font-size: 1.45rem;
  }
}

@media print {

  .header,
  .mobile-menu,
  .hero__bg,
  .toast,
  .cta-strip,
  .marquee,
  .progress-bar {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}