
/* =====================================================
   Календарь бронирования выездов мастеров бытовой техники
   ===================================================== */

/* ---- Базовые переменные дизайна (как в KTalk) ---- */
:root {
   --purple:       #2f6feb;
   --purple-dark:  #1f52b8;
   --purple-light: #5c8ff2;
   --purple-pale:  #eaf1ff;
   --gray-bg:      #f7f7f7;
   --text:         #1a1a2e;
   --text-muted:   #5c5c7a;
   --white:        #ffffff;
   --green:        #039f00;
   --red:          #c0392b;
   --radius:       12px;
   --shadow:       0 10px 40px rgba(47, 111, 235, 0.12);
}

/* Обёртка лендинга. Все правила пишем через .lk-page,
   чтобы не конфликтовать с глобальными стилями шаблона Битрикс */
.lk-page {
   font-family: 'Open Sans', 'Roboto', Arial, sans-serif;
   color: var(--text);
   line-height: 1.6;
}

.lk-page .n-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 24px;
   box-sizing: border-box;
}

.lk-page .graybg { background: var(--gray-bg); }

/* =====================================================
   КНОПКИ — единый стиль
   ===================================================== */
.lk-page .btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 14px 28px;
   border-radius: 8px;
   font-size: 15px;
   font-weight: 700;
   text-decoration: none;
   cursor: pointer;
   border: 2px solid var(--purple);
   transition: all 0.25s ease;
   box-sizing: border-box;
   line-height: 1;
}

.lk-page .btn--fill {
   background: var(--purple);
   color: #fff !important;
   box-shadow: 0 6px 20px rgba(47, 111, 235, 0.35);
}

.lk-page .btn--fill:hover {
   background: var(--purple-dark);
   color: #fff !important;
   box-shadow: 0 8px 28px rgba(47, 111, 235, 0.45);
   transform: translateY(-1px);
}

.lk-page .btn--outline {
   background: transparent;
   color: var(--purple) !important;
}

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

.lk-page .btn--block {
   width: 100%;
   display: flex;
}

/* =====================================================
   HERO — в стиле (градиент, пилюля, бейджи)
   ===================================================== */
.lk-page .lk-hero {
   background: linear-gradient(135deg, #f5f8ff 0%, #eef3fd 50%, #e4ecfb 100%);
   padding: 60px 0 70px;
   overflow: hidden;
}

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

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

.lk-page .lk-hero__col-right {
   flex: 0 0 33.333%;
   min-width: 0;
}

/* Пилюля-подзаголовок над H1 */
.lk-page .eyebrow {
   font-size: 12px;
   font-weight: 700;
   letter-spacing: 2px;
   text-transform: uppercase;
   color: var(--purple);
   background: var(--purple-pale);
   border-radius: 20px;
   padding: 6px 14px;
   display: inline-flex;
   align-items: center;
   gap: 8px;
   margin-bottom: 18px;
   line-height: 1.4;
}

.lk-page .lk-hero__title {
   font-size: clamp(24px, 3vw, 36px);
   font-weight: 800;
   line-height: 1.15;
   color: var(--text);
   margin: 0 0 20px;
}

.lk-page .lk-hero__desc {
   font-size: 16px;
   line-height: 1.7;
   color: var(--text-muted);
   margin: 0 0 30px;
}

.lk-page .lk-hero__desc strong {
   color: var(--purple);
   font-weight: 600;
}

.lk-page .lk-hero__btns {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
   margin-bottom: 28px;
}

.lk-page .lk-hero__badges {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
   gap: 10px 12px;
}

.lk-page .lk-hero__badge {
   display: flex;
   align-items: center;
   gap: 7px;
   min-width: 0;
   font-size: 12px;
   font-weight: 600;
   line-height: 1.35;
   color: var(--purple);
   background: var(--purple-pale);
   border: 1px solid rgba(47, 111, 235, 0.2);
   padding: 6px 12px;
   border-radius: 20px;
   box-sizing: border-box;
}

.lk-page .lk-hero__badge .icon { flex-shrink: 0; }

/* Скриншот в правой колонке hero */
.lk-page .lk-hero .lk-zoom {
   box-shadow: 0 24px 60px rgba(47, 111, 235, 0.25);
}

.lk-page .lk-hero__shot-tag {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   margin-top: 14px;
   font-size: 13px;
   font-weight: 600;
   color: var(--text-muted);
}

/* =====================================================
   ОБЩИЕ БЛОКИ СЕКЦИЙ
   ===================================================== */
.lk-page .lk-pains,
.lk-page .lk-architecture,
.lk-page .lk-features,
.lk-page .lk-automation,
.lk-page .lk-results,
.lk-page .lk-why,
.lk-page .lk-stages,
.lk-page .lk-case,
.lk-page .lk-faq,
.lk-page .lk-cta {
   padding: 70px 0;
}

/* Заголовочная часть секции (eyebrow + заголовок + подзаголовок) */
.lk-page .section-head {
   text-align: center;
   max-width: 900px;
   margin: 0 auto 48px;
}

.lk-page .section-head__title {
   font-size: 30px;
   font-weight: 800;
   line-height: 1.25;
   color: var(--text);
   margin: 0 0 14px;
}

.lk-page .section-head__subtitle {
   font-size: 16px;
   line-height: 1.7;
   color: var(--text-muted);
   margin: 0;
}

/* Подписи к скриншотам */
.lk-page .lk-figure {
   margin: 0;
   text-align: center;
}

.lk-page .lk-figure figcaption {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   margin-top: 12px;
   font-size: 13px;
   font-weight: 600;
   color: var(--text-muted);
}

/* =====================================================
   ZOOM (клик по скриншоту -> лайтбокс)
   ===================================================== */
.lk-page .lk-zoom {
   position: relative;
   cursor: zoom-in;
   overflow: hidden;
   line-height: 0;
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   background: var(--white);
}

.lk-page .lk-zoom img {
   display: block;
   width: 100%;
   height: auto;
   transition: transform 0.35s ease;
}

.lk-page .lk-zoom:hover img { transform: scale(1.03); }

.lk-page .lk-zoom__hint {
   position: absolute;
   right: 14px;
   bottom: 14px;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background: rgba(26, 26, 46, 0.62);
   color: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transform: translateY(6px);
   transition: opacity 0.2s ease, transform 0.2s ease;
   pointer-events: none;
}

.lk-page .lk-zoom:hover .lk-zoom__hint {
   opacity: 1;
   transform: translateY(0);
}

/* =====================================================
   LIGHTBOX — модалка увеличения скриншотов
   ===================================================== */
.lk-page .lk-lightbox {
   position: fixed;
   inset: 0;
   z-index: 3000;
   display: none;
   align-items: center;
   justify-content: center;
   padding: 40px;
   background: rgba(14, 10, 28, 0.86);
   backdrop-filter: blur(2px);
}

.lk-page .lk-lightbox.is-open { display: flex; }

.lk-page .lk-lightbox__img {
   max-width: min(1200px, 92vw);
   max-height: 90vh;
   width: auto;
   height: auto;
   display: block;
   border-radius: 12px;
   box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
   -webkit-user-select: none;
   user-select: none;
}

.lk-page .lk-lightbox__close {
   position: absolute;
   top: 24px;
   right: 28px;
   width: 44px;
   height: 44px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.12);
   border: none;
   color: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: background 0.2s ease;
}

.lk-page .lk-lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }

/* =====================================================
   ВКЛАДКИ
   ===================================================== */
.lk-page .tabs__nav {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 28px;
}

.lk-page .tabs__nav-btn {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   background: var(--purple-pale);
   color: var(--purple);
   border: 1px solid rgba(47, 111, 235, 0.2);
   border-radius: 20px;
   padding: 10px 18px;
   font-size: 14px;
   font-weight: 700;
   font-family: inherit;
   cursor: pointer;
   transition: all 0.25s ease;
}

.lk-page .tabs__nav-btn:hover { background: #dde8fd; }

.lk-page .tabs__nav-btn.is-active {
   background: var(--purple);
   color: #fff;
   box-shadow: 0 6px 20px rgba(47, 111, 235, 0.3);
}

.lk-page .tabs__panel { display: none; }
.lk-page .tabs__panel.is-active { display: block; }

/* Вертикальные вкладки (блок «Боли бизнеса») */
.lk-page .tabs--vertical {
   display: grid;
   grid-template-columns: 280px 1fr;
   gap: 28px;
   align-items: start;
}

.lk-page .tabs--vertical .tabs__nav {
   flex-direction: column;
   margin-bottom: 0;
}

.lk-page .tabs--vertical .tabs__nav-btn {
   justify-content: flex-start;
   border-radius: 10px;
   padding: 14px 18px;
   width: 100%;
   text-align: left;
}

/* =====================================================
   СРАВНЕНИЕ «БЫЛО / СТАЛО»
   ===================================================== */
.lk-page .lk-compare {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 24px;
   margin-bottom: 24px;
}

.lk-page .lk-compare__col {
   border-radius: var(--radius);
   overflow: hidden;
   box-shadow: var(--shadow);
}

.lk-page .lk-compare__label {
   padding: 18px 24px;
   font-size: 16px;
   font-weight: 800;
   display: flex;
   align-items: center;
   gap: 10px;
}

.lk-page .lk-compare__col.bad .lk-compare__label  { background: #fff0f0; color: var(--red); }
.lk-page .lk-compare__col.good .lk-compare__label { background: #e6fbe6; color: var(--green); }

.lk-page .lk-compare__col p {
   background: var(--white);
   margin: 0;
   padding: 20px 24px;
   font-size: 15px;
   line-height: 1.7;
   color: var(--text-muted);
}

/* Плашка «Результат» под сравнением */
.lk-page .lk-result-tag {
   display: flex;
   align-items: flex-start;
   gap: 10px;
   background: var(--purple-pale);
   border-left: 4px solid var(--purple);
   border-radius: 0 var(--radius) var(--radius) 0;
   padding: 16px 24px;
   font-size: 15px;
   font-weight: 600;
   line-height: 1.6;
   color: var(--text);
}

.lk-page .lk-result-tag .icon {
   color: var(--purple);
   flex-shrink: 0;
   margin-top: 2px;
}

/* =====================================================
   СТЕППЕР «АРХИТЕКТУРА» — шаги
   ===================================================== */
.lk-page .stepper {
   display: flex;
   flex-direction: column;
   max-width: 820px;
   margin: 0 auto;
}

.lk-page .stepper__item {
   display: flex;
   gap: 24px;
   align-items: stretch;
}

.lk-page .stepper__marker {
   display: flex;
   flex-direction: column;
   align-items: center;
   flex-shrink: 0;
}

.lk-page .stepper__num {
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background: var(--purple-pale);
   color: var(--purple);
   border: 1px solid rgba(47, 111, 235, 0.2);
   display: flex;
   align-items: center;
   justify-content: center;
}

.lk-page .stepper__line {
   flex: 1;
   width: 2px;
   background: rgba(47, 111, 235, 0.2);
   margin: 6px 0;
}

.lk-page .stepper__item:last-child .stepper__line { display: none; }

.lk-page .stepper__content {
   flex: 1;
   min-width: 0;
   background: var(--white);
   border-radius: var(--radius);
   padding: 28px 32px;
   box-shadow: var(--shadow);
   border-left: 5px solid var(--purple);
   margin-bottom: 20px;
}

.lk-page .stepper__title {
   font-size: 19px;
   font-weight: 800;
   line-height: 1.3;
   color: var(--text);
   margin: 0 0 12px;
}

.lk-page .stepper__content p {
   font-size: 15px;
   line-height: 1.7;
   color: var(--text-muted);
   margin: 0;
}

/* =====================================================
   ФУНКЦИОНАЛ — блоки с иконкой и списком карточек
   ===================================================== */
.lk-page .lk-feature-block { margin-bottom: 48px; }

.lk-page .lk-feature-block:last-child { margin-bottom: 0; }

.lk-page .lk-feature-block__head {
   display: flex;
   gap: 16px;
   align-items: flex-start;
   margin-bottom: 28px;
}

.lk-page .lk-feature-block__icon {
   flex-shrink: 0;
   width: 56px;
   height: 56px;
   border-radius: 14px;
   background: var(--purple-pale);
   color: var(--purple);
   display: flex;
   align-items: center;
   justify-content: center;
}

.lk-page .lk-feature-block__title {
   font-size: 24px;
   font-weight: 800;
   line-height: 1.3;
   color: var(--text);
   margin: 0 0 6px;
}

.lk-page .lk-feature-block__desc {
   font-size: 15px;
   line-height: 1.6;
   color: var(--text-muted);
   margin: 0;
}

/* Сетка карточек функционала */
.lk-page .lk-feature-list {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
}

.lk-page .lk-feature-list--triple {
   grid-template-columns: repeat(3, 1fr);
}

.lk-page .lk-feature-item {
   background: var(--white);
   border-radius: var(--radius);
   padding: 24px;
   box-shadow: var(--shadow);
   display: flex;
   gap: 16px;
   transition: transform 0.25s, box-shadow 0.25s;
   border-bottom: 4px solid var(--purple);
}

.lk-page .lk-feature-item:hover {
   transform: translateY(-4px);
   box-shadow: 0 16px 50px rgba(47, 111, 235, 0.18);
}

.lk-page .lk-feature-item strong {
   font-size: 16px;
   font-weight: 800;
   line-height: 1.3;
   color: var(--text);
   display: block;
   margin-bottom: 8px;
}

.lk-page .lk-feature-item p {
   font-size: 14px;
   line-height: 1.65;
   color: var(--text-muted);
   margin: 0;
}

.lk-page .icon-wrap {
   flex-shrink: 0;
   width: 40px;
   height: 40px;
   border-radius: 10px;
   background: var(--purple-pale);
   color: var(--purple);
   display: flex;
   align-items: center;
   justify-content: center;
}

/* =====================================================
   ИЗМЕРИМЫЕ РЕЗУЛЬТАТЫ — сетка карточек-метрик
   ===================================================== */
.lk-page .stat-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
}

.lk-page .stat-card {
   background: var(--white);
   border-radius: var(--radius);
   padding: 24px;
   box-shadow: var(--shadow);
   display: grid;
   gap: 12px;
   transition: transform 0.25s, box-shadow 0.25s;
   border-bottom: 4px solid var(--purple);
}

.lk-page .stat-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 16px 50px rgba(47, 111, 235, 0.18);
}

.lk-page .stat-card strong {
   font-size: 15px;
   font-weight: 800;
   line-height: 1.3;
   color: var(--text);
}

.lk-page .stat-card p {
   font-size: 14px;
   line-height: 1.6;
   color: var(--text-muted);
   margin: 0;
}

/* =====================================================
   АККОРДЕОН
   ===================================================== */
.lk-page .accordion__item {
   background: var(--white);
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   margin-bottom: 16px;
   overflow: hidden;
}

.lk-page .accordion__header {
   width: 100%;
   display: flex;
   align-items: center;
   gap: 14px;
   background: none;
   border: none;
   padding: 20px 24px;
   cursor: pointer;
   text-align: left;
   font-family: inherit;
}

.lk-page .accordion__num {
   flex-shrink: 0;
   width: 34px;
   height: 34px;
   border-radius: 50%;
   background: var(--purple-pale);
   color: var(--purple);
   font-size: 14px;
   font-weight: 800;
   display: flex;
   align-items: center;
   justify-content: center;
}

.lk-page .accordion__header-text {
   flex: 1;
   font-size: 16px;
   font-weight: 700;
   line-height: 1.4;
   color: var(--text);
}

.lk-page .accordion__chevron {
   flex-shrink: 0;
   color: var(--purple-light);
   transition: transform 0.3s ease;
}

.lk-page .accordion__item.is-open .accordion__chevron { transform: rotate(180deg); }

.lk-page .accordion__body {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.35s ease;
}

.lk-page .accordion__body-inner {
   padding: 0 24px 22px 72px;
   font-size: 15px;
   line-height: 1.7;
   color: var(--text-muted);
}

.lk-page .accordion__body-inner p { margin: 0 0 10px; }
.lk-page .accordion__body-inner p:last-child { margin-bottom: 0; }

.lk-page .accordion__body-inner ul {
   margin: 0;
   padding-left: 18px;
   display: flex;
   flex-direction: column;
   gap: 8px;
}

.lk-page .accordion__body-inner li::marker { color: var(--purple); }

/* =====================================================
   КЕЙС
   ===================================================== */
.lk-page .case-intro {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 40px;
   align-items: start;
   margin-bottom: 48px;
}

.lk-page .case-problem-list {
   list-style: none;
   margin: 20px 0 0;
   padding: 0;
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.lk-page .case-problem-list li {
   display: flex;
   gap: 10px;
   font-size: 15px;
   line-height: 1.6;
   color: var(--text-muted);
}

.lk-page .case-problem-list li .icon {
   color: var(--red);
   flex-shrink: 0;
   margin-top: 3px;
}

.lk-page .case-results {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 16px;
}

.lk-page .case-result-card {
   background: var(--white);
   border-radius: var(--radius);
   padding: 22px;
   box-shadow: var(--shadow);
   display: flex;
   gap: 12px;
   align-items: flex-start;
}

.lk-page .case-result-card .icon {
   color: var(--purple);
   flex-shrink: 0;
   margin-top: 2px;
}

.lk-page .case-result-card p {
   font-size: 14px;
   line-height: 1.55;
   color: var(--text-muted);
   margin: 0;
}

.lk-page .case-result-card p strong { color: var(--text); }

/* =====================================================
   ФИНАЛЬНЫЙ ПРИЗЫВ К ДЕЙСТВИЮ + ФОРМА
   ===================================================== */
.lk-page .lk-cta__wrap {
   display: grid;
   gap: 44px;
}

.lk-page .lk-cta__title {
   font-size: clamp(22px, 2.6vw, 28px);
   font-weight: 800;
   line-height: 1.3;
   color: var(--text);
   margin: 0 0 16px;
}

.lk-page .lk-cta__text {
   font-size: 16px;
   line-height: 1.7;
   color: var(--text-muted);
   margin: 0;
}

.lk-page .lk-cta__form {
   background: var(--white);
   border-radius: var(--radius);
   padding: 32px;
   box-shadow: var(--shadow);
}

.lk-page .lk-cta__field {
   display: flex;
   flex-direction: column;
   gap: 6px;
   margin-bottom: 16px;
}

.lk-page .lk-cta__field label {
   font-size: 13px;
   font-weight: 700;
   color: var(--text-muted);
}

.lk-page .lk-cta__field input,
.lk-page .lk-cta__field textarea {
   border: 1px solid #d0cfe0;
   border-radius: 8px;
   padding: 13px 14px;
   font-size: 15px;
   color: var(--text);
   outline: none;
   transition: border-color 0.2s;
   width: 100%;
   font-family: inherit;
   resize: vertical;
   box-sizing: border-box;
}

.lk-page .lk-cta__field input:focus,
.lk-page .lk-cta__field textarea:focus { border-color: var(--purple); }

.lk-page .lk-cta__field input.error,
.lk-page .lk-cta__field textarea.error { border-color: var(--red); }

.lk-page .lk-cta__agree {
   display: flex;
   gap: 10px;
   align-items: flex-start;
   font-size: 12.5px;
   line-height: 1.5;
   color: var(--text-muted);
   margin-bottom: 18px;
   cursor: pointer;
}

.lk-page .lk-cta__agree input { margin-top: 3px; flex-shrink: 0; }
.lk-page .lk-cta__agree a { color: var(--purple); }

.lk-page .lk-cta__result {
   margin-top: 14px;
   font-size: 14px;
   font-weight: 600;
   text-align: center;
}

.lk-page .lk-cta__result--ok    { color: var(--green); }
.lk-page .lk-cta__result--error { color: var(--red); }

/* =====================================================
   ПОЯВЛЕНИЕ ЭЛЕМЕНТОВ ПРИ ПРОКРУТКЕ
   ===================================================== */
.lk-page .fade-on-scroll {
   opacity: 0;
   transform: translateY(24px);
   transition: opacity 0.55s ease, transform 0.55s ease;
}

.lk-page .fade-on-scroll.is-visible {
   opacity: 1;
   transform: translateY(0);
}

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

@media (max-width: 1024px) {
   .lk-page .lk-hero__wrap { gap: 40px; }
   .lk-page .lk-hero__col-right { flex-basis: 38%; }
   .lk-page .stat-grid,
   .lk-page .case-results { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
   .lk-page .lk-hero__wrap { flex-direction: column; }
   .lk-page .lk-hero__col-right { width: 100%; flex: 0 0 auto; }
   .lk-page .lk-compare,
   .lk-page .case-intro { grid-template-columns: 1fr; }
   .lk-page .lk-feature-list { grid-template-columns: 1fr; }
   .lk-page .tabs--vertical { grid-template-columns: 1fr; }
   .lk-page .tabs--vertical .tabs__nav { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 767px) {
   .lk-page .section-head__title { font-size: 22px; }
   .lk-page .lk-hero__title { font-size: 26px; }
   .lk-page .lk-hero__btns { flex-direction: column; align-items: stretch; }
   .lk-page .lk-hero__col-right { order: -1; max-width: 320px; margin: 0 auto; }
   .lk-page .stat-grid,
   .lk-page .case-results { grid-template-columns: 1fr; }
   .lk-page .lk-cta__form { padding: 22px; }
   .lk-page .stepper__content { padding: 22px; }
   .lk-page .stepper__item { gap: 16px; }
   .lk-page .accordion__body-inner { padding-left: 24px; }
   .lk-page .lk-lightbox { padding: 16px; }
   .lk-page .lk-lightbox__close { top: 12px; right: 12px; }
}
