/* Подключение шрифтов */
@font-face {
  font-family: "SF Pro";
  src: url("../fonts/SF-Pro-Display-Ultralight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "SF Pro";
  src: url("../fonts/SF-Pro-Display-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "SF Pro";
  src: url("../fonts/SF-Pro-Display-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "SF Pro";
  src: url("../fonts/SF-Pro-Display-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* Reset и базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #414141;
  background: #ffffff;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Блок: Header */
.header {
  background: #141510;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.header__logo {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.193359375;
  color: #ffffff;
  cursor: pointer;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav__link {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  text-decoration: none;
  color: #ffffff;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.nav__link--active {
  opacity: 1;
  font-weight: 700;
  line-height: 1.625;
}

.nav__link:hover {
  opacity: 0.8;
}

.header__icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.header__icon:hover {
  opacity: 0.8;
}

.header__icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 64px;
}

.header__burger-btn {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
}

.header__burger-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Блок: Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 712px;
  margin-top: 98px;
  background-color: #141510;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center top;
  z-index: 1;
}

.hero__overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(
    180deg,
    rgba(20, 21, 16, 0.9) 0%,
    rgba(20, 21, 16, 0) 100%
  );
  z-index: 2;
}

.hero__card {
  position: absolute;
  top: 120px;
  left: 47%;
  margin-left: -750px;
  z-index: 3;
  background: rgba(21, 21, 21, 0.6);
  border-radius: 49.22px;
  padding: 36.1px 39.38px;
  backdrop-filter: blur(68.91px);
  -webkit-backdrop-filter: blur(68.91px);
  box-shadow: 6.56px 6.56px 55.3px 0px rgba(252, 215, 39, 0.2);
  max-width: 910px;
  width: 100%;
}

.hero__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 95px;
  line-height: 1.219em;
  color: #ffffff;
  margin: 0 0 44.3px 0;
  text-shadow: 9.84px -8.2px 29.53px rgba(0, 0, 0, 1);
}

.hero__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11.49px;
  width: 690.78px;
}

.hero__list-item {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
  font-size: 22.97px;
  line-height: 1.714em;
  letter-spacing: 0.5px;
  color: #ffffff;
  padding-left: 25px;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero__list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

/* Блок: Advantages */
.advantages {
  position: relative;
  padding: 81.79px 0;
  background: #ffffff;
  overflow: hidden;
}

.advantages__bg {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}

.advantages__bg--1 {
  top: -307px;
  left: -285.35px;
  width: 1084.76px;
  height: 881.67px;
  background-image: url("../images/advantages-bg-1.svg");
}

.advantages__bg--2 {
  bottom: -400px;
  right: -200px;
  width: 1084.76px;
  height: 881.67px;
  background-image: url("../images/advantages-bg-2.svg");
}

.advantages .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  text-align: center;
}

.advantages__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 42.06px;
  line-height: 1.167em;
  color: #414141;
  margin: 0 0 39.72px 0;
}

.advantages__subtitle {
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 30.38px;
  line-height: 1.346em;
  color: #414141;
  opacity: 0.5;
  margin: 0 0 39.72px 0;
}

.advantages__grid {
  display: flex;
  flex-direction: column;
  gap: 35.05px;
  padding: 30.38px;
  background: transparent; /* убираем общий осветляющий фон */
  border-radius: 30.38px;
}

.advantages__card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 0.5px solid rgba(212, 212, 212, 1);
  border-radius: 38px;
  backdrop-filter: blur(5px);
}

/* Цветные подложки заменяем на такой же стеклянный фон */

.advantages__card--red {
  background: rgba(255, 96, 96, 0.1);
}

.advantages__card--yellow {
  background: rgba(255, 215, 96, 0.1);
}

.advantages__card--green {
  background: rgba(120, 255, 96, 0.1);
}

.advantages__card--blue {
  background: rgba(96, 186, 255, 0.1);
}

.advantages__card--purple {
  background: rgba(242, 96, 255, 0.1);
}

.advantages__card--violet {
  background: rgba(114, 96, 255, 0.1);
}

.advantages__card .advantages__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 28.04px;
  line-height: 1.75em;
  color: #414141;
  margin: 0 0 16px 0;
  text-align: center;
}

.advantages__list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  text-align: left;
}

.advantages__list li {
  font-family: "SF Pro", sans-serif;
  font-weight: 300;
  font-size: 28.04px;
  line-height: 1.75em;
  color: #414141;
  margin-bottom: 8px;
}

.advantages__list li:last-child {
  margin-bottom: 0;
}

/* Блок: Cases */
.cases {
  position: relative;
  background: #0f0f0a;
  padding: 90px 0;
  overflow: hidden;
}
/* Фон секции кейсов */
.cases::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/case-grad.svg") center/cover no-repeat;
  z-index: 1;
  pointer-events: none;
}
.cases__title {
  /* уточнил типографику по фрейму */
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 76px;
  line-height: 1.05;
  letter-spacing: 0;
  color: #ffffff;
  text-align: center;
  margin: 0 0 70px 0;
}

/* фоновые элементы — точные размеры */
.cases__bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
/* Треугольник (слева сверху) 316x266 */
.cases__bg--el1 {
  background: url("../images/el-1.svg") no-repeat center/100% 100%;
  width: 316px;
  height: 266px;
  left: 120px;
  top: 120px;
}
/* Лупа (слева снизу) 188x194 */
.cases__bg--el2 {
  background: url("../images/el-2.svg") no-repeat center/100% 100%;
  width: 188px;
  height: 194px;
  filter: blur(10px);
  right: 120px;
  top: 90px;
}
/* Диаграмма (справа сверху) 180x182 */
.cases__bg--el3 {
  background: url("../images/el-3.svg") no-repeat center/100% 100%;
  width: 180px;
  height: 182px;
  right: 140px;
  bottom: 120px;
  filter: blur(10px);
}
/* График (справа снизу) 123x129 */
.cases__bg--el4 {
  background: url("../images/el-4.svg") no-repeat center/100% 100%;
  width: 123px;
  height: 129px;
  left: 80px;
  bottom: 80px;
  filter: blur(10px);
}

.cases__container {
  position: relative;
  z-index: 2;
}

/* Карточка кейса */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 428px);
  gap: 70px;
  justify-content: center;
}
.case {
  position: relative;
  max-width: 428px;
  max-height: 569px;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0px 5.126px 20.505px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.case__img {
  height: 260px;
  width: 100%;
}
.case__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case__content {
  margin-top: -35px;
  padding-top: 35px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* центрируем весь контент */
  padding-bottom: 22px;
  background: #ffffff;
  border-radius: 0 0 24px 24px;
  height: 343px;
}
/* заголовок, текст и кнопка как единый блок по ширине */
.case__content > * {
  max-width: 301px;
  margin-left: 63px;
  margin-right: 63px;
}

.case__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #373737;
  text-align: center;
}
.case__text {
  font-family: "SF Pro", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  color: rgba(117, 117, 117, 1);
  margin-bottom: 0 74px 30px 74px;
  text-align: center;
  margin-bottom: 30px;
}
.case__cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #373737;
  text-decoration: none;
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 20px;
  border: 1.3px solid #373737;
  border-radius: 40px;
  padding: 5px 25px 5px 25px;
  cursor: pointer;
  margin-bottom: 46px;
}
.case__cta svg {
  color: currentColor;
}

/* Кнопка секции */
.cases__btn {
  margin: 90px auto 0;
  text-align: center;
}
.button.button--secondary {
  border-radius: 22px;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
  background: radial-gradient(
    294.24% 138.62% at 4% 0%,
    rgba(206.2680206298828, 171.48556518554688, 0, 1),
    rgba(255, 255, 255, 1) 83%
  );
  padding: 26px 42px;
  color: rgba(20, 21, 16, 1);
  font-family: "SF Pro", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 26px;
  cursor: pointer;
}

/* Pricing */
.pricing {
  position: relative;
  padding: 90px 0 120px;
  background: #fff;
  overflow: hidden;
}
/* точное позиционирование вектора */
.pricing__bg {
  position: absolute;
  inset: 0;
  background: url("../images/price-vector.svg") no-repeat left -60px top -40px;
  background-size: auto;
  opacity: 0.9;
  pointer-events: none;
}
.pricing .container {
  position: relative;
  z-index: 1;
}
.pricing__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 1.1;
  color: #414141;
  text-align: center;
  margin-bottom: 48px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 368px);
  gap: 0;
  justify-content: space-between;
  align-items: start;
}

/* ограничим контейнер секции под ширину макета */
.pricing .container {
  max-width: 1320px;
  margin: 0 auto;
}

/* liquid glass карточки */
.tariff {
  position: relative;
  padding: 36px;
  border-radius: 30px;
  background: rgba(162, 202, 232, 0.06);
  border: 2px solid #A2CAE8;
  box-shadow: 0px 4px 30px 0px rgba(162, 202, 232, 0.34);
  display: flex;
  flex-direction: column;
  min-height: 469px;
}
.tariff--start {
  background: rgba(162, 202, 232, 0.06);
  border: 0;
  border-top: 3px solid #A2CAE8;
  border-bottom: 3px solid #A2CAE8;
  box-shadow:
    0px 4px 30px 0px rgba(162, 202, 232, 0.28),
    -18px 0 36px rgba(162, 202, 232, 0.10),
    18px 0 36px rgba(162, 202, 232, 0.10);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.tariff--pro {
  background: rgba(232, 162, 162, 0.06);
  border: 0;
  border-top: 3px solid #E8A2A2;
  border-bottom: 3px solid #E8A2A2;
  box-shadow:
    0px 4px 30px 0px rgba(232, 162, 162, 0.28),
    -18px 0 36px rgba(232, 162, 162, 0.10),
    18px 0 36px rgba(232, 162, 162, 0.10);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.tariff--premium {
  background: rgba(232, 203, 162, 0.06);
  border: 0; /* убираем боковые границы полностью */
  border-top: 3px solid #E8CBA2; /* только верхняя */
  border-bottom: 3px solid #E8CBA2; /* и нижняя */
  /* базовая тень + боковые мягкие свечения для эффекта blur по краям */
  box-shadow:
    0px 4px 30px 0px rgba(232, 211, 162, 0.28), /* базовая чуть мягче */
    -18px 0 36px rgba(232, 211, 162, 0.1),    /* лево мягче */
    18px 0 36px rgba(232, 211, 162, 0.1);     /* право мягче */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  
}

.tariff__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.tariff__badge {
  font-family: "SF Pro", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #373737;
  padding: 6px 12px;
  border-radius: 18px;
  border: 1px solid #E2E2E2;
  background: #fff;
}
.tariff__name {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #373737;
  margin: 0;
}

.tariff__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  color: #373737;
  font-family: "SF Pro", sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
}
.tariff__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.tariff__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8.5px;
  background: url("../images/vector.svg") no-repeat center/contain;
}
.tariff__list strong {
  font-weight: 700;
  margin-left: 4px; /* гарантированный визуальный пробел перед жирным словом */
}

/* Цена: "мес" под ценой */
.tariff__price {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "new old" "period old";
  align-items: baseline;
  column-gap: 12px;
  row-gap: 2px;
  margin-bottom: 64px;
}
.tariff__price-new {
  grid-area: new;
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #373737;
}
.tariff__price-old {
  grid-area: old;
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #373737;
  text-decoration: line-through;
  justify-self: end;
}
.tariff__period {
  grid-area: period;
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #C9C9C9;
}

/* кнопка */
.tariff__btn {
  align-self: flex-start;
  padding: 14px 28px;
  border-radius: 30px;
  border: 1px solid #373737;
  background: #fff;
  color: #373737;
  font-family: "SF Pro", sans-serif;
  font-size: 20px;
  font-weight: 400;
  margin-top: 4px;
  cursor: pointer;
}
.tariff__btn:hover {
  background: #f6f6f6;
}
/* Steps */
.steps {
  position: relative;
  padding: 81.79px 0;
  background: #0f0f0a;
  overflow: hidden;
}
.steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/case-grad.svg") center/cover no-repeat;
  z-index: 1;
  pointer-events: none;
}
.steps__bg { position: absolute; z-index: 0; pointer-events: none; }
.steps__bg--el1 { left: 60px; top: 90px; width: 316px; height: 266px; background: url("../images/el-1.svg") no-repeat center/100% 100%; }
.steps__bg--el2 { right: 60px; top: 140px; width: 200px; height: 200px; background: url("../images/steps-1.svg") no-repeat center/contain; }
.steps__bg--el3 { left: 40px; bottom: 160px; width: 220px; height: 220px; background: url("../images/steps-2.svg") no-repeat center/contain; }
.steps__bg--el4 { right: 40px; bottom: 120px; width: 220px; height: 220px; background: url("../images/steps-3.svg") no-repeat center/contain; }
.steps__container { position: relative; z-index: 2; }
.steps__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 42.06px;
  line-height: 1.167em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 39.72px;
}
.steps__subtitle {
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 30.38px;
  line-height: 1.346em;
  color: #ffffff;
  opacity: 0.5;
  text-align: center;
  max-width: 1172px;
  margin: 0 auto 39.72px;
}
.steps__grid {
  display: flex;
  flex-direction: column;
  gap: 35.05px;
  padding: 30.38px;
  max-width: 1204px;
  margin: 0 auto;
}
.steps__card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 0.5px solid rgba(212, 212, 212, 1);
  border-radius: 38px;
  backdrop-filter: blur(20px);
  background: rgba(215, 255, 96, 0.1);
}
.steps__card::before { display: none; }
.steps__card-title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 28.04px;
  line-height: 1.75em;
  color: #ffffff;
  text-align: center;
  margin: 0 0 16px 0;
}
.steps__list { list-style: disc; padding-left: 20px; margin: 0; }
.steps__list li {
  font-family: "SF Pro", sans-serif;
  font-weight: 300;
  font-size: 28.04px;
  line-height: 1.75em;
  color: #ffffff;
}
/* Cost (как advantages; меняем только фон) */
.cost {
  position: relative;
  padding: 81.79px 0;
  background: #ffffff;
  overflow: hidden;
}
.cost::before { display: none; }
.cost__bg { position: absolute; z-index: 0; pointer-events: none; }
.cost__bg--1 { top: -220px; right: -180px; width: 1084.76px; height: 881.67px; background-image: url("../images/advantages-bg-1.svg"); background-repeat: no-repeat; background-size: contain; }
.cost__bg--2 { bottom: -320px; left: -160px; width: 1084.76px; height: 881.67px; background-image: url("../images/advantages-bg-2.svg"); background-repeat: no-repeat; background-size: contain; }
.cost .container { position: relative; z-index: 2; max-width: 1200px; }
.cost__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 42.06px;
  line-height: 1.167em;
  color: #414141;
  margin: 0 0 39.72px 0;
  text-align: center;
}
/* Contact CTA */
.contact {
  position: relative;
  background: #0f0f0a;
  padding: 104px 0;
  overflow-x: hidden; /* скрываем горизонтальный скролл от выходящих bg-элементов */
}
.contact__bg { position: absolute; z-index: 0; pointer-events: none; }
.contact__bg--grad { inset: 0; background: url("../images/contact-grad.svg") center/cover no-repeat; opacity: 0.8; z-index: 1; }
.contact__bg--el1 { left: 158px; top: 18px; width: 108px; height: 91px; background: url("../images/contact-vector.svg") no-repeat center/100% 100%; }
.contact__bg--el3 { right: 129px; bottom: 39px; width: 67px; height: 70px; background: url("../images/contact-graph.png") no-repeat center/contain; filter: blur(6px); }
.contact__bg--el4 { right: -10px; top: 38px; width: 81px; height: 84px; background: url("../images/el-4.svg") no-repeat center/100% 100%;filter: blur(6px); }
.contact__bg--arrow {
  left: 89px;
  bottom: -10px; /* торчит из-под секции */
  width: 252px;
  height: 155px;
  background: url("../images/arrow.svg") no-repeat center/100% 100%;
  filter: drop-shadow(0 0 30px rgba(252, 215, 43, 0.6));
  z-index: 0; /* под градиентом */
  filter: blur(6px);
}
.contact__bg--laptop { right: 140px; top: 60px; width: 310px; height: 206px; background: url("../images/laptop.png") no-repeat center/contain; filter: blur(6.6px); }
.contact__container { position: relative; z-index: 2; text-align: center; }
.contact__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.25;
  color: #ffffff;
  max-width: 962px;
  margin: 0 auto 12px;
}
.contact__subtitle {
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1111;
  color: #ebebeb;
  margin: 0 auto 20px;
}
.contact__form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.contact__field {
  display: flex;
  align-items: stretch;
  flex: 0 0 383px; /* фиксируем ширину поля по макету */
}
.contact__input {
  font-family: "SF Pro", sans-serif;
  font-size: 16px;
  color: #0d1126;
  padding: 10px 12px;
  border: 1px solid #dee0e3;
  border-radius: 12px;
  outline: none;
  width: 100%; /* заполняет ширину .contact__field */
}
.contact__btn {
  padding: 10px 20px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  background: transparent;
  color: #ffffff;
  font-family: "SF Pro", sans-serif;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  flex: 0 0 227px; /* фиксируем ширину кнопки */
}
.contact__note {
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4285;
  color: rgb(93, 93, 93);
  margin: 0 auto 20px;
}
.contact__note .contact__more { color: #ffffff; text-decoration: underline; }
.contact__socials {
  display: flex;
  gap: 30px;
  justify-content: center;
}
.contact__social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 318px;
  height: 58px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-family: "SF Pro", sans-serif;
  font-size: 16px;
  justify-content: center;
}
/* Addons info (text continuation) */
.addons-info {
  padding: 60px 0;
  background: #ffffff;
}
.addons-info__container { max-width: 1320px; margin: 0 auto; }
.addons-info__group { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.addons-info__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.625em;
  color: #000000;
}
.addons-info__text {
  color: rgba(0, 0, 0, 1);
  font-family: SF Pro;
  font-size: 24px;
  font-weight: 300;
  line-height: 34px;
  letter-spacing: 0%;
  text-align: left;
  text-indent: 40px; /* абзацный отступ как на макете */
}
/* списки внутри addons-info */
.addons-info ul { padding-left: 40px; margin: 0 0 16px 0; }
.addons-info ul li {
  font-family: SF Pro;
  font-weight: 300;
  font-size: 20px; /* увеличен до 20px */
  line-height: 1.6;
  color: #000000;
  margin-bottom: 6px;
}
/* FAQ */
.faq { padding: 60px 0; background: #ffffff; }
.faq__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 510;
  font-size: 56px;
  line-height: 1.268;
  color: #414141;
  text-align: center;
  margin-bottom: 40px;
}
.faq__list { display: flex; flex-direction: column; gap: 30px; }
.faq__item { border-bottom: 2px solid rgba(65,65,65,0.3); padding-bottom: 22px; }
.faq__question { display: flex; align-items: center; gap: 12px; justify-content: space-between; cursor: pointer; }
.faq__chevron { transition: transform 0.25s ease; }
.faq__text {
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 0.7222;
  letter-spacing: -0.56%;
  color: #414141;
}
.faq__answer {
  margin-top: 20px;
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4583;
  letter-spacing: -0.83%;
  color: rgba(65,65,65,0.6);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__item--open .faq__answer { max-height: 600px; }
.faq__item--open .faq__chevron { transform: rotate(180deg); }
/* Footer */
.footer { background: #0F0F0A; padding: 40px 0; }
.footer__inner { display: flex; justify-content: center; align-items: center; gap: 120px; }
.footer__logo {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 0.85;
  color: #ffffff;
}
.footer__links { display: flex; flex-direction: column; gap: 20px; }
.footer__row { display: inline-flex; align-items: center; gap: 8px; color: #ffffff; text-decoration: none; }
.footer__text { font-family: "SF Pro", sans-serif; font-weight: 510; font-size: 16px; line-height: 1.193; color: #ffffff; }

/* ====== Adaptive ====== */
@media (max-width: 1200px){
  .pricing__grid{ grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cases__grid{ grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
@media (max-width: 992px){
  .header{ gap: 20px; justify-content: space-between; padding: 0 20px; }
  .header__nav{ flex-wrap: wrap; gap: 16px; }

  .pricing__grid{ grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cases__grid{ grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .tariff{ min-height: auto; }
  .contact__form{ justify-content: center; }
  .contact__field{ flex: 1 1 100%; }
  .contact__btn{ flex: 1 1 100%; }
}
@media (max-width: 992px) {
    .header__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #141510;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        gap: 30px;
    }

    .header__menu.is-active {
        left: 0;
    }

    .header__nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav__link {
        font-size: 24px;
    }

    .header__icons {
        margin-top: 20px;
    }

    .header__burger-btn {
        display: block;
    }
    
    .header__burger-btn.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .header__burger-btn.is-active span:nth-child(2) {
        opacity: 0;
    }
    
    .header__burger-btn.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    body.menu-open {
        overflow: hidden;
    }
}
@media (max-width: 768px){
  .faq__title { font-size: 20px; }
  .faq__text { font-size: 18px; line-height: 1.4; }
  .faq__answer { font-size: 16px; }
  .addons-info__title { font-size: 20px; }
  .addons-info__text { font-size: 18px; }
  .addons-info ul li { font-size: 18px; }
  .cost__title { font-size: 32px; }
  .pricing__title{ font-size: 48px; }
  .contact__title{ font-size: 28px; }
  .contact__subtitle{ font-size: 16px; }
  .contact__form {
    gap: 10px;
  }
  .contact__input {
    font-size: 14px;
    padding: 12px;
  }
  .contact__btn {
    font-size: 14px;
    padding: 12px;
  }
  .contact__socials {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .contact__social-btn {
    width: 100%;
    max-width: 318px;
  }
  .steps__title,.advantages__title{ font-size: 32px; }
  .steps__title { font-size: 27px; }
  .steps__subtitle { font-size: 19.5px; }
  .steps__card-title,
  .steps__list li {
    font-size: 18px;
  }
  .advantages__grid{ 
    padding: 20px;
    flex-direction: column; 
  }
  .advantages__card .advantages__title,
  .advantages__list li {
    font-size: 16px;
  }
  .advantages__list {
    padding-left: 20px;
  }
  .cases__grid{ grid-template-columns: 1fr; }
  .pricing__grid{ grid-template-columns: 1fr; }
  /* hero mobile restructure */
  .hero{ min-height: auto; }
  .hero__card{ position: relative; top: auto; left: auto; margin: 20px; transform: none; max-width: none; width: auto; padding: 24px; border-radius: 28px; }
  .hero__title{ font-size: 42px; line-height: 1.15; text-align: center; margin-bottom: 16px; }
  .hero__list{ width: auto; gap: 10px; }
  .hero__list-item{ font-size: 16px; line-height: 1.6; }
}
@media (max-width: 480px){
  .footer__inner{ flex-direction: column; gap: 40px; }
  .footer__links { align-items: center; }
  .footer__logo { font-size: 40px; }
  .footer__text { font-size: 16px; }
  .advantages__grid{ padding: 16px; gap: 16px; }
  .advantages__card{ padding: 18px; }
  .steps__grid{ padding: 16px; gap: 16px; }
  .steps__card{ padding: 18px; }
  
  /* Текст кейса для мобильных */
  .case__text {
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
    line-height: 1.4;
  }
  
  /* Кнопка кейса для мобильных */
  .case__cta {
    font-size: 12px;
    padding: 6px 8px;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 20px);
    text-align: center;
    justify-content: center;
    width: auto;
    display: inline-flex;
  }
  
  .case__cta svg {
    width: 8px;
    height: 14px;
  }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 360px) {
  .case__text {
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
    line-height: 1.3;
    font-size: 14px;
  }
  
  .case__cta {
    font-size: 11px;
    padding: 5px 6px;
    gap: 3px;
    text-align: center;
    justify-content: center;
    width: auto;
    display: inline-flex;
    max-width: calc(100% - 16px);
  }
  
  .case__cta svg {
    width: 6px;
    height: 12px;
  }
  
  /* Увеличиваем ширину блока кейса для маленьких экранов */
  .case {
    min-width: 280px;
    width: 100%;
  }
  
  .case__content {
    padding: 16px;
  }
}

/* Стили для экранов 320px и меньше */
@media (max-width: 320px) {
  .case__content > *{
    max-width: 301px;
    margin-right: 5px;
    margin-left: 5px;
  }
  .case {
    min-width: 300px;
    width: 100%;
  }
  
  .case__content {
    padding: 12px;
  }
  
  .case__text {
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
    line-height: 1.2;
    font-size: 15px;
  }
  
  .case__cta {
    font-size: 14px;
    padding: 9px 22px;
    gap: 2px;
    text-align: center;
    justify-content: center;
    width: auto;
    display: inline-flex;
    max-width: calc(100% - 12px);
  }
  
  .case__cta svg {
    width: 5px;
    height: 10px;
  }
}

/* Модальное окно для кейсов */
.case-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-modal.is-open {
  display: flex;
  opacity: 1;
}

.case-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.case-modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  margin: auto;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.case-modal.is-open .case-modal__content {
  transform: scale(1);
}

.case-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.case-modal__close:hover {
  background: rgba(255, 255, 255, 1);
}

.case-modal__close svg {
  color: #414141;
}

.case-modal__body {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;
}

.case-modal__image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.case-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-modal__info {
  padding: 30px;
}

.case-modal__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  color: #414141;
  margin: 0 0 16px 0;
}

.case-modal__description {
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  margin: 0 0 24px 0;
}

.case-modal__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.case-modal__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-family: "SF Pro", sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

.case-modal__btn--telegram {
  background: #0088cc;
  color: #ffffff;
}

.case-modal__btn--telegram:hover {
  background: #006699;
  transform: translateY(-2px);
}

.case-modal__btn--whatsapp {
  background: #25d366;
  color: #ffffff;
}

.case-modal__btn--whatsapp:hover {
  background: #1ea952;
  transform: translateY(-2px);
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
  .case-modal__content {
    width: 95%;
    margin: 20px auto;
  }
  
  .case-modal__body {
    max-height: calc(100vh - 40px);
  }
  
  .case-modal__image {
    height: 200px;
  }
  
  .case-modal__info {
    padding: 20px;
  }
  
  .case-modal__title {
    font-size: 24px;
  }
  
  .case-modal__description {
    font-size: 14px;
  }
  
  .case-modal__actions {
    flex-direction: column;
  }
  
  .case-modal__btn {
    min-width: auto;
  }
}
/* Страница всех кейсов */
.cases-page {
  position: relative;
  padding: 90px 0;
  background: #0f0f0a;
  overflow: hidden;
}

.cases-page__bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* Треугольник (слева сверху) 316x266 */
.cases-page__bg--el1 {
  background: url("../images/el-1.svg") no-repeat center/100% 100%;
  width: 316px;
  height: 266px;
  left: 120px;
  top: 120px;
}

/* Лупа (слева снизу) 188x194 */
.cases-page__bg--el2 {
  background: url("../images/el-2.svg") no-repeat center/100% 100%;
  width: 188px;
  height: 194px;
  filter: blur(10px);
  right: 120px;
  top: 90px;
}

/* Диаграмма (справа сверху) 180x182 */
.cases-page__bg--el3 {
  background: url("../images/el-3.svg") no-repeat center/100% 100%;
  width: 180px;
  height: 182px;
  right: 140px;
  bottom: 120px;
  filter: blur(10px);
}

/* График (справа снизу) 123x129 */
.cases-page__bg--el4 {
  background: url("../images/el-4.svg") no-repeat center/100% 100%;
  width: 123px;
  height: 129px;
  left: 80px;
  bottom: 80px;
  filter: blur(10px);
}

.cases-page__container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.cases-page__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 42.06px;
  line-height: 1.167em;
  color: #ffffff;
  text-align: center;
  margin: 0 0 20px 0;
}

.cases-page__subtitle {
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5em;
  color: #ffffff;
  opacity: 0.7;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.cases-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.case--page {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case--page:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case--page .case__img {
  height: 200px;
  overflow: hidden;
}

.case--page .case__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case--page .case__content {
  padding: 25px;
}

.case--page .case__title {
  font-size: 24px;
  margin-bottom: 15px;
}

.case--page .case__text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.case--page .case__cta {
  font-size: 14px;
  padding: 10px 20px;
}

/* Пагинация */
.cases-page__pagination {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.cases-page__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  background: #f5f5f5;
  color: #414141;
  text-decoration: none;
  border-radius: 8px;
  font-family: "SF Pro", sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.cases-page__pagination .page-numbers:hover,
.cases-page__pagination .page-numbers.current {
  background: #007bff;
  color: #ffffff;
}

.cases-page__pagination .prev,
.cases-page__pagination .next {
  width: auto;
  padding: 0 15px;
}

/* CTA секция */
.cases-page__cta {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  margin-top: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cases-page__cta-title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2em;
  color: #ffffff;
  margin: 0 0 15px 0;
}

.cases-page__cta-subtitle {
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5em;
  color: #ffffff;
  opacity: 0.7;
  margin: 0 0 30px 0;
}

.cases-page__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Пустое состояние */
.cases-page__empty {
  text-align: center;
  padding: 60px 20px;
  color: #ffffff;
}

.cases-page__empty h3 {
  font-family: "SF Pro", sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff;
}

.cases-page__empty p {
  font-size: 16px;
  opacity: 0.7;
  color: #ffffff;
}

/* Адаптивность для страницы кейсов */
@media (max-width: 768px) {
  .cases-page__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cases-page__title {
    font-size: 32px;
  }
  
  .cases-page__subtitle {
    font-size: 18px;
  }
  
  .case--page .case__content {
    padding: 20px;
  }
  
  .case--page .case__title {
    font-size: 20px;
  }
  
  .case--page .case__text {
    font-size: 14px;
  }
  
  .cases-page__cta-title {
    font-size: 28px;
  }
  
  .cases-page__cta-subtitle {
    font-size: 16px;
  }
  
  .cases-page__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cases-page__cta-buttons .button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cases-page__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .cases-page__title {
    font-size: 28px;
  }
  
  .cases-page__subtitle {
    font-size: 16px;
  }
  
  .case--page .case__img {
    height: 150px;
  }
  
  .case--page .case__content {
    padding: 15px;
  }
  
  .case--page .case__title {
    font-size: 18px;
  }
  
  .case--page .case__text {
    font-size: 13px;
  }
  
  .case--page .case__cta {
    font-size: 12px;
    padding: 8px 16px;
  }
}

/* Модальное окно для кейсов */
.case-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-modal.is-open {
  display: flex;
  opacity: 1;
}

.case-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.case-modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  margin: auto;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.case-modal.is-open .case-modal__content {
  transform: scale(1);
}

.case-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.case-modal__close:hover {
  background: rgba(255, 255, 255, 1);
}

.case-modal__close svg {
  color: #414141;
}

.case-modal__body {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;
}

.case-modal__image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.case-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-modal__info {
  padding: 30px;
}

.case-modal__title {
  font-family: "SF Pro", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  color: #414141;
  margin: 0 0 16px 0;
}

.case-modal__description {
  font-family: "SF Pro", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  margin: 0 0 24px 0;
}

.case-modal__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.case-modal__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-family: "SF Pro", sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

.case-modal__btn--telegram {
  background: #0088cc;
  color: #ffffff;
}

.case-modal__btn--telegram:hover {
  background: #006699;
  transform: translateY(-2px);
}

.case-modal__btn--whatsapp {
  background: #25d366;
  color: #ffffff;
}

.case-modal__btn--whatsapp:hover {
  background: #1ea952;
  transform: translateY(-2px);
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
  .case-modal__content {
    width: 95%;
    margin: 20px auto;
  }
  
  .case-modal__body {
    max-height: calc(100vh - 40px);
  }
  
  .case-modal__image {
    height: 200px;
  }
  
  .case-modal__info {
    padding: 20px;
  }
  
  .case-modal__title {
    font-size: 24px;
  }
  
  .case-modal__description {
    font-size: 14px;
  }
  
  .case-modal__actions {
    flex-direction: column;
  }
  
  .case-modal__btn {
    min-width: auto;
  }
}