/* Хлебные крошки — тёмный текст */
.breadcrumbs__list a{color:#000}
.breadcrumbs__list span{color:#000}
.breadcrumbs__list li+li::before{color:#000}
/* =============================================================
   PARTNER 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: col-sm-3/5/6/8 ----------------------------- */
.col-sm-3,
.col-sm-5,
.col-sm-6,
.col-sm-8 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 576px) {
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
}

/* --- Bootstrap: padding utilities --------------------------- */
.pl-0 { padding-left: 0 !important; }
.pr-0 { padding-right: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.px-3 { padding-right: 1rem !important; padding-left: 1rem !important; }
@media (min-width: 576px) {
  .mb-sm-0 { margin-bottom: 0 !important; }
}
@media (min-width: 1200px) {
  .pt-xl-5 { padding-top: 3rem !important; }
}

/* --- Bootstrap: margin utilities ---------------------------- */
.mr-0 { margin-right: 0 !important; }

/* --- Bootstrap: display utilities --------------------------- */
.d-none      { display: none !important; }
.d-none-block { display: none !important; }
.d-block     { display: block !important; }
@media (min-width: 576px) {
  .d-sm-none  { display: none !important; }
  .d-sm-block { display: block !important; }
}

/* --- Bootstrap: flex utilities ------------------------------ */
.justify-content-start   { justify-content: flex-start !important; }
.justify-content-center  { justify-content: center !important; }
.align-items-start       { align-items: flex-start !important; }

/* --- Утилиты ------------------------------------------------ */
.no-border-radius { border-radius: 0 !important; }
.no-border        { border: none !important; }
.no-margin-bottom { margin-bottom: 0 !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: main banner ------------------------------- */
.custom-case .main-img-container {
  margin-bottom: 60px;
  width: 100%;
}
.custom-case .main-img-container img {
  width: 100%;
}

.custom-case.p .main-img-container-mob {
  margin-bottom: 25px;
  display: none;
}
.custom-case.p .main-img-container-mob img {
  width: 100%;
}

@media screen and (max-width: 575px) {
  .custom-case.p .main-img-container { display: none; }
  .custom-case.p .main-img-container-mob { display: block; }
}

/* --- 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;
}

/* --- video-container ---------------------------------------- */
.custom-case .video-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.custom-case .video-container video {
  width: 100%;
  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%; }

@media screen and (max-width: 991px) {
  .custom-case .img-list,
  .custom-case .img-list-with-cols,
  .custom-case .img-list .img-container,
  .custom-case .img-list-with-cols .img-list-col .img-container {
    margin-bottom: 60px;
  }
}

/* --- 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;
}
.custom-case .dev-row .links-half-block a {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding-left: 22px;
  font-size: 18px;
  color: #000000;
}
.custom-case .dev-row .links-half-block a:last-child { margin-bottom: 0; }
.custom-case .dev-row .links-half-block a::after {
  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;
}
@media (hover) {
  .custom-case .dev-row .links-half-block a:hover::after { transform: rotate(90deg); }
}
@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; }
}

/* --- Gratitude block --------------------------------------- */
.custom-case .gratitude-block {
  margin-bottom: 80px;
  background-color: #f7f7f7;
}
.custom-case .gratitude-block .container {
  padding: 50px 30px;
  min-height: 200px;
}
@media screen and (max-width: 1199px) {
  .custom-case .gratitude-block .container { padding: 58px 15px; }
}
@media screen and (max-width: 767px) {
  .custom-case .gratitude-block { margin-bottom: 50px; }
}
.custom-case .gratitude-row {
  margin-bottom: 0;
}
.custom-case .gratitude-row .content-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.custom-case .gratitude-row .gr-content {
  flex-grow: 1;
}
.custom-case .gratitude-row .content-block .text-block {
  margin: 0 25px;
}
.custom-case .gratitude-row .content-block .text-block p {
  position: relative;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}
.custom-case .gratitude-row .content-block .text-block p::before,
.custom-case .gratitude-row .content-block .text-block p::after {
  position: absolute;
  display: block;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: #000000;
}
.custom-case .gratitude-row .content-block .text-block p::before {
  content: "«";
  top: -8px;
  left: -25px;
}
.custom-case .gratitude-row .content-block .text-block p::after {
  content: "»";
  bottom: 4px;
  right: -25px;
}
.custom-case .gratitude-row .content-block .author {
  margin-left: 25px;
  margin-top: 21px;
  padding-top: 30px;
  border-top: 1px solid rgba(144, 144, 144, 0.25);
}
.custom-case .gratitude-row .content-block .author .name {
  margin-bottom: 3px;
  font-size: 16px;
  color: #000000;
}
.custom-case .gratitude-row .content-block .author .position {
  font-size: 13px;
  color: #909090;
}
@media screen and (max-width: 991px) {
  .custom-case .gratitude-row .content-block { flex-direction: column; }
  .custom-case .gratitude-row .gr-content { margin-right: 0; }
}

/* --- Форма обратной связи ----------------------------------- */
.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;
}
