/* Page-specific styles for index */

.page{
    padding: 26px 0 60px;
}

@media (max-width: 900px) {
  .projects__slider {
    gap: 20px;
  }

  .project-card {
    height: min(560px, calc(100svh - 340px));
    min-height: 500px;
  }

  .project-card__content {
    top: 18px;
    left: 10px;
    right: 10px;
    gap: 16px;
  }

  .project-card__badge {
    height: auto;
    min-height: 20px;
    padding: 1px 7px;
    font-size: 11px;
    line-height: 1.35;
  }

  .project-card__texts {
    gap: 10px;
  }

  .project-card__h {
    font-size: 14px;
    line-height: 1.2;
  }

  .project-card__p {
    font-size: 11px;
    line-height: 1.35;
  }

  .project-card__btn {
    width: 136px;
    height: 34px;
    font-size: 12px;
  }
}

.placeholder{
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
}

.placeholder h1{
    margin: 0 0 8px;
}

.placeholder p{
    margin: 0;
    color: #6b7280;
}



/* ========== HERO ========== */
.hero {
    padding: 32px 0 64px;
    background: #ffffff;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 0;
    align-items: center;
}

.hero__content {
    min-width: 0;
    padding-right: 25px;
}

.hero__title {
    color: #0f172a;
}

.hero__desc {
    margin: 50px 0 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #64748b;
}

.hero__actions {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}



/* Кнопки (локально для index, чтобы не тащить в main.css) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 12px; /* Was 999px */
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    user-select: none;
}

.btn--primary {
    background: #1A83D4;
    color: #ffffff;
}

.btn--primary:hover {
    background: #1f4fc9;
}

.btn--secondary {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1A83D4;
}

.hero__actions .btn--secondary {
    border: 1px solid #cbd5e1;
}

.btn--secondary:hover {
    border-color: #94a3b8;
}

/* Правая картинка/композиция */
.hero__visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    min-height: 420px;
}

.hero__img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero__shape {
    position: absolute;
    border-radius: 28px;
    z-index: 1;
}

.hero__shape--blue {
    right: 34px;
    top: 56px;
    width: 260px;
    height: 300px;
    background: linear-gradient(180deg, rgba(34, 90, 227, 1) 0%, rgba(34, 90, 227, 0.15) 100%);
    border-radius: 32px;
}

.hero__shape--outline {
    right: 18px;
    bottom: 22px;
    width: 230px;
    height: 170px;
    border: 6px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    z-index: 3;
    pointer-events: none;
}

/* по умолчанию показываем desktop-варианты */
.hero__title--mobile,
.hero__desc--mobile{
    display: none;
}

.hero__title--desktop,
.hero__desc--desktop{
    display: inline;
}

@media (max-width: 1279px) and (min-width: 901px) {
    .hero {
        padding: 24px 0 48px;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 24px;
    }

    .hero__content {
        padding-right: 0;
    }

    .hero__desc {
        margin-top: 32px;
        font-size: 18px;
    }

    .hero__visual {
        max-width: 460px;
        min-height: 0;
    }
}

@media (max-width: 900px){
    /* переключаем на mobile-варианты текста */
    .hero__title--desktop,
    .hero__desc--desktop{
        display: none;
    }

    .hero__title--mobile,
    .hero__desc--mobile{
        display: inline;
    }

}

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

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start; /* Was stretch */
        gap: 12px;
    }

    .btn {
        height: 44px;
        width: 65%;
        max-width: 320px; /* But limit max width like the white button implies */
    }

    .hero__visual {
        max-width: 420px;
        margin: 0 auto;
        min-height: 360px;
    }

    .hero__shape--blue {
        right: 18px;
        top: 86px;
        width: 240px;
        height: 270px;
    }

    .hero__shape--outline {
        right: 8px;
        bottom: 10px;
        width: 220px;
        height: 160px;
    }
}








/* ========== FEATURES (4 cards) ========== */
.features {
    padding: 160px 0 160px;
    background: #ffffff;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;        /* Центрирование по горизонтали */
    text-align: center;         /* Центрирование текста */
    background: #ffffff;
    padding: 16px;
    min-height: 210px;
}

.feature-card__icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    color: #1A83D4;
    margin-bottom: 18px;
    order: -1;
}

.feature-card__icon img,
.feature-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;}

.feature-card__title {
    margin: 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 500;
    font-size: 23px;
    line-height: 1.2;
    color: #0f172a;

}

.feature-card__text {
    margin: 10px 0 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.45;
    color: #64748b;
}

@media (max-width: 480px) {
  /* Features wrapper */
  .features {
    padding: 32px 0; /* :contentReference[oaicite:5]{index=5} */
    background: #ffffff;
  }

  /* В Figma контент 328px внутри 360 (то есть 16px поля) */
  .features .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Список карточек */
  .features__grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px; /* :contentReference[oaicite:6]{index=6} */
  }

  /* Карточка */
  .feature-card {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center; /* :contentReference[oaicite:7]{index=7} */
    padding: 12px;       /* :contentReference[oaicite:8]{index=8} */
    gap: 16px;           /* :contentReference[oaicite:9]{index=9} */

    border-radius: 16px; /* :contentReference[oaicite:10]{index=10} */
    border: none;        /* в Figma бордера нет */
    background: transparent;
    min-height: auto;
    text-align: center;
  }

  /* Иконка */
  .feature-card__icon {
    width: 80px;  /* :contentReference[oaicite:11]{index=11} */
    height: 80px; /* :contentReference[oaicite:12]{index=12} */
    margin: 0;
    background: #ffffff; /* :contentReference[oaicite:13]{index=13} */
    flex-shrink: 0;
  }

  .feature-card__icon img,
  .feature-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
  }

  /* Заголовок */
  .feature-card__title {
    width: 304px; /* :contentReference[oaicite:14]{index=14} */
    max-width: 100%;
    margin: 0;

    font-family: "IBM Plex Serif", serif; /* :contentReference[oaicite:15]{index=15} */
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 130%;
    text-align: center;
    color: #0f172a; /* :contentReference[oaicite:16]{index=16} */
  }

  /* Текст */
  .feature-card__text {
    width: 304px; /* :contentReference[oaicite:17]{index=17} */
    max-width: 100%;
    margin: 0;

    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; /* :contentReference[oaicite:18]{index=18} */
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #334155; /* :contentReference[oaicite:19]{index=19} */
  }
}

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

@media (max-width: 1279px) and (min-width: 901px) {
    .features {
        padding: 104px 0;
    }

    .feature-card {
        min-height: 0;
    }

    .feature-card__icon {
        width: 96px;
        height: 96px;
    }

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



/* ========== APPROACH (title + cards) ========== */

.approach {
  padding: 60px 0;
  background: #ffffff;
}

.approach__container {
  width: min(1200px, calc(100% - 32px));
  max-width: 1280px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px; /* Figma container gap */ /* :contentReference[oaicite:3]{index=3} */
}

.approach__head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; /* :contentReference[oaicite:4]{index=4} */
  text-align: center;
}

.approach__title {
  margin: 0;
  max-width: 840px;

  font-family: "IBM Plex Serif", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 58px;
  text-align: center;
  color: #0f172a; /* :contentReference[oaicite:5]{index=5} */
}

.approach__subtitle {
  margin: 0;
  max-width: 786px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  color: #334155; /* :contentReference[oaicite:6]{index=6} */
}

.approach__grid {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px; /* :contentReference[oaicite:7]{index=7} */
}

.approach-card {
  box-sizing: border-box;
  width: 376px;

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

  padding: 24px;
  background: #f8fafc;
  border-radius: 16px; /* :contentReference[oaicite:8]{index=8} */
}

.approach-card__title {
  width: 100%;
  margin: 0;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: rgba(15, 23, 42, 1); /* :contentReference[oaicite:9]{index=9} */
}

.approach-card__text {
  width: 100%;
  margin: 0;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  line-height: 24px;
  color: #334155; /* :contentReference[oaicite:10]{index=10} */
}

@media (max-width: 1279px) and (min-width: 901px) {
  .approach {
    padding: 48px 0;
  }

  .approach__container {
    gap: 40px;
  }

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

  .approach-card {
    width: auto;
    min-width: 0;
  }
}

/* Mobile (360) — строго по Figma */
@media (max-width: 480px) {
  .approach {
    padding: 32px 0; /* :contentReference[oaicite:11]{index=11} */
  }

  .approach__container {
    width: 100%;
    padding: 0 16px; /* :contentReference[oaicite:12]{index=12} */
    gap: 48px;       /* :contentReference[oaicite:13]{index=13} */
  }

  .approach__title {
    max-width: 328px;
    font-size: 32px;
    line-height: 125%;
  }

  .approach__subtitle {
    max-width: 328px;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
  }

  .approach__grid {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 24px;
  }

  .approach-card {
    width: 100%;
    align-items: center;
  }

  .approach-card__title,
  .approach-card__text {
    max-width: 280px;
  }

  .approach-card__text {
    line-height: 150%;
  }
}




/* ========== SOLUTIONS GRID ========== */
/* ========== SOLUTIONS (Figma 1:1) ========== */
.solutions {
  padding: 160px 0;
  background: #ffffff;
}

.solutions__container {
  width: min(1200px, calc(100% - 32px));
  max-width: 1280px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px; /* Figma: gap 60 on desktop */ /* :contentReference[oaicite:1]{index=1} */
}

.solutions__head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; /* :contentReference[oaicite:2]{index=2} */
  text-align: center;
}

.solutions__title {
  margin: 0;
  width: 818.67px;
  max-width: 100%;

  font-family: "IBM Plex Serif", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 58px;
  text-align: center;
  color: #0f172a; /* :contentReference[oaicite:3]{index=3} */
}

.solutions__subtitle {
  margin: 0;
  width: 853.97px;
  max-width: 100%;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  color: #334155; /* :contentReference[oaicite:4]{index=4} */
}

/* Primary button from Figma */
.solutions__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  height: 40px;
  padding: 0 16px;

  background: #1a83d4;
  border-radius: 12px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #f8fafc;

  text-decoration: none;
}

.solutions__cta-ico {
  color: #f8fafc;
}

.solutions__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px; /* Ready-made solutions gap */ /* :contentReference[oaicite:5]{index=5} */
}

.solutions__row {
  width: 100%;
  display: flex;
  gap: 36px; /* :contentReference[oaicite:6]{index=6} */
}

.solutions__row--top {
  align-items: flex-start;
}

.solutions__row--bottom {
  align-items: center;
}

/* ---------- Top cards (376 x 354) ---------- */
.solution-card {
  width: 376px;
  min-height: 354px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 32px 32px 0;
  gap: 24px;

  border-radius: 16px;
}

.solution-card--yellow { background: #fff5cc; }
.solution-card--blue   { background: #edf3fe; }
.solution-card--green  { background: #d0f4db; }

.solution-card__content {
  width: 312px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  height: 100%;
}

.solution-card__textblock {
  width: 312px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-card__title {
  margin: 0;
  width: 312px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #0f172a; /* :contentReference[oaicite:7]{index=7} */
}

.solution-card__desc {
  margin: 0;
  width: 312px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #334155; /* :contentReference[oaicite:8]{index=8} */
}

.solution-card__link {
  width: 109px;
  height: 36px;

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


  border-radius: 12px;
  text-decoration: none;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #334155; /* :contentReference[oaicite:9]{index=9} */
}

.solution-card__link-ico {
  color: #334155;
}

.solution-card__media {
  width: 312px;
  height: 162px;
  box-sizing: border-box;

  overflow: hidden;
  background: #ffffff;

  border-radius: 12.3607px 12.3607px 0 0;
}

.solution-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* per-card border colors from Figma */
.solution-card__media--yellow {
  border: 0.772547px solid #967800;
  border-bottom: 0;
}

.solution-card__media--blue {
  height: 136px;
  border: 1px solid #286ff0;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.solution-card__media--green {
  height: 136px;
  border: 0.772547px solid #0e782c;
  border-bottom: 0;
}

/* ---------- Bottom wide cards (582 x 238) ---------- */
.solution-card-wide {
  width: 582px;
  height: 238px;
  box-sizing: border-box;

  display: flex;
  align-items: flex-start;

  padding: 32px 0 0 32px;
  gap: 24px;

  border-radius: 16px;
}

.solution-card-wide--cyan { background: #e8fcfd; }
.solution-card-wide--pink { background: #ffedf2; }

.solution-card-wide__content {
  display: flex;
  flex-direction: column;
  gap: 24px;

  width: 276.53px;
}

.solution-card-wide__textblock {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-card-wide__title {
  margin: 0;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #0f172a; /* :contentReference[oaicite:10]{index=10} */
}

.solution-card-wide__desc {
  margin: 0;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #334155; /* :contentReference[oaicite:11]{index=11} */
}

.solution-card-wide__link {
  width: 109px;
  height: 36px;

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

  border-radius: 12px;
  text-decoration: none;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #334155;
}

.solution-card-wide__link-ico {
  color: #334155;
}

.solution-card-wide__media {
  box-sizing: border-box;
  overflow: hidden;
  align-self: stretch;

  background: #ffffff;
  border-radius: 8px 0 0 0;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
}

.solution-card-wide__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.solution-card-wide__media--cyan {
  width: 249.47px;
  height: 206px;
  border-top-color: #578b93;
  border-left-color: #578b93;
}

.solution-card-wide__media--pink {
  width: 271px;
  height: 206px;
  border-top-color: #996772;
  border-left-color: #996772;
}

@media (max-width: 1279px) and (min-width: 901px) {
  .solutions {
    padding: 104px 0;
  }

  .solutions__container {
    gap: 40px;
  }

  .solutions__row {
    gap: 24px;
  }

  .solution-card,
  .solution-card-wide {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }

  .solution-card {
    padding: 24px 24px 0;
  }

  .solution-card__content,
  .solution-card__textblock,
  .solution-card__title,
  .solution-card__desc,
  .solution-card__media,
  .solution-card-wide__content {
    width: 100%;
    min-width: 0;
  }

  .solution-card-wide {
    height: auto;
    padding: 24px 24px 0;
    gap: 16px;
  }

  .solution-card-wide__media--cyan,
  .solution-card-wide__media--pink {
    width: min(42%, 250px);
    flex: 0 0 min(42%, 250px);
  }
}

/* ---------- Mobile 360 (Figma) ---------- */
@media (max-width: 480px) {
  .solutions {
    padding: 32px 0; /* :contentReference[oaicite:12]{index=12} */
  }

  .solutions__container {
    width: 100%;
    padding: 0 16px;
    gap: 48px; /* :contentReference[oaicite:13]{index=13} */
  }

  .solutions__head {
    width: 328px;
    max-width: 100%;
  }

  .solutions__title {
    width: 328px;
    font-size: 32px;
    line-height: 125%;
  }

  .solutions__subtitle {
    width: 328px;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
  }

  .solutions__row {
    flex-direction: column;
    gap: 24px;
  }

  .solution-card {
    width: 100%;
    padding: 16px 16px 0;
  }

  .solution-card__content,
  .solution-card__textblock {
    width: 100%;
  }

  .solution-card__title,
  .solution-card__desc {
    width: 100%;
  }

  .solution-card__media {
    width: 100%;
  }

  /* match Figma mobile heights */
  .solution-card__media--yellow { height: 178px; }
  .solution-card__media--blue   { height: 152.82px; }
  .solution-card__media--green  { height: 170.36px; }

  /* Bottom “wide” cards become stacked like normal ones on mobile */
  .solution-card-wide {
    width: 100%;
    height: auto;

    flex-direction: column;
    padding: 16px 16px 0;
    gap: 16px;
  }

  .solution-card-wide__content {
    width: 100%;
    gap: 16px;
  }

  .solution-card-wide__media--cyan,
  .solution-card-wide__media--pink {
    width: 100%;
    height: 172.75px; /* close to Figma mobile samples; если нужно — подгоню под точное значение из макета */
    border-radius: 12.3607px 12.3607px 0 0;
    border-left-color: transparent; /* на мобилке верхняя рамка как у обычных карточек */
  }
}
/* ========== QUOTE (Figma 1:1) ========== */
.quote {
  padding: 0 0 160px 0; /* padding уходит во внутренний контейнер */
  background: #ffffff !important;
}

.quote__inner {
  width: min(1200px, calc(100% - 32px));
/*  height: 614.36px; */

  margin: 0 auto;

  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 0;
  gap: 32px;

  background: #f1f5f9;
  border-radius: 24px;
} /* :contentReference[oaicite:1]{index=1} */

.quote__body {
  width: 100%;
  max-width: 1200px;
/*  height: 502.36px; */

  box-sizing: border-box;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;

  padding: 0 36px;
  gap: 60px;
} /* :contentReference[oaicite:2]{index=2} */

.quote__left {
  width: 610px;
/*  height: 502.36px; */

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 36px;

  border-radius: 8px;
} /* :contentReference[oaicite:3]{index=3} */

.quote__title {
  width: calc(100% - 72px);
  /* height: 116px; */
  margin: 0;

  font-family: "IBM Plex Serif", serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 58px;
  text-align: left;
  white-space: nowrap;
  color: #0f172a;
} /* :contentReference[oaicite:4]{index=4} */

.quote__left > .quote__title {
  display: none;
}

.quote__text {
  width: 610px;
/*  height: 178px; */

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
} /* :contentReference[oaicite:5]{index=5} */

.quote__text p {
  margin: 0;
  width: 610px;
  height: auto;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: rgba(51, 65, 85, 0.8);
} /* :contentReference[oaicite:6]{index=6} */

.quote__author {
  width: 610px;
  height: 104.36px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
} /* :contentReference[oaicite:7]{index=7} */

.quote__author-text {
  width: 610px;
  height: 57px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
} /* :contentReference[oaicite:8]{index=8} */

.quote__name {
  width: 610px;
  height: 26px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #2f6eab;
} /* :contentReference[oaicite:9]{index=9} */

.quote__role {
  width: 610px;
  height: 23px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  color: #0f172a;
} /* :contentReference[oaicite:10]{index=10} */


.quote__linkedin {
  width: 92px;
  height: 23.36px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  text-decoration: none;
}

.quote__linkedin-img {
  width: 92px;
  height: 23.36px;
  display: block;
}

.quote__right {
  width: 435.24px;
  height: 452.02px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote__photo {
  box-sizing: border-box;
  width: 435.24px;
  height: 452.02px;

  border: 16.9946px solid #ffffff;
  border-radius: 15.0003px;
  overflow: hidden;

  transform: matrix(1, 0, -0.01, 1, 0, 0);
  background: #ffffff;
} /* :contentReference[oaicite:12]{index=12} */

.quote__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 1279px) and (min-width: 901px) {
  .quote {
    padding-bottom: 104px;
  }

  .quote__body {
    gap: 48px;
    padding: 0 24px;
  }

  .quote__left,
  .quote__right,
  .quote__title,
  .quote__text,
  .quote__author,
  .quote__author-text,
  .quote__name,
  .quote__role {
    width: 100%;
    min-width: 0;
  }

  .quote__left {
    flex: 1 1 0;
  }

  .quote__right {
    flex: 0 1 380px;
    height: auto;
  }

  .quote__text p {
    width: 100%;
    height: auto;
  }

  .quote__photo {
    width: min(100%, 380px);
    height: auto;
    aspect-ratio: 435.24 / 452.02;
  }
}

/* ---------- Mobile 360 (Figma) ---------- */
@media (max-width: 480px) {

  .quote {
    padding: 0 0 32px 0; /* padding уходит во внутренний контейнер */

  }
  .quote__inner {
    width: 360px;
/*    height: 900.94px; */
    border-radius: 0; /* в моб. скрине блок выглядит как секция во всю ширину */
    padding: 32px 16px;
    gap: 24px;
    background: #e9f1f8;
  } /* :contentReference[oaicite:13]{index=13} */

  .quote__body {
    width: 328px;
    height: auto;

    padding: 0;
    gap: 34px;
    flex-direction: column;
    align-items: stretch;
  }

  .quote__left {
    width: 328px;
    height: auto;

    padding: 0;
    align-items: flex-start;
    gap: 36px;
  } /* :contentReference[oaicite:14]{index=14} */

  .quote__title {
    width: 328px;
    height: auto;

    font-size: 32px;
    line-height: 125%;
  } /* :contentReference[oaicite:15]{index=15} */

  .quote__text {
    width: 328px;
    height: auto;
    padding: 0 0 16px;
  }

  .quote__text p {
    width: 328px;
    height: auto;

    font-size: 16px;
    line-height: 150%;
    color: rgba(51, 65, 85, 0.8);
  } /* :contentReference[oaicite:16]{index=16} */

  .quote__author {
    width: 328px;
    height: auto;
    gap: 16px;
  } /* :contentReference[oaicite:17]{index=17} */

  .quote__author-text {
    width: 328px;
    height: auto;
  }

  .quote__name {
    width: 328px;
    font-weight: 500; /* mobile variant */
  } /* :contentReference[oaicite:18]{index=18} */

  .quote__role {
    width: 328px;
    font-size: 16px;
    line-height: 150%;
  } /* :contentReference[oaicite:19]{index=19} */

  .quote__linkedin {
    width: 80px;
    height: 20.31px;
  }

  .quote__linkedin-img {
    width: 80px;
    height: 20.31px;
  }

  .quote__right {
    width: 328px;
    height: auto;
  }

  .quote__photo {
    width: 328px;
    height: 340.65px;

    border: 16px solid #ffffff;
    border-radius: 11.3043px;
    transform: matrix(1, 0, -0.01, 1, 0, 0);
  } /* :contentReference[oaicite:21]{index=21} */
}

/* ========== Digital Engineering for Complex Industries ========== */
/* ========== PROJECTS (Figma 1:1) ========== */
.projects {
  width: 100%;
  background: #ffffff;          /* белый фон на всю ширину */
  padding: 60px 0;              /* вертикальные отступы секции */
}


.projects__container {
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.projects__head {
  width: 100%;
  max-width: 1240px;
  height: 250px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;

  text-align: center;
}

.projects__title {
  margin: 0;
  width: 100%;
  max-width: 853.97px;
  height: 116px;

  font-family: "IBM Plex Serif", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 58px;
  text-align: center;
  color: #0f172a;
}

.projects__subtitle {
  margin: 0;
  width: 100%;
  max-width: 853.97px;
  height: 46px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  color: #334155;
}

.projects__cta {
  width: 161px;
  height: 40px;

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


  padding: 0;
  background: #1a83d4;
  border-radius: 12px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #f8fafc;
  text-decoration: none;
}

.projects__cta-ico { color: #f8fafc; }

.projects__slider {
  width: 100%;
  max-width: 1200px;
  height: 496px;

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

.projects__track {
  width: 100%;
  height: 408px;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 55px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  padding: 0;
  margin: 0;
}

/* скрываем скроллбар визуально */
.projects__track::-webkit-scrollbar { height: 0; }
.projects__track { scrollbar-width: none; }

.project-card {
  position: relative;
  width: 787px;
  height: 408px;
  flex: 0 0 auto;

  border-radius: 24px;
  overflow: hidden;

  scroll-snap-align: start;
}

.project-card__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.project-card__bg img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-card__content {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);

  width: 416px;
  height: 353px;

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

.project-card__content--narrow {
  width: 384px;
}

.project-card__textblock {
  width: 416px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-card__content--narrow .project-card__textblock {
  width: 384px;
}

.project-card__badge {
  display: inline-flex;        /* ширина по контенту */
  width: fit-content;          /* важно: не растягиваться */
  max-width: 100%;

  align-self: flex-start;      /* прижать влево как в Figma */
  justify-content: flex-start;

  height: 24px;
  padding: 2px 8px;

  border: 1px solid rgba(248, 250, 252, 0.6); /* светлая рамка как в макете */
  border-radius: 6px;                           /* в фигме выглядит чуть мягче 4 */

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #f8fafc;

  white-space: nowrap;         /* чтобы рамка не ломалась */
}

.project-card__texts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-card__h {
  margin: 0;
  width: 416px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #f8fafc;
}

.project-card__content--narrow .project-card__h {
  width: 384px;
}

.project-card__p {
  margin: 0;
  width: 416px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #f8fafc;
}

.project-card__p--medium {
  font-weight: 500; /* как в фигме у project4 текста */
}

.project-card__content--narrow .project-card__p {
  width: 384px;
}

.project-card__btn {
  width: 165px;
  height: 40px;

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

  padding: 0;
  border: 1px solid #f8fafc;
  border-radius: 12px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #f8fafc;

  text-decoration: none;
}

.projects__controls {
  width: 100%;
  height: 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.projects__dots {
  width: 152px;
  height: 12px;

  display: flex;
  align-items: center;
  gap: 8px;
}

.projects__dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;

  background: transparent;
  border: 1px solid #1a83d4;

  padding: 0;
  cursor: pointer;
}

.projects__dot.is-active {
  width: 52px;
  background: #1a83d4;
  border: none;
}

.projects__arrows {
  width: 124px;
  height: 40px;

  display: flex;
  gap: 12px;
}

.projects__arrow {
  width: 56px;
  height: 40px;

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

  background: #1a83d4;
  border-radius: 12px;
  border: none;
  color: #f8fafc;
  cursor: pointer;
}

/* ---------- Mobile 360 (Figma) ---------- */
@media (max-width: 480px) {
  .projects {
    width: 100%;
    height: auto;
    padding: 32px 0;
  }

  .projects__container{
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 0 16px;
    gap: 48px;
  }

  .projects__head {
    width: 328px;
    height: auto;
    gap: 24px;
  }

  .projects__title {
    width: 328px;
    height: auto;
    font-size: 32px;
    line-height: 125%;
  }

  .projects__subtitle {
    width: 328px;
    height: auto;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
  }

  .projects__cta {
    width: 183px;
  }

  .projects__slider {
    width: 328px;
    height: auto;
    gap: 24px;
  }

  .projects__track {
    width: 328px;
    height: auto;
    gap: 24px;
  }

  .project-card{
    width: 318px;
    height: calc(100vh - 200px);        /* как в фигме (примерно) */
    min-height: 570px;
    border-radius: 14px;  /* в фигме у моб. карточек 14px */
    overflow: hidden;
  }

  .project-card__bg{
    width: 100%;
    height: 100%;
  }

  .project-card__bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-card__content{
    position: absolute;    /* контент поверх фона */
    left: 12px;
    right: 12px;
    top: 32px;
    transform: none;

    width: auto;
    height: auto;
    margin: 0;
  }

  .project-card__textblock,
  .project-card__h,
  .project-card__p{
    width: 100%;
  }

  .projects__controls {
    width: 328px;
  }
}
/* ========== IMPACT (Figma) ========== */
.impact {
  background: #ffffff;
  padding: 160px 0; /* визуально как на десктоп-скрине */
}

.impact__container {
  width: 1280px;          /* frame 1280 */
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;        /* типичные поля в макете 1280 */
  box-sizing: border-box;

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

.impact__head {
  width: 100%;
  max-width: 860px;

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

  text-align: center;
}

.impact__title {
  margin: 0;

  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 58px;
  color: #0f172a;
}

.impact__subtitle {
  margin: 0;
  max-width: 800px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;       /* на десктоп-скрине текст мелкий */
  line-height: 150%;
  color: #334155;
}

.impact__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 36px;      /* визуально как расстояние между метриками */
}

.impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;        /* Центрирование по горизонтали */
  text-align: center;
  gap: 12px;
}

.impact-item__value {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1;
  color: var(--primary);

}

.impact-item__value::after {
  content: "";
  display: block;

  width: 273px;          /* как в Figma на скрине */
  height: 0;
  margin-top: 18px;

  border-top: 3px solid var(--primary);
  opacity: 1;
}

.impact-item__text {
  margin: 0;
  max-width: 240px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;        /* подписи очень мелкие в макете */
  line-height: 150%;
  color: #334155;
  opacity: 0.7;
}

@media (max-width: 1279px) and (min-width: 901px) {
  .impact {
    padding: 104px 0;
  }

  .impact__container {
    width: min(100%, 1200px);
    padding: 0 24px;
  }

  .impact__grid {
    gap: 24px;
  }

  .impact-item__value::after {
    width: 100%;
    max-width: 220px;
  }
}

/* ---------- Mobile 360 (Figma) ---------- */
@media (max-width: 480px) {
  .impact {
    padding: 32px 0;
  }

  .impact__container {
    width: 360px;
    padding: 0 16px;
    gap: 24px;
  }

  .impact__head {
    max-width: 328px;
    gap: 12px;
  }

  .impact__title {
    font-size: 32px;
    line-height: 125%;
  }

  .impact__subtitle {
    max-width: 328px;
    font-size: 20px;     /* на мобилке читаемее */
    line-height: 150%;
    color: #334155;
  }

  .impact__grid {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .impact-item {
    padding: 24px 0;
    gap: 10px;

  }


  .impact-item__value {
    width: 100%;
    font-size: 72px;      /* на мобилке число больше */
    line-height: 1;
    padding-bottom: 18px;

  }
  .impact-item__value::after {
    content: "";
    display: block;

    width: 100%;          /* как в Figma на скрине */
    height: 0;
    margin-top: 18px;
    opacity: 1;
  }

  .impact-item__text {
    max-width: 328px;
    font-size: 16px;
    line-height: 150%;
  }
}
/* ========== AI SUITE (tabs + cards) ========== */
.suite{
    padding: 78px 0 96px;
    background: #ffffff;
}

.suite__head{
    text-align: center;
    max-width: 980px;
    margin: 0 auto 22px;
}

.suite__title{
    font-size: 48px;
    line-height: 58px;
    color: #0f172a;
}

.suite__subtitle{
    margin: 12px auto 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 130%;
    color: #334155;
}

.suite__cta {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    font-size: 14px;
    gap: 8px;
}

.suite__cta-arrow {
    font-family: monospace; /* simple arrow */
}

@media (max-width: 900px) {
    .suite__head {
        text-align: left;
    }
    .suite__subtitle {
        margin-left: 0;
    }
    .suite__cta {
        width: 100%;
        margin-top: 20px;
        justify-content: center; /* Center content on mobile */
    }
}

.suite__cta{
    margin: 16px auto 0;
    height: 40px; /* Matched Figma: 40px height */
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Matched Figma: 10px gap */
    padding: 0 16px; /* Matched Figma: 16px horizontal padding */
    border-radius: 12px; /* Matched Figma: 12px radius */
    background: #1A83D4;
    color: #ffffff;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

.suite__cta-ic{
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
}
.suite__cta-ic::before{
    content:"";
    position:absolute;
    left: 2px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,.95);
    border-bottom: 2px solid rgba(255,255,255,.95);
    transform: translateY(-50%) rotate(-45deg);
}

/* Tabs (desktop) */
.suite__tabs{
    margin: 26px auto 0;
    max-width: 980px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px;

    width: fit-content;          /* ключевое */
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.suite-tab{
    border: 0;
    background: transparent;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    color: var(--muted);
    position: relative;
    white-space: nowrap;
    display: inline-block;
}

.suite-tab.is-active{
    color: #0f172a;
}

.suite-tab.is-active::after{
    content:"";
    position:absolute;
    left: 0;
    right: 0;
    bottom: -11px;

    height: 2px;
    background: var(--primary);
    border-radius: 2px;

}

/* Grid */
.suite__grid{
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Card */
.suite-card{
    position: relative;
    /* border-radius: 18px; removed wrapper radius */
    overflow: visible; /* allow panel to protrude */
    background: transparent; /* removed bg */
    border: 0; /* removed border */
    padding-bottom: 20px; /* reserve space for protrusion */
}

.suite-card.is-hidden{
    display: none;
}

.suite-card__media{
    position: relative;
    width: 100%;
    height: 340px; /* соответствует визуально макету */
    background: #e5e7eb;
}

.suite-card__media img{
    width: 110%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-left: -5%;
   /* filter: grayscale(0.75) opacity(1.5) brightness(0.85); */
}


.suite-card__panel{
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    width: 280px;
    min-height: 139px;
    max-width: calc(100% - 44px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(203, 213, 225, 1);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    text-align: center;
    padding: 16px 0;
    z-index: 2;

}

.suite-card {
    overflow: visible;
}

.suite-card__media {
    border-radius: 18px;
    overflow: hidden;
}

.suite-card__kicker{
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: #334155;
    opacity: 0.8;
}

.suite-card__name{
    margin-top: -4px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    color: #0a0a0a;
}

.suite-card__btn{
    margin-top: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 142px;
    height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    background: #1A83D4;
    color: #ffffff;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

@media (max-width: 1279px) and (min-width: 901px) {
    .suite__grid{
        gap: 20px;
    }

    .suite-card__media{
        height: 300px;
    }

    .suite-card__panel{
        width: 280px;
        max-width: calc(100% - 32px);
    }

    .suite-card[data-panel="left"] .suite-card__panel,
    .suite-card[data-panel="right"] .suite-card__panel{
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

/* Responsive: mobile shows all vertically (tabs hidden) */
@media (max-width: 900px){
    .suite{
        padding: 52px 0 72px;
    }

    .suite__title{
        font-size: 51px;
        line-height: 1.12;
    }

    .suite__tabs{
        width: 100%;                 /* контейнер по экрану */
        margin: 18px 0 0;
        padding: 0 16px 10px;        /* чтобы крайние табы не прилипали к краям */

        flex-wrap: nowrap;           /* запрет переноса */
        justify-content: flex-start; /* не центрируем, чтобы свайп ощущался естественно */
        overflow-x: auto;            /* свайп */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;

        scroll-snap-type: x proximity; /* приятное “прилипание” при свайпе */
    }

    .suite-tab{
        flex: 0 0 auto;              /* главное: не сжиматься под экран */
        scroll-snap-align: start;
        white-space: nowrap;
    }

    /* по желанию: скрыть скроллбар (не везде, но чаще ок) */
    .suite__tabs::-webkit-scrollbar{
        height: 0;
    }

    .suite__grid{
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
    }

    .suite-card__media{
        height: 360px;
    }

    .suite-card__panel{
        width: 280px;
        max-width: calc(100% - 44px);
    }
}




/* ========== HOW WE DELIVER ========== */
/* ========== HOW WE DELIVER (Figma 1:1) ========== */
.deliver{
  padding: 78px 0 96px;
  background: #FFFFFF;
}

.deliver__head{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin: 0 auto 48px;
  max-width: 820px;
}

.deliver__title{
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 58px;

  color: #0F172A;
}

.deliver__subtitle{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  color: #334155;
  max-width: 620px;
}

.deliver__steps{
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Desktop row: left | timeline | right */
.deliver-step{
  display: grid;
  grid-template-columns: 490px 18px 490px;
  column-gap: 96px;
  align-items: start;
}

.deliver-step__left{
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.deliver-step__right{
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.deliver-step__title{
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 36px;
  color: #0F172A;
}

.deliver-step__lead{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #334155;
}

.deliver-step__desc{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: rgba(51, 65, 85, 0.7);
  max-width: 420px;
}

/* Right points (title + text) */
.deliver-point{
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 490px;
}

.deliver-point__title{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: #0F172A;
}

.deliver-point__text{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: rgba(15, 23, 42, 0.6);
}

/* Timeline column */
.deliver-step__timeline{
  grid-column: 2;
  position: relative;
  width: 18px;
  min-height: 224px; /* как на Figma (18 Hug × 224 Fill) */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* dot отступ сверху */
}

.deliver-step__timeline::after{
  content: "";
  position: absolute;
  top: 28px;               /* сразу под кружком */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  border-left: 1.5px solid #CBD5E1;
}

.deliver-step__dot{
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.deliver-step__dot-core{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #1A83D4;
}

@media (max-width: 1279px) and (min-width: 981px){
  .deliver{
    padding: 64px 0 80px;
  }

  .deliver-step{
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    column-gap: 32px;
  }

  .deliver-point{
    width: auto;
  }
}

@media (max-width: 1279px) and (min-width: 981px) {
  .projects {
    padding: 48px 0;
  }

  .projects__container {
    gap: 40px;
  }

  .projects__head {
    height: auto;
    min-height: 0;
    gap: 18px;
  }

  .projects__title,
  .projects__subtitle {
    height: auto;
  }

  .projects__slider {
    max-width: 100%;
    height: auto;
    gap: 32px;
  }

  .projects__track {
    gap: 32px;
    height: auto;
  }

  .project-card {
    width: min(720px, calc(100vw - 120px));
    max-width: 100%;
  }

  .project-card__content,
  .project-card__textblock,
  .project-card__h,
  .project-card__p {
    width: min(416px, calc(100% - 72px));
    max-width: 100%;
  }

  .project-card__content--narrow,
  .project-card__content--narrow .project-card__textblock,
  .project-card__content--narrow .project-card__h,
  .project-card__content--narrow .project-card__p {
    width: min(384px, calc(100% - 72px));
    max-width: 100%;
  }
}

/* ========== Mobile (Figma) ========== */
@media (max-width: 980px){
  .deliver{
    padding: 32px 0;
  }

  .deliver__head{
    max-width: 328px;
    margin-bottom: 48px;
    gap: 24px;
  }

  .deliver__title{
    font-size: 32px;
    line-height: 125%;
  }

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

  .deliver-step{
    grid-template-columns: 18px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 24px;
  }

  .deliver-step__timeline{
    grid-column: 1;
    grid-row: 1 / span 2; /* линия проходит через весь блок шага */
    min-height: 462px;    /* как в Figma моб. */
    padding-top: 10px;
  }

  .deliver-step__left{
    grid-column: 2;
    grid-row: 1;
    width: 294px;
  }

  .deliver-step__right{
    grid-column: 2;
    grid-row: 2;
    width: 294px;
  }

  .deliver-step__title{
    font-size: 24px;
    line-height: 130%;
  }

  .deliver-step__lead{
    font-size: 20px;
    line-height: 130%;
  }

  .deliver-point{
    width: 294px;
  }

  .deliver-point__title,
  .deliver-point__text{
    font-size: 16px;
    line-height: 130%;
  }
}



/* ========== USE CASES (desktop flex + mobile carousel via Swiper) ========== */
.usecases{
    padding: 78px 0 96px;
    background: #ffffff;
}

.usecases__head{
    text-align: center;
    max-width: 920px;
    margin: 0 auto 28px;
}

.usecases__title{
    margin: 0;
    font-family: var(--font-serif, "Georgia", serif);
    font-weight: 500;
    font-size: 48px;
    line-height: 58px;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.usecases__subtitle{
    margin: 12px auto 0;
    max-width: 820px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #334155;
}

.usecases__cta{
    margin: 16px auto 0;
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-radius: 999px;
    background: #1A83D4;
    color: #ffffff;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

.usecases__cta-ic{
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
}
.usecases__cta-ic::before{
    content:"";
    position:absolute;
    left: 2px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,.95);
    border-bottom: 2px solid rgba(255,255,255,.95);
    transform: translateY(-50%) rotate(-45deg);
}

/* Slider container */
.usecases__slider{
    margin-top: 26px;
}

/* DESKTOP: пока Swiper НЕ инициализирован — показываем как центрированный flex */
.usecases__slider:not(.swiper-initialized) .swiper-wrapper{
    display: flex;
    justify-content: center;
    gap: 22px;
}
.usecases__slider:not(.swiper-initialized) .swiper-slide{
    flex: 0 0 270px;
    max-width: 270px;
    height: auto;
}

/* Card */
.usecase-card{
    border: 1px solid #d7e0ee;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    min-height: 335px; /* как на макете */
    display: grid;
    grid-template-rows: 170px 1fr;
    position: relative;
}

.usecase-card__media{
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usecase-card__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.usecase-card__body{
    padding: 18px 18px 48px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.usecase-card__title{
    margin: 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    color: #0f172a;
}

.usecase-card__text{
    margin: 12px 0 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
    flex: 1 1 auto;
}

.usecase-card__link{
    margin-top: auto;
    padding-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1A83D4;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    position: absolute;
    bottom: 16px;
}

.usecase-card__arrow{
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    color: currentColor;
    background-image: url("../images/icons/arrow-link.png");
}

/* MOBILE: head left + Swiper, overflow visible */
@media (max-width: 900px){
    .usecases{
        padding: 52px 0 72px;
    }

    .usecases__head{
        text-align: left;
        max-width: none;
        margin: 0 0 18px;
    }

    .usecases__title{
        font-size: 51px;
        line-height: 1.12;
    }

    .usecases__cta{
        margin: 14px 0 0;
    }

    .usecases__slider{
        margin-top: 18px;
        overflow: visible;
    }

    /* Swiper mobile look: карточка фикс ширины как на макете */
    .usecases__slider .swiper-slide{
        width: 273px;
        max-width: 273px;
        height: auto;
    }
}

/* ===== Ready-made solutions: Figma sizing & bottom alignment ===== */
@media (min-width: 981px) {

  /* ---------- TOP 2 cards: do NOT inflate ---------- */
  .solutions__grid .sol-card:nth-child(1),
  .solutions__grid .sol-card:nth-child(2) {
    grid-column: span 6;
    grid-template-columns: 1fr 260px; /* нормальная ширина медиа-колонки */
    align-items: center;
  }

  /* убираем "height:100%" и правый паддинг, чтобы картинка была ближе к краю,
     но карточка не раздувалась */
  .solutions__grid .sol-card:nth-child(1) .sol-card__media,
  .solutions__grid .sol-card:nth-child(2) .sol-card__media {
    height: auto;
    padding: 0 0 0 24px;              /* есть отступ от текста, справа 0 */
    justify-content: flex-end;
    align-items: center;
  }

  /* Manufacturing: не кропаем, ограничиваем высоту */
  .solutions__grid .sol-card:nth-child(1) .sol-card__media img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
  }

  /* Retail stack: чуть крупнее, но без “гигантизма” */
  .solutions__grid .sol-card:nth-child(2) .sol-card__media--stack {
    padding: 0;
    height: 240px;
    overflow: visible;
  }
  .solutions__grid .sol-card:nth-child(2) .sol-stack {
    width: 260px;
    height: 240px;
  }
  .solutions__grid .sol-card:nth-child(2) .sol-stack__img {
    width: 260px;
  }
  .solutions__grid .sol-card:nth-child(2) .sol-stack__img--back  {right: 22px; }
  .solutions__grid .sol-card:nth-child(2) .sol-stack__img--mid   {right: 10px; }
  .solutions__grid .sol-card:nth-child(2) .sol-stack__img--front { right: -2px; }


  /* ---------- BOTTOM 3 cards: media sticks to bottom ---------- */
  .solutions__grid .sol-card:nth-child(3),
  .solutions__grid .sol-card:nth-child(4),
  .solutions__grid .sol-card:nth-child(5) {
    grid-column: span 4;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;   /* КЛЮЧ: нижний блок прижимается вниз */
    min-height: 360px;
  }

  .solutions__grid .sol-card:nth-child(3) .sol-card__media,
  .solutions__grid .sol-card:nth-child(4) .sol-card__media,
  .solutions__grid .sol-card:nth-child(5) .sol-card__media {
    height: 190px;
    padding: 0;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .solutions__grid .sol-card:nth-child(3) .sol-card__media img,
  .solutions__grid .sol-card:nth-child(4) .sol-card__media img,
  .solutions__grid .sol-card:nth-child(5) .sol-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 18px 18px;   /* чтобы визуально “влипало” в низ карточки */
    background: transparent;
  }
}

/* =========================
   INDEX final CTA:
   desktop = old subscribe--pilot
   mobile  = company subscribe-bridge
========================= */

/* по умолчанию (desktop) */
.subscribe-bridge--mobile-only{
  display: none;
}

/* mobile bridge styles are scoped, чтобы не ломать company */
.subscribe-bridge--mobile-only {
  padding: 52px 0 70px;
}

.subscribe-bridge--mobile-only .subscribe-bridge__card {
  position: relative;
  background: #1A83D4;
  border-radius: 22px;
  text-align: center;
  padding: 34px 28px 92px;
  overflow: visible; /* desktop скрыт, но на всякий случай не режем форму */
}

.subscribe-bridge--mobile-only .subscribe-bridge__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  pointer-events: none;
  z-index: 0;
  background: url("../images/subscribe/frame-13.png") no-repeat left center / contain;
  transform-origin: left center;
}

.subscribe-bridge--mobile-only .subscribe-bridge__card::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 34%;
  pointer-events: none;
  z-index: 0;
  background: url("../images/subscribe/subR.png") no-repeat right center / contain;
  transform-origin: right center;
}

.subscribe-bridge--mobile-only .subscribe-bridge__badge,
.subscribe-bridge--mobile-only .subscribe-bridge__copy,
.subscribe-bridge--mobile-only .subscribe-bridge__form {
  position: relative;
  z-index: 1;
}

.subscribe-bridge--mobile-only .subscribe-bridge__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  margin: 0 auto 18px;
}

.subscribe-bridge--mobile-only .subscribe-bridge__title {
  margin: 0 auto 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 900px;
}

.subscribe-bridge--mobile-only .subscribe-bridge__text {
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.6;
  color: #fff;
  opacity: 0.95;
  max-width: 720px;
}

.subscribe-bridge--mobile-only .subscribe-bridge__copy--mobile {
  display: none;
}

.subscribe-bridge--mobile-only .subscribe-bridge__form {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: min(360px, calc(100% - 64px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  border: 2px solid #1a83d4;
}

.subscribe-bridge--mobile-only .subscribe-bridge__field {
  min-width: 0;
}

.subscribe-bridge--mobile-only .subscribe-bridge__input {
  width: 100%;
  height: 34px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 12px;
  outline: none;
  box-sizing: border-box;
}

.subscribe-bridge--mobile-only .subscribe-bridge__btn {
  height: 34px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a83d4;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.subscribe-bridge--mobile-only .subscribe-bridge__status {
  grid-column: 1 / -1;
  font-size: 11px;
  text-align: center;
  margin-top: 6px;
  color: #5b6b7c;
}

.subscribe-bridge--mobile-only .subscribe-bridge__status:empty {
  display: none;
}

@media (max-width: 960px){
  /* старый block (Ready to regain...) скрыть */
  .subscribe--desktop-only{
    display: none !important;
  }

  /* mobile bridge показать */
  .subscribe-bridge--mobile-only{
    display: block;
    padding: 36px 0 54px;
  }

  .subscribe-bridge--mobile-only .subscribe-bridge__card {
    padding: 24px 16px 18px;
    border-radius: 18px;
    overflow: hidden; /* на мобиле форма внутри карточки */
  }

  .subscribe-bridge--mobile-only .subscribe-bridge__title {
    font-size: 28px;
    line-height: 1.12;
  }

  .subscribe-bridge--mobile-only .subscribe-bridge__copy--desktop {
    display: none;
  }

  .subscribe-bridge--mobile-only .subscribe-bridge__copy--mobile {
    display: block;
  }

  .subscribe-bridge--mobile-only .subscribe-bridge__card::before,
  .subscribe-bridge--mobile-only .subscribe-bridge__card::after {
    opacity: 0.08;
    width: 40%;
    background-size: contain;
  }

  .subscribe-bridge--mobile-only .subscribe-bridge__form {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 18px auto 0;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .subscribe-bridge--mobile-only .subscribe-bridge__btn {
    width: 100%;
    justify-content: center;
  }

  .subscribe-bridge--mobile-only .subscribe-bridge__status {
    color: rgba(255,255,255,0.9);
    text-align: center;
  }
}
