/* KTK Service T2 — scoped overrides for Bitrix (loads after legacy ktk/main.css) */
:root {
  /* Brand */
  --ktk-navy: #042356;
  --ktk-navy-dark: #02142f;
  --ktk-navy-stats: #1a3578;
  --ktk-orange: #e66003;
  --ktk-orange-hover: #cf5703;
  --ktk-dark: #061713;

  /* Neutrals */
  --ktk-white: #ffffff;
  --ktk-gray-bg: #eef1f5;
  --ktk-gray-bg-alt: #f8f8f8;
  --ktk-gray-text: #4b4b4b;
  --ktk-gray-border: #dbdbdb;
  --ktk-gray-muted: rgba(255, 255, 255, 0.5);
  --ktk-text-light: #f5f5f5;

  /* Overlays */
  --ktk-header-glass: rgba(2, 20, 47, 0.2);
  --ktk-divider: rgba(75, 75, 75, 0.4);

  /* Radius */
  --ktk-radius-pill: 30px;
  --ktk-radius-card: 16px;
  --ktk-radius-input: 12px;
  --ktk-radius-tab: 14px;
  --ktk-radius-stats: 36px;

  /* Shadow */
  --ktk-shadow-card: 0 6px 3px rgba(0, 0, 0, 0.15);

  /* Layout */
  --ktk-container-max: 1920px;
  --ktk-content-width: 1600px;
  --ktk-gutter: 160px;
  --ktk-section-pt: 60px;
  --ktk-section-pb: 60px;
  --ktk-full-bleed-inset: 36px;

  /* Typography */
  --ktk-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Legacy aliases (старые классы .btn, .card, sidebar) */
  --ktk-green: var(--ktk-navy);
  --ktk-green-dark: var(--ktk-navy-dark);
  --ktk-text: var(--ktk-navy-dark);
  --ktk-muted: var(--ktk-gray-text);
  --ktk-border: var(--ktk-gray-border);
  --ktk-bg-alt: var(--ktk-gray-bg);
  --container: var(--ktk-content-width);
  --sidebar: 512px;
}

.service-page {
  background: var(--ktk-white);
  font-family: var(--ktk-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ktk-navy-dark);
}

.service-page .container-main{
  width: 100%;
  max-width: var(--ktk-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ktk-gutter);
  padding-right: var(--ktk-gutter);
  box-sizing: border-box;
}

.service-page .container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.service-page .section{
  padding-top: var(--ktk-section-pt);
  padding-bottom: var(--ktk-section-pb);
}

.service-page .section--alt{ background: var(--ktk-gray-bg); }

.service-page .section--gray-alt{ background: var(--ktk-gray-bg-alt); }

.service-page .title-hero{
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ktk-navy);
}

.service-page .title-hero--light{ color: var(--ktk-white); }

.service-page .title-section{
  font-size: 48px;
  font-weight: 700;
  line-height: 1.04;
  color: var(--ktk-navy);
}

.service-page .title-section--sm{
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ktk-navy);
}

.service-page .title-card{
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: var(--ktk-navy);
}

.service-page .title-block{
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ktk-navy);
}

.service-page .descr-lead{
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ktk-navy-dark);
}

.service-page .descr-lead strong,
.service-page .descr-lead b{ font-weight: 600; }

.service-page .descr-section{
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ktk-navy-dark);
}

.service-page .text-body-l{
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ktk-navy-dark);
}

.service-page .text-body{
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ktk-navy-dark);
}

.service-page .text-body-s{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ktk-gray-text);
}

.service-page .text-legal{
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--ktk-dark);
}

.service-page .brand-name{
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ktk-white);
}

.service-page .brand-tagline{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ktk-text-light);
}

.service-page .stat-value{
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ktk-navy-stats);
}

.service-page .stat-label{
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ktk-gray-text);
}

.service-page .btn-main{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 20px 32px;
  border: 2px solid var(--ktk-orange);
  border-radius: var(--ktk-radius-pill);
  background: var(--ktk-orange);
  color: var(--ktk-white);
  font-family: var(--ktk-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  transition:
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-page .btn-main:hover{
  background: var(--ktk-orange-hover);
  border-color: var(--ktk-orange-hover);
  color: var(--ktk-white);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(230, 96, 3, 0.32);
}

.service-page .btn-main:active{ transform: scale(0.98); }

.service-page .btn-main:focus-visible{
  outline: 2px solid var(--ktk-navy);
  outline-offset: 2px;
}

.service-page .btn-main:disabled,
.service-page .btn-main.is-disabled{
  opacity: 0.5;
  pointer-events: none;
}

.service-page .btn-main--phone{
  min-height: 50px;
  padding: 15px 18px;
}

.service-page .btn-main--outline{
  background: transparent;
  border-color: var(--ktk-navy);
  color: var(--ktk-navy);
}

.service-page .btn-main--outline:hover{
  background: rgba(4, 35, 86, 0.06);
  border-color: var(--ktk-navy);
  color: var(--ktk-navy);
  box-shadow: 0 8px 22px rgba(4, 35, 86, 0.14);
}

.service-page .btn-main--outline-light{
  background: transparent;
  border-color: var(--ktk-white);
  color: var(--ktk-white);
}

.service-page .btn-main--outline-light:hover{
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--ktk-white);
  color: var(--ktk-white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.service-page .link-page{
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ktk-navy-stats);
  color: var(--ktk-navy-stats);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.service-page .link-page:hover{
  color: var(--ktk-navy-stats);
}

.service-page .stats-bar{
  padding: 37px 0;
  background: var(--ktk-gray-bg);
  border-radius: 0 0 var(--ktk-radius-stats) var(--ktk-radius-stats);
}

.service-page .stats-bar__row{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.service-page .stats-bar__item{
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 28px;
  border-left: 1px solid var(--ktk-divider);
  text-align: center;
}

.service-page .stats-bar__item:first-child{
  padding-left: 0;
  border-left: none;
}

.service-page .stats-bar__item .stat-value,
.service-page .stats-bar__item .stat-label{
  display: block;
}

.service-page .stats-bar__item .stat-value{ margin-bottom: 10px; }

/* Формы: css/ktk-forms.css */

.service-page .item-form{ margin-bottom: 12px; }

.service-page .item-form input,
.service-page .item-form textarea{
  width: 100%;
  padding: 16px;
  border: 1px solid var(--ktk-gray-border);
  border-radius: var(--ktk-radius-input);
  background: var(--ktk-white);
  color: var(--ktk-navy-dark);
  font-family: var(--ktk-font);
  font-size: 14px;
  line-height: 32px;
}

.service-page .item-form textarea{
  min-height: 102px;
  line-height: 1.6;
  resize: vertical;
}

.service-page .item-form input:focus,
.service-page .item-form textarea:focus{
  outline: 2px solid var(--ktk-navy);
  outline-offset: 0;
  border-color: var(--ktk-navy);
}

.service-page .item-audience{
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--ktk-radius-card);
  background: var(--ktk-white);
  box-shadow: var(--ktk-shadow-card);
}

.service-page .list-chevron{
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-page .list-chevron__icon{
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.service-page .list-chevron__text{
  flex: 1;
  font-size: 16px;
}

.service-page .equipment-intro .col-lg-10,
.service-page .docs-intro .col-lg-10 {
  flex: 0 0 100%;
  max-width: 100%;
}

.service-page .equipment-intro__content{
  max-width: none;
}

.service-page .equipment-intro__content .text-body{
  margin-bottom: 16px;
}

.service-page .equipment-intro__content .text-body:last-child{
  margin-bottom: 0;
}

.service-page .equipment-intro__content p{
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.7;
}

.service-page .equipment-intro__content p:last-child{
  margin-bottom: 0;
}

.service-page .equipment-intro__content a{
  color: var(--ktk-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-page .equipment-intro__content a:hover{
  color: var(--ktk-orange);
}

.service-page .equipment-intro .head-section .title-section{
  max-width: none;
  line-height: 1.2;
}

.service-page .equipment-intro__lead{
  font-size: 20px;
  color: var(--ktk-navy-dark);
  font-weight: 600;
  line-height: 1.6;
}

.service-page .inner-hero{
  padding: 48px 0 60px;
  background: linear-gradient(135deg, var(--ktk-navy-dark) 0%, var(--ktk-navy) 100%);
  color: var(--ktk-white);
}

.service-page .tekhnika-page .inner-hero,
.service-page .sertifikaty-page .inner-hero,
.service-page .inner-hero{
  position: relative;
  padding: 200px 0 96px;
}

.service-page .tekhnika-page .inner-hero{
  background: var(--ktk-navy) url("../img/tekhnika/tekhnika-hero.jpg") center center / cover no-repeat;
}

.service-page .inner-hero .breadcrumbs{
  padding: 0 0 32px;
  color: rgba(255, 255, 255, 0.65);
}

.service-page .inner-hero .breadcrumbs a{
  color: rgba(255, 255, 255, 0.85);
}

.service-page .inner-hero .breadcrumbs a:hover{
  color: var(--ktk-white);
}

.service-page .inner-hero .breadcrumbs__current{
  color: var(--ktk-white);
}

.service-page .tekhnika-page .inner-hero::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(2, 20, 47, 0.9) 0%, rgba(2, 20, 47, 0.72) 42%, rgba(2, 20, 47, 0.35) 100%);
}

.service-page .tekhnika-page .inner-hero .container-main{
  position: relative;
  z-index: 1;
}

.service-page .inner-hero .title-hero{
  margin-bottom: 24px;
  color: var(--ktk-white);
}

.service-page .inner-hero .descr-lead{
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--ktk-text-light);
}

.service-page .inner-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Head section */
.service-page .head-section{
  margin-bottom: 40px;
}

.service-page .head-section .title-section{
  margin-bottom: 16px;
}

.service-page .head-section .descr-section{
  max-width: 720px;
}

/* Equipment cards */
.service-page .item-equipment{
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--ktk-radius-card);
  background: var(--ktk-white);
  box-shadow: var(--ktk-shadow-card);
  text-decoration: none;
  color: inherit;
}

.service-page .item-equipment:hover{
  text-decoration: none;
  color: inherit;
}

.service-page .item-equipment__media{
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-page .item-equipment__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-page .item-equipment__arrow{
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ktk-orange);
  border-radius: 10px;
  background: var(--ktk-white);
  color: var(--ktk-orange);
  font-size: 18px;
  line-height: 1;
}

.service-page .item-equipment__body{
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-page .item-equipment__title{
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ktk-navy);
}

.service-page .item-equipment__text{
  flex: 1;
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ktk-navy-dark);
}

.service-page .item-equipment .link-page{
  align-self: flex-start;
  margin-top: 16px;
}

.service-page .item-equipment--plain .item-equipment__media{
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ktk-gray-bg);
  color: var(--ktk-navy-stats);
  font-size: 32px;
  font-weight: 700;
}

.service-page .item-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  padding: 20px;
  text-align: left;
  border-radius: var(--ktk-radius-card);
  background: var(--ktk-gray-bg);
}

.service-page .item-step__body {
  width: 100%;
  text-align: left;
}

.service-page .tekhnika-benefits .item-step{
  height: 100%;
}

/* CTA section */
.service-page .cta-section{
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--ktk-navy-dark) 0%, #0a2d5c 100%);
  color: var(--ktk-white);
}

.service-page .cta-section .title-section--sm{
  margin-bottom: 24px;
  color: var(--ktk-white);
}

.service-page .cta-section .descr-lead{
  margin-bottom: 32px;
  color: var(--ktk-text-light);
}

.service-page .cta-section .descr-lead a{
  color: var(--ktk-white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-page .cta-section .descr-lead a:hover{
  color: var(--ktk-orange);
}

.service-page .item-audience__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.service-page .item-audience__icon img{
  width: 40px;
  height: 40px;
}

.service-page .item-audience__body{
  flex: 1;
  min-width: 0;
}

.service-page .item-audience .title-card{
  margin-bottom: 12px;
}

.service-page .item-audience .text-body-l{
  max-width: 420px;
}

.service-page .inner-hero{
  position: relative;
  padding: 200px 0 96px;
  background: var(--ktk-navy) url("../img/service-t2/hero-main.jpg") center center / cover no-repeat;
}

.service-page .inner-hero::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(2, 20, 47, 0.92) 0%, rgba(2, 20, 47, 0.78) 45%, rgba(2, 20, 47, 0.45) 100%);
}

.service-page .inner-hero .container-main{
  position: relative;
  z-index: 1;
}

.service-page .item-audience{
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  gap: 16px;
  text-align: left;
}

.service-page .item-audience .title-card{
  font-size: 24px;
  line-height: 1.3;
}

.service-page .item-audience .text-body-l{
  max-width: none;
}

.service-page .service-promo__list{
  margin: 24px 0 32px;
}

.service-page .service-promo .title-section,
.service-page .section-copy .title-section{
  margin-bottom: 24px;
  line-height: 1.2;
}

.service-page .service-promo .text-body-l,
.service-page .section-copy .text-body-l{
  margin-bottom: 16px;
}

.service-page .service-promo .text-body,
.service-page .section-copy .text-body{
  margin-bottom: 28px;
}

.service-page .service-promo .text-body:last-child,
.service-page .section-copy .text-body:last-child{
  margin-bottom: 0;
}

.service-page .service-promo .inner-hero__actions{
  margin-top: 0;
}

.service-page .service-promo__list .list-chevron{
  margin-bottom: 12px;
}

.service-page .service-promo__list .list-chevron__icon{
  color: var(--ktk-orange);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.service-page .service-promo__actions{
  margin-top: 8px;
}

.service-page .service-promo__media{
  overflow: hidden;
  border-radius: var(--ktk-radius-card);
  box-shadow: var(--ktk-shadow-card);
}

.service-page .service-promo__media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-page .service-form.form-panel{
  margin-top: 0;
}

.service-page .faq-list{ margin-top: 24px; }

.service-page .faq-item{
  border: 1px solid var(--ktk-border);
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.service-page .faq-item summary{
  position: relative;
  padding: 14px 44px 14px 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.service-page .faq-item summary::-webkit-details-marker{ display: none; }

.service-page .faq-item summary::marker { content: none; }

.service-page .faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  margin-top: -2px;
  border-right: 2px solid var(--ktk-navy);
  border-bottom: 2px solid var(--ktk-navy);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease, margin-top 0.2s ease;
}

.service-page .faq-item[open] summary::after {
  margin-top: 2px;
  transform: translateY(-50%) rotate(-135deg);
}

.service-page .faq-item__body{
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--ktk-muted);
}


/* Bitrix breadcrumb -> mockup look */
.service-page .inner-hero nav.breadcrumbs ul.breadcrumbs{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
.service-page .inner-hero nav.breadcrumbs .breadcrumbs__item{
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.65);
}
.service-page .inner-hero nav.breadcrumbs .breadcrumbs__item:not(:last-child)::after{
  content: "/";
  margin: 0 10px;
  color: rgba(255,255,255,0.45);
}
.service-page .inner-hero nav.breadcrumbs .breadcrumbs__item span[itemprop="name"]{
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .service-page .btn-main:hover,
  .service-page .btn-main--outline:hover,
  .service-page .btn-main--outline-light:hover {
    transform: none;
    box-shadow: none;
  }
}
