* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #050508;
  font-family: "BlenderPro", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  overflow-x: hidden;
}

@font-face {
  font-family: "BlenderPro";
  font-weight: 250;
  font-style: normal;
  src: url("../assets/images/fonts/BlenderPro-Thin.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "BlenderPro";
  font-weight: 400;
  font-style: normal;
  src: url("../assets/images/fonts/BlenderPro-Book.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "BlenderPro";
  font-weight: 500;
  font-style: normal;
  src: url("../assets/images/fonts/BlenderPro-Medium.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "BlenderPro";
  font-weight: 700;
  font-style: normal;
  src: url("../assets/images/fonts/BlenderPro-Bold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "BlenderPro";
  font-weight: 900;
  font-style: normal;
  src: url("../assets/images/fonts/BlenderPro-Heavy.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Marske";
  font-weight: 400;
  font-style: normal;
  src: url("../assets/images/fonts/Marske.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Tektur";
  font-weight: 400;
  font-style: normal;
  src: url("../assets/images/fonts/Tektur-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  font-weight: 400;
  font-style: normal;
  src: url("../assets/images/fonts/Rubik-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  font-weight: 500;
  font-style: normal;
  src: url("../assets/images/fonts/Rubik-Medium.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  font-weight: 600;
  font-style: normal;
  src: url("../assets/images/fonts/Rubik-SemiBold.woff2") format("woff2");
  font-display: swap;
}

/* Main Content Container - 1420px width */
.container {
  width: 100%;
  max-width: 1420px;
  /* padding: 0 20px; */
  gap: 60px; /* Global vertical spacing between sections */
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

/* Typography Utilities */
.font-h1 {
  font-size: 53px;
  line-height: 72px;
  font-weight: 250;
  text-transform: uppercase;
}

.font-h2 {
  font-size: 45px;
  line-height: 60px;
  font-weight: 400;
}

.font-category {
  font-size: 40px;
  line-height: 48px;
  font-weight: 250;
  text-transform: uppercase;
  color: #ffffff;
}

.text-red {
  color: #c42237;
}
.text-white {
  color: #ffffff;
}
.text-grey {
  color: #ededed;
}

.first_block {
  position: relative;
  display: block;
  margin-top: 270px;
}

/* --- Header Section --- */
.header-section {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 40px;
}

.red-line-vertical {
  width: 5px;
  height: 72px;
  flex-shrink: 0;
  background-image: url("../assets/images/header_left.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.header-text {
  width: 100%;
}

/* --- Info Blocks Section --- */
.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* KillerTeam University Banner */
.kt-university-banner {
  width: 100%;
  max-width: 894px;
  min-height: 138px;
  background: linear-gradient(
    127.69deg,
    rgba(192, 34, 49, 0.08) 1.83%,
    rgba(36, 35, 51, 0.08) 49.5%,
    rgba(55, 93, 188, 0.08) 100%
  );
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  border-radius: 3px;

  border: none; /* ← убираем обычную границу */
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.kt-university-banner:hover {
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(196, 34, 55, 0.3);
}

.kt-university-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px; /* ← толщина границы */
  border-radius: 3px;

  /* Градиент границы — насыщенный */
  background: linear-gradient(
    127.69deg,
    #c02231 1.83%,
    #242333 49.5%,
    #375dbc 100%
  );

  /* Маска: вырезаем середину, оставляем только рамку */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.kt-banner-arrows {
  position: relative;
  flex-shrink: 0;
}

.kt-banner-text {
  font-weight: 900;
  font-size: 45px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #c42237;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.32);
  flex: none;
  margin-right: 40px;
}

.kt-banner-icon {
  width: 106px;
  height: 106px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.kt-banner-icon svg {
  width: 100%;
  height: 100%;
  fill: #c42237;
}

/* Two Info Cards */
.two-blocks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 53px;
  margin-bottom: 32px;
}

.info-card {
  flex: 1 1 400px; /* Allow flexible growth */
  min-height: 117px;
  border: 1px solid #ededed;
  border-radius: 3px;
  box-shadow: 0px 5px 10px rgba(23, 23, 23, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  background: transparent;
  max-width: 622px;
}

.info-card:hover {
  transition: 0.3s;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.4),
    0 0 40px rgba(255, 255, 255, 0.2);
}

.info-card.info_two_card {
  max-width: 545px;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 19px;
  height: 18px;

  background: url("../assets/images/block2/left_top_arrow.svg") no-repeat;
}
.info-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 19px;

  background: url("../assets/images/block2/right_bottom_arrow.svg") no-repeat;
}

.info-card-content {
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 2;
}

.arrow-right {
  position: relative;
  flex-shrink: 0;
}

.info-text {
  line-height: 1.2;
  color: #ededed;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  color: #ededed;
  order: 1;
  flex-grow: 0;
}

/* --- Main Description Text --- */
.main-description {
  color: #ffffff;
  max-width: 1421px;
  margin-bottom: 32px;
}

/* --- Categories Grid --- */
.categories-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 20px;
  width: 100%;
}

/* Card spans */
.category-card {
  height: 163px;
  background: linear-gradient(
    127.69deg,
    rgba(192, 34, 49, 0.08) 1.83%,
    rgba(36, 35, 51, 0.08) 49.5%,
    rgba(55, 93, 188, 0.08) 100%
  );
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(5.5px);
  border-radius: 3px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(196, 34, 55, 0.3);
}

/* Grid Spanning for larger cards */
.card-small {
  grid-column: span 1;
}
.card-large {
  grid-column: span 1;
} /* Default to 1, override for specific breakpoints */

/* At 1420px container, we want 3 columns. 
           Small cards take 1 col. Large cards take 1.5 col (which isn't possible in 3-col grid).
           Let's use a 6-column grid for more flexibility. */
.categories-section {
  grid-template-columns: repeat(6, 1fr);
}
.card-small {
  grid-column: span 2;
} /* 2/6 = 1/3 width */
.card-large {
  grid-column: span 3;
} /* 3/6 = 1/2 width */

/* Background Pattern (Blue Lines) */
.bg-pattern {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  opacity: 0.08;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -45deg,
    #375cbb,
    #375cbb 1px,
    transparent 1px,
    transparent 10px
  );
  mask-image: linear-gradient(to top left, black, transparent);
  -webkit-mask-image: linear-gradient(to top left, black, transparent);
}

/* Corner Decorations */
.card-corner {
  position: absolute;
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.corner-tl {
  top: 0;
  left: 0;
  border-top: 2px solid #c42237;
  border-left: 2px solid #c42237;
  box-shadow: -2px -2px 10px rgba(196, 34, 55, 0.6);
}

.corner-br {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid #375cbb;
  border-right: 2px solid #375cbb;
  box-shadow: 2px 2px 10px rgba(55, 92, 187, 0.6);
  transform: rotate(180deg);
}

/* Card Content */
.card-title {
  font-weight: 250;
  font-size: 40px;
  line-height: 48px;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 2;
}

.card-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  opacity: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-icon svg {
  width: 100%;
  height: 100%;
  fill: #375cbb;
}

.card-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(196, 34, 55, 0.5);
  color: #ffffff;
  font-family: "Blender Pro", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.18);
  width: fit-content;
  z-index: 2;
  margin-top: auto;
  text-decoration: none;
}

/* Active State */
.category-card.active {
  border: 1px solid rgba(196, 34, 55, 0.3);
}
.category-card.active .card-link {
  color: #c42237;
  border-bottom: 2px solid #c42237;
}

/* --- Consultation Section --- */
.consultation-section {
  width: 100%;
  min-height: 117px;
  background: linear-gradient(
    127.69deg,
    rgba(55, 93, 188, 0.08) 1.83%,
    rgba(36, 35, 51, 0.08) 52.33%,
    rgba(192, 34, 49, 0.08) 100%
  );
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(5.5px);
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  margin-bottom: 50px;
}

.consultation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px; /* ← толщина границы */
  border-radius: 3px;

  /* Градиент границы — насыщенный (от синего через тёмный к красному) */
  background: linear-gradient(
    127.69deg,
    #375dbc 1.83%,
    #242333 52.33%,
    #c02231 100%
  );

  /* Маска: вырезаем середину, оставляем только рамку */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.consultation-text {
  font-weight: 250;
  font-size: 36px;
  line-height: 43px;
  color: #ffffff;
}

.btn-red {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c42237;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0px 8px 18px rgba(196, 34, 55, 0.6);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.btn-red:hover {
  transition: 0.3s;
    filter: drop-shadow(rgba(196, 34, 55, 0.4) 0px 12px 24px) drop-shadow(rgba(196, 34, 55, 0.6) 0px 8px 18px);
}

.btn-red::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 0;
  width: 10px;
  height: 100%;
  background: url("../assets/images/button_right.svg");
  background-repeat: no-repeat;
}

/* --- Awards Section --- */
.awards-section {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
}

.award-card-1 {
  flex: 1 1 400px;
  min-height: 138px;
  background: linear-gradient(
    127.69deg,
    rgba(55, 93, 188, 0.08) 1.83%,
    rgba(36, 35, 51, 0.08) 52.33%,
    rgba(192, 34, 49, 0.08) 100%
  );
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(5.5px);
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 8px 24px 8px 8px;
  gap: 12px;
}

.award-card-1::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px; /* ← толщина границы */
  border-radius: 3px;

  /* Градиент границы — насыщенный (от синего через тёмный к красному) */
  background: linear-gradient(
    127.69deg,
    #375dbc 1.83%,
    #242333 52.33%,
    #c02231 100%
  );

  /* Маска: вырезаем середину, оставляем только рамку */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.award-img-trophy {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23C42237" d="M50 90c-15 0-25-10-25-25h50c0 15-10 25-25 25zm-15-30V40h30v20H35zm-10-20V30h50v10H25zm25-20l-5-10h10l-5 10z"/></svg>')
    no-repeat center center;
  background-size: contain;
}

.award-text {
  font-weight: 250;
  font-size: 40px;
  line-height: 48px;
  text-transform: uppercase;
  color: #ffffff;
}

.award-card-2 {
  flex: 0 1 317px;
  min-height: 122px;
  display: flex;
  align-items: center;
  padding-right: 4px;
  gap: 24px;
}

.award-img-runet {
  width: 120px;
  height: 120px;
  background: #c42237;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
  position: relative;
  flex-shrink: 0;
}
.award-img-runet::before {
  content: "P";
  font-size: 60px;
  font-family: sans-serif;
  font-weight: 900;
}

.award-text-runet {
  font-family: "Blender Pro", sans-serif;
  font-weight: 250;
  font-size: 42px;
  line-height: 50px;
  text-transform: uppercase;
  color: #ffffff;
}

.workspace-logo {
  flex: 1 1 300px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.workspace-logo svg {
  height: 60px;
  width: auto;
}

/* --- Footer Stats --- */
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
}

.divider-glow {
  width: 100%;
  height: 2px;
  position: relative;
  background: linear-gradient(
    90deg,
    rgba(196, 34, 55, 0) 0%,
    #c42237 50%,
    rgba(196, 34, 55, 0) 100%
  );
}
.divider-glow::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 2px;
  background: inherit;
  filter: blur(18px);
}
.divider-glow::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  right: 0;
  height: 2px;
  background: inherit;
  filter: blur(7px);
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 46px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 62px;
  padding-bottom: 62px;
}

.stat-item {
  font-weight: 900;
  font-size: 40px;
  line-height: 48px;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.stat-item.light {
  font-weight: 250;
  position: relative;
}

.stat-dot {
  width: 6px;
  height: 6px;
  background: #c42237;
  border-radius: 50%;
  flex-shrink: 0;
}

.info-tooltip {
  width: 22px;
  height: 22px;
  border: 1px solid #c42237;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 14px;
  margin-left: 5px;
  cursor: pointer;
  flex-shrink: 0;
  position: absolute;
  right: -20px;
  top: -5px;
}

/* Icon Classes */
.icon-mkt {
  background-size: contain;
}

.icon-avito {
  background-size: contain;
}

.icon-prof {
  background-size: contain;
}
.icon-skills {
  background-size: contain;
}
.icon-corp {
  background-size: contain;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1450px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 1200px) {
  .font-h1 {
    font-size: 48px;
    line-height: 56px;
  }
  .font-h2 {
    font-size: 40px;
    line-height: 48px;
  }
  .kt-banner-text {
    font-size: 48px;
  }
  .card-title {
    font-size: 32px;
    line-height: 40px;
  }
  .award-text,
  .award-text-runet {
    font-size: 32px;
    line-height: 40px;
  }
  .stat-item {
    font-size: 32px;
    line-height: 40px;
  }

  .categories-section {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-small,
  .card-large {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .font-h1 {
    font-size: 36px;
    line-height: 44px;
  }
  .font-h2 {
    font-size: 28px;
    line-height: 36px;
  }
  .kt-banner-text {
    font-size: 32px;
  }
  .card-title {
    font-size: 24px;
    line-height: 32px;
  }
  .award-text,
  .award-text-runet {
    font-size: 24px;
    line-height: 32px;
  }
  .stat-item {
    font-size: 24px;
    line-height: 32px;
  }
  .consultation-text {
    font-size: 28px;
    line-height: 36px;
  }

  .two-blocks-row,
  .info-blocks {
    flex-direction: column;
  }
  .info-card {
    width: 100%;
  }

  .categories-section {
    grid-template-columns: 1fr;
  }

  .awards-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .award-card-1,
  .award-card-2,
  .workspace-logo {
    width: 100%;
    justify-content: flex-start;
  }
  .workspace-logo {
    justify-content: center;
  }

  .stats-row {
    flex-direction: column;
    gap: 20px;
  }
  .stat-dot {
    display: none;
  }

  .kt-university-banner {
    flex-direction: column;
    text-align: center;
  }
  .kt-banner-arrows {
    width: 100%;
    height: 40px;
  }
}

.start_mini {
  font-weight: 250;
}

.stat_inner {
  padding-bottom: 160px;
  margin-top: 52px;
}

/* Блок №2 */
/* Основной контейнер (макет 1910px, адаптируем через max-width) */
.kt-container {
  width: 100%;
  max-width: 1910px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  overflow: hidden;
}

/* ===== ЗАГОЛОВОК ===== */
.kt-main-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}

.kt-main-header .red-bar {
  width: 4px;
  height: 50px;
  background: #c42237;
  flex-shrink: 0;
}

.kt-main-header h1 {
  font-weight: 250;
  font-size: 60px;
  line-height: 72px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* ===== ТАЙМЛАЙН ===== */
.kt-timeline {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 270px;
}

/* Вертикальная линия */
.kt-timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 44%;
  background: #c42237;
  z-index: 0;
}

/* Флаг (декоративный элемент) */
.kt-flag {
  position: absolute;
  top: -200px;
  left: 54%;
  transform: translateX(-50%);
  width: 151px;
  height: 226px;
  background: url("../assets/images/block3/flag.png") no-repeat center top;
  background-size: contain;
  z-index: 2;
}

/* ===== ОБЩИЕ ЭЛЕМЕНТЫ ТАЙМЛАЙНА ===== */
.kt-timeline-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  z-index: 200;
}

/* Точка на линии */
.kt-timeline-dot {
  width: 12px;
  height: 12px;
  background: #c42237;
  border: 2px solid #ededed;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
  flex-shrink: 0;
  margin-top: 10px;
}
.kt-timeline-dot:hover {
  transition: 0.3s;
  width: 18px;
  height: 18px;
}
/* Год */
.kt-year {
  font-weight: 900;
  font-size: 80px;
  line-height: 96px;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  margin-bottom: 4px;
  font-style: normal;
  font-weight: 900;
  font-size: 80px;
  line-height: 96px;
  text-align: right;
  text-transform: uppercase;
  color: #ffffff;
}

/* Бейдж (белая плашка) */
.kt-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 6px;
  background: #ffffff;
  border-radius: 4px;
  font-weight: 500;
  font-size: 22px;
  line-height: 29px;
  color: #171717;
  white-space: nowrap;
}

/* Бейдж серый (для "До 2016") */
.kt-badge-grey {
  font-weight: 500;
  font-size: 22px;
  line-height: 29px;
  color: #ffffff;
  opacity: 0.2;
  margin-bottom: 20px;
  white-space: nowrap;
}

/* ===== БЛОК 2016 ===== */
.kt-2016-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

/* Текст "Нам нужны были..." */
.kt-text-glass {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;

  backdrop-filter: blur(5.5px);
  border-radius: 4px;
  font-weight: 400;
  font-size: 31px;
  line-height: 43px;
  color: #ffffff;
  text-align: center;
  width: 100%;
  max-width: 1142px;
  margin-bottom: 16px;
  min-height: 57px;
  /* Нам нужны были специалисты, которым можно довер... */

  box-sizing: border-box;

  background: linear-gradient(
    90.49deg,
    rgba(116, 116, 116, 0.04) 0.12%,
    rgba(210, 210, 210, 0.04) 54.76%
  );
  backdrop-filter: blur(5.5px);
  border-radius: 4px;
  border: 1px solid #fff;
}

/* Текст "Знать интерфейс..." */
.kt-text-red-border {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  background: rgba(196, 34, 55, 0.16);
  border: 1px solid #c42237;
  backdrop-filter: blur(5.5px);
  border-radius: 3px;
  font-weight: 400;
  font-size: 26px;
  line-height: 38px;
  color: #ffffff;
  text-align: center;
  width: 100%;
  max-width: 996px;
  margin-bottom: 32px;
  min-height: 52px;
}

/* Блок "Специалист должен уметь:" */
.kt-skills-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  gap: 20px;
  width: 100%;
  background: linear-gradient(
    90.49deg,
    rgba(116, 116, 116, 0.04) 0.12%,
    rgba(210, 210, 210, 0.04) 54.76%
  );
  backdrop-filter: blur(5.5px);
  border-radius: 4px;
  border: 1px solid #747474;
}

.kt-skills-block h3 {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #ffffff;
  text-align: center;
}

/* Сетка скиллов */
.kt-skills-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.kt-skill-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px;
  background: linear-gradient(
    90.49deg,
    rgba(116, 116, 116, 0.04) 0.12%,
    rgba(210, 210, 210, 0.04) 54.76%
  );
  backdrop-filter: blur(5.5px);
  border-radius: 4px;
  min-height: 64px;
  border: 1px solid #747474;
}

.kt-skill-step .step-num {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #ffffff;
  opacity: 0.3;
}

.kt-skill-step .step-text {
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #ffffff;
}

/* Зеленый шаг */
.kt-skill-step.green-step {
  background: linear-gradient(
    101.1deg,
    rgba(36, 35, 51, 0.16) 0.4%,
    rgba(32, 161, 116, 0.16) 78.18%
  );
  border-radius: 3px;
}

.kt-skill-step.green-step .step-num {
  color: #20a174;
  opacity: 0.5;
}

.kt-skill-step.green-step .step-text {
  color: #20a174;
}

/* Стрелка между шагами */
.kt-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 64px;
  opacity: 0.5;
  flex-shrink: 0;
}

.kt-arrow svg {
  width: 6px;
  height: 10px;
}

/* ===== БЛОК 2020 ===== */
.kt-2020-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.kt-green-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  background: #20a174;
  border-radius: 4px;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  margin-bottom: 24px;
  width: 100%;
  max-width: 699px;
  min-height: 40px;
}

/* ===== СЕГОДНЯ ===== */
.kt-today-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1023px;
  margin-top: 10px;
  border: 1px solid #20a174;
  padding: 16px;
  border-radius: 4px;
  /* Frame 7 */

  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  gap: 8px;

  background: linear-gradient(
    101.1deg,
    rgba(36, 35, 51, 0.16) 0.4%,
    rgba(32, 161, 116, 0.16) 78.18%
  );
  backdrop-filter: blur(5.5px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: 3px;
}

.kt-today-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  background: #20a174;
  border-radius: 4px;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  width: 100%;
  margin-bottom: 8px;
  min-height: 40px;
}

.kt-today-blue {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 6px;
  background: #3455ab;
  border-radius: 4px;
  font-weight: 250;
  font-size: 34px;
  line-height: 48px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 989px;
  min-height: 56px;
}

/* ===== СТАТИСТИКА ===== */
.kt-stats-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 32px;
  width: 100%;
  max-width: 1208px;
  margin: 80px auto 0 auto;
}

.kt-stats-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1208px;
  margin-bottom: 32px;
}

.kt-stats-header .green-bar {
  width: 4px;
  height: 50px;
  /* background: #20a174; */
  background: url("../assets/images/block3/header_green.svg") no-repeat;
  flex-shrink: 0;
}

.kt-stats-header h2 {
  font-weight: 400;
  font-size: 43px;
  line-height: 60px;
  color: #ffffff;
}

/* Сетка бенефитов */
.kt-benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0;
  gap: 24px;
  width: 100%;
  max-width: 1068px;
}

.kt-benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 142px;
  background: url("../assets/images/block3/bg_fon.png") no-repeat;
  border-radius: 3px;
  padding: 20px;
}

.kt-benefit-card:hover {
  transition: 0.3s;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.4),
    0 0 40px rgba(255, 255, 255, 0.2);
}

.kt-benefit-card::after {
  content: "";
  position: absolute;
  background: url("../assets/images/block3/bg_fon.png") no-repeat;
}

/* Свечение сверху и снизу */
/* .kt-benefit-card::before,
.kt-benefit-card::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 322px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(32, 161, 116, 0) 0%,
    #20a174 50%,
    rgba(32, 161, 116, 0) 100%
  );
  filter: blur(21.5px);
  border-radius: 9px;
  opacity: 0.5;
} */
/* 
.kt-benefit-card::before {
  top: 0;
}

.kt-benefit-card::after {
  bottom: 0;
} */

/* Уголки */
.kt-benefit-card .corner-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background: #20a174;
  border-radius: 1px;
}

.kt-benefit-card .corner-br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: #20a174;
  border-radius: 1px;
}

.kt-benefit-card .stat-value {
  font-weight: 900;
  font-size: 40px;
  line-height: 60px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 4px;
}

.kt-benefit-card .stat-label {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  text-align: center;
  color: #ffffff;
}

/* Тень под карточкой */
.kt-benefit-card .shadow {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 272px;
  height: 6px;
  background: #000000;
  opacity: 0.4;
  filter: blur(5.5px);
  border-radius: 50%;
}

/* ===== ФУТЕР ===== */
.kt-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 32px;
  width: 100%;
  max-width: 973px;
  margin: 80px auto 0 auto;
  padding-bottom: 164px;
}

.kt-footer-text {
  font-weight: 400;
  font-size: 50px;
  line-height: 60px;
  text-align: center;
  color: #ffffff;
  width: 100%;
}

.kt-tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 40px;
  gap: 22px;
  width: 245px;
  height: 272px;
  background: url("../assets/images/block3/inst_bg_block.png") no-repeat;
  background-size: contain;
  border-radius: 3px;
  position: relative;
}

.kt-tool-card:hover {
  transition: 0.3s;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.4),
    0 0 40px rgba(255, 255, 255, 0.2);
}

.kt-tool-card .tool-text {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  text-align: center;
  color: #ffffff;
  width: 100%;
}

.kt-tool-card .tool-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-tool-card .tool-icon svg {
  width: 100px;
  height: 100px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1400px) {
  .kt-main-header h1 {
    font-size: 48px;
    line-height: 58px;
  }

  .kt-year {
    font-size: 64px;
    line-height: 76px;
  }

  .kt-text-glass {
    font-size: 28px;
    line-height: 34px;
  }

  .kt-text-red-border {
    font-size: 26px;
    line-height: 32px;
  }

  .kt-stats-header h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .kt-footer-text {
    font-size: 40px;
    line-height: 48px;
  }

  .kt-today-blue {
    font-size: 32px;
    line-height: 40px;
  }
}

.kt_left_block {
  position: relative;
  margin-left: -300px;
  margin-top: -60px;
}

.kt_right_block {
  margin-right: -330px;
  top: -100px;
  position: relative;
}

.timeline_inner {
  background: #242333;
  border-radius: 0px;
  position: relative;
}

.timeline_inner .header-section {
  padding-top: 100px;
}

.green_text {
  color: #20a174;
  margin-left: 5px;
  margin-right: 5px;
}

.red_text {
  font-style: normal;
  font-weight: 800;

  color: #c42237;

  margin-left: 5px;
}

.kt_right_block2 {
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  margin-left: 400px;
}

.kt_right_block2 .kt-year {
  text-align: left;
}

.checklist_block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 30px;
  padding: 16px 24px;
  background: linear-gradient(
    90.49deg,
    rgba(116, 116, 116, 0.04) 0.12%,
    rgba(210, 210, 210, 0.04) 54.76%
  );
  backdrop-filter: blur(5.5px);
  border-radius: 4px;
  width: 100%;
  border: 1px solid #747474;
  max-width: 1230px;
}

.check_title {
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 130%;
  color: #ffffff;
}

.kt_title_block3 {
  margin-right: 400px;
  margin-top: -84px;
}
.before_line_after {
  position: relative; /* или static */
  display: block;
  margin: 0 auto; /* центрируем по горизонтали */
  text-align: center;
  z-index: 200;
  /* никаких left/top — линия встанет там, где стоит в потоке */
}

.before_line_after::before {
  content: "";
  display: block;
  width: 633px;
  height: 3px;
  background: #c42237;
  margin: 0 auto;
}
/* .before_line_after.first_after {
    bottom: -15px;
} */

/* Блок №3 */
section.kt_cards_inner {
  margin-top: 159px;
}

.kt-wrapper {
  width: 100%;
  max-width: 1420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ===== HEADER ===== */
.kt-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin-bottom: 60px;
}

.kt-header__bar {
  width: 4px;
  height: 50px;
  background: #c42237;
  flex-shrink: 0;
}

.kt-header__title {
  font-weight: 250;
  font-size: 60px;
  line-height: 72px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* ===== CARDS GRID ===== */
.kt-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 460px));
  justify-content: center;      /* центрируем, если контейнер шире 3×460 */
  gap: 20px;
  width: 100%;
  padding-bottom: 156px;
  align-items: stretch;
}

.kt-card {
  position: relative;
  width: 100%;                  /* ← тянется под ячейку grid */
  max-width: 460px;             /* ← но не больше 460 */
  min-width: 0;                 /* ← разрешаем сжиматься */
  height: 100%;
  background: linear-gradient(
    157.39deg,
    rgba(192, 34, 49, 0.08) 1.02%,
    rgba(36, 35, 51, 0.08) 23.8%,
    rgba(32, 161, 116, 0.08) 47.93%
  );
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  border-radius: 3px;
  box-sizing: border-box;
}

.kt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px; /* толщина бордера */
  border-radius: 3px;

  /* Градиент бордера: от красного → тёмного → зелёного,
     как в заливке, но насыщенный */
  background: linear-gradient(
    157.39deg,
    #c02231 1.02%,
    #242333 23.8%,
    #20a174 47.93%
  );

  /* Маска: вырезаем середину, оставляем только рамку */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 3;
}

.kt-card:before {
  content: "";
  background: url("../assets/images/block4/card_bg_bottom.png") no-repeat;
  width: 225px;
  height: 16px;
  position: absolute;
  bottom: 0;
  left: auto;
  right: 42px;
  bottom: -5px;
}
/* фон-стекло */
.kt-card__glass {
  position: absolute;
  top: 8px;
  left: 0;
  width: 460px;
  height: 1211px;
  background: linear-gradient(
    157.39deg,
    rgba(192, 34, 49, 0.08) 1.02%,
    rgba(36, 35, 51, 0.08) 23.8%,
    rgba(32, 161, 116, 0.08) 47.93%
  );
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  border-radius: 3px;
  z-index: 0;
}

/* красный уголок сверху */
.kt-card__corner-tl {
  position: absolute;
  top: 0;
  left: 40px;
  width: 225px;
  height: 15.5px;
  background: url("../assets/images/block4/photo_bg_top.png");
  z-index: 2222;
  bottom: -10px;
  top: -10px;
}

/* зеленый уголок снизу */

/* фото */
.kt-card__photo {
  position: relative;
  top: 5px;
  left: 5px;
  width: 100%;
  height: auto;
  border-radius: 3px;
  overflow: hidden;
  z-index: 1;
}

.kt-card__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  z-index: 200;
  position: relative;
}

/* оверлей на фото */

/* зеленый уголок на фото (правый нижний) */
.kt-card__photo-corner {
  position: absolute;
  top: 355px;
  right: 7px;
  width: 14px;
  height: 14px;
  background: #20a174;
  border-radius: 1px;
  z-index: 2;
  background: url("../assets/images/block4/photo_arrow_bottom.svg");
}

/* ===== CARD CONTENT ===== */
.kt-card__title {
  position: relative;
  font-weight: 400;
  font-size: 50px;
  line-height: 60px;
  color: #ffffff;
  text-transform: uppercase;
  z-index: 2;
  margin-bottom: 22px;
}

.kt-card__desc {
  position: relative;
  font-weight: 400;
  font-size: 30px;
  line-height: 43px;
  color: #ffffff;
  z-index: 2;
  margin-bottom: 24px;
}

/* ===== LIST ===== */
.kt-card__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  margin-bottom: 24px;
}

.kt-card__list-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.kt-card__list-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-card__list-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.kt-card__list-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #ffffff;
  flex: 1;
}

/* ===== BUTTON ===== */
.kt-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  filter: drop-shadow(0px 8px 18px rgba(196, 34, 55, 0.6));
  transition: filter 0.2s ease;
  z-index: 2;
}

.kt-btn:hover {
  filter: drop-shadow(0px 8px 22px rgba(196, 34, 55, 0.85));
}

.kt-btn__center {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #c42237;
  border-radius: 4px 0 0 4px;
  font-weight: 700;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.kt-btn__right {
  width: 10px;
  height: 51px;
  background: #c42237;
  background: url("../assets/images/button_right.svg") no-repeat;
  flex-shrink: 0;
}

/* ===== MAIN BUTTON POSITIONS ===== */
.kt-card__main-btn {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.kt-card__main-btn--specialist {
  top: 1127px;
  left: 40px;
  width: 353px;
}

.kt-card__main-btn--team {
  top: 1127px;
  left: 40px;
  width: 249px;
}

/* ===== FOOTER (только для БИЗНЕС) ===== */
.kt-card__footer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  margin-top: auto; /* ← это ключевое */
  margin-bottom: 42px;
}

.kt-card__footer-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #ffffff;
}

.kt-card__footer-desc {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #ffffff;
}

.kt-card__footer-btn {
  margin-top: 0;
}

/* ===== ILLUSTRATION (для СПЕЦИАЛИСТ и КОМАНДА) ===== */
.kt-card__illustration {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 157px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
      top: 100%;
      width: 100%;
}

.kt-card__illustration img {
	max-width: 100%;
}

.kt-card__illustration--specialist {
  width: 188px;
  height: 292px;
}

.kt-card__illustration--team {
  width: 393px;
  height: 292px;
}

/* ===== ДЕКОРАТИВНЫЕ УГОЛКИ НА ФОНЕ КАРТОЧКИ ===== */
.kt-card__bg-corner-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;

  background: url("../assets/images/block4/photo_arrow_right.png");
  z-index: 2;
}

.kt-card__bg-corner-br {
  position: absolute;
  bottom: 6px;
  right: 0;
  width: 14px;
  height: 14px;
  background: #20a174;
  border-radius: 1px;
  transform: rotate(180deg);
  z-index: 2;
}

/* ===== АДАПТИВ ===== */
.kt_info_block {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 24px 40px 0 40px;
  align-items: stretch;
  height: auto;
}

.kt-card__corner-br {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  background: #20a174;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 4;
}

.kt-card__corner-br::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(8px);
  opacity: 0.7;
  z-index: -1;
}

/* чёрная ступенька */
.kt-card__corner-br::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 80px;
  height: 60px;
  background: #0a0a0d;
  clip-path: polygon(100% 100%, 0 100%, 100% 0);
  z-index: 3;
}

/* Блок №4 */
.tasks_inner {
  position: relative;
  background: #242333;
  margin-top: 10px;
  padding-top: 160px;
  padding-bottom: 160px;
}

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
.kt-tasks {
  width: 100%;
  max-width: 1420px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===== ЗАГОЛОВОК ===== */
.kt-tasks__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.kt-tasks__header .red-bar {
  width: 4px;
  height: 50px;
  background: #c42237;
  flex-shrink: 0;
}

.kt-tasks__header h1 {
  font-weight: 250;
  font-size: 60px;
  line-height: 72px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* ===== ВЕРХНИЙ РЯД (2 широкие карточки) ===== */
.kt-tasks__row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
}

/* ===== НИЖНИЙ РЯД (3 узкие карточки) ===== */
.kt-tasks__row-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

/* ===== БАЗОВАЯ КАРТОЧКА ===== */
.kt-task-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 4px;
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  min-height: 304px;
}

.kt-task-card:hover {
  transition: 0.3s;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.4),
    0 0 40px rgba(255, 255, 255, 0.2);
}

/* Синяя карточка (Маркетплейсы) */
.kt-task-card--blue {
  background: linear-gradient(
    90.49deg,
    rgba(52, 85, 171, 0.04) 0.12%,
    rgba(52, 85, 171, 0.04) 54.76%
  );
  border: 1px solid rgba(52, 85, 171, 0.4);
}

/* Зеленая карточка (Авито) */
.kt-task-card--green {
  background: linear-gradient(
    90.49deg,
    rgba(4, 224, 97, 0.04) 0.12%,
    rgba(4, 224, 97, 0.012) 54.76%
  );
  border: 1px solid rgba(4, 224, 97, 0.4);
}

/* Красная карточка (Профессии, Навыки, Корпоративное) */
.kt-task-card--red {
  background: linear-gradient(
    127.69deg,
    rgba(192, 34, 49, 0.08) 1.83%,
    rgba(36, 35, 51, 0.08) 49.5%,
    rgba(55, 93, 188, 0.08) 100%
  );
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.12);
  border-radius: 3px;
  min-height: 400px;
}

/* ===== ЗАГОЛОВОК КАРТОЧКИ ===== */
.kt-task-card__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.kt-task-card__header .bar {
  width: 4px;
  height: 50px;
  flex-shrink: 0;
}

.kt-task-card--blue .kt-task-card__header .bar {
  background: #3455ab;
}
.kt-task-card--green .kt-task-card__header .bar {
  background: #20a174;
}
.kt-task-card--red .kt-task-card__header .bar {
  background: #c02231;
}

.kt-task-card__title {
  font-weight: 400;
  font-size: 36px;
  line-height: 43px;
  color: #ffffff;
}

/* ===== СПИСОК ТЕГОВ (Wildberries • Ozon • ...) ===== */
.kt-task-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.kt-task-card__tag {
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #ffffff;
}

.kt-task-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kt-task-card--blue .kt-task-card__dot {
  background: #3455ab;
}
.kt-task-card--green .kt-task-card__dot {
  background: #20a174;
}
.kt-task-card--red .kt-task-card__dot {
  background: #3455ab;
}

/* ===== НИЖНЯЯ ЧАСТЬ КАРТОЧКИ (описание + кнопка) ===== */
.kt-task-card__bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
  margin-top: auto;
}

/* Описание в рамке */
.kt-task-card__desc {
  flex: 1;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #ffffff;
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
}

.kt-task-card--blue .kt-task-card__desc {
  background: linear-gradient(
    90.49deg,
    rgba(52, 85, 171, 0.04) 0.12%,
    rgba(52, 85, 171, 0.04) 54.76%
  );
  border: 1px solid rgba(52, 85, 171, 0.4);
}

.kt-task-card--green .kt-task-card__desc {
  background: linear-gradient(
    90.49deg,
    rgba(4, 224, 97, 0.04) 0.12%,
    rgba(4, 224, 97, 0.012) 54.76%
  );
  border: 1px solid rgba(4, 224, 97, 0.4);
}

.kt-task-card--red .kt-task-card__desc {
  background: linear-gradient(
    90.49deg,
    rgba(52, 85, 171, 0.04) 0.12%,
    rgba(52, 85, 171, 0.04) 54.76%
  );
  border: 1px solid rgba(52, 85, 171, 0.4);
}

/* Дополнительный текст под описанием (только для Маркетплейсов) */
.kt-task-card__note {
  font-weight: 500;
  font-size: 19px;
  line-height: 130%;
  color: #ffffff;
  max-width: 332px;
  margin-top: 20px;
}

/* ===== КНОПКА ===== */
.kt-task-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  filter: drop-shadow(0px 8px 18px rgba(196, 34, 55, 0.6));
  transition: filter 0.2s ease;
  flex-shrink: 0;
}

.kt-task-btn:hover {
  filter: drop-shadow(0px 8px 22px rgba(196, 34, 55, 0.85));
}

.kt-task-btn__center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 10px 16px 20px;
  background: #c42237;
  border-radius: 4px 0 0 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  white-space: nowrap;

  /* Скошенные углы справа */
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%
  );
}

/* ===== ИКОНКА AVITO ===== */
.kt-task-card__icon {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1400px) {
  .kt-tasks__header h1 {
    font-size: 48px;
    line-height: 58px;
  }

  .kt-task-card__title {
    font-size: 30px;
    line-height: 38px;
  }

  .kt-task-card__desc,
  .kt-task-card__tag,
  .kt-task-card__note {
    font-size: 18px;
  }
}

@media (max-width: 1100px) {
  .kt-tasks__header h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .kt-tasks__row-top,
  .kt-tasks__row-bottom {
    grid-template-columns: 1fr;
  }

  .kt-task-card {
    min-height: auto;
  }

  .kt-task-card--red {
    min-height: 320px;
  }

  .kt-task-card__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  body {
    padding: 30px 12px;
  }

  .kt-tasks__header h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .kt-tasks__header .red-bar {
    height: 30px;
  }

  .kt-task-card {
    padding: 16px;
  }

  .kt-task-card__title {
    font-size: 22px;
    line-height: 28px;
  }

  .kt-task-card__tag,
  .kt-task-card__desc,
  .kt-task-card__note {
    font-size: 15px;
  }

  .kt-task-card__header .bar {
    height: 36px;
  }

  .kt-task-btn__center {
    font-size: 12px;
    padding: 12px 6px 12px 12px;
  }

  .kt-task-card__icon {
    width: 40px;
    height: 40px;
    top: 16px;
    right: 16px;
  }
}

/* Блок №5 */
section.learning_inner {
  padding-top: 150px;
}

.kt-how {
  width: 100%;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ===== ЗАГОЛОВОК ===== */
.kt-how__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.kt-how__header .red-bar {
  width: 4px;
  height: 50px;
  background: #c42237;
  flex-shrink: 0;
}

.kt-how__header h1 {
  font-weight: 250;
  font-size: 60px;
  line-height: 72px;
  text-transform: uppercase;
  color: #ffffff;
}

/* ===== ШАГИ (steps) ===== */

.kt-steps {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 0;
}

.kt-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.kt-step__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.kt_step_top {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

.kt-step__icon svg {
  width: 100%;
  height: 100%;
  fill: #ededed;
}

.kt-step__num {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #ededed;
  opacity: 0.4;
}

.kt-step__title {
  font-weight: 500;
  font-size: 22px;
  line-height: 100%;
  color: #ffffff;
  text-align: left;
}

.kt-step.active .kt-step__icon {
  opacity: 1;
}

.kt-step.active .kt-step__icon svg {
  fill: #20a174;
}

.kt-step.active .kt-step__title {
  color: #20a174;
}

/* Стрелки между шагами */
.kt-step__arrow {
  position: static; /* ← убираем absolute/relative сдвиги */
  width: 20px;
  height: 27px;
  flex-shrink: 0;
  background: url(../assets/images/block6/right_icon.svg) no-repeat center center;
  background-size: contain;
  margin: 0 44px; /* ← одинаковые отступы слева и справа */
  align-self: center; /* ← центрирует по вертикали во flex-контейнере */
  margin-top: auto;
}
.kt-step:last-child .kt-step__arrow {
  display: none;
}

/* ===== БЛОК "Сначала решение предлагает участник" ===== */
.kt-participant {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #c42237;
  border-radius: 4px;
  backdrop-filter: blur(5.5px);
  width: fit-content;
  margin-top: 50px;
  margin-bottom: 50px;
}

.kt-participant__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kt-participant__icon svg {
  width: 100%;
  height: 100%;
  fill: #ededed;
}

.kt-participant__text {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.16);
}

/* ===== 2 БЛОКА (проверка + ошибка) ===== */
.kt-check-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.kt-check-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
  background: linear-gradient(
    90.49deg,
    rgba(116, 116, 116, 0.04) 0.12%,
    rgba(210, 210, 210, 0.04) 54.76%
  );
  backdrop-filter: blur(5.5px);
  border-radius: 4px;
  border: 1px solid #747474;
}

.kt-check-main__title {
  font-weight: 500;
  font-size: 22px;
  line-height: 130%;
  color: #ffffff;
}

.kt-check-main__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.kt-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kt-check-item__icon {
  width: 28px;
  height: 28px;
}

.kt-check-item__icon svg {
  width: 12.53px;
  height: 9.58px;
  fill: #ffffff;
}

.kt-check-item__text {
  font-weight: 500;
  font-size: 22px;
  line-height: 130%;
  color: #ffffff;
}

/* Блок "Если решение слабое" */
.kt-error-block {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(196, 34, 55, 0.16);
  border: 1px solid #c42237;
  backdrop-filter: blur(5.5px);
  border-radius: 3px;
  max-width: 340px;
  min-height: 105px;
  flex-shrink: 0;
}

.kt-error-block__text {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #ffffff;
}

/* ===== РАЗДЕЛИТЕЛЬ ===== */
.kt-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(196, 34, 55, 0) 0%,
    #c42237 50%,
    rgba(196, 34, 55, 0) 100%
  );
  position: relative;
  margin: 40px 0;
}

.kt-divider::before,
.kt-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: inherit;
}

.kt-divider::before {
  top: -7px;
  filter: blur(7px);
}

.kt-divider::after {
  top: -14px;
  filter: blur(14px);
}

/* ===== БАННЕР "Вас учат люди..." ===== */
.kt-teachers-banner {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: linear-gradient(91.86deg, #3456ab 0.26%, #20a174 117.44%);
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 46px;
}

.kt-teachers-banner__text {
  font-weight: 250;
  font-size: 42px;
  line-height: 50px;
  text-transform: uppercase;
  color: #ededed;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.32);
}

.kt-teachers-banner__text strong {
  font-weight: 700;
}

/* ===== БЛОК "Мы проверяем не только ответ" (нижний) ===== */
.kt-check-bottom {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
  background: linear-gradient(
    147.45deg,
    rgba(52, 85, 171, 0.08) 1.35%,
    rgba(32, 161, 116, 0.08) 63.52%
  );
  backdrop-filter: blur(5.5px);
  border-radius: 3px;
  width: 100%;
}

.kt-check-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px; /* ← толщина границы */
  border-radius: 3px;

  /* Градиент границы — насыщенный (от синего к зелёному) */
  background: linear-gradient(147.45deg, #3455ab 1.35%, #20a174 63.52%);

  /* Маска: вырезаем середину, оставляем только рамку */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.kt-check-bottom__title {
  font-weight: 500;
  font-size: 22px;
  line-height: 130%;
  color: #ffffff;
}

.kt-check-bottom__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.kt-check-bottom__item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: linear-gradient(
    147.45deg,
    rgba(52, 85, 171, 0.08) 1.35%,
    rgba(32, 161, 116, 0.08) 63.52%
  );
  backdrop-filter: blur(5.5px);
  border-radius: 3px;
}

.kt-check-bottom__item-icon {
  width: 10px;
  height: 12px;
  background: url("../assets/images/block6/arrow_kt_right.svg") no-repeat;
  margin-top: auto;
  margin-bottom: auto;
}

.kt-check-bottom__item-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #ffffff;
  white-space: nowrap;
}

/* ===== ТЕКСТ ПОД БАННЕРОМ ===== */
.kt-teachers-desc {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #ffffff;
  margin-top: 39px;
  margin-bottom: 35px;
}

/* ===== КОМАНДА (7 фото) ===== */
.kt-team {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 11.36px;
  width: 100%;
  margin-top: 110px;
  margin-bottom: 59px;
}

.kt-team__member {
  display: flex;
  flex-direction: column;
  gap: 7.95px;
  position: relative;
}

.kt-team__member:hover {
  transition: 0.3s;
  transform: translateY(-5px);
}

.kt-team__photo {
  position: relative;
  width: 100%;
  padding-top: 84%;
  position: relative;
}

.kt-team__photo img {
  position: absolute;
  display: block;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 3;
  display: block;
  max-width: 100%;
  height: auto;
}

/* Красные уголки */
.kt-team__photo::before {
  content: "";
  position: absolute;
  left: -4%;
  top: -7%;
  width: 108%;
  height: 162px;
  background-image: url("../assets/images/block7/team_bg.png");
  background-size: 100% 100%;
  -webkit-filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.24));
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.24));
  backdrop-filter: blur(5.5px);
}

.kt-team__name {
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #ffffff;
}

.kt-team__role {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #ffffff;
}

/* ===== БЛОК "Не обязательно начинать с нуля" ===== */
.kt-start {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  width: 100%;
  position: relative;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 160px;
}

.kt-start__icon {
  width: 94px;
  height: 296px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-start__icon svg {
  width: 100%;
  height: 100%;
}

.kt-start__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.kt-start__title {
  font-weight: 250;
  font-size: 42px;
  line-height: 50px;
  text-transform: uppercase;
  color: #ededed;
}

.kt-start__row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.kt-start__badge {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 10px;
  background: linear-gradient(
    93.76deg,
    rgba(36, 35, 51, 0.08) 0.82%,
    rgba(192, 34, 49, 0.08) 375.47%
  );
  box-shadow: 1.21px 1.21px 4.84px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(3.327px);
  border-radius: 1.81px;
  max-width: 291px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 10px;
  background: linear-gradient(
    93.76deg,
    rgba(36, 35, 51, 0.08) 0.82%,
    rgba(192, 34, 49, 0.08) 375.47%
  );
  box-shadow: 1.21px 1.21px 4.84px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(3.327px);
  border-radius: 1.81px;
  max-width: 291px;
  border: 1px solid transparent;
  border-image: linear-gradient(93.76deg, #242333 0.82%, #c02231 100%) 1;
}

.kt-start__badge-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #ffffff;
}

.kt-start__desc {
  font-weight: 250;
  font-size: 24px;
  line-height: 100%;
  color: #ffffff;
  max-width: 637px;
}

.kt-start__bottom {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 10px;
  background: linear-gradient(
    93.76deg,
    rgba(36, 35, 51, 0.08) 0.82%,
    rgba(192, 34, 49, 0.08) 375.47%
  );
  border: 2px solid #c42237;
  box-shadow: 1.21px 1.21px 4.84px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(3.327px);
  border-radius: 1.81px;
  max-width: 440px;
}

.kt-start__bottom-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Кнопка */
.kt-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  filter: drop-shadow(0px 8px 18px rgba(196, 34, 55, 0.6));
  transition: filter 0.2s ease;
  width: fit-content;
}

.kt-btn:hover {
  filter: drop-shadow(0px 8px 22px rgba(196, 34, 55, 0.85));
}

.kt-btn__center {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #c42237;
  border-radius: 4px 0 0 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.kt-start__free {
  font-weight: 250;
  font-size: 40px;
  line-height: 48px;
  text-transform: uppercase;
  color: #ededed;
  margin-left: 25px;
}

.kt-start__free strong {
  color: #20a174;
  font-weight: 700;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1400px) {
  .kt-how__header h1 {
    font-size: 48px;
    line-height: 58px;
  }

  .kt-teachers-banner__text {
    font-size: 32px;
    line-height: 40px;
  }

  .kt-step__title {
    font-size: 20px;
  }

  .kt-start__title {
    font-size: 32px;
    line-height: 40px;
  }

  .kt-start__free {
    font-size: 30px;
    line-height: 38px;
  }
}

.learning_text {
  font-style: normal;
  font-weight: 250;
  font-size: 42px;
  line-height: 50px;
  text-transform: uppercase;
  margin-top: 60px;
  margin-bottom: 46px;
  color: #ffffff;
}

.learning_text .bold_text {
  font-weight: 800;
}

.learning_line img {
  max-width: 100%;
}

.kt_start_desc_two {
  font-weight: 500;
}

.kt_start_bottom_inner {
  display: flex;
}

/* блок №7 */

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
.kt-result {
  width: 100%;
  max-width: 1420px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ===== ЗАГОЛОВОК ===== */
.kt-result__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.kt-result__header .red-bar {
  width: 4px;
  height: 50px;
  background: #c42237;
  flex-shrink: 0;
}

.kt-result__header h1 {
  font-weight: 250;
  font-size: 60px;
  line-height: 72px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* ===== БЛОК "ИТОГОВАЯ АТТЕСТАЦИЯ" ===== */
.kt-attestation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.kt-attestation__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kt-attestation__icon svg {
  width: 100%;
  height: 100%;
}

.kt-attestation__text {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #ffffff;
}

/* ===== БЛОК "СЕРТИФИКАТ С ОЦЕНКОЙ" ===== */
.kt-certificate {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 40px 40px 40px 80px;
  gap: 32px;
  background: linear-gradient(
    93.76deg,
    rgba(36, 35, 51, 0.08) 0.82%,
    rgba(192, 34, 49, 0.08) 375.47%
  );
  border: 1px solid #c42237;
  box-shadow: 1.21px 1.21px 4.84px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(3.327px);
  border-radius: 1.81px;
  width: 100%;
  max-width: 749px;
}

.kt-certificate__title {
  font-weight: 400;
  font-size: 30px;
  line-height: 43px;
  color: #ffffff;
  flex-shrink: 0;
}

.kt-certificate__image {
  width: 274px;
  height: 182px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-certificate__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== РЯД (сертификат + описание) ===== */
.kt-result__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
  width: 100%;
}

/* ===== ОПИСАНИЕ СПРАВА ===== */
.kt-result__desc {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
  padding-top: 40px;
}

.kt-result__desc .green-bar {
  width: 4px;
  height: 50px;
  background: #20a174;
  flex-shrink: 0;
}

.kt-result__desc-text {
  font-weight: 400;
  font-size: 40px;
  line-height: 60px;
  color: #ffffff;
}

.kt-result__desc-text .green-text {
  color: #20a174;
}

/* ===== РАЗДЕЛИТЕЛЬ ===== */
.kt-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(196, 34, 55, 0) 0%,
    #c42237 50%,
    rgba(196, 34, 55, 0) 100%
  );
  position: relative;
  margin: 20px 0;
}

.kt-divider::before,
.kt-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: inherit;
}

.kt-divider::before {
  top: -7px;
  filter: blur(7px);
}

.kt-divider::after {
  top: -14px;
  filter: blur(14px);
}

/* ===== БЛОК "ДЛЯ ПРОФЕССИОНАЛЬНОГО ТРЕКА" ===== */
.kt-pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 169px 56px;
  gap: 32px;
  background: linear-gradient(
    147.45deg,
    rgba(52, 85, 171, 0.08) 1.35%,
    rgba(32, 161, 116, 0.08) 63.52%
  );
  backdrop-filter: blur(5.5px);
  border-radius: 3px;
  background: url("../assets/images/block8/prof_bg.png");
  width: 100%;
  margin-bottom: 112px;
}

.kt-pro__title {
  font-weight: 900;
  font-size: 48px;
  line-height: 72px;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}

/* ===== БЛОК С ПИСЬМОМ ===== */
.kt-pro__letter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 56px 80px 56px 56px;
  gap: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 1218px;
}

.kt-pro__letter-image {
  width: 397px;
  height: 595px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-pro__letter-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kt-pro__letter-text {
  font-weight: 400;
  font-size: 82px;
  line-height: 98px;
  color: #ffffff;
  flex: 1;
}

/* ===== БЛОК "ПОСЛЕ УРОВНЯ ЭКСПЕРТ" ===== */
.kt-pro__checklist {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  gap: 24px;
  background: linear-gradient(
    147.45deg,
    rgba(52, 85, 171, 0.08) 1.35%,
    rgba(32, 161, 116, 0.08) 63.52%
  );
  backdrop-filter: blur(5.5px);
  border-radius: 3px;
  width: 100%;
  max-width: 962px;
}

.kt-pro__checklist-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #ffffff;
}

.kt-pro__checklist-items {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.kt-pro__checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kt-pro__checklist-icon {
  width: 28px;
  height: 28px;
  background: #20a174;
  border-radius: 4.655px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kt-pro__checklist-icon svg {
  width: 12.53px;
  height: 9.58px;
  fill: #ffffff;
}

.kt-pro__checklist-text {
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  color: #ffffff;
}

/* ===== ТЕКСТ ВНИЗУ ===== */
.kt-pro__footer {
  font-weight: 400;
  font-size: 50px;
  line-height: 60px;
  text-align: center;
  color: #ffffff;
  max-width: 1306px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1400px) {
  .kt-result__header h1 {
    font-size: 48px;
    line-height: 58px;
  }

  .kt-result__desc-text {
    font-size: 40px;
    line-height: 50px;
  }

  .kt-pro__title {
    font-size: 48px;
    line-height: 58px;
  }

  .kt-pro__letter-text {
    font-size: 60px;
    line-height: 72px;
  }

  .kt-pro__footer {
    font-size: 40px;
    line-height: 50px;
  }
}

@media (max-width: 1100px) {
  .kt-result__row {
    flex-direction: column;
    gap: 40px;
  }

  .kt-certificate {
    flex-direction: column;
    padding: 40px;
    text-align: center;
  }

  .kt-pro__letter {
    flex-direction: column;
    padding: 40px;
  }

  .kt-pro__letter-text {
    font-size: 48px;
    line-height: 58px;
    text-align: center;
  }

  .kt-pro__checklist-items {
    gap: 20px;
  }

  .kt-pro__footer {
    font-size: 32px;
    line-height: 42px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 30px 12px;
  }

  .kt-result {
    gap: 40px;
  }

  .kt-result__header h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .kt-result__header .red-bar {
    height: 30px;
  }

  .kt-attestation__text {
    font-size: 18px;
  }

  .kt-attestation__icon {
    width: 40px;
    height: 40px;
  }

  .kt-certificate {
    padding: 24px;
    gap: 20px;
  }

  .kt-certificate__title {
    font-size: 22px;
    line-height: 28px;
  }

  .kt-certificate__image {
    width: 200px;
    height: 130px;
  }

  .kt-result__desc-text {
    font-size: 22px;
    line-height: 30px;
  }

  .kt-result__desc .green-bar {
    height: 30px;
  }

  .kt-pro {
    padding: 60px 20px;
    gap: 24px;
  }

  .kt-pro__title {
    font-size: 24px;
    line-height: 32px;
  }

  .kt-pro__letter {
    padding: 20px;
  }

  .kt-pro__letter-image {
    width: 250px;
    height: 380px;
  }

  .kt-pro__letter-text {
    font-size: 28px;
    line-height: 36px;
  }

  .kt-pro__checklist {
    padding: 20px;
    gap: 16px;
  }

  .kt-pro__checklist-title {
    font-size: 16px;
  }

  .kt-pro__checklist-text {
    font-size: 18px;
  }

  .kt-pro__checklist-icon {
    width: 22px;
    height: 22px;
  }

  .kt-pro__checklist-icon svg {
    width: 10px;
    height: 8px;
  }

  .kt-pro__footer {
    font-size: 20px;
    line-height: 28px;
  }
}

section.kt_result_inner {
  background: #242333;
  position: relative;
  padding-top: 160px;
}

/* Блок №8 */
/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
.kt-form-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ===== ЗАГОЛОВОК ===== */
.kt-form-section__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.kt-form-section__header .red-bar {
  width: 4px;
  height: 50px;
  background: #c42237;
  flex-shrink: 0;
}

.kt-form-section__header h2 {
  font-weight: 250;
  font-size: 60px;
  line-height: 72px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* ===== ДВА БЛОКА С ГАЛОЧКАМИ ===== */
.kt-form-section__badges {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
}

.kt-badge-item {
  box-sizing: border-box;
  position: relative; /* ← нужно для ::before */

  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px 20px;
  gap: 12px;

  width: 627px;
  height: 66px;

  /* Фон — обычный, без градиента границы */
  background: linear-gradient(
    147.45deg,
    rgba(52, 85, 171, 0.08) 1.35%,
    rgba(32, 161, 116, 0.08) 63.52%
  );
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  border-radius: 3px;

  border: none; /* ← убираем обычную границу */
}
/* Градиентная граница через псевдоэлемент */
.kt-badge-item::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px; /* ← толщина границы */
  border-radius: 3px;
  background: linear-gradient(147.45deg, #3455ab 1.35%, #20a174 63.52%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.kt-badge-item__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-badge-item__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.kt-badge-item__text {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #ffffff;
}

/* ===== ФОРМА (заявка) ===== */
.kt-form {
  display: flex;
  flex-direction: row;
  width: 100%;
  background: #171717;
  border: 2px solid #c42237;
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

/* Декоративная линия сверху */
.kt-form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 139px;
  width: 6px;
  height: 113px;
  background: #c42237;
  transform: rotate(90deg);
  transform-origin: top right;
}

/* Левая часть — белая форма */
.kt-form__left {
  width: 406px;
  flex-shrink: 0;
  background: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

/* Правая часть — тёмный блок с текстом */
.kt-form__right {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px;
  background: #171717;
}
.kt-form__right:after {
  content: "";
  width: 113px;
  height: 6px;
  background: url("../assets/images/block8/header_right_icon.svg");
  position: absolute;
  top: 0;
  right: 32px;
}

.kt-form__left:before {
  content: "";
  width: 113px;
  height: 6px;
  background: url("../assets/images/block8/header_bottom_icon.svg");
  position: absolute;
  bottom: 0;
  left: 30px;
}

.kt-form__right-text {
  font-weight: 250;
  font-size: 65px;
  line-height: 84px;
  text-transform: uppercase;
  color: #ededed;
}

.kt-form__right-text .green {
  color: #20a174;
  font-weight: 400;
}

/* ===== ПОЛЯ ФОРМЫ ===== */
.kt-form__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.kt-form__label {
  font-family: "Blender Pro", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #171717;
}

.kt-form__input-wrapper {
  position: relative;
  width: 100%;
}

.kt-form__input {
  width: 100%;
  height: 50px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  padding: 0 16px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 16px;
  color: #2b2b2b;
  outline: none;
  transition: border-color 0.2s ease;
}

.kt-form__input:focus {
  border-color: #c42237;
}

.kt-form__input::placeholder {
  color: #9e9e9e;
}

/* Плавающий label */
.kt-form__placeholder {
  position: absolute;
  top: -7px;
  left: 12px;
  padding: 0 2px;
  background: #ffffff;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #2b2b2b;
  pointer-events: none;
}

/* ===== КНОПКА ===== */
.kt-form__button {
  display: flex;
  align-items: center;
  width: 100%;
  filter: drop-shadow(0 8px 18px rgba(196, 34, 55, 0.6));
  cursor: pointer;
  transition: filter 0.2s ease;
  margin-top: 8px;
}

.kt-form__button:hover {
  filter: drop-shadow(0 8px 22px rgba(196, 34, 55, 0.85));
}

.kt-form__button-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  width: 100%;
  background: #c42237;
  border-radius: 4px 0 0 4px;
  font-weight: 900;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 11px),
    calc(100% - 11px) 100%,
    0 100%
  );
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
  .kt-form-section__header h2 {
    font-size: 48px;
    line-height: 58px;
  }

  .kt-form__right-text {
    font-size: 50px;
    line-height: 62px;
  }
}

@media (max-width: 992px) {
  .kt-form {
    flex-direction: column;
  }

  .kt-form__left {
    width: 100%;
    padding: 40px 24px;
  }

  .kt-form__right {
    padding: 40px 24px;
    justify-content: center;
    text-align: center;
  }

  .kt-form__right-text {
    font-size: 42px;
    line-height: 52px;
  }

  .kt-form-section__badges {
    flex-direction: column;
  }

  .kt-form-section__header h2 {
    font-size: 36px;
    line-height: 46px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 30px 12px;
  }

  .kt-form-section {
    gap: 24px;
  }

  .kt-form-section__header h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .kt-form-section__header .red-bar {
    height: 30px;
  }

  .kt-badge-item {
    padding: 12px 16px;
  }

  .kt-badge-item__text {
    font-size: 16px;
  }

  .kt-badge-item__icon {
    width: 24px;
    height: 24px;
  }

  .kt-badge-item__icon svg {
    width: 16px;
    height: 16px;
  }

  .kt-form__left {
    padding: 24px 16px;
  }

  .kt-form__label {
    font-size: 16px;
    line-height: 20px;
  }

  .kt-form__input {
    height: 44px;
    font-size: 13px;
  }

  .kt-form__button-center {
    padding: 20px;
    font-size: 14px;
    line-height: 18px;
  }

  .kt-form__right-text {
    font-size: 28px;
    line-height: 36px;
  }

  .kt-form::before {
    display: none;
  }
}

section.kt_form_inner {
  padding-top: 160px;
  padding-bottom: 160px;
}

.kt-result__header.center {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}

.kt-form-section .kt-result__header h1 {
  font-size: 55px;
}

.kt_info_top {
    height: 100%;
    display: block;
    position: relative;
}

/* Градиентная рамка через маску */
.kt-task-card--red::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;                          /* ← толщина рамки */
  border-radius: 3px;

  background: linear-gradient(
    127.69deg,
    #c02231 1.83%,
    #242333 49.5%,
    #375dbc 100%
  );

  /* Вырезаем середину — остаётся только рамка */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 1;                            /* ← чтобы рамка была над фоном */
}

.kt-tasks__row-bottom .kt-task-card__bottom {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
}