/* =====================================================
   Модули и приложения Битрикс24 — сводная страница integrator.digital
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap');

:root {
   --purple:       #7048b8;
   --purple-dark:  #593694;
   --accent:       #ffa800;
   --accent-dark:  #e89700;
   --gray-bg:      #f8f8f8;
   --border:       #ededed;
   --text:         #000000;
   --text-muted:   #444444;
   --radius:       10px;
}

/* Все правила через .lk-page, чтобы не конфликтовать с глобальными стилями шаблона Битрикс */
.lk-page {
   font-family: 'Raleway', Arial, sans-serif;
   font-variant-numeric: lining-nums;
   color: var(--text);
   line-height: 1.5;
   -webkit-font-smoothing: antialiased;
}

.lk-page *,
.lk-page *::before,
.lk-page *::after { box-sizing: border-box; }

.lk-page .n-container {
   max-width: 1064px;
   margin: 0 auto;
   padding: 0 20px;
}

.lk-page .graybg { background: var(--gray-bg); }
.lk-page .accent { color: var(--purple); }
.lk-page .muted { color: var(--text-muted); }

.lk-page .eyebrow {
   font-size: 14px;
   font-weight: 700;
   letter-spacing: .08em;
   text-transform: uppercase;
   color: var(--purple);
   margin-bottom: 16px;
}

.lk-page .mb-h2 {
   margin: 0;
   font-size: 40px;
   line-height: 1.15;
   font-weight: 700;
   color: var(--text);
}

/* =====================================================
   КНОПКИ. !important — у шаблона сайта свой глобальный .btn
   ===================================================== */
.lk-page .btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   height: auto !important;
   margin: 0 !important;
   padding: 15px 24px;
   border: 2px solid var(--accent) !important;
   border-radius: 25px;
   font-family: 'Raleway', Arial, sans-serif !important;
   font-size: 16px;
   font-weight: 500;
   line-height: 1 !important;
   text-decoration: none;
   cursor: pointer;
   transition: all .15s ease-out;
}

.lk-page .btn--fill { background: var(--accent); color: #fff !important; }
.lk-page .btn--fill:hover { background: #fff; color: var(--accent) !important; }
.lk-page .btn--purple { background: var(--purple); border-color: var(--purple) !important; color: #fff !important; }
.lk-page .btn--purple:hover { background: #fff; color: var(--purple) !important; }

/* =====================================================
   HERO
   ===================================================== */
.lk-page .mb-hero {
   background: var(--gray-bg);
   padding: 56px 0;
}

.lk-page .mb-hero__wrap {
   display: flex;
   align-items: center;
   gap: 40px;
}

.lk-page .mb-hero__col-left {
   flex: 1 1 460px;
   min-width: 0;
}

.lk-page .mb-hero__col-right {
   flex: 0 1 460px;
   display: flex;
   justify-content: center;
}

.lk-page .mb-hero__img {
   display: block;
   max-width: 100%;
   height: auto;
   /* у PNG белый фон — растворяем его в сером фоне hero */
   mix-blend-mode: multiply;
}

.lk-page .mb-hero__title {
   margin: 0 0 24px;
   font-size: 40px;
   line-height: 50px;
   font-weight: 700;
   color: var(--text);
   text-wrap: pretty;
}

.lk-page .mb-hero__list {
   list-style: none;
   margin: 0 0 28px;
   padding: 0;
}

.lk-page .mb-hero__list li {
   position: relative;
   margin: 0 0 6px;
   padding-left: 25px;
   font-size: 18px;
   line-height: 27px;
   font-weight: 500;
}

.lk-page .mb-hero__list li::before {
   content: "";
   position: absolute;
   left: 10px;
   top: 12px;
   width: 4px;
   height: 4px;
   border-radius: 50%;
   background: var(--text);
}

.lk-page .mb-hero__btns {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
}

/* =====================================================
   КТО МЫ
   ===================================================== */
.lk-page .mb-about { padding: 72px 0 24px; }

.lk-page .mb-about__wrap {
   display: grid;
   grid-template-columns: max-content minmax(0, 720px);
   gap: 64px;
   align-items: start;
}

.lk-page .mb-about__text p {
   margin: 0 0 16px;
   font-size: 18px;
   line-height: 27px;
   font-weight: 500;
   text-wrap: pretty;
}

.lk-page .mb-about__text p:last-child { margin-bottom: 0; }

/* =====================================================
   КАТАЛОГ
   ===================================================== */
.lk-page .mb-catalog { padding: 48px 0 96px; }

.lk-page .mb-catalog__head {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 20px;
   margin-bottom: 32px;
   padding-bottom: 20px;
   border-bottom: 1px solid #ccc;
}

.lk-page .mb-tabs {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
}

.lk-page .mb-tabs__btn {
   margin: 0;
   padding: 10px 18px;
   border: 2px solid var(--border);
   border-radius: 25px;
   background: #fff;
   color: var(--text);
   font: 600 14px/1.2 'Raleway', Arial, sans-serif;
   cursor: pointer;
   transition: all .15s ease-out;
}

.lk-page .mb-tabs__btn span { opacity: .6; margin-left: 4px; }
.lk-page .mb-tabs__btn:hover { border-color: var(--purple); }

.lk-page .mb-tabs__btn.is-active {
   border-color: var(--purple);
   background: var(--purple);
   color: #fff;
}

.lk-page .mb-group { margin-bottom: 48px; }
.lk-page .mb-group:last-child { margin-bottom: 0; }
.lk-page .mb-group[hidden] { display: none; }

.lk-page .mb-group__head {
   display: flex;
   align-items: baseline;
   flex-wrap: wrap;
   gap: 4px 12px;
   margin-bottom: 20px;
}

.lk-page .mb-group__title {
   margin: 0;
   font-size: 18px;
   line-height: 21px;
   font-weight: 800;
   text-transform: uppercase;
   color: var(--purple);
}

.lk-page .mb-group__note {
   font-size: 14px;
   font-weight: 500;
   color: #666;
}

.lk-page .mb-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
   gap: 20px;
}

.lk-page .mb-card {
   display: flex;
   flex-direction: column;
   gap: 10px;
   padding: 26px 26px 22px;
   border: 1px solid var(--border);
   border-radius: var(--radius);
   background: #fff;
   color: var(--text);
   text-decoration: none;
   transition: border-color .15s ease-out, box-shadow .15s ease-out;
}

.lk-page .mb-card:hover {
   border-color: var(--purple);
   box-shadow: 0 12px 30px rgba(98, 63, 162, .12);
}

.lk-page .mb-card__name {
   font-size: 18px;
   line-height: 24px;
   font-weight: 700;
   color: var(--purple);
   text-wrap: pretty;
}

.lk-page .mb-card__desc {
   flex: 1;
   font-size: 15px;
   line-height: 22px;
   font-weight: 500;
   color: #333;
   text-wrap: pretty;
}

.lk-page .mb-card__more {
   font-size: 14px;
   font-weight: 600;
   color: var(--accent);
}

/* =====================================================
   CTA + ФОРМА (/local/lead-form/)
   ===================================================== */
.lk-page .lk-cta { padding: 64px 0; }

.lk-page .lk-cta__wrap {
   display: grid;
   gap: 40px;
}

.lk-page .lk-cta__title {
   margin: 0 0 12px;
   font-size: 32px;
   line-height: 40px;
   font-weight: 700;
   color: var(--text);
}

.lk-page .lk-cta__text {
   margin: 0;
   font-size: 18px;
   line-height: 27px;
   font-weight: 500;
   color: var(--text-muted);
}

.lk-page .lk-cta__form {
   background: #fff;
   border-radius: 16px;
   padding: 32px;
   box-shadow: 0 20px 50px rgba(49, 15, 80, .1);
}

/* =====================================================
   ОТЗЫВЫ — блок сайта /local/include/btx_reviews.php
   ===================================================== */
.lk-page .lk-results { padding: 72px 0 80px; }
.lk-page .section-head { margin-bottom: 24px; }

.lk-page .section-head__title {
   margin: 0;
   font-size: 40px;
   line-height: 1.15;
   font-weight: 700;
   color: var(--text);
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */
@media (min-width: 900px) {
   .lk-page .lk-cta__wrap {
      grid-template-columns: 1fr 1fr;
      align-items: center;
   }
}

@media (max-width: 900px) {
   .lk-page .mb-hero__wrap { flex-direction: column; align-items: stretch; }
   .lk-page .mb-hero__col-left,
   .lk-page .mb-hero__col-right { flex: 0 0 auto; }
   .lk-page .mb-hero__img { max-width: 420px; margin: 0 auto; }
   .lk-page .mb-about__wrap { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 767px) {
   .lk-page .mb-hero { padding: 40px 0; }
   .lk-page .mb-hero__title { font-size: 28px; line-height: 36px; }
   .lk-page .mb-hero__list li { font-size: 16px; line-height: 24px; }
   .lk-page .mb-hero__btns { flex-direction: column; align-items: stretch; }
   .lk-page .mb-h2 { font-size: 28px; }
   .lk-page .mb-about { padding: 48px 0 16px; }
   .lk-page .mb-catalog { padding: 32px 0 64px; }
   .lk-page .mb-grid { grid-template-columns: 1fr; }
   .lk-page .mb-card { padding: 22px; }
   .lk-page .lk-cta { padding: 48px 0; }
   .lk-page .lk-results { padding: 48px 0 56px; }
   .lk-page .section-head__title { font-size: 28px; }
   .lk-page .lk-cta__title { font-size: 24px; line-height: 32px; }
   .lk-page .lk-cta__text { font-size: 16px; line-height: 24px; }
   .lk-page .lk-cta__form { padding: 22px; }
}
