@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: auto;
    background-color: #f1f1f1;
}
body {
    font-family: 'Roboto', sans-serif;
}

strong, b {
    font-weight: 700;
}

main {
    position: relative;
}

.header-image {
    width: 100%;     
    height: 240px;
    object-fit: cover;
    display: block;
}

body.skud .header-image {
    content: url('assets/photo/header-skud.webp');
}

body.ognezashchita .header-image {
    content: url('assets/photo/header-ognezashchita.webp');
}

body.videonablyudenie .header-image {
    content: url('assets/photo/header-videonablyudenie.webp');
}

body.dymoudalenie .header-image {
    content: url('assets/photo/header-dymoudalenie.webp');
}

body.pozharotushenie .header-image {
    content: url('assets/photo/header-pozharotushenie.webp');
}

body.soue .header-image {
    content: url('assets/photo/header-soue.webp');
}

body.ceny-i-sroki .header-image {
    content: url('assets/photo/header-ceny-i-sroki.webp');
}
body.obsluzhivanie-sistem .header-image {
    content: url('assets/photo/header-skud.webp');
}

body.proektirovanie .header-image {
    content: url('assets/photo/header-ognezashchita.webp');
}

body.pnr .header-image {
    content: url('assets/photo/header-videonablyudenie.webp');
}

body.obekty .header-image {
    content: url('assets/photo/header-skud.webp');
}

body.kontakty .header-image {
    content: url('assets/photo/header-videonablyudenie.webp');
}

body.uslugi .header-image {
    content: url('assets/photo/header-skud.webp');
}

body.licenziya-mchs .header-image {
    content: url('assets/photo/header-ognezashchita.webp');
}


body.info-dogovor-to-aps .header-image {
    content: url('assets/photo/header-videonablyudenie.webp');
}

body.info-dymoudalenie-trebovaniya .header-image {
    content: url('assets/photo/header-skud.webp');
}

body.info-ognezashchita-dokumenty .header-image {
    content: url('assets/photo/header-soue.webp');
}

body.info-podgotovka-k-proverke-mchs .header-image {
    content: url('assets/photo/header-pozharotushenie.webp');
}

body.info-shtrafy .header-image {
    content: url('assets/photo/header-videonablyudenie.webp');
}

body.info-soue-trebovaniya .header-image {
    content: url('assets/photo/header-skud.webp');
}

body.info-to-aps-reglament .header-image {
    content: url('assets/photo/header-soue.webp');
}

body.otzyvy .header-image {
    content: url('assets/photo/header-pozharotushenie.webp');
}

body.o-kompanii .header-image {
    content: url('assets/photo/header-pozharotushenie.webp');
}
body.politika-konfidencialnosti .header-image {
    content: url('assets/photo/header-pozharotushenie.webp');
}

body.uslugi .header-image {
    content: url('assets/photo/header-pozharotushenie.webp');
}
body.info-trebovaniya-k-aps .header-image {
    content: url('assets/photo/header-pozharotushenie.webp');
}

body.ispytanie-kranov .header-image {
    content: url('assets/photo/header-pozharotushenie.webp');
}
body.info-baza-znaniy .header-image {
    content: url('assets/photo/header.webp');
}

@media (max-width: 720px) {
    .header-image {
        height: 215px;
    }
}


.map-wrap {
  width: 100%;
  height: 280px;
  margin: 16px 0;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .map-wrap {
    height: 220px;
  }
}



@media (min-width: 768px) {
    .header-image {
        height: 240px;
    }
}

.header-container {
    height: auto;
    position: relative;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
    max-width: 90%;
}

.header-text__title {
    display: block;
    font-size: clamp(1.4rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.1em;
}

.header-text__subtitle {
    display: block;
    font-size: clamp(1rem, 2.8vw, 1.8rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.15em;
}

.header-text__company {
    display: block;
    font-size: clamp(0.95rem, 2.5vw, 1.6rem);
    font-weight: 400;
    line-height: 1.2;
}

@media (max-width: 720px) {
    .header-text {
        left: 4%;
    }
    .header-text__title {
        font-size: 1.9rem;
    }
    .header-text__subtitle {
        font-size: 1.4rem;
    }
    .header-text__company {
        font-size: 1.35rem;
    }
}
#title h1 {
    color: black;
    font-size: 24px;
    margin-top: 0;
    font-weight: 550;
    margin-bottom: 10px;
    padding-left: 18px;
    padding-right: 18px;
    
}

#title h2 {
    color: black;
    font-size: 23px;
    margin-top: 0;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 18px;
    padding-right: 18px;
    
}

.nameAlexey {
    font-size: 18px;
    line-height: 28px;
}

.nameWork {
    font-size: 14px;
    color: #9f9f9f;
    
}

.text {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
    margin: 8px 8px 20px 8px;
    box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.16);
    font-size: 14px;
    line-height: 1.4;
    color: #222;
    
}

.text-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
    display: block;
}
.text-img1 {
    width: 35%;
    border-radius: 10px;
    margin: 0 12px 5px 0; 
    float: left;
}

.aps-seo-figure {
    margin: 16px 0;
}

.aps-seo-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.aps-seo-figure figcaption {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    text-align: center;
}

@media (max-width: 720px) {
    .aps-seo-image {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 900px) {
    .aps-seo-image {
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .text-img1 {
        width: 15%;
    }
}

.text a {
    color: #0a58ca;
    text-decoration: none;
    font-weight: 500;
}

.text a:hover {
    text-decoration: underline;
}


#services {
    background-color: #373737a2;
    padding: 5px;
    text-align: left;
    margin-top: 7px;
    padding-bottom: 20px;
}

#nav {
    background-color: #f1f1f1;
    color: #313131;
    padding: 5px;
    padding-bottom: 35px;
}

#nav h2 {
    margin-left: 10px;
    margin-top: 20px;
    margin-right: 0px;
    font-weight: 600;  
}


#contact {
    background-color: #373737a2;
    padding: 5px;
    padding-bottom: 35px;
}
#contact h2 {
    color: #fff; 
}

.contact-link {
    color: #fff; 
    text-decoration: none;
}
.contact-info {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-gap: 1px;
    margin-bottom: -20px;
}
.contact-item, .contact-item2, .contact-item a {
    color: white; 
    text-decoration: none;
}

.contact-item {
    margin: -15px 0 0 24px;
    font-size: 14px;
    
}
.contact-item2  {
    font-size: 14px;     
    margin-top: -12px; 
}
.contact-item p, .contact-item2 p {
    margin-top: -15px;
}
.contact-title {
    margin: 12px 0 12px 24px;
    font-size: 22px;
    color: #fff;
}

.section-title {
    margin-left: 10px;
    margin-top: 20px;
    margin-right: 0px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.details_top, .details_centre, .details_down {
    position: relative;
    display: block;
    max-width: 1900px;
    margin-left: 7px;
    margin-right: 7px;
    background: rgb(240, 244, 250);
    transition: 0.4s;
    overflow: hidden;
}

.details_text {
    position: relative;
    display: block;
    max-width: 1900px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin: 16px 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.details_text:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.details_text[open] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.details__title_text {
    background: transparent;
    padding: 18px 50px 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    line-height: 1.5;
}

.details__title_text:hover {
    color: #0f172a;
    background: rgba(59, 130, 246, 0.04);
}

.details__title_text::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #3b82f6;
    border-bottom: 2px solid #3b82f6;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.details_text[open] .details__title_text::before {
    border-right: 2px solid #10b981;
    border-bottom: 2px solid #10b981;
    transform: translateY(-50%) rotate(225deg);
}

.details__title_text::-webkit-details-marker {
    display: none;
}

.details__content_text {
    padding: 0 20px 20px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    background: transparent;
    border-top: 1px solid #e2e8f0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details_text[open] .details__title_text {
    border-bottom: 1px solid #e2e8f0;
    background: rgba(16, 185, 129, 0.02);
}

/* Мобильные стили для аккордеона */
@media (max-width: 720px) {
    .details_text {
        margin: 12px 0;
        border-radius: 10px;
    }
    
    .details__title_text {
        padding: 16px 45px 16px 20px;
        font-size: 15px;
    }
    
    .details__title_text::before {
        right: 16px;
        width: 6px;
        height: 6px;
    }
    
    .details__content_text {
        padding: 0 20px 16px 20px;
        font-size: 14px;
        line-height: 1.6;
    }
}

.buttons-container {
    margin: 10px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    justify-content: center;
    align-items: stretch;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding: 2px 10px;
    margin-bottom: 12px;
}

 .breadcrumbs {
     width: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 8px;
     margin: 0 0 10px 0;
     font-size: 16px;
     color: #212121;
     opacity: 1;
 }

 .breadcrumbs a {
     color: #212121;
     text-decoration: underline;
     text-underline-offset: 3px;
 }

 .breadcrumbs a:first-child {
     font-size: 20px;
     font-weight: 500;
     margin: 0 0 0 10px;
 }

 .breadcrumbs-sep {
     opacity: 0.8;
 }

.buttons-container2{
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-right: 35px;
    margin-bottom: 12px;
}
@media (min-width: 768px) {
    .buttons-container2 {
        justify-content: flex-start;
    }
}
.button {
    position: relative;        
    padding: 0 9px;
    margin: 4px;
    background-color: #262626;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    min-width: 0;
    white-space: nowrap;
    display: flex;            
    justify-content: center;  
    align-items: center;      
    text-align: center; 
    overflow: hidden;  
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.6);       
    box-shadow: 0 0 8px #ffffff, 0 0 15px #ffffff;
    height: 44px;
    width: 100%;
    margin: 0;
}

 .buttons-container .button {
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
 }

.button-max {
    animation: maxBlink 0.8s infinite;
    background-color: #7c3aed;
}

.button-home {
    background-color: #4b5563;
}

.button-telegram {
    background-color: #229ED9;
    animation: telegramBlink 1.0s infinite;
}

.button-call {
    background-color: #4b5563;
    flex-direction: column;
    gap: 4px;
    height: auto;
    min-height: 44px;
    padding-top: 4px;
    padding-bottom: 8px;
}

 .button-call::after {
     content: "+7 961 914 6000";
     font-size: 19px;
     line-height: 1;
     font-weight: 500;
 }

 .buttons-container .button-call,
 .buttons-container2 .button-call {
     order: 0;
 }

 .buttons-container .button-telegram,
 .buttons-container2 .button-telegram {
     order: 1;
 }

 .buttons-container .button-max,
 .buttons-container2 .button-max {
     order: 2;
 }

@media (max-width: 720px) {
    .buttons-container {
        max-width: 520px;
        padding-left: 8px;
        padding-right: 18px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        }
  .buttons-container .button {
    padding: 0 6px;
    font-size: 13px;
  }

     .button-call::after {
         font-size: 14px;
     }

  .buttons-container .button-call,
  .buttons-container2 .button-call {
      height: 44px;
      min-height: 44px;
      padding-top: 2px;
      padding-bottom: 2px;
      gap: 2px;
  }

  .buttons-container .button-call::after,
  .buttons-container2 .button-call::after {
      font-size: 12px;
  }
}



@keyframes maxBlink {
    0%, 100% {
      background-color: #7c3aed;
    }
    50% {
      background-color: #a855f7;
    }
}

@keyframes telegramBlink {
    0%, 100% {
      background-color: #229ED9;
    }
    50% {
      background-color: #38bdf8;
    }
}

.site-sections {
    padding: 10px 20px;
    text-align: center; 
}

.sections-list {
    list-style: none;        
    padding: 0;
    margin: 0;
    display: inline-flex;    
    gap: 12px;               
    flex-wrap: wrap;         
    justify-content: center; 
}

.sections-list li {
    margin: 0;
}

.sections-list a {
    text-decoration: none;   
    color: #333;             
    font-weight: 500;
    display: inline-block;
}

.sections-list a:hover {
    text-decoration: underline; 
    color: #000;
 }
 
 
 

 .table-responsive{
     width: 100%;
     overflow-x: auto;
     -webkit-overflow-scrolling: touch;
 }
 
 /* Стили для таблиц с видимыми границами */
/* .seo-table: оформление перенесено в общий блок таблиц в конце файла (правило J, 10.11.2026) */
 
.price-table-wrap{
    margin: 16px 0;
}

/* Удалены неиспользуемые стили .price-table для экономии 17 KiB */

.image-box {
    width: 100%;
    margin: 16px 0;
}

.image-box img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.image-box figcaption {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    text-align: center;
}
.icon-social {
    display: inline-block;
    width: 18px;
    height: 18px;
    fill: #ffffff;
    margin-right: 5px;
    vertical-align: middle;
}

/* ===== ДЕСКТОПНАЯ ВЕРСИЯ ===== */
@media (min-width: 900px) {
 
 
  .buttons-container {
    max-width: 780px;
  }

  .buttons-container .button,
  .buttons-container2 .button {
    height: auto;
    min-height: 42px;
  }

  .layout-content {
    display: grid;
    grid-template-columns: 316px minmax(0, 1fr);
    gap: 25px;
    max-width: 2500px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    align-items: start;
  }

  .layout-content > * {
    min-width: 0;
  }

  
  #nav {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
    position: sticky;
    height: fit-content;
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
    margin: 10px 0 20px 0;
    box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.16);
    font-size: 14px;
    line-height: 1.4;
    color: #222;
    
  }

  .layout-content > section:not(#site-nav):not(#footer-nav) {
    grid-column: 2;
  }

  #site-nav {
    grid-column: 1;
    grid-row: 1;
  }

  .text {
    grid-column: 2;
  }

  #contact {
    grid-column: 2;
  }

  
  header,
  #title,
  .text,
  .text-comment,
  #services,
  #contact {
    grid-column: 2;
  }
  #services {
    border-radius: 15px;
    box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.16);
    line-height: 1.4;
    color: #222;
    margin-right: 0;
}
#nav h2 {
    color: #212121;     
    font-size: 30px;    
    font-weight: 650;   
    margin: 5px 0 0 6px; 
}
    #contact {
    border-radius: 15px;
    box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.16);
    line-height: 1.4;
    color: #222;
    margin: 0 0 20px 0
    }
.button {
    transition: 1s;     
}
.icon-social {
    width: 26px;
    height: 26px;
    margin-right: 12px;
    transition: 1s;
}
.contact-item p, .contact-item2 p {
    margin-top: -15px;
    margin-bottom: 12px;
}
.contact-item {
    font-size: 18px;
    transition: 1s;
    
}
.contact-item2  {
    font-size: 18px; 
    transition: 1s;     
}
.contact-title {
    font-size: 28px;
    transition: 1s;
}
.sections-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    transition: 1s;
}
#title h1 {
    color: #212121;
    font-size: 28px;
    font-weight: 650;  
}
#title h2 {
    color: #212121;
    font-size: 26px;
    font-weight: 650;  
}
#title {
    margin: 15px 0 0 330px;
    
}
.text {

    margin: 10px 0 0 0;
    font-size: 18px;   
    line-height: 1.6; 
}

.text-comment {
    color: #717171;
    margin: 10px 0 0 0;
    font-size: 14px;  
    line-height: 1.6; 
}
.nameWork {
    font-size: 20px;      
    color: #555555;       
    font-weight: 500;    
    line-height: 1.5;     
}
.nameAlexey {
    font-size: 24px;       
    color: #222222;        
    font-weight: 600;      
    line-height: 1.4;      
}
.details__content_text {
    font-size: 18px;      
    line-height: 1.6;     
    color: #212121;       
}


.details__title_text h3 {
    font-size: 20px;      
    font-weight: 600;     
    color: #212121;       
    margin: 0;            
    line-height: 1.4;     
}
.sections-list li {
    margin: 7px -20px 7px -20px;
    transition: 1s;
}


.sections-list a {
    display: block;
    text-align: left;
    padding: 9px 16px;
    font-size: 17px;
    color: #2a2a2a;
    text-decoration: none;

    background: linear-gradient(#eeeeee, #d8d8d8);
    border: 2px solid #7a7a7a;        
    border-radius: 12px;

    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.6),
        0 3px 6px rgba(0,0,0,0.15);

    transition: 
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease;
    transition: 1s;
}

.sections-list a:hover {
    background: #d5d5d5;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.7),
        0 5px 10px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.sections-list a:active {
    transform: translateY(1px);
    box-shadow: 
        inset 0 3px 6px rgba(0,0,0,0.25);
}
.sections-list a {
    padding-left: 6px; 
    padding-right: 2px;
}
}
.sections-list a,
.sections-list a:hover,
.sections-list a:focus,
.sections-list a:active {
    text-decoration: none;
}

/* «Вся база знаний»: та же кнопка, слегка сиреневая заливка */
.sections-list a.nav-baza-all {
    background: linear-gradient(#e8dff3, #d2c0e4);
}
.sections-list a.nav-baza-all:hover {
    background: #d0c0de;
}

/* «Справочник пользования оборудованием»: та же сиреневая кнопка, что у «Вся база знаний» (10.11.2026) */
.sections-list a.nav-spravochnik {
    background: linear-gradient(#e8dff3, #d2c0e4);
}
.sections-list a.nav-spravochnik:hover {
    background: #d0c0de;
}




.ptb-carousel{max-width:1100px;margin:24px auto 8px;padding:0 12px}
.ptb-carousel__viewport{position:relative;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#111}
.ptb-carousel__slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease}
.ptb-carousel__slide.is-active{opacity:1}
.ptb-carousel__img{width:100%;height:100%;object-fit:cover;display:block}
.ptb-carousel__arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:0;background:rgba(0,0,0,.35);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;line-height:1;cursor:pointer;user-select:none}
.ptb-carousel__arrow:hover{background:rgba(0,0,0,.55)}
.ptb-carousel__arrow:focus{outline:none;box-shadow:0 0 0 3px rgba(255,255,255,.25)}
.ptb-carousel__arrow--prev{left:10px}
.ptb-carousel__arrow--next{right:10px}
.ptb-carousel__thumbs{display:flex;gap:10px;overflow:auto;padding:10px 2px 2px;margin:10px 0 0;scrollbar-width:thin}
.ptb-carousel__thumb{flex:0 0 auto;border:2px solid transparent;border-radius:10px;overflow:hidden;cursor:pointer;background:transparent;padding:0;line-height:0}
.ptb-carousel__thumb:focus{outline:none;box-shadow:0 0 0 3px rgba(255,255,255,.25)}
.ptb-carousel__thumb.is-active{border-color:#ffcc00}
.ptb-carousel__caption{position:absolute;left:0;right:0;bottom:0;padding:12px 14px;background:linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0));color:#fff}
.ptb-carousel__caption-title{font-weight:700;font-size:16px;line-height:1.2;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.ptb-carousel__caption-meta{margin-top:4px;font-size:13px;line-height:1.2;opacity:.95;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.ptb-carousel__caption-meta a,
.ptb-carousel__caption-meta a:visited,
.ptb-carousel__caption-meta a:hover,
.ptb-carousel__caption-meta a:focus{
    color:#fff;
    text-decoration:underline;
}
.ptb-carousel__thumb-img{width:96px;height:54px;object-fit:cover;display:block}
@media (max-width:600px){
    .ptb-carousel__thumb-img{width:78px;height:44px}
}

@media (min-width:900px){
    .ptb-carousel{max-width:1650px}
    .ptb-carousel__thumb-img{width:144px;height:81px}
}

/* Footer */
.site-footer{background:#262626;color:#fff;padding:24px 16px;text-align:center}
.footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-bottom:12px}
.footer-nav a{color:#ffcc00;text-decoration:none}
.footer-nav a:hover{text-decoration:underline}
.footer-copy{margin:0;font-size:14px;opacity:.8}

/* Reviews */
/* Удалены неиспользуемые стили рейтинга */
/* Удалены неиспользуемые стили отзывов */

/* Удалены неиспользуемые стили статистики */

/* Skip Link для доступности */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:-999}
.skip-link:focus,.skip-link:active{left:10px;top:10px;width:auto;height:auto;overflow:visible;z-index:9999;background:#262626;color:#fff;padding:10px 20px;border-radius:8px;text-decoration:none;font-weight:500}

/* Удалены неиспользуемые стили timeline */

/* Case Study / Случай из практики */
.case-study{background:linear-gradient(135deg,#fffde7 0%,#fff8e1 100%);border-left:4px solid #ff9800;border-radius:0 12px 12px 0;padding:20px 24px;margin:20px 0;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.case-study p{margin:0 0 12px;line-height:1.6;color:#333}
.case-study p:last-child{margin-bottom:0}
.case-study ul{margin:12px 0;padding-left:20px}
.case-study li{margin-bottom:6px;color:#444}
.case-study strong{color:#e65100}
@media(max-width:600px){
  .case-study{padding:16px 18px}
}

/* Visually hidden для screen readers */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* CTA Block */
.cta-block{background:#f5f5f5;padding:20px;border-left:4px solid #d32f2f;margin:20px 0;border-radius:0 8px 8px 0}
.cta-block h3{margin-top:0;margin-bottom:12px;color:#262626}
.cta-block p{margin:0 0 12px}
.cta-block ul{margin:12px 0;padding-left:20px}
.cta-block li{margin-bottom:6px}
.cta-block .button{margin-top:10px;margin-right:10px}

/* Article meta */
.article-meta{font-size:14px;color:#666;margin:8px 0 0;font-style:normal}

/* CTA inline */
.cta-inline{background:#fff8e1;border-left:3px solid #ff9800;padding:12px 16px;margin:20px 0;font-size:15px;border-radius:0 6px 6px 0}
.cta-inline a{color:#e65100;font-weight:700}

/* Калькулятор ТО */
.calc-form { margin: 16px 0; }
.calc-row { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 10px; gap: 6px; }
.calc-row > label:first-child { flex: 0 0 140px; font-weight: 500; font-size: 14px; }
.calc-select { flex: 1 1 160px; padding: 8px 10px; font-size: 14px; border: 1px solid #ccc; border-radius: 6px; background: #fff; min-width: 0; }
.calc-select:focus { outline: none; border-color: #0a58ca; }
.calc-row--systems { align-items: flex-start; }
.calc-checks { display: flex; flex-wrap: wrap; gap: 6px 12px; flex: 1; }
.calc-check { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 400; cursor: pointer; white-space: nowrap; }
.calc-check input { width: 16px; height: 16px; margin: 0; cursor: pointer; }
.calc-result { background: #e8f5e9; padding: 14px 16px; border-radius: 10px; font-size: 17px; margin: 14px 0; text-align: center; }
.calc-result span { font-weight: 700; color: #2e7d32; }
.calc-note { font-size: 12px; color: #666; margin-top: 6px; line-height: 1.4; }
.calc-badge { display: inline-block; background: #fff3e0; color: #e65100; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 6px; margin: 8px 0; }
@media (max-width: 480px) {
  .calc-row > label:first-child { flex: 0 0 100%; margin-bottom: 4px; }
  .calc-select { flex: 1 1 100%; }
}

@media (max-width: 600px) {
   .details_text { max-width: 100%; box-sizing: border-box; }
   .calc-row > label:first-child { flex: 0 0 100%; margin-bottom: 4px; }
   .calc-select { flex: 1 1 100%; }
 }
.disclaimer {
    font-size: 12px;
    color: #888;
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

@media (max-width: 720px) {
  .layout-content {
    display: block;
  }
  
  #site-nav {
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
  }
  
  .site-sections {
    padding: 5px 50px;
    text-align: center;
  }
  
  .sections-list {
    justify-content: center;
  }
  
  .sections-list li {
    margin: 0;
  }
  
  .sections-list a {
    padding: 4px 8px;
    display: inline-block;
  }
  
  .layout-content > section:not(#site-nav):not(#footer-nav),
  .text,
  #contact {
    grid-column: auto;
    grid-row: auto;
  }
  
  /* Добавляем отступы для заголовков в мобильной версии */
  h2 {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Отступы для основного контента */
  .text {
    padding: 14px 15px;
    margin: 0 0 20px 0;
  }
  
  /* Отступы для других секций */
  section:not(#site-nav):not(#footer-nav) {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Базовые отступы для layout-content в мобильной версии */
  .layout-content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Таблицы сайта: статьи, справочник, страницы услуг (правило J).
   09.11.2026: тонкие границы, небольшое скругление, бледно-сиреневые названия столбцов и строк.
   10.11.2026: граница под строкой шапки обязательна; заголовки строк (колонка моделей)
   светлее шапки и отделены от неё линией. Ошибка была в правиле tr:last-child —
   оно снимало нижнюю границу и у единственной строки thead. Теперь только tbody. */
body.info-baza-znaniy .text .table-wrap,
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
}
table.seo-table,
table.price-table,
body.info-baza-znaniy .text table {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #cdbcde;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin: 16px 0;
}
body.info-baza-znaniy .text table { table-layout: fixed; }
.table-responsive table.seo-table,
.table-responsive table.price-table,
body.info-baza-znaniy .text .table-wrap table { margin: 0; }
table.price-table caption,
table.seo-table caption { text-align: left; padding: 0 0 8px; font-weight: 600; }
table.seo-table th, table.seo-table td,
table.price-table th, table.price-table td,
body.info-baza-znaniy .text table th,
body.info-baza-znaniy .text table td {
    border: 0;
    border-right: 1px solid #d5c6e4;
    border-bottom: 1px solid #d5c6e4;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}
table.seo-table tr > *:last-child,
table.price-table tr > *:last-child,
body.info-baza-znaniy .text table tr > *:last-child { border-right: 0; }
table.seo-table tbody tr:last-child > *,
table.price-table tbody tr:last-child > *,
body.info-baza-znaniy .text table tbody tr:last-child > * { border-bottom: 0; }
/* Шапка столбцов: бледно-сиреневая, с чёткой линией снизу */
table.seo-table thead th,
table.price-table thead th,
body.info-baza-znaniy .text table thead th {
    background: #ece3f5;
    font-weight: 600;
    border-bottom: 1px solid #b9a2cf;
}
/* Заголовки строк (колонка моделей, названий): светлее шапки, отделены линиями */
table.seo-table tbody th,
table.price-table tbody th,
body.info-baza-znaniy .text table tbody th,
body.info-baza-znaniy .text table th[scope="row"] {
    background: #f8f5fb;
    font-weight: 600;
}
@media (max-width: 640px) {
    table.seo-table th, table.seo-table td,
    table.price-table th, table.price-table td,
    body.info-baza-znaniy .text table th,
    body.info-baza-znaniy .text table td {
        padding: 8px 10px;
        font-size: 15px;
    }
}


/* Справочник v2 (10.11.2026): плитки разделов на хабе, направлениях и производителях.
   Сетка без фиксированных ширин — на узком экране одна колонка, горизонтального скролла нет. */
body.spravochnik-page .text ul.sp-tiles {
    list-style: none;
    margin: 20px 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 14px;
}
body.spravochnik-page .text ul.sp-tiles > li {
    margin: 0;
    padding: 0;
    min-width: 0;
}
body.spravochnik-page .text ul.sp-tiles > li::before { content: none; }
body.spravochnik-page .text a.sp-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #d5c6e4;
    border-left: 4px solid #b9a2cf;
    border-radius: 8px;
    background: #faf7fc;
    color: #262626;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.spravochnik-page .text a.sp-tile:hover,
body.spravochnik-page .text a.sp-tile:focus-visible {
    background: #f1e9f8;
    border-color: #b9a2cf;
    box-shadow: 0 2px 8px rgba(110, 80, 140, .12);
    text-decoration: none;
}
body.spravochnik-page .text .sp-tile-title {
    font-weight: 700;
    font-size: 1.05em;
    line-height: 1.3;
    color: #262626;
}
body.spravochnik-page .text .sp-tile-text {
    font-size: .95em;
    line-height: 1.45;
    color: #444;
}
body.spravochnik-page .text .sp-tile-meta {
    margin-top: auto;
    font-size: .85em;
    color: #6e5a86;
}
body.spravochnik-page .text ul.sp-tiles-compact {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 12px;
}
body.spravochnik-page .text ul.sp-tiles-compact a.sp-tile { padding: 12px 14px; }
body.spravochnik-page .text .sp-faq h3 { margin-top: 18px; }
body.spravochnik-page .text .sp-faq-links { font-size: .95em; }
@media (max-width: 640px) {
    body.spravochnik-page .text ul.sp-tiles,
    body.spravochnik-page .text ul.sp-tiles-compact { grid-template-columns: 1fr; gap: 10px; }
    body.spravochnik-page .text a.sp-tile { padding: 12px 14px; }
}

/* Справочник: шаблоны материалов (этап 2, 10.11.2026). Без изображений, палитра Пожтеха (правило J).
   «Коротко» — первым экраном; шаги — нумерованные карточки; таблица индикации на телефоне — карточками. */
body.spravochnik-page .text .sp-answer {
    background: #f8f5fb;
    border: 1px solid #d5c6e4;
    border-left: 4px solid #8e6bb5;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0 0 18px;
}
body.spravochnik-page .text .sp-answer p { margin: 0; }
body.spravochnik-page .text .sp-answer .sp-answer-title { font-weight: 700; margin: 0 0 4px; }
body.spravochnik-page .text .sp-warn {
    background: #fff8e8;
    border: 1px solid #efd59a;
    border-left: 4px solid #d9a32a;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0 0 18px;
}
body.spravochnik-page .text .sp-warn p { margin: 0; }
body.spravochnik-page .text .sp-toc {
    border: 1px solid #e3d9ee;
    border-radius: 10px;
    padding: 10px 16px;
    margin: 0 0 20px;
}
body.spravochnik-page .text .sp-toc .sp-toc-title { font-weight: 600; margin: 0 0 4px; }
body.spravochnik-page .text .sp-toc ol { margin: 0; padding-left: 22px; }
body.spravochnik-page .text .sp-toc li { margin: 2px 0; }
body.spravochnik-page .text .sp-section { scroll-margin-top: 16px; }
body.spravochnik-page .text ol.sp-steps {
    list-style: none;
    counter-reset: sp-step;
    padding: 0;
    margin: 12px 0 18px;
}
body.spravochnik-page .text ol.sp-steps > li {
    counter-increment: sp-step;
    position: relative;
    padding: 12px 14px 12px 58px;
    margin: 0 0 10px;
    border: 1px solid #e3d9ee;
    border-radius: 10px;
    background: #fff;
    scroll-margin-top: 16px;
}
body.spravochnik-page .text ol.sp-steps > li::before {
    content: counter(sp-step);
    position: absolute;
    left: 14px;
    top: 12px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background: #ece3f5;
    border: 1px solid #b9a2cf;
    text-align: center;
    font-weight: 700;
}
body.spravochnik-page .text ol.sp-steps p { margin: 0 0 4px; }
body.spravochnik-page .text .sp-step-action { font-weight: 600; }
body.spravochnik-page .text .sp-step-result { margin-top: 6px; }
body.spravochnik-page .text .sp-ref {
    display: block;
    margin-top: 6px;
    font-size: .85em;
    color: #666;
}
body.spravochnik-page .text table.sp-ind thead th:nth-child(1) { width: 28%; }
body.spravochnik-page .text table.sp-ind thead th:nth-child(2) { width: 34%; }
body.spravochnik-page .text .sp-service {
    background: #f3eef8;
    border: 1px solid #d5c6e4;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 22px 0;
}
body.spravochnik-page .text .sp-service h2 { margin-top: 0; }
body.spravochnik-page .text .sp-service ul { margin: 6px 0 10px; }
@media (max-width: 640px) {
    body.spravochnik-page .text ol.sp-steps > li { padding: 10px 12px; }
    body.spravochnik-page .text ol.sp-steps > li::before { position: static; float: left; margin: 0 8px 2px 0; }
    /* таблица индикации: строка — карточка, подписи колонок из data-label */
    body.spravochnik-page .text table.sp-ind,
    body.spravochnik-page .text table.sp-ind tbody,
    body.spravochnik-page .text table.sp-ind tr,
    body.spravochnik-page .text table.sp-ind th,
    body.spravochnik-page .text table.sp-ind td { display: block; width: auto; }
    body.spravochnik-page .text table.sp-ind thead {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
    body.spravochnik-page .text table.sp-ind tbody tr { border-bottom: 1px solid #b9a2cf; }
    body.spravochnik-page .text table.sp-ind tbody tr:last-child { border-bottom: 0; }
    body.spravochnik-page .text table.sp-ind tbody th[scope="row"] { border-right: 0; border-bottom: 1px solid #d5c6e4; }
    body.spravochnik-page .text table.sp-ind td { border-right: 0; border-bottom: 0; }
    body.spravochnik-page .text table.sp-ind td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        font-size: .85em;
        color: #5b4a6e;
    }
}

/* Справочник: этап 3 (10.11.2026). Телефон первым: карточки паролей, коды моноширинным,
   обычные таблицы на телефоне — карточками, крупные пункты оглавления. Без изображений (правило J). */
body.spravochnik-page .text code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: .95em;
    background: #f3eef8;
    border: 1px solid #e3d9ee;
    border-radius: 4px;
    padding: 0 4px;
    white-space: nowrap;
}
body.spravochnik-page .text ul.sp-pw-list { list-style: none; padding: 0; margin: 12px 0 16px; }
body.spravochnik-page .text li.sp-pw {
    border: 1px solid #d5c6e4;
    border-left: 4px solid #8e6bb5;
    border-radius: 10px;
    background: #fff;
    padding: 12px 16px;
    margin: 0 0 12px;
    scroll-margin-top: 16px;
}
body.spravochnik-page .text .sp-pw-name { font-weight: 700; margin: 0 0 4px; }
body.spravochnik-page .text .sp-pw-value { margin: 0 0 8px; font-size: 1.35em; }
body.spravochnik-page .text .sp-pw-value code { padding: 2px 10px; letter-spacing: .04em; }
body.spravochnik-page .text li.sp-pw dl { margin: 0; }
body.spravochnik-page .text li.sp-pw dt { font-weight: 600; font-size: .9em; color: #5b4a6e; margin: 8px 0 2px; }
body.spravochnik-page .text li.sp-pw dd { margin: 0; }
@media (max-width: 640px) {
    body.spravochnik-page .text p { margin-bottom: 10px; }
    body.spravochnik-page .text .sp-toc li a { display: block; padding: 8px 0; min-height: 28px; }
    body.spravochnik-page .text .sp-answer a,
    body.spravochnik-page .text .sp-service a { display: inline-block; padding: 4px 0; }
    body.spravochnik-page .text li.sp-pw { padding: 12px; }
    body.spravochnik-page .text table.sp-ind caption,
    body.spravochnik-page .text table.sp-cards caption { display: block; width: auto; text-align: left; padding: 8px 12px; }
    body.spravochnik-page .text .sp-pw-value { font-size: 1.25em; }
    /* обычная таблица материала: строка — карточка, подписи колонок из data-label */
    body.spravochnik-page .text table.sp-cards,
    body.spravochnik-page .text table.sp-cards tbody,
    body.spravochnik-page .text table.sp-cards tr,
    body.spravochnik-page .text table.sp-cards th,
    body.spravochnik-page .text table.sp-cards td { display: block; width: auto; }
    body.spravochnik-page .text table.sp-cards thead {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
    body.spravochnik-page .text table.sp-cards tbody tr { border-bottom: 1px solid #b9a2cf; }
    body.spravochnik-page .text table.sp-cards tbody tr:last-child { border-bottom: 0; }
    body.spravochnik-page .text table.sp-cards tbody th[scope="row"] { border-right: 0; border-bottom: 1px solid #d5c6e4; }
    body.spravochnik-page .text table.sp-cards td { border-right: 0; border-bottom: 0; }
    body.spravochnik-page .text table.sp-cards td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        font-size: .85em;
        color: #5b4a6e;
    }
}


/* Справочник: одно фото прибора (10.11.2026). Квадрат на белом, запас под 2×, без скачка вёрстки (width/height в HTML). */
body.spravochnik-page .text figure.sp-foto {
    margin: 12px auto 16px;
    max-width: min(400px, 100%);
}
body.spravochnik-page .text figure.sp-foto img {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 12px;
}
@media (max-width: 720px) {
    body.spravochnik-page .text figure.sp-foto { max-width: 320px; }
}
/* Справочник: сводки паролей (этап 3А) — название карточки H3 выглядит как прежнее */
body.spravochnik-page .text h3.sp-pw-name { font-size: 1.05em; line-height: 1.35; margin: 0 0 4px; }
body.spravochnik-page .text .sp-pw-value code { white-space: normal; overflow-wrap: anywhere; }

@media (max-width: 640px) { body.spravochnik-page .breadcrumbs { flex-wrap: wrap; justify-content: flex-start; row-gap: 2px; } }
/* Справочник: акцентная плитка услуги (Стрелец-Мониторинг, 10.11.2026); стили самой страницы услуги — в её <style> */
body.spravochnik-page .text a.sp-tile.sp-tile--accent{background:#fff8e1;border-color:#ffb74d;border-left:4px solid #ff9800}body.spravochnik-page .text a.sp-tile.sp-tile--accent:hover,body.spravochnik-page .text a.sp-tile.sp-tile--accent:focus-visible{background:#ffe0b2}body.spravochnik-page .text .sp-tile--accent .sp-tile-badge{display:inline-block;margin:0 0 4px;padding:1px 8px;border-radius:10px;background:#ffcc80;color:#4e2500;font-size:.8em;font-weight:700}
/* Справочник: правило длины (t433u, 10.11.2026). Телефон: карточки таблиц компактнее — подпись и значение в одну строку */
@media (max-width: 640px){body.spravochnik-page .text table.sp-cards td,body.spravochnik-page .text table.sp-ind td{padding:3px 12px}body.spravochnik-page .text table.sp-cards tbody th[scope="row"],body.spravochnik-page .text table.sp-ind tbody th[scope="row"]{padding:6px 12px 4px}body.spravochnik-page .text table.sp-cards td::before{display:inline;content:attr(data-label) ": "}body.spravochnik-page .text table.sp-cards tbody tr{padding-bottom:4px}}
@media (max-width: 640px){body.spravochnik-page .text .sp-toc ol{list-style:none;padding:0 0 4px;display:flex;gap:6px;overflow-x:auto}body.spravochnik-page .text .sp-toc li{margin:0}body.spravochnik-page .text .sp-toc li a{display:inline-block;min-height:0;padding:5px 10px;border:1px solid #d5c6e4;border-radius:14px;font-size:.9em;line-height:1.3;white-space:nowrap}body.spravochnik-page .text li.sp-pw dt{display:inline;margin:0}body.spravochnik-page .text li.sp-pw dt::after{content:": "}body.spravochnik-page .text li.sp-pw dd{display:inline}body.spravochnik-page .text li.sp-pw dd::after{content:"";display:block;margin-bottom:6px}}
body.spravochnik-page .text details.sp-more{margin:8px 0 16px;border:1px solid #d5c6e4;border-radius:10px}body.spravochnik-page .text details.sp-more>summary{cursor:pointer;padding:10px 14px;font-weight:600;color:#5b4a6e}body.spravochnik-page .text details.sp-more[open]>summary{border-bottom:1px solid #d5c6e4}body.spravochnik-page .text details.sp-more .table-wrap{margin:0}
@media (max-width: 640px){body.spravochnik-page .text table.sp-ind td::before{display:inline;content:attr(data-label) ": "}body.spravochnik-page .text figure.sp-foto{max-width:200px}body.spravochnik-page .text table.sp-ind td .sp-ref,body.spravochnik-page .text table.sp-cards td .sp-ref,body.spravochnik-page .text ol.sp-steps .sp-ref{margin:0 0 0 .4em;display:inline}}
