/* -----------------------------
   БАЗОВЫЕ ПЕРЕМЕННЫЕ
------------------------------ */
:root {
  --color-bg: #fff9f6;
  --color-bg-alt: #fff3ec;
  --color-primary: #ff8e5e; /* апельсиновый */
  --color-primary-light: #ff9c66;
  --color-accent: #ffb288;
  --color-text: #2c2c2c;
  --color-text-muted: #6a6a6a;
  --color-border: #ffe0cc;
  --radius: 1.25rem;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --font-main: 'Poppins', 'Segoe UI', sans-serif;
  --transition: all 0.35s ease;
}

/* -----------------------------
   БАЗА
------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.page {
  overflow-x: hidden;
  position: relative;
}

h1,h2,h3,h4,h5,h6 {
  margin: 0 0 0.5em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
  line-height: 1.6;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--color-primary-light);
}

img {
  max-width: 100%;
  border-radius: var(--radius);
  display: block;
}

.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
  position: relative;
}
.section__head {
  text-align: center;
  margin-bottom: 3rem;
}
.section__title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.section__lead {
  color: var(--color-text-muted);
}

/* -----------------------------
   HEADER
------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.25rem;
}
.logo__icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;           /* делаем круг */
  background: var(--color-primary); /* оранжевый фон (если нужно) */
  overflow: hidden;             /* чтобы картинка обрезалась по кругу */
  margin-right: 0.5rem;
}

.logo__icon img {
  width: 70%;
  height: 70%;
  object-fit: cover; /* подгонка под круг */
  border-radius: 50%;
}
.nav__list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link, .nav__btn {
  font-weight: 500;
}
.nav__btn {
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}
.nav__btn:hover { background: var(--color-primary-light); }
.nav__toggle { display: none; }

/* -----------------------------
   HERO
------------------------------ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2; /* уменьшили межстрочный интервал */
}
.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}
.hero__cta {
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: none;
}
.btn--primary:hover { background: var(--color-primary-light); }
.btn--ghost {
  border: none;
  color: var(--color-primary);
}
.btn--ghost:hover {
  background: var(--color-primary);
  color: #fff;
}
.hero__stats {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
}
.hero__stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--color-primary);
}
.hero__visual {
  position: relative;
}
.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}
.hero__shape--a {
  width: 200px; height: 200px;
  background: var(--color-accent);
  top: -20px; right: -20px;
}
.hero__shape--b {
  width: 120px; height: 120px;
  background: var(--color-primary);
  bottom: 40px; left: -30px;
}

/* -----------------------------
   MARQUEE
------------------------------ */
.marquee__track {
  display: inline-flex;
  gap: 2rem;
  white-space: nowrap;
}

.marquee__track span {
  padding: 0 1rem;
}
/* Чипы в виде таблицы */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* ровные колонки */
  gap: 1rem 2rem; /* вертикальный и горизонтальный отступы */
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.chip {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.chip .dot {
  width: 8px;
  height: 8px;
  margin-right: 0.75rem; /* одинаковое расстояние до текста */
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}
/* === Теги (Kubernetes, Terraform и т.д.) === */
.tag-wall {
  display: flex;
  flex-wrap: wrap; /* Элементы могут переноситься на новую строку */
  justify-content: space-evenly; /* Равномерное распределение элементов по ширине */
  gap: 10px; /* Равный промежуток между элементами */
  padding: 0;
  margin: 0;
}

.tag {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.tag:hover {
  background: var(--color-primary);
  color: #fff;
}

/* === Контакты / форма === */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact__info {
  font-size: 1rem;
  line-height: 1.6;
}
.contact__list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.contact__list li {
  margin-bottom: 0.75rem;
}
.contact__list a {
  font-weight: 600;
  color: var(--color-text);
}
.contact__list a:hover { color: var(--color-primary); }

.form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form__field input,
.form__field select,
.form__field textarea {
  border: 1.5px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255,122,66,0.2);
}
.form button {
  margin-top: 1rem;
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

/* === Фоновая анимация: градиент === */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(-45deg, #fff3ec, #ffe6d6, #ffe0cc, #fff9f6);
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -----------------------------
   КАРТОЧКИ
------------------------------ */
.cards {
  display: grid;
  gap: 2rem;
}
.cards--services { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cards--blog { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card__text { color: var(--color-text-muted); }
.card__bullets { padding-left: 1rem; }

/* -----------------------------
   CASES
------------------------------ */
#cases {
  background: #fbd2b4; /* светлый фон */
  color: #2c2c2c;
  padding: 6rem 0;
  position: relative; /* Для позиционирования волны внутри блока */
}
.case-list {
  display: grid;
  gap: 3rem;
}
.case {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.case__body .link-more {
  color: var(--color-primary);
  font-weight: 500;
}

/* -----------------------------
   ABOUT
------------------------------ */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch; /* растягиваем обе колонки на одинаковую высоту */
}
.about__content,
.about__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* чтобы элементы внутри не слепались */
}
.kpi {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
}

.kpi li {
  display: flex;
  align-items: center;  /* выравниваем по вертикали */
  gap: 0.75rem;
}

.kpi__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1; /* убираем лишние отступы у цифры */
}

.kpi__label {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.partner-strip {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

/* -----------------------------
   TIMELINE
------------------------------ */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline__item {
  padding-left: 2rem;
  border-left: 3px solid var(--color-primary-light);
  margin-bottom: 2rem;
}
.timeline__item h3 { margin: 0; }

/* -----------------------------
   FORM
------------------------------ */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.form__field span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
input, select, textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  resize: vertical;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255,122,66,0.2);
}
.form__agree {
  margin: 1rem 0;
}
.checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* -----------------------------
   FOOTER
------------------------------ */
.site-footer {
  background-color: #282728;
  color: #f1f1f1;
  padding: 4rem 1rem 2rem;
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-branding {
  display: flex;
  align-items: center;   /* выравнивание по вертикали */
  gap: 1rem;             /* отступ между логотипом и текстом */
}

.footer-logo {
  width: 350px;
  height: auto;
  margin: 0;             /* убираем нижний отступ */
}

.footer-branding .footer-tagline {
  font-style: italic;
}

.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #ff8e5e;
}

.footer-nav ul,
.footer-social .social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-bottom a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: #ff8e5e;
}

.social-links {
  display: flex;
  gap: 1rem;
}

/* --- Соцсети в подвале --- */
.social-links img {
  width: 32px;   /* увеличенный размер */
  height: 32px;
  transition: transform 0.3s ease; /* только плавное приближение */
}

.social-links a:hover img {
  transform: scale(1.2); /* лёгкое приближение при hover */
}


.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

/* -----------------------------
   АНИМАЦИИ ПОЯВЛЕНИЯ
------------------------------ */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: none;
}

/* -----------------------------
   MEDIA
------------------------------ */
@media (max-width: 768px) {
  .hero__grid, .case, .about__grid, .form__row, .footer__grid {
    grid-template-columns: 1fr;
  }
  .nav__list {
    display: none;
    flex-direction: column;
    background: var(--color-bg);
    padding: 1rem;
    position: absolute;
    right: 1rem; top: 4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav__toggle { display: block; }
}
/* ---------------------------------
   Сделать background-canvas видимым
   --------------------------------- */
   .page {
    /* переопределяем глобальный фон body чтобы bg-canvas оказался видим */
    background: transparent;
  }
  
  #bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;            /* был -1 — мог скрываться под фоном body */
    pointer-events: none;  /* чтобы не мешал кликам */
  }
  
  /* Поднимаем основное содержимое над bg-canvas */
  .site-main,
  .site-footer {
    position: relative;
    z-index: 1;
  }
  
  /* ---------------------------------
     Marquee styles (под клон-технику)
     --------------------------------- */
  .marquee {
    overflow: hidden;
    background: var(--color-bg-alt); /* оставляем фон секции */
    padding: 1rem 0;
  }
  
  /* контейнер, в котором лежат оригинал + клон — он будет сдвигаться */
  .marquee__inner {
    display: flex;
    align-items: center;
    width: max-content; /* ширина равна сумме двух треков */
  }
  
  /* сам трек (оригинал и его клон) */
  .marquee__track {
    display: inline-flex;
    gap: 2rem;
    white-space: nowrap;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
  }
  
  .marquee__track span {
    display: inline-block;
    padding: 0 1rem;
  }
  
  /* анимация — смещаем на 50% от полной ширины контейнера (т.е. на ширину одного трека) */
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  /* defaults */
:root {
  --marquee-duration: 24s;
  --marquee-shift: 300px;
}

/* контейнер и анимируемый элемент */
.marquee { overflow: hidden; }
.marquee__viewport { overflow: hidden; width: 100%; }
.marquee__inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  white-space: nowrap;
  /* animation использует переменную --marquee-duration (устанавливается из JS) */
  animation: marquee var(--marquee-duration) linear infinite;
}

/* трек */
.marquee__track {
  display: inline-flex;
  gap: 2rem;
  white-space: nowrap;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.marquee__track span { display: inline-block; padding: 0 1rem; }

/* сама анимация — смещаем inner влево ровно на ширину одного трека (в px) */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(var(--marquee-shift) * -1)); }
}
/* ---------------------------------
   Абстрактные пузыри (фон)
   --------------------------------- */
   #bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(-45deg, #fff3ec, #ffe6d6, #ffe0cc, #fff9f6);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
  }
  
  .bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .bubbles span {
    position: absolute;
    bottom: -150px;
    display: block;
    width: 40px;
    height: 40px;
    background: rgba(255, 122, 66, 0.2);
    border-radius: 50%;
    animation: bubbleRise 20s linear infinite;
  }
  
  /* разные размеры и позиции пузырей */
  .bubbles span:nth-child(1) {
    left: 10%;
    width: 60px; height: 60px;
    animation-duration: 18s;
  }
  .bubbles span:nth-child(2) {
    left: 25%;
    width: 30px; height: 30px;
    animation-duration: 22s;
  }
  .bubbles span:nth-child(3) {
    left: 40%;
    width: 70px; height: 70px;
    animation-duration: 20s;
  }
  .bubbles span:nth-child(4) {
    left: 55%;
    width: 20px; height: 20px;
    animation-duration: 16s;
  }
  .bubbles span:nth-child(5) {
    left: 70%;
    width: 50px; height: 50px;
    animation-duration: 25s;
  }
  .bubbles span:nth-child(6) {
    left: 85%;
    width: 35px; height: 35px;
    animation-duration: 19s;
  }
  .bubbles span:nth-child(7) {
    left: 15%;
    width: 80px; height: 80px;
    animation-duration: 28s;
  }
  .bubbles span:nth-child(8) {
    left: 45%;
    width: 40px; height: 40px;
    animation-duration: 21s;
  }
  .bubbles span:nth-child(9) {
    left: 65%;
    width: 25px; height: 25px;
    animation-duration: 17s;
  }
  .bubbles span:nth-child(10) {
    left: 90%;
    width: 55px; height: 55px;
    animation-duration: 23s;
  }
  
  @keyframes bubbleRise {
    0% {
      transform: translateY(0) scale(1);
      opacity: 0;
    }
    10% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% {
      transform: translateY(-110vh) scale(1.3);
      opacity: 0;
    }
  }

  #bubbles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }
/* Контейнер для волны */
.wave-container {
  position: relative;
  width: 100%;
  height: 100px; /* Высота контейнера */
  overflow: hidden; /* Скрыть всё, что выходит за пределы */
}

/* Слой волны */
.wave {
  position: absolute;
  bottom: -100px; /* Начальная позиция ниже контейнера, чтобы она начинала двигаться снизу */
  left: 100%; /* Начинаем с правого края экрана */
  width: 100%; 
  height: 100%; /* Высота волны */
  background: #fbd2b4; /* Цвет волны */
  border-radius: 50%; /* Сделаем края плавными */
  animation: waveAnimation 5s ease-in-out infinite; /* Анимация */
  opacity: 0.8; /* Прозрачность для эффекта */
}

/* Вторая волна с меньшей амплитудой и разной анимацией */
.wave:nth-child(2) {
  animation-duration: 5s;
  animation-delay: -2s; /* Задержка для второго слоя */
  opacity: 0.5;
}

.wave:nth-child(3) {
  animation-duration: 6s;
  animation-delay: -4s; /* Задержка для третьего слоя */
  opacity: 0.4;
}

/* Анимация для перекатывания волн слева направо и обратно */
@keyframes waveAnimation {
  0% {
    transform: translateX(100%) translateY(-10px); /* Начало с правого края */
  }
  30% {
    transform: translateX(-170%) translateY(-30px); /* Перемещение влево */
  }
  100% {
    transform: translateX(100%) translateY(-15px); /* Возврат в исходную позицию (правый край) */
  }
}
.wave-container-bottom {
  position: relative;
  width: 100%;
  height: 100px; /* Высота контейнера */
  overflow: hidden; /* Скрыть всё, что выходит за пределы */
}

/* Слой волны */
.wave-buttom {
  position: absolute;
  top: -100px; /* Начальная позиция выше контейнера, чтобы она начинала двигаться сверху */
  left: 100%; /* Начинаем с правого края экрана */
  width: 100%; 
  height: 100%; /* Высота волны */
  background: #fbd2b4; /* Цвет волны */
  border-radius: 50%; /* Сделаем края плавными */
  animation: waveAnimationBottom 5s ease-in-out infinite;  /* Анимация */
  opacity: 0.8; /* Прозрачность для эффекта */
  transform: scaleY(-1); /* Поворот волны кверх ногами */
}

/* Вторая волна с меньшей амплитудой и разной анимацией */
.wave-buttom:nth-child(2) {
  animation-duration: 5s;
  animation-delay: -2s; /* Задержка для второго слоя */
  opacity: 0.5;
}

.wave-buttom:nth-child(3) {
  animation-duration: 6s;
  animation-delay: -4s; /* Задержка для третьего слоя */
  opacity: 0.4;
}

/* Анимация для перекатывания волн слева направо и обратно */
@keyframes waveAnimationBottom {
  0% {
    transform: translateX(100%) translateY(10px); /* Начало с правого края */
  }
  30% {
    transform: translateX(-170%) translateY(30px); /* Перемещение влево */
  }
  100% {
    transform: translateX(100%) translateY(15px); /* Возврат в исходную позицию (правый край) */
  }
}


/* Основной стиль секции */
#process {
  background: linear-gradient(135deg, #fbad97, #fa898b, #e08594, #b1849b, #868da0);/* Градиентный фон */
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  color: #fff; /* Цвет текста внутри */
}

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

/* Заголовки */
.process .section__title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin-bottom: 1rem;
  animation: fadeIn 1.5s ease-out forwards; /* Появление заголовка */
}

.process .section__lead {
  font-size: 1.125rem;
  color: #f4f4f4;
  margin-bottom: 3rem;
  text-align: center;
  animation: fadeIn 1.5s ease-out 0.5s forwards; /* Появление подзаголовка */
}

/* Стили для временной линии */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline__item {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.timeline__item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline__icon {
  background: #ff7a42;
  color: white;
  border-radius: 50%;
  padding: 1rem;
  font-size: 2rem;
  margin-right: 2rem;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline__content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.timeline__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.timeline__content p {
  font-size: 1rem;
  color: #666;
}

/* Анимация появления элементов */
[data-animate="timeline"] .timeline__item {
  transition: opacity 1s ease, transform 1s ease;
}

[data-animate="timeline"] .in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Плавное появление при прокрутке */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries для мобильных устройств */
@media (max-width: 768px) {
  .timeline {
    padding: 0 1rem;
  }

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

  .timeline__icon {
    margin-bottom: 1rem;
  }

  .timeline__content {
    width: 100%;
  }
}
/* ---------------------------------
   ИНСАЙТЫ — матовый прозрачный фон
   --------------------------------- */
   #blog {
    position: relative;
    background: rgba(255, 255, 255, 0.35); /* полупрозрачный белый */
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 6rem 2rem;
    margin-block: 4rem;
    isolation: isolate;
  }
  
  #blog .section__head {
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  #blog .section__title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  #blog .cards--blog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  #blog .post {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform .35s ease, box-shadow .35s ease;
  }
  #blog .post:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  }
  
  #blog .card__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: .75rem;
  }
  
  #blog .link-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: var(--color-primary);
  }
  #blog .link-more::after {
    content: "→";
    transition: transform .25s ease;
  }
  #blog .link-more:hover::after {
    transform: translateX(3px);
  }
 /* Партнёрский блок в единой цветовой гамме (как GCP) */
 .partner-strip.aligned {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: center;
  justify-items: center;
  max-width: 800px;
  margin-inline: auto;
}

.partner-card {
  background: #2e2e2e;   /* как у Kafka */
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.partner-card:hover {
  transform: translateY(-4px);
  background: #1e1e1e; /* при наведении ещё темнее */
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.partner-card img {
  display: block;
  max-height: 30px;
  object-fit: contain;
  filter: brightness(1.1); /* чтобы белый текст был читаемее */
}
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.tech-category__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tech-category__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.tech-item img {
  width: 48px;     /* увеличил */
  height: 48px;
  object-fit: contain;
  opacity: 0.9;
  flex-shrink: 0;  /* чтобы не сжимались */
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 1rem;              /* увеличил отступ между иконкой и текстом */
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-weight: 500;
  font-size: 1rem;        /* текст чуть крупнее */
}

.tech-item:hover {
  background: var(--color-primary);
  color: #fff;
}

.tech-item:hover img {
  filter: brightness(0) invert(1); /* иконка белая при hover */
  opacity: 1;
}