/* =========================
   HERO
========================= */
.hero{
  position:relative;
  background: var(--bg-hero);
  overflow:hidden;
  padding: 100px 0 40px;
  min-height: 751px;
}

.hero__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.hero__title{
  margin: 0;
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 120%;
  color: var(--text-primary);
}

.hero__subtitle{
  margin: 16px 0 0;
  max-width: 760px;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  color: var(--text-secondary);
}

.hero__cta{
  margin-top: 24px;
  width: 141px; /* как в макете кнопок */
}

/* Decorative hero images (desktop) */
.hero__img{
  position:absolute;
  pointer-events:none;
  user-select:none;
}

.hero__img--right{
  width:420px;
  height:758px;
  top:-8px;
  right:-188px;
  transform: rotate(25.97deg);
}

.hero__img--left{
  width:281px;
  height:519px;
  left:-165px;
  top: calc(50% + 64.5px);
  transform: translateY(-50%) rotate(-25.97deg);
}

/* Features row under hero button */
.hero__features{
  list-style:none;
  padding:0;
  margin: 44px 0 0;
  display:flex;
  justify-content:center;
  gap: 120px;
}

.feature{
  width:134px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
}

.feature__icon{
  width:48px;
  height:48px;
  color:#0A0A0A;
  display:flex;
  align-items:center;
  justify-content:center;
}
.feature__text{
  font-size:14px;
  line-height:150%;
  font-weight:400;
  color:#0A0A0A;
}

@media (max-width: 768px){
  .feature__icon{
    width:32px;
    height:32px;
    color:#0A0A0A;
    display:flex;
    align-items:center;
    justify-content:center;
}

}

/* =========================
   RUNNING LINE
========================= */
.running-line{
  height: 80px;
  background: var(--grad-1);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.running-line__viewport{
  width: 100%;
  overflow: hidden;
}

.running-line__track{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  padding: 0 24px;
  will-change: transform;

  /* скорость можно менять: 18s / 22s / 28s */
  animation: runningLineMarquee 22s linear infinite;
}

/* пауза при наведении (удобно для desktop) */
.running-line__viewport:hover .running-line__track{
  animation-play-state: paused;
}

.running-line__lead{
  color:#FDFDFD;
  font-size:32px;
  font-weight:500;
  line-height:130%;
  white-space:nowrap;
}

.running-line__item{
  color:#FDFDFD;
  font-size:32px;
  font-weight:500;
  line-height:130%;
  white-space:nowrap;
}

.running-line__star{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  flex: 0 0 auto;
  opacity:.95;
}

/* JS добавит клон трека -> едем ровно на половину длины */
@keyframes runningLineMarquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* mobile */
@media (max-width: 768px){
  .running-line{
    height: 68px;
  }

  .running-line__track{
    gap: 14px;
    padding: 0 16px;
    animation-duration: 18s;
  }

  .running-line__lead{
    font-size: 14px;
  }

  .running-line__item{
    font-size: 16px;
  }

  .running-line__star{
    width:16px;
    height:16px;
  }

  .running-line__star svg{
    width:16px;
    height:16px;
  }
}

/* =========================
   SOLUTIONS
========================= */
.solutions{
  background:#FFFFFF;
  padding: 72px 0 96px;
}

.solutions__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:48px;
}

.solutions__head{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
  max-width: 900px;
}

.solutions__title{
  margin: 0;
  font-family:"Public Sans", sans-serif;
  font-weight:600;
  font-size:48px;
  line-height:125%;
  color: var(--text-primary);
}

.solutions__kicker{
  margin: 0;
  font-size:16px;
  font-weight:400;
  line-height:150%;
  color: var(--text-secondary);
}

.solutions__desc{
  margin: 0;
  font-size:16px;
  font-weight:400;
  line-height:150%;
  color: var(--text-secondary);
  max-width: 720px;
}

.solutions__actions{
  display:flex;
  gap:12px;
  margin-top: 8px;
}

.solutions__grid{
  width:100%;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card (from Figma sizes) */
.solution-card{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:16px;
  padding: 24px 0;
  background:#FFFFFF;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-1) border-box;
  border-radius: 14px;
  height: 434px;
}

.solution-card__media{
  padding: 0 24px;
  width:100%;
}
.solution-card__media img{
  width: 100%;
  height: 242px;
  border-radius: 6px;
  object-fit: cover;
  background: #E9E9E9; /* если картинки ещё нет */
}

.solution-card__title{
  margin: 0;
  padding: 0 24px;
  font-family:"Inter", sans-serif;
  font-weight:500;
  font-size:20px;
  line-height:130%;
  color: var(--text-primary);
}

.solution-card__text{
  margin: 0;
  padding: 0 24px;
  font-size:16px;
  font-weight:400;
  line-height:150%;
  color: var(--text-secondary);
}

/* =========================
   Mobile
========================= */
@media (max-width: 900px){
  .hero{
    min-height: auto;
    padding: 24px 0 24px;
  }

  .hero__img{ display:none; }

  .hero__title{
    font-size:48px;
    line-height:120%;
  }

  .hero__subtitle{
    font-size:14px;
    line-height:150%;
    max-width: 328px;
  }

  .hero__cta{
    width:168px;
    height:40px;
  }

  .hero__features{
    width:100%;
    max-width: 296px;
    flex-wrap:wrap;
    gap:56px 27px;
    margin-top: 24px;
  }

  /* делаем 3-ю фичу по центру (как на моб.скрине) */
  .hero__features .feature:nth-child(3){
    margin-left:auto;
    margin-right:auto;
  }

  .running-line{
    height:48px; /* визуально как на мобиле */
  }
  .running-line__inner{
    justify-content:flex-start;
    gap:24px;
    padding: 0 16px;
  }
  .running-line__item{
    font-size:20px;
    line-height:130%;
  }

  .solutions{
    padding: 32px 0 48px;
  }

  .solutions__title{
    font-size:48px;
    line-height:120%;
    font-weight: 800;
  }

  .solutions__actions{
    width:100%;
    flex-direction:column;
  }
  .solutions__actions .btn{
    width:100%;
    height:40px;
  }

  .solutions__grid{
    grid-template-columns: 1fr;
    gap:16px;
  }

  .solution-card{
    height:auto;
  }
}

/* =========================
   PROBLEMS (Everyday Operational Problems)
========================= */
.problems{
  background: #FDFDFD; /* с десктоп-скрина почти белый фон */
  padding: 80px 0 96px;
}

.problems__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.problems__title{
  margin: 18px 0 0;
  font-family:"Public Sans", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  color: #0A0A0A;
}

.problems__accent{
  font-family:"Public Sans", sans-serif;
  font-style: italic;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.problems__subtitle{
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-secondary);
}

/* note block */
.problems__note{
  width: 100%;
  margin-top: 32px;
  text-align: left;

  display:flex;
  align-items:flex-start;
  gap: 16px;

  padding: 18px 0;
  border-radius: 14px;
  background: #FFFFFF;
}

.problems__note-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F7F8FD;
  color: #0A0A0A;

  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

.problems__note-title{
  font-size: 20px;
  line-height: 130%;
  font-weight: 500;
  color: #0A0A0A;
}

.problems__note-desc{
  margin-top: 6px;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-secondary);
}

/* main grid */
.problems__grid{
  width:100%;
  margin-top: 28px;

  display:grid;
  grid-template-columns: 1.05fr 0.95fr; /* как на десктопе: слева шире */
  gap: 28px;
  align-items:start;
}

/* left preview */
.problems__preview{
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #E6E7EB;
  overflow:hidden;
}

.problems__preview img{
  width:100%;
  height:auto;
  display:block;
}

/* right cards stack */
.problems__cards{
  display:flex;
  flex-direction:column;
  gap: 16px;
}

.problem-card{
  border-radius: 16px;
  background: #F7F8FD; /* на десктопе карточки имеют этот оттенок */
  padding: 22px 24px;
  text-align: left;
}

.problem-card__icon{
  width: 28px;
  height: 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: #0A0A0A;
  flex: 0 0 auto;
}

.problem-card__title{
  margin:0;
  font-size: 20px;
  line-height: 130%;
  font-weight: 500;
  color: #0A0A0A;
}

.problem-card__text{
  margin:0;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-secondary);
}

/* =========================
   Mobile
========================= */
@media (max-width: 900px){
  .problems{
    padding: 40px 0 48px;
  }


  .problems__subtitle{
    max-width: 328px;
    font-size: 14px;
    line-height: 150%;
  }

  .problems__note{
    padding: 0;
  }

  .problems__grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .problem-card{
    padding: 16px 16px;
  }

  .problem-card__title{
    font-size: 16px;
    line-height: 150%;
  }

  .problem-card__text{
    font-size: 14px;
    line-height: 150%;
  }
}

/* =========================
   PROBLEMS (Everyday Operational Problems)
========================= */
.problems{
  background: #FDFDFD; /* с десктоп-скрина почти белый фон */
  padding: 80px 0 96px;
}

.problems__inner{
  display:flex;
  flex-direction:column;
  align-items:start;
  text-align:center;
}

.problems__title{
  margin: 18px 0 0;
  font-family:"Public Sans", sans-serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 120%;
  color: #0A0A0A;
}

.problems__accent{
  font-family:"Public Sans", sans-serif;
  font-style: italic;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.problems__subtitle{
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-secondary);
}

/* note block */
.problems__note{
  width: 100%;
  margin-top: 32px;
  text-align: left;

  display:flex;
  align-items:flex-start;
  gap: 16px;

  padding: 18px 0;
  border-radius: 14px;
  background: #FFFFFF;
}

.problems__note-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F7F8FD;
  color: #0A0A0A;

  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

.problems__note-title{
  font-size: 20px;
  line-height: 130%;
  font-weight: 500;
  color: #0A0A0A;
}

.problems__note-desc{
  margin-top: 6px;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-secondary);
}

/* main grid */
.problems__grid{
  width:100%;
  margin-top: 28px;

  display:grid;
  grid-template-columns: 1.05fr 0.95fr; /* как на десктопе: слева шире */
  gap: 28px;
  align-items:start;
}

/* left preview */
.problems__preview{
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #E6E7EB;
  overflow:hidden;
}

.problems__preview img{
  width:100%;
  height:auto;
  display:block;
}

/* right cards stack */
.problems__cards{
  display:flex;
  flex-direction:column;
  gap: 16px;
}

.problem-card{
  border-radius: 16px;
  background: #F7F8FD; /* на десктопе карточки имеют этот оттенок */
  padding: 22px 24px;
}

.problem-card__head{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.problem-card__icon{
  width: 28px;
  height: 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: #0A0A0A;
  flex: 0 0 auto;
}

.problem-card__title{
  margin:0;
  font-size: 20px;
  line-height: 130%;
  font-weight: 500;
  color: #0A0A0A;
}

.problem-card__text{
  margin:0;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-secondary);
}

/* =========================
   Mobile
========================= */
@media (max-width: 900px){
  .problems{
    padding: 40px 0 48px;
  }

  .problems__title{
    font-size: 48px;
    line-height: 120%;
    font-weight: 700;
  }

  .problems__subtitle{
    max-width: 328px;
    font-size: 14px;
    line-height: 150%;
  }

  .problems__note{
    padding: 0;
  }

  .problems__grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .problem-card{
    padding: 16px 16px;
  }

  .problem-card__title{
    font-size: 16px;
    line-height: 150%;
  }

  .problem-card__text{
    font-size: 14px;
    line-height: 150%;
  }
}

/* =========================
   HOW IT WORKS (4 steps)
========================= */
.howit{
  background: #F7F8FD;
  padding: 80px 0 96px;
}

.howit__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.howit__title{
  margin: 18px 0 0;
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  color: #0A0A0A;
  max-width: 980px;
}

.howit__accent{
  font-family: "Public Sans", sans-serif;
  font-style: italic;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.howit__subtitle{
  margin: 14px 0 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-secondary);
}

.howit__steps{
  width:100%;
  margin-top: 48px;
  display:flex;
  flex-direction:column;
  gap: 54px;
  text-align:left;
}

/* row = 2 columns like screenshot */
.howit__row{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items:center;
}

.howit__row--reverse{
  grid-template-columns: 1.05fr 0.95fr;
}
.howit__row--reverse .howit__col--text{ order: 2; }
.howit__row--reverse .howit__col--media{ order: 1; }

.howit__col--text{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.howit__step-label{
  font-size: 12px;
  font-weight: 600;
  line-height: 150%;
  color: var(--accent-primary);
}

.howit__step-title{
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  color: #0A0A0A;
}

.howit__step-kicker{
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: var(--text-secondary);
}

.howit__bullet{
  margin-top: 6px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  max-width: 520px;
}

.howit__bullet-icon{
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.howit__bullet-icon img{
  display: block;
  width: 100%;
  height: 100%;
}

.howit__bullet-text{
  margin:0;
  font-size: 14px;
  line-height: 150%;
  color: var(--text-secondary);
}

/* images (flat, no shadow like in screenshot) */
.howit__col--media{
  display:flex;
  justify-content:center;
}

.howit__img{
  width: 492px;
  height: 336px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E6E7EB;
}

/* sizes similar to screenshot: big on steps 1/3, smaller on 2/4 */
.howit__img--lg{ max-width: 560px; }
.howit__img--sm{ max-width: 440px; }

/* subtle vertical staggering (desktop feel like diagonal) */
.howit__row:nth-child(2) .howit__col--media{ transform: translateY(-8px); }
.howit__row:nth-child(3) .howit__col--media{ transform: translateY(-4px); }
.howit__row:nth-child(4) .howit__col--media{ transform: translateY(-10px); }

/* =========================================================
   HOW IT WORKS — MOBILE (Figma override)
   Вставить в конец index.css
========================================================= */
@media (max-width: 768px){

  /* Секция */
  .howit{
    background: #F7F8FD;          /* Figma mobile background */
    padding: 32px 0;
  }

  .howit .howit__inner{
    max-width: 360px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;                    /* Figma: container gap */
  }

  /* Badge */
  .howit .badge--outline{
    min-height: 25px;
    padding: 2px 12px;
    border-radius: 9999px;
    align-self: center;
    font-size: 14px;
    line-height: 150%;
  }

  /* Head block */
  .howit__title{
    margin: 0;
    width: 100%;
    max-width: 328px;
    align-self: center;

    font-family: "Public Sans", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    text-align: center;
    color: #131414;
    letter-spacing: 0;
  }

  .howit__accent{
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(90deg, #57E7D7 1.14%, #699FE8 47.82%, #7663F4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .howit__subtitle{
    margin: 16px 0 0;
    width: 100%;
    max-width: 328px;
    align-self: center;

    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 20px;              /* Figma Mob/body large */
    line-height: 130%;
    text-align: center;
    color: #6E6B6B;
  }

  /* Steps wrapper */
  .howit__steps{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;                    /* between steps */
  }

  /* Один шаг: всегда stack (текст сверху, картинка снизу) */
  .howit__row,
  .howit__row.howit__row--reverse{
    display: flex;
    flex-direction: column;
    gap: 24px;                    /* Figma */
    align-items: stretch;
  }

  .howit__col{
    width: 100%;
    min-width: 0;
  }

  .howit__col--text{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .howit__col--media{
    width: 100%;
  }

  /* Текстовая часть шага */
  .howit__step-label{
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;              /* Figma Mob/body medium */
    line-height: 130%;
    color: #5F4AFB;
  }

  .howit__step-title{
    margin: 0;
    font-family: "Public Sans", sans-serif;
    font-weight: 500;
    font-size: 24px;              /* Figma Mob/H3 */
    line-height: 130%;
    color: #131414;
  }

  .howit__step-kicker{
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #131414;
  }

  /* Bullet row */
  .howit__bullet{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 0;
  }

  .howit__bullet-icon{
    width: 24px;
    height: 24px;
    margin-top: 4px;              /* как в фигме: иконка чуть ниже baseline */
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .howit__bullet-icon img{
    display: block;
    width: 24px;
    height: 24px;
  }

  .howit__bullet-text{
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;              /* Figma Mob/body */
    line-height: 150%;
    color: #6E6B6B;
  }

  /* Медиа-контейнеры: мобильная карточка под скрин */
  .howit__img{
    width: 100%;
    display: block;
    object-fit: cover;
    background: #F5F5F5;
    border-radius: 8px;
  }

  /* По Figma высоты отличаются у разных шагов */
  .howit__img--lg{
    height: 238px;                /* ~238.34 */
  }

  .howit__img--sm{
    height: 247px;                /* ~246.67 */
  }

  /* Если в текущих desktop стилях есть внешние рамки/тени/позиционирование — сбрасываем */
  .howit__col--media,
  .howit__col--media *{
    position: static;
  }

  /* Убираем любые desktop-ограничения ширины/центровки */
  .howit__row .howit__col--text,
  .howit__row .howit__col--media{
    max-width: none;
  }

  /* HOW IT WORKS mobile: всегда текст -> затем картинка */
  .howit__row,
  .howit__row.howit__row--reverse{
      display: flex;
      flex-direction: column !important;
    }

  .howit__row .howit__col--text{
      order: 1 !important;
    }

  .howit__row .howit__col--media{
      order: 2 !important;
    }
}

/* =========================
   PRODUCTS (Figma grid 3x2)
========================= */
.products{
  background:#FFFFFF;
  padding: 80px 0 110px;
}

.products__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.products__title{
  margin: 18px 0 0;
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  color: #0A0A0A;
  max-width: 980px;
}

.products__accent{
  font-family:"Public Sans", sans-serif;
  font-style: italic;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.products__subtitle{
  margin: 14px 0 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 150%;
  color: var(--text-secondary);
}

.products__actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:center;
}

.products__btn-pricing{
  gap: 10px;
}

.products__btn-arrow{
  display:inline-flex;
  width: 20px;
  height: 20px;
  align-items:center;
  justify-content:center;

  line-height: 1;
}

/* === layout like Figma: 2 rows === */
.products__masonry--grid{
  width: 100%;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "retail earning warehouse"
    "footfall hot damage";
  gap: 24px;
  text-align: left;
  align-items: start;
}

.product-card--retail    { grid-area: retail; }
.product-card--earning   { grid-area: earning; }
.product-card--warehouse { grid-area: warehouse; }
.product-card--footfall  { grid-area: footfall; }
.product-card--hot       { grid-area: hot; }
.product-card--damage    { grid-area: damage; }

/* Card */
.product-card{
  background:#FFFFFF;
  border: 1px solid #E6E7EB;
  border-radius: 16px;
  overflow:hidden;
}

/* Media (default) */
.product-card__media{
  padding: 16px 16px 0;
  background:#FFFFFF;
}

.product-card__media img{
  width:100%;
  height: 160px;
  object-fit: contain;
  display:block;
  background:#F7F8FD;
  border-radius: 14px;
}

/* Earning Report (image-only tall) */
.product-card--earning .product-card__media{
  padding: 16px;
}
.product-card__media--tall img{
  height: 360px;
}

/* Hot Shelf = ONE long banner image */
.product-card__media--banner{
  padding: 16px;
}
.product-card__media--banner img{
  height: 200px;
  object-fit: cover; /* делает это одной длинной картинкой */
}

/* Body */
.product-card__body{
  padding: 16px;
}

.product-card__title{
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  color: #0A0A0A;
}

.product-card__text{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 150%;
  color: var(--text-secondary);
}

/* =========================
   Mobile
========================= */
@media (max-width: 900px){
  .products{
    padding: 40px 0 64px;
  }

  .products__title{
    font-size: 40px;
    max-width: 340px;
  }

  .products__actions{
    width:100%;
    flex-direction:column;
    gap: 10px;
  }

  .products__actions .btn{
    width:100%;
    height:40px;
  }

  .products__masonry--grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "retail"
      "earning"
      "warehouse"
      "footfall"
      "hot"
      "damage";
    gap: 14px;
  }

  .product-card__media img{
    height: 170px;
  }

  .product-card__media--tall img{
    height: 320px;
  }

  .product-card__media--banner img{
    height: 190px;
  }
}


/* =========================
   PRODUCTS — Figma match override
   (вставить после текущих .products* / .product-card* правил)
========================= */

.products{
  padding: 96px 0;
  background: #fff;
}

.products .products__inner{
  max-width: 1280px; /* как в Figma frame */
  padding-left: 40px;
  padding-right: 40px;
  gap: 0; /* управляем отступами вручную */
}

.products .badge--outline{
  min-height: 25px;
  padding: 2px 16px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-1) border-box;
  font-size: 14px;
  line-height: 150%;
}

.products__title{
  margin: 18px 0 0;
  max-width: 1200px;
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 125%;
  color: #131414;
  text-align: center;
}

.products__accent{
  font-style: italic;
  font-weight: 700; /* в figma 700 italic */
  background: linear-gradient(90deg, #57E7D7 1.14%, #699FE8 47.82%, #7663F4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.products__subtitle{
  margin: 12px 0 0;
  max-width: 1200px;
  font-size: 18px;
  line-height: 140%;
  color: #6E6B6B;
  text-align: center;
}

.products__actions{
  margin-top: 18px;
  gap: 16px;
}

.products__actions .btn{
  height: 36px;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.products__actions .btn-primary{
  min-width: 154px;
  background: #5F4AFB; /* figma */
}

.products__actions .btn-outline{
  min-width: 142px;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #57E7D7 1.14%, #699FE8 47.82%, #7663F4 100%) border-box;
  color: #2A2C30;
}

.products__btn-pricing{
  gap: 10px;
}

.products__btn-arrow{
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: inherit;
}

/* --- КЛЮЧЕВОЕ: сетка как в Figma (5 карточек, центральная высокая) --- */
.products__masonry--grid{
  width: 100%;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "retail hot warehouse"
    "footfall hot damage";
  gap: 36px; /* figma */
  align-items: stretch;
  text-align: left;
}

/* карта областей (фиксируем явно) */
.product-card--retail    { grid-area: retail; }
.product-card--warehouse { grid-area: warehouse; }
.product-card--footfall  { grid-area: footfall; }
.product-card--hot       { grid-area: hot; }
.product-card--damage    { grid-area: damage; }

/* все карточки */
.product-card{
  background: #FFFFFF;
  border: 1px solid transparent;
  border-radius: 14px; /* figma */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;

  /* градиентная рамка */
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(90deg, #57E7D7 1.14%, #699FE8 47.82%, #7663F4 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* обычные карточки высотой как в макете (примерно 338–368) */
.product-card:not(.product-card--hot){
  min-height: 338px;
}

/* центральная высокая карточка */
.product-card--hot{
  min-height: 772px; /* figma */
}

/* media */
.product-card__media{
  padding: 16px 16px 0;
  background: #fff;
}

.product-card__media img{
  width: 100%;
  display: block;
  border-radius: 12px;
  background: #FFFFFF;
  object-fit: cover;
}

/* размеры превью для обычных карточек */
.product-card:not(.product-card--hot) .product-card__media img{
  height: 160px;
}

/* центральная карточка (высокая) — большой визуальный блок */
.product-card--hot .product-card__media{
  padding: 12px;
}

.product-card--hot .product-card__media img{
  height: 588px; /* близко к figma container */
  border-radius: 12px;
  object-fit: cover;
  background: #F5F5F5;
}

/* body */
.product-card__body{
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card__title{
  margin: 0;
  font-family: "Public Sans", sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 130%;
  color: #131414;
}

.product-card__text{
  margin: 0;
  font-size: 16px;
  line-height: 130%;
  color: #6E6B6B;
}

/* У обычных карточек немного компактнее, чтобы влезало как в макете */
.product-card:not(.product-card--hot) .product-card__title{
  font-size: 20px; /* если хочешь строже по фигме для малых карточек, оставь 20 */
  line-height: 130%;
}

.product-card:not(.product-card--hot) .product-card__text{
  font-size: 14px;
  line-height: 150%;
}

/* --- адаптив: сохранить порядок и убрать поломку от старого 'earning' --- */
@media (max-width: 1200px){
  .products .products__inner{
    padding-left: 24px;
    padding-right: 24px;
  }

  .products__masonry--grid{
    gap: 20px;
  }

  .product-card--hot{
    min-height: 640px;
  }

  .product-card--hot .product-card__media img{
    height: 460px;
  }

  .product-card__title{
    font-size: 24px;
  }
}

@media (max-width: 900px){
  .products{
    padding: 56px 0 64px;
  }

  .products .products__inner{
    padding-left: 16px;
    padding-right: 16px;
  }

  .products__title{
    font-size: 36px;
    line-height: 120%;
    max-width: 340px;
  }

  .products__subtitle{
    font-size: 14px;
    line-height: 150%;
    max-width: 340px;
  }

  .products__actions{
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .products__actions .btn{
    width: 100%;
    min-width: 0;
  }

  .products__masonry--grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "retail"
      "warehouse"
      "footfall"
      "hot"
      "damage";
    gap: 14px;
  }

  .product-card:not(.product-card--hot){
    min-height: auto;
  }

  .product-card--hot{
    min-height: auto;
  }

  .product-card:not(.product-card--hot) .product-card__media img{
    height: 170px;
  }

  .product-card--hot .product-card__media img{
    height: 260px;
  }

  .product-card__body{
    padding: 14px 16px 16px;
    gap: 10px;
  }

  .product-card__title{
    font-size: 20px;
  }

  .product-card__text{
    font-size: 14px;
    line-height: 150%;
  }
}

/* =========================
   WHY US
========================= */
.whyus{
  background:#FFFFFF;
  padding: 88px 0 96px;
}

.whyus__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.whyus__title{
  margin: 18px 0 0;
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  color:#0A0A0A;
  max-width: 980px;
}

.whyus__accent{
  font-family:"Public Sans", sans-serif;
  font-style: italic;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.whyus__subtitle{
  margin: 12px 0 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 150%;
  color: var(--text-secondary);
}

.whyus__grid{
  width:100%;
  margin-top: 36px;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align:left;
}

.why-card{
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-1) border-box;
  border-radius: 16px;

  padding: 20px 12px 12px;
  min-height: 260px;
}

.why-card__icon{
  color: var(--accent-primary);
  width: 48px;
  height: 48px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom: 14px;
}

.why-card__title{
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  color:#0A0A0A;
}

.why-card__text{
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-secondary);
}

/* =========================
   PILOT OFFER
========================= */
.pilot{
  background:#FFFFFF;
  padding: 96px 0 110px;
}

.pilot__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.pilot__title{
  margin: 18px 0 0;
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  color:#0A0A0A;
  max-width: 980px;
}

.pilot__accent{
  font-family:"Public Sans", sans-serif;
  font-style: italic;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.pilot__subtitle{
  margin: 12px 0 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 150%;
  color: var(--text-secondary);
}

.pilot__grid{
  width:100%;
  margin-top: 48px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items:center;
  text-align:left;
}

.pilot__lead{
  margin:0;
  font-size: 22px;
  font-weight: 600;
  line-height: 130%;
  color:#0A0A0A;
  max-width: 520px;
}

.pilot__desc{
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 150%;
  color: var(--text-secondary);
  max-width: 520px;
}

.pilot__features{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
}

.pilot-mini{
  background:#F7F8FD;
  border-radius: 14px;
  padding: 14px 14px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.pilot-mini__icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:#FFFFFF;
  border: 1px solid #E6E7EB;
  color:#0A0A0A;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

.pilot-mini__title{
  font-size: 14px;
  font-weight: 600;
  line-height: 130%;
  color:#0A0A0A;
}

.pilot-mini__desc{
  margin-top: 4px;
  font-size: 12px;
  line-height: 150%;
  color: var(--text-secondary);
}

.pilot__cta{
  margin-top: 16px;
  width: 168px;
  height: 40px;
}

.pilot__right{
  display:flex;
  justify-content:flex-end;
}

.pilot__collage{
  max-width: 511px;
  height: 401px;
  height: auto;
  display:block;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1100px){
  .whyus__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px){
  .whyus{
    padding: 44px 0 56px;
  }
  .whyus__title{
    font-size: 40px;
    max-width: 340px;
  }
  .whyus__grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .why-card{
    min-height: auto;
  }

  .pilot{
    padding: 56px 0 70px;
  }
  .pilot__title{
    font-size: 40px;
    max-width: 340px;
  }
  .pilot__grid{
    grid-template-columns: 1fr;
    gap: 18px;
    text-align:left;
  }
  .pilot__features{
    grid-template-columns: 1fr;
  }
  .pilot__cta{
    width: 168px;
  }
  .pilot__right{
    justify-content:center;
  }

  .pilot__collage{
    width: auto;
    height: 401px;
  }
}

/* =========================
   CTA STRIP
========================= */
.cta-strip{
  width: 100%;
  margin: 0;
  background: linear-gradient(90deg, #49E1D0 0%, #6C63FF 100%);
}

.cta-strip__bg{
  background: linear-gradient(90deg, #49E1D0 0%, #6C63FF 100%);
  position: relative;
}

.cta-strip__inner{
  position: relative;
  padding: 66px 0;
  text-align: center;
  color: #FFFFFF;
}

.cta-strip__title{
  margin: 0;
  font-family: "Public Sans", sans-serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 120%;
}

.cta-strip__subtitle{
  margin: 12px auto 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 150%;
  opacity: 0.95;
}

.cta-strip__badges{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap:wrap;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.pill--white{
  background: rgba(255,255,255,0.92);
  color: #3B37FF;
}

.cta-strip__actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  justify-content:center;
}

.btn-white{
  background:#FFFFFF;
  color:#2E2AE8;
  border: 1px solid rgba(255,255,255,0.85);
}

.btn-outline-white{
  background: transparent;
  color:#FFFFFF;
  border: 1px solid rgba(255,255,255,0.7);
}

.cta-strip__card{
  position:absolute;
  width: 140px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.18));
  pointer-events:none;
  user-select:none;
}

.cta-strip__card--left{
  left: 32px;
  top: 22px;
  transform: rotate(-10deg);
}

.cta-strip__card--right{
  right: 32px;
  bottom: 18px;
  transform: rotate(12deg);
}

/* =========================
   FAQ
========================= */
.faq{
  background:#FFFFFF;
  padding: 86px 0 96px;
}

.faq__inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:start;
}

.faq__title{
  margin: 0;
  font-family:"Public Sans", sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 120%;
  color:#0A0A0A;
}

.faq__accent{
  font-style: italic;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.faq__contact-card{
  margin-top: 22px;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-1) border-box;
  border-radius: 16px;
  padding: 18px 18px 18px;
  max-width: 440px;
}

.faq__contact-title{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 130%;
  color:#0A0A0A;
}

.faq__contact-text{
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 150%;
  color: var(--text-secondary);
}

.faq__contact-btn{
  margin-top: 14px;
  height: 36px;
  padding: 0 16px;
}

/* Accordion */
.accordion{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.acc-item{
  background:#F7F8FD;
  border-radius: 14px;
  overflow:hidden;
}

.acc-btn{
  width:100%;
  padding: 16px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  border: 0;
  background: transparent;
  cursor:pointer;
  text-align:left;
}

.acc-q{
  font-size: 13px;
  font-weight: 600;
  line-height: 140%;
  color:#0A0A0A;
}

.acc-ic{
  width: 28px;
  height: 28px;
  border-radius: 10px;

  /* закрытое состояние (НЕ черная) */
  background: transparent;   /* или #F7F8FD, если нужен видимый светлый квадрат */
  color: #6E6B6B;            /* серая стрелка */

  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;

  transition: background-color 180ms ease, color 180ms ease;
}

/* Иконка окрашивается только у открытого пункта */
.acc-item.is-open .acc-ic{
  background: #0A0A0A;
  color: #FFFFFF;
}

/* ✅ Smooth panel animation */
.acc-panel{
  padding: 0 16px;          /* нижний padding добавим в p */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 220ms ease;
  will-change: max-height, opacity;
}

.acc-panel p{
  margin: 0;
  padding: 0 0 16px;        /* чтобы низ был как раньше */
  font-size: 13px;
  line-height: 150%;
  color: var(--text-secondary);
}

.acc-item.is-open .acc-panel{
  opacity: 1;
}

/* (необязательно) чуть “мягче” на reduced motion */
@media (prefers-reduced-motion: reduce){
  .acc-panel{ transition: none; }
}


/* =========================
   FOOTER
========================= */
.site-footer{
  background:#7664F3;
  color:#FFFFFF;
  padding: 64px 0 52px;
}

.footer__top{
  display:grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 48px;
  align-items:start;
}

.footer__headline{
  font-family:"Public Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
}

.footer__cols{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.7fr;
  gap: 28px;
}

.footer__col-title{
  font-size: 13px;
  font-weight: 700;
  opacity: 0.95;
  margin-bottom: 12px;
}

.footer__link{
  display:block;
  color: rgba(255,255,255,0.92);
  text-decoration:none;
  font-size: 13px;
  line-height: 170%;
  margin: 6px 0;
}

.footer__link:hover{
  color:#FFFFFF;
  text-decoration: underline;
}

.footer__bottom{
  margin-top: 56px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items:center;
  gap: 16px;
}

.footer__logo{
  font-family:"Public Sans", sans-serif;
  font-size: 28px;
  font-weight: 600;
}

.footer__meta{
  justify-self:start;
  font-size: 12px;
  opacity: 0.9;
}

.footer__social{
  justify-self:end;
  display:flex;
  align-items:center;
  gap: 12px;
}

.footer__soc{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
  color:#FFFFFF;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:700;
  font-size: 12px;
}

.footer__loc{
  font-size: 12px;
  opacity: 0.95;
  margin-left: 8px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px){
  .cta-strip__inner{
    padding: 42px 0;
  }
  .cta-strip__title{
    font-size: 28px;
  }
  .cta-strip__subtitle{
    max-width: 320px;
  }
  .cta-strip__actions{
    flex-direction:column;
    gap: 10px;
    align-items: center;
  }
  .cta-strip__actions .btn{
    width: 200px;
    height: 38px;

  }
  .cta-strip__card{
    width: 110px;
  }
  .cta-strip__card--left{
    left: 10px;
    top: 14px;
  }
  .cta-strip__card--right{
    right: 10px;
    bottom: 12px;
  }

  .faq{
    padding: 52px 0 60px;
  }
  .faq__inner{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .faq__title{
    font-size: 40px;
    max-width: 340px;
  }
  .faq__contact-card{
    max-width: 100%;
  }

  .site-footer{
    padding: 52px 0 44px;
  }
  .footer__top{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__cols{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer__bottom{
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }
  .footer__social{
    justify-self:start;
  }
}

/* =========================
   IMPACT
========================= */
.impact{
  background:#FFFFFF;
  padding: 64px 0 72px;
}

.impact__title{
  margin: 14px 0 0;
  font-family:"Public Sans", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 125%;
  color:#0A0A0A;
}

.impact__accent{
  font-style: italic;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.impact__subtitle{
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  color: var(--text-secondary);
}

.impact__grid{
  margin-top: 24px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  align-items:start;
}

/* last row: center card spans right? — делаем как в макете (5 карточек: 2+3) */
.impact__grid .impact-card:nth-child(3){
  grid-column: 1 / 2;
}
.impact__grid .impact-card:nth-child(4){
  grid-column: 2 / 3;
}
.impact__grid .impact-card:nth-child(5){
  grid-column: 2 / 3;
}

.impact-card{
  border: 1px solid #E6E7EB;
  border-radius: 14px;
  background:#FFFFFF;
  padding: 16px 16px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  min-height: 112px;
}

.impact-card__icon{
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background:#F3F8FF;
  border: 1px solid #E6E7EB;
  color:#3B37FF;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  font-size: 12px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.impact-card__title{
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  color:#0A0A0A;
}

.impact-card__text{
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: var(--text-secondary);
}

/* =========================
   DEPLOYMENT
========================= */
.deploy{
  background:#FFFFFF;
  padding: 72px 0 80px;
  border-top: 1px solid #F0F2F8;
}

.deploy__title{
  margin: 14px 0 0;
  font-family:"Public Sans", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  color:#0A0A0A;
}

.deploy__accent{
  font-style: italic;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.deploy__subtitle{
  margin: 14px 0 0;
  max-width: 100%;
  font-size: 28px;
  line-height: 150%;
  color: #6B7280;
}

.deploy__grid{
  margin-top: 34px;
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items:center;
}

.deploy__lead{
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 500;
  color:#0A0A0A;
}

/* accordion */
.deploy-acc{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.deploy-item{
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-1) border-box;
  border-radius: 12px;
  overflow:hidden;

}

.deploy-btn{
  width:100%;
  padding: 14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border:0;
  background: transparent;
  cursor:pointer;
  text-align:left;
}

.deploy-btn__left{
  display:flex;
  align-items:center;
  gap: 10px;
}

.deploy-ic{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background:#F7F8FD;
  border: 1px solid #E6E7EB;
  color:#2E2AE8;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  font-weight: 800;
}

.deploy-btn__title{
  font-size: 16px;
  font-weight: 700;
  color:#0A0A0A;
}

/* Chevron — canonical (как на products) */
.deploy-btn__chev{
  width: 16px;
  height: 16px;
  flex: 0 0 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 0;
  background: transparent;


  opacity: 1;

  /* контейнер НЕ вращаем */
  transform: none;
  transition: opacity 180ms ease;
}

.deploy-btn__chev img{
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: none;
  max-height: none;
  object-fit: contain;

  transform-origin: center;
  transform: rotate(0deg);
  transition: transform 180ms ease;
}

.deploy-btn[aria-expanded="true"] .deploy-btn__chev{
  opacity: 1;
  transform: none;
}

.deploy-btn[aria-expanded="true"] .deploy-btn__chev img{
  transform: rotate(180deg);
}

/* ✅ smooth open/close */
.deploy-panel{
  padding: 0 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 340ms ease, opacity 220ms ease;
  will-change: max-height, opacity;
}
.deploy-panel p{
  margin: 0;
  padding: 0 0 14px;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-secondary);
}
.deploy-item.is-open .deploy-panel{
  opacity: 1;
}

/* Right visual frame */
.deploy-frame{
  width:100%;
  border-radius: 18px;
  padding: 14px;
  /* background: linear-gradient(90deg, #49E1D0 0%, #6C63FF 100%); */
}

.deploy-frame__inner{
  background:#FFFFFF;
  border-radius: 14px;
  padding: 18px;
  min-height: 260px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.deploy-frame__inner img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 12px;
}
/* =========================================================
   INSTALLATION / DEPLOYMENT & SETUP — MOBILE
   1 колонка: текст -> accordion -> картинка
========================================================= */
@media (max-width: 768px){

  /* Секция */
  .deploy{
    padding: 32px 0 40px;
    background: #fff;
  }

  .deploy .container,
  .deploy__inner{
      width: 100%;
      max-width: none;          /* важно */
      box-sizing: border-box;
      margin: 0;
      padding-left: 16px;
      padding-right: 16px;
    }

  /* Главный layout секции: всегда в колонку */
  .deploy__grid,
  .deploy__layout,
  .deploy__content{
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    align-items: stretch;
  }

  /* Сброс возможных desktop-grid позиций */
  .deploy__grid > *,
  .deploy__layout > *,
  .deploy__content > *{
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
  }

  /* Левая/правая колонка (если есть такие классы) */
  .deploy__left,
  .deploy__right,
  .deploy__col,
  .deploy__col--text,
  .deploy__col--media{
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
  }

  /* Порядок: текст -> accordion -> картинка */
  .deploy__text,
  .deploy__left,
  .deploy__col--text{
    order: 1;
  }

  .deploy__accordion-wrap,
  .deploy__accordion,
  .deploy .accordion{
    order: 2;
    width: 100%;
  }

  .deploy__media,
  .deploy__right,
  .deploy__col--media{
    order: 3;
    width: 100%;
  }

  /* Badge */
  .deploy .badge--outline{
    min-height: 25px;
    padding: 2px 12px;
    border-radius: 9999px;
    font-size: 14px;
    line-height: 150%;
    margin: 0 0 12px;
  }

  /* Title */
  .deploy__title{
    margin: 0;
    max-width: 328px;
    font-family: "Public Sans", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    color: #131414;
  }

  /* Акцентное слово (Installation) */
  .deploy__title .is-accent,
  .deploy__accent{
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(90deg, #57E7D7 1.14%, #699FE8 47.82%, #7663F4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Subtitle / description */
  .deploy__subtitle,
  .deploy__desc{
    margin: 12px 0 0;
    max-width: 328px;

    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #6E6B6B;
  }

  /* Подзаголовок над аккордеоном */
  .deploy__lead,
  .deploy__intro{
    margin: 24px 0 0;
    max-width: 328px;

    padding-bottom: 30px;

    font-family: "Public Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    color: #131414;
  }

  /* Accordion */
  .deploy .accordion{
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .deploy-item,
  .acc-item{
    border-radius: 12px;
    overflow: hidden;
    background: #fff;

    /* градиентная рамка (как у тебя уже используется в секции) */
    border: 1px solid transparent;
    background-image:
      linear-gradient(#fff, #fff),
      linear-gradient(90deg, #57E7D7 1.14%, #699FE8 47.82%, #7663F4 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
  }

  .deploy-btn,
  .acc-btn{
    width: 100%;
    min-height: 52px;
    padding: 14px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
  }

  .deploy-btn__left{
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .deploy-ic{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .deploy-ic img{
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
  }

  .deploy-btn__title,
  .acc-q{
    margin: 0;
    font-family: "Public Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    color: #131414;
  }

  /* Chevron (твоя SVG-стрелка) */
  .deploy-btn__chev{
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;

    border: 0;
    border-radius: 0;
    background: transparent;

    line-height: 0;
    font-size: 0;
    opacity: 1;
  }

  .deploy-btn__chev img{
    display: block;
    width: 18px;   /* SVG у тебя 18x18 — так визуально ближе к Figma */
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform-origin: center;
    transition: transform 180ms ease;
  }

  .deploy-btn[aria-expanded="true"] .deploy-btn__chev img{
    transform: rotate(180deg);
  }

  /* Panel */
  .deploy-panel,
  .acc-panel{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 320ms ease, opacity 220ms ease;
    will-change: max-height, opacity;
    padding: 0 14px;
  }

  .deploy-panel p,
  .acc-panel p{
    margin: 0;
    padding: 0 0 14px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 145%;
    color: #6E6B6B;
  }

  .deploy-item.is-open .deploy-panel,
  .acc-item.is-open .acc-panel{
    opacity: 1;
  }

  /* Картинка / media — после текста и аккордеона */
  .deploy__media{
    margin-top: 4px;
  }

  .deploy__media img,
  .deploy__figure img,
  .deploy__img{
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 14px;
    background: #F5F5F5;
    box-shadow: none;
  }

  /* высота моб. картинки можно подогнать */
  .deploy__img{
    height: 220px;
  }

  /* Если у тебя нет класса .deploy__img, но есть просто img в media */
  .deploy__media img{
    height: 220px;
  }

  /* На очень узких экранах — слегка компактнее */
  @media (max-width: 380px){
    .deploy__title{
      font-size: 32px;
    }

    .deploy__subtitle,
    .deploy__desc{
      font-size: 16px;
    }

    .deploy__img,
    .deploy__media img{
      height: 200px;
    }
  }

  .deploy__title,
  .deploy__subtitle,
  .deploy__desc,
  .deploy__lead,
  .deploy__intro{
    max-width: none; /* чтобы текст не был "столбиком" */
  }
}
/* =========================================================
   IMPACT / What you get after 7–14 days — MOBILE (Figma)
   Каждый article друг под другом
========================================================= */
@media (max-width: 768px){

  /* Секция (если нужен компактный mobile-ритм) */
  .impact{
    padding: 32px 0 40px;
  }

  .impact .container{
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Header блока (опционально, но обычно нужно) */
  .impact__head{
    margin-bottom: 16px;
  }

  .impact__title{
    margin: 12px 0 0;
    font-size: 32px;
    line-height: 120%;
  }

  .impact__subtitle{
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 140%;
  }

  /* ===== СЕТКА: строго 1 колонка ===== */
  .impact__grid{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px !important;              /* Figma */
    width: 100%;
    min-width: 0;
  }

  /* На случай если desktop задавал grid placement */
  .impact__grid > *{
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* ===== Карточка ===== */
  .impact__grid > .impact-card{
    box-sizing: border-box;
    width: 100% !important;
    min-width: 280px;
    max-width: none !important;
    min-height: 282px;
    height: auto;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    padding: 24px 0;                   /* Figma */
    border: 1px solid #DFDDEF;         /* Figma border/purple */
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: none;
  }

  /* Внутренний контейнер карточки */
  .impact-card__body{
    width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    padding: 0 24px;                   /* Figma */
    margin: 0;
  }

  /* Иконка */
  .impact-card__icon{
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;


    border-radius: 8px;
    background: #F7F8FD;               /* Figma neutral light purple */
    box-sizing: border-box;
    margin: 0 0 0 24px;                /* т.к. body с padding отдельно */
  }

  .impact-card__icon img,
  .impact-card__icon svg{
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
  }

  /* Заголовок */
  .impact-card__title{
    margin: 0;
    width: 100%;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 20px;                   /* Figma */
    line-height: 130%;
    color: #131414;
  }

  /* Описание */
  .impact-card__text{
    margin: 0;
    width: 100%;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;                   /* Figma Mob/body medium */
    line-height: 130%;
    color: #979797;                    /* Figma Text/Tertiary */
  }

  /* Если в тексте есть <br>, пусть не раздувает слишком сильно */
  .impact-card__text br{
    display: inline;
    content: "";
  }

  /* Если у desktop есть nth-child размеры/позиции — сбрасываем */
  .impact-card{
    transform: none !important;
  }
}

/* =========================================================
   HOW IT WORKS — wide mobile / small tablet (481–768px)
   Убираем "узкую колонку 360px" и лишние поля по бокам
========================================================= */
@media (min-width: 481px) and (max-width: 768px){

  .howit .howit__inner{
    max-width: none !important;
    margin: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    gap: 56px; /* можно 48px, но на 600px чуть просторнее */
  }

  /* Не держим заголовок и подзаголовок в 300/328px */
  .howit__title,
  .howit__subtitle{
    max-width: none !important;
    width: 100%;
  }

  /* Чтобы заголовок не превращался в "столбик" */
  .howit__title{
    font-size: 44px;       /* чуть меньше desktop, больше mobile */
    line-height: 120%;
    text-align: center;
  }

  .howit__subtitle{
    font-size: 18px;
    line-height: 140%;
    text-align: center;
  }

  /* Steps на 600px всё ещё идут вертикально, но шире */
  .howit__steps{
    gap: 32px;
  }

  .howit__row,
  .howit__row.howit__row--reverse{
    gap: 20px;
  }

  /* Текст шага не зажимать */
  .howit__row .howit__col--text,
  .howit__row .howit__col--media{
    max-width: none !important;
    width: 100%;
  }

  .howit__step-title{
    font-size: 28px;
    line-height: 130%;
  }

  .howit__step-kicker{
    font-size: 18px;
    line-height: 140%;
  }

  .howit__bullet-text{
    font-size: 16px;
    line-height: 150%;
  }

  /* Картинки можно сделать выше на 600px */
  .howit__img--lg{
    height: 300px !important;
  }

  .howit__img--sm{
    height: 300px !important;
  }

  /* Если у тебя img без модификаторов */
  .howit__img{
    height: auto;
    min-height: 260px;
  }
}

