/* Хлебные крошки — тёмный текст */
.breadcrumbs__list a{color:#000}
.breadcrumbs__list span{color:#000}
.breadcrumbs__list li+li::before{color:#000}
/* =============================================================
   DESEYENER CASE — единый файл стилей
   ============================================================= */

/* --- Переменные -------------------------------------------- */
:root {
  --font-main: 'Montserrat', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --main-color: #0043f1;
}

/* --- Базовые сбросы ----------------------------------------- */
body.active {
  overflow: hidden;
}

body {
  background: #fff;
  color: #212529;
}

body, h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, select {
  font-family: var(--font-main);
}

/* --- Шапка -------------------------------------------------- */
.header {
  position: sticky !important;
  background-color: var(--bg-dark) !important;
}

/* --- Bootstrap: контейнер ----------------------------------- */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container { max-width: 540px; }
}
@media (min-width: 768px) {
  .container { max-width: 720px; }
}
@media (min-width: 992px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
    padding: 0 30px;
  }
}

/* --- Bootstrap: утилиты ------------------------------------- */
.rounded-0 { border-radius: 0 !important; }

/* --- Утилиты ------------------------------------------------ */
.no-border { border: none !important; }
.has-shadow {
  box-shadow: 2px 4px 20px rgba(210, 210, 210, 0.4) !important;
}

/* --- Inner section ------------------------------------------ */
.inner-section {
  padding-top: 50px;
}
.inner-section h1 {
  margin-top: 70px;
}

/* --- Custom case base --------------------------------------- */
.custom-case {
  border-bottom: 1px solid rgba(34, 86, 170, 0.3);
}

.custom-case [class*=col-] {
  padding-left: 0;
  padding-right: 0;
}

.custom-case .video-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.custom-case .video-container video {
  width: auto;
  max-width: 100%;
  height: auto;
}

/* --- Custom case rows --------------------------------------- */
.custom-case .custom-case-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 100px;
}
.custom-case .custom-case-row .title-block {
  padding-right: 20px;
  width: 21%;
}
.custom-case .custom-case-row .title-block .title {
  position: sticky;
  top: 100px;
}
.custom-case .custom-case-row .title-block h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--main-color);
  text-align: left;
  text-transform: unset;
}
.custom-case .custom-case-row .content-block {
  width: 79%;
}
.custom-case .custom-case-row .content-block .text-block {
  margin-bottom: 50px;
}
.custom-case .custom-case-row .content-block p,
.custom-case .custom-case-row .content-block ul {
  margin: 0;
  margin-bottom: 24px;
  font-size: 18px;
  color: #000000;
  line-height: 1.5;
}
.custom-case .custom-case-row .content-block p:last-child,
.custom-case .custom-case-row .content-block ul:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1199px) {
  .custom-case .custom-case-row { margin-bottom: 60px; }
  .custom-case .custom-case-row .title-block { width: 200px; }
  .custom-case .custom-case-row .content-block { width: 760px; }
}
@media screen and (max-width: 767px) {
  .custom-case .custom-case-row { flex-direction: column; }
  .custom-case .custom-case-row .title-block { width: 100%; }
  .custom-case .custom-case-row .content-block { width: 100%; }
}
@media screen and (max-width: 991px) {
  .custom-case .custom-case-row { flex-direction: column; }
  .custom-case .custom-case-row .title-block { width: 100%; }
  .custom-case .custom-case-row .title-block .title { margin-bottom: 20px; }
  .custom-case .custom-case-row .title-block h2 { font-size: 23px; }
  .custom-case .custom-case-row .title-block br { display: none; }
  .custom-case .custom-case-row .content-block { width: 100%; }
}
@media screen and (max-width: 575px) {
  .custom-case .custom-case-row { margin-bottom: 60px; }
  .custom-case .custom-case-row .img-list-with-cols .img-list-col,
  .custom-case .custom-case-row .img-list .img-container,
  .custom-case .custom-case-row .img-list-with-cols .img-list-col .img-container,
  .custom-case .custom-case-row .img-list-with-cols .img-list-col:first-child,
  .custom-case .custom-case-row .img-list { margin-bottom: 60px; }
  .custom-case .custom-case-row .img-list-with-cols {
    flex-direction: column;
    justify-content: flex-start;
  }
  .custom-case .custom-case-row .img-list-with-cols .img-list-col {
    justify-content: flex-start;
    align-items: center;
  }
  .custom-case .custom-case-row .img-list-with-cols .img-list-col:first-child { width: 100%; }
  .custom-case .custom-case-row .img-list-with-cols .img-list-col:last-child {
    width: 100%;
    margin-bottom: 0;
  }
}

/* --- Image lists -------------------------------------------- */
.custom-case .custom-case-row .img-list {
  margin-bottom: 100px;
}
.custom-case .custom-case-row .img-list:last-child,
.custom-case .custom-case-row .img-list-with-cols:last-child,
.custom-case .custom-case-row .img-list .img-container:last-child,
.custom-case .custom-case-row .img-list-with-cols .img-container:last-child,
.custom-case .custom-case-row .img-list-col .img-container:last-child {
  margin-bottom: 0 !important;
}
.custom-case .custom-case-row .img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
  width: 100%;
}
.custom-case .custom-case-row .img-container img {
  width: 100%;
  max-width: 100%;
  border: 2px solid rgba(34, 86, 170, 0.5);
}
.custom-case .custom-case-row .img-list-with-cols {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 100px;
}
.custom-case .custom-case-row .img-list-with-cols .img-list-col:first-child { width: 55%; }
.custom-case .custom-case-row .img-list-with-cols .img-list-col:last-child { width: 38%; }

/* --- About row --------------------------------------------- */
.custom-case .about-row .content-block .text-block { margin-bottom: 0; }
@media screen and (max-width: 575px) {
  .custom-case .about-row { margin-bottom: 40px; }
}

/* --- Dev row (links) --------------------------------------- */
.custom-case .dev-row .links-list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.custom-case .dev-row .links-half-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 140px;
}
@media screen and (max-width: 1199px) {
  .custom-case .dev-row .links-list .links-half-block { margin-right: 15%; }
}
@media screen and (max-width: 767px) {
  .custom-case .dev-row .links-list { flex-direction: column; }
  .custom-case .dev-row .links-list .links-half-block { margin-right: 30px; }
  .custom-case .dev-row .links-list .links-half-block:first-child { margin-bottom: 20px; }
}
@media screen and (max-width: 575px) {
  .custom-case .dev-row { margin-bottom: 60px; }
}

/* =============================================================
   DESEYENER-специфичные стили
   ============================================================= */

.deseyener .intro {
  margin-bottom: 60px;
}
.deseyener .intro img {
  width: 100%;
  max-width: 100%;
}

.deseyener .custom-case-row {
  margin-bottom: 80px;
}
.deseyener .custom-case-row .content-block .text-block {
  margin-bottom: 40px;
}
.deseyener .custom-case-row .content-block .text-block:last-child {
  margin-bottom: 0 !important;
}
.deseyener .custom-case-row .content-block .text-block ol {
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  line-height: 1.5;
  list-style-type: decimal;
  list-style-position: inside;
}
.deseyener .custom-case-row .content-block .text-block ol > li {
  margin-bottom: 24px;
}
.deseyener .custom-case-row .content-block .text-block ol > li:last-child {
  margin-bottom: 0;
}
.deseyener .custom-case-row .content-block .text-block p:last-child,
.deseyener .custom-case-row .content-block .text-block ul:last-child,
.deseyener .custom-case-row .content-block .text-block ol:last-child {
  margin-bottom: 0 !important;
}
.deseyener .custom-case-row .content-block .text-block li ul {
  padding-left: 20px;
  margin-top: 16px;
}
.deseyener .custom-case-row video {
  border-radius: 0;
}

@media screen and (max-width: 1199px) {
  .deseyener .custom-case-row { margin-bottom: 60px; }
}

/* Dev row — spans (не ссылки, а текст) */
.deseyener .dev-row .links-half-block span {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding-left: 22px;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
}
.deseyener .dev-row .links-half-block span:last-child {
  margin-bottom: 0;
}
.deseyener .dev-row .links-half-block span::before {
  position: absolute;
  display: block;
  content: "";
  top: calc(50% - 7px);
  left: 0;
  width: 14px;
  height: 14px;
  background: url(../images/cross-icon.svg) no-repeat center center/cover;
  transition: all 0.2s ease-in-out;
}

/* Task row */
.deseyener .task-row {
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.deseyener .task-row .img-block {
  margin-top: 60px;
}
@media screen and (max-width: 1199px) {
  .deseyener .task-row .title-block { width: 194px; }
  .deseyener .task-row .content-block { width: 735px; }
}
@media screen and (max-width: 991px) {
  .deseyener .task-row .title-block,
  .deseyener .task-row .content-block { width: 100%; }
}

/* Tech row */
.deseyener .tech-row {
  margin-bottom: 60px;
}

/* Proto row */
.deseyener .proto-row {
  flex-wrap: wrap;
  margin-bottom: 100px;
}
.deseyener .proto-row .img-block {
  margin-top: 100px;
}
.deseyener .proto-row .img-container {
  margin-bottom: 60px;
}
@media screen and (max-width: 1199px) {
  .deseyener .proto-row { margin-bottom: 60px; }
  .deseyener .proto-row .title-block { width: 194px; }
  .deseyener .proto-row .content-block { width: 735px; }
  .deseyener .proto-row .img-block { margin-top: 60px; }
  .deseyener .proto-row .img-container { margin-bottom: 30px; }
}
@media screen and (max-width: 991px) {
  .deseyener .proto-row .title-block,
  .deseyener .proto-row .content-block { width: 100%; }
}

/* Main row */
.deseyener .main-row {
  flex-wrap: wrap;
  margin-bottom: 103px;
}
.deseyener .main-row .img-block {
  margin-top: 40px;
}
.deseyener .main-row .img-list-with-cols .img-list-col:first-child {
  width: 100%;
}
.deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2),
.deseyener .main-row .img-list-with-cols .img-list-col:last-child {
  width: 50%;
}
.deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2) {
  padding-top: 88px;
  margin-left: -100%;
}
.deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2) .img-container {
  justify-content: flex-start;
  margin-bottom: 116px;
}
.deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2) .img-container:first-child {
  position: relative;
  z-index: -1;
}
.deseyener .main-row .img-list-with-cols .img-list-col:last-child {
  padding-top: 34px;
}
.deseyener .main-row .img-list-with-cols .img-list-col:last-child .img-container {
  justify-content: flex-end;
  margin-bottom: 36px;
}
.deseyener .main-row .img-list-with-cols .img-list-col:last-child .img-container:first-child {
  position: relative;
  z-index: -1;
  margin-bottom: 88px;
}
.deseyener .main-row .video-block {
  width: 100%;
  margin-top: 40px;
  padding-left: 21%;
}
@media screen and (max-width: 1199px) {
  .deseyener .main-row { margin-bottom: 60px; }
  .deseyener .main-row .title-block { width: 194px; }
  .deseyener .main-row .content-block { width: 735px; }
  .deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2) { margin-right: 30px; }
  .deseyener .main-row .img-list-with-cols .img-list-col:last-child .img-container:first-child { margin-bottom: 20px; }
}
@media screen and (max-width: 991px) {
  .deseyener .main-row .title-block,
  .deseyener .main-row .content-block { width: 100%; }
  .deseyener .main-row .video-block { padding-left: 0; }
  .deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2) .img-container:first-child { z-index: initial; }
  .deseyener .main-row .img-list-with-cols .img-list-col:last-child .img-container:first-child { z-index: initial; }
}
@media screen and (max-width: 767px) {
  .deseyener .main-row .video-block { padding-left: 0; }
  .deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2) {
    margin-left: 0;
    padding-top: 0;
  }
}
@media screen and (max-width: 575px) {
  .deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2),
  .deseyener .main-row .img-list-with-cols .img-list-col:last-child { width: 100%; }
  .deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2) {
    padding-top: 0;
    margin-left: 0;
    margin-bottom: 30px;
  }
  .deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2) .img-container {
    justify-content: center;
    margin-bottom: 30px;
  }
  .deseyener .main-row .img-list-with-cols .img-list-col:nth-child(2) .img-container:first-child {
    z-index: -1;
    margin-bottom: -100px;
  }
  .deseyener .main-row .img-list-with-cols .img-list-col:last-child { padding-top: 0; }
  .deseyener .main-row .img-list-with-cols .img-list-col:last-child .img-container {
    justify-content: center;
    margin-bottom: 30px;
  }
  .deseyener .main-row .img-list-with-cols .img-list-col:last-child .img-container:first-child {
    margin-bottom: -100px;
    z-index: -1;
  }
}

/* Course row */
.deseyener .course-row {
  flex-wrap: wrap;
}
.deseyener .course-row .content-block .text-block {
  margin-bottom: 30px;
}
.deseyener .course-row .course-list {
  display: flex;
  align-items: flex-end;
  margin-top: 132px;
}
.deseyener .course-row .course-list .course-item {
  position: relative;
  filter: drop-shadow(4px 15px 50px rgba(95, 90, 90, 0.3));
}
.deseyener .course-row .course-list .course-item img {
  width: 100%;
  max-width: 100%;
}
.deseyener .course-row .course-list .course-item:nth-child(n+2) {
  margin-left: -8%;
}
.deseyener .course-row .course-list .course-item:nth-child(2),
.deseyener .course-row .course-list .course-item:nth-child(8) { z-index: 2; }
.deseyener .course-row .course-list .course-item:nth-child(3),
.deseyener .course-row .course-list .course-item:nth-child(7) { z-index: 3; }
.deseyener .course-row .course-list .course-item:nth-child(4),
.deseyener .course-row .course-list .course-item:nth-child(6) { z-index: 4; }
.deseyener .course-row .course-list .course-item:nth-child(5) { z-index: 5; }

@media screen and (max-width: 1199px) {
  .deseyener .course-row .title-block { width: 194px; }
  .deseyener .course-row .content-block { width: 735px; }
  .deseyener .course-row .course-list { margin-top: 60px; }
  .deseyener .course-row .course-list .course-item:nth-child(n+2) { margin-left: -15%; }
}
@media screen and (max-width: 991px) {
  .deseyener .course-row .title-block,
  .deseyener .course-row .content-block { width: 100%; }
}
@media screen and (max-width: 767px) {
  .deseyener .course-row .course-list .course-item:nth-child(2),
  .deseyener .course-row .course-list .course-item:nth-child(9) { margin-left: -25%; }
  .deseyener .course-row .course-list .course-item:nth-child(1),
  .deseyener .course-row .course-list .course-item:nth-child(9) { z-index: 9; }
}

/* --- Форма обратной связи ----------------------------------- */
.contact-form-section {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  background: var(--bg-dark);
}
.contact-form-section > * {
  max-width: 770px;
  margin-left: auto;
  margin-right: auto;
}
