@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;
}

/* Fallback с метриками Roboto (hhea 1900/-500/0, upem 2048), чтобы swap не давал CLS у #korotko и заголовков. */
@font-face {
    font-family: 'Roboto Fallback';
    src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
    ascent-override: 92.7734%;
    descent-override: 24.4141%;
    line-gap-override: 0%;
    size-adjust: 100.06%;
}

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

strong, b {
    font-weight: 700;
}

main {
    position: relative;
}

.header-image {
    width: 100%;     
    height: 240px;
    min-height: 240px;
    position: relative;
    overflow: hidden;
    background-color: #262626;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

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






@media (min-width: 768px) {
    .header-image {
        height: 240px;
        min-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;
    
}


.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 a {
    color: #0a58ca;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    padding: 8px 4px;
    margin: 4px 0;
    min-height: 44px;
    min-width: 44px;
}

.text ul {
    list-style: none;
    padding: 0;
}

.text li {
    margin: 8px 0;
}

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

.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;
}

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

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



#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-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;
}



.buttons-container {
    margin: 10px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    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;
 }

.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 {
    background-color: #7C3AED;
    animation: maxBlink 1.0s infinite;
}


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

.button-telegram::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.287 5.906c-.778.324-2.334.994-4.666 2.01-.378.15-.577.298-.595.442-.03.243.275.339.69.47l.175.055c.408.133.958.288 1.243.294.26.006.549-.1.868-.32 2.179-1.471 3.304-2.214 3.374-2.23.05-.012.12-.026.166.016.047.041.042.12.037.141-.03.129-1.227 1.241-1.846 1.817-.193.18-.33.307-.358.336a8.154 8.154 0 0 1-.188.186c-.38.366-.664.64.015 1.088.327.216.589.393.85.571.284.194.568.387.936.629.093.06.183.125.27.187.331.236.63.448.997.414.214-.02.435-.22.547-.82.265-1.417.786-4.486.906-5.751a1.426 1.426 0 0 0-.013-.315.337.337 0 0 0-.114-.217.526.526 0 0 0-.31-.093c-.3.005-.763.166-2.984 1.09z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}


.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;
 }


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

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




@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;
 }
 
 
 



/* ===== ДЕСКТОПНАЯ ВЕРСИЯ ===== */
@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(#nav) {
    grid-column: 2;
  }

  .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;     
}
.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; 
}

.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;
}

/* FAQ Accordion Section */
#faq{background:#fff;border-radius:14px;padding:20px;margin:20px 0}
#faq h2{margin:0 0 20px 0;color:#262626;font-size:1.5rem}

.faq-item{border:1px solid #e0e0e0;border-radius:8px;margin-bottom:12px;overflow:hidden;transition:all 0.3s ease}
.faq-item:last-child{margin-bottom:0}
.faq-item.active{border-color:#0066cc;box-shadow:0 2px 8px rgba(0,102,204,0.15)}

.faq-question{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:#f8f9fa;cursor:pointer;transition:background 0.3s ease;user-select:none}
.faq-question:hover{background:#e9ecef}
.faq-item.active .faq-question{background:#0066cc;color:#fff}

.faq-question h3{margin:0;font-size:1.1rem;font-weight:600;color:inherit;transition:color 0.3s ease}

.faq-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#fff;border:2px solid #0066cc;color:#0066cc;font-size:18px;font-weight:700;transition:all 0.3s ease;flex-shrink:0}
.faq-item.active .faq-icon{background:#fff;color:#0066cc;transform:rotate(45deg)}

.faq-answer{max-height:0;overflow:hidden;transition:max-height 0.3s ease, padding 0.3s ease;background:#fff}
.faq-item.active .faq-answer{max-height:500px;padding:16px 20px}

.faq-answer p{margin:0;color:#444;line-height:1.6}
.faq-answer a{color:#0066cc;text-decoration:none}
.faq-answer a:hover{text-decoration:underline}

@media(max-width:768px){
  #faq{padding:14px}
  #faq h2{font-size:1.3rem}
  .faq-question{padding:12px 16px}
  .faq-question h3{font-size:1rem}
  .faq-item.active .faq-answer{padding:12px 16px}
}

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

/* knowledge:start */
/* База знаний: дополнения без изменения сетки и меню услуг. */
.knowledge-page .breadcrumbs { flex-wrap: wrap; box-sizing: border-box; padding: 0 12px; }
.knowledge-content { overflow-wrap: anywhere; }
.knowledge-content a { display: inline; padding: 0; margin: 0; min-width: 0; min-height: 0; text-decoration: underline; }
.knowledge-content ul { list-style: disc; padding-left: 1.5em; }
.knowledge-content ol { padding-left: 1.5em; }
.article-meta, .article-figure figcaption, .knowledge-list time { color: #555; font-size: .9em; }
.article-figure { display: block; margin: 16px auto 24px; max-width: 560px; width: 100%; float: none; text-align: center; }
.article-figure img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; margin: 0 auto; border-radius: 14px; }
.article-figure figcaption { margin-top: 8px; font-size: 13px; color: #666; text-align: center; }
@media (max-width: 640px) {
    .article-figure { max-width: 100%; margin: 16px 0 24px; }
}
.knowledge-group { border-top: 1px solid #ddd; margin-top: 24px; padding-top: 8px; }
#related-articles { background: #fff; border-radius: 14px; padding: 14px; margin: 16px 8px; box-shadow: 6px 6px 18px rgba(0,0,0,.16); }
#related-articles a { color: #0a58ca; }
@media (min-width: 900px) {
  #related-articles { grid-column: 2; margin: 16px 0; font-size: 18px; line-height: 1.6; }
}

/* Кнопка «База знаний» в меню: слегка бирюзовая заливка, та же форма */
.sections-list a.nav-baza-all {
    background: linear-gradient(#d6eef0, #b8dce0);
}
.sections-list a.nav-baza-all:hover {
    background: #b5d6da;
}

/* FAQ новых статей: родные классы, без ограничения высоты ответа. */
.knowledge-content #faq .faq-question:focus-visible { outline: 3px solid #0057a8; outline-offset: -3px; }
.knowledge-content #faq .faq-answer { max-height: none; padding: 16px 20px; }
.knowledge-content #faq .faq-answer[hidden] { display: none; }
/* Таблицы статей базы знаний. Правило Максима 09.11.2026:
   тонкие границы, небольшое скругление, бледно-бирюзовая заливка названий столбцов и строк. */
.knowledge-content .table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
}
.knowledge-content table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #b7d5d9;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin: 16px 0;
}
.knowledge-content .table-wrap table { margin: 0; min-width: 520px; }
.knowledge-content th,
.knowledge-content td {
    border-right: 1px solid #b7d5d9;
    border-bottom: 1px solid #b7d5d9;
    padding: 10px 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
    vertical-align: top;
}
.knowledge-content tr > *:last-child { border-right: none; }
.knowledge-content tbody tr:last-child > * { border-bottom: none; }
.knowledge-content table thead th {
    background: #e8f5f6;
    font-weight: 600;
}
/* 10.11.2026: заголовки строк светлее шапки, чтобы первая ячейка данных не сливалась с ней */
.knowledge-content table tbody th,
.knowledge-content table th[scope="row"] {
    background: #f4fafb;
    font-weight: 600;
}
.knowledge-content table thead th {
    border-bottom: 2px solid #8fb8bd;
}
@media (max-width: 640px) {
    .knowledge-content th,
    .knowledge-content td {
        padding: 8px 10px;
        font-size: 15px;
    }
}
/* knowledge:end */

/* Кнопка «Справочник»: морская волна, 13.11.2026. Только аддитивно; цвета «Базы знаний» не менялись. */
.sections-list a.nav-spravochnik {
    background: linear-gradient(#117A80, #0D7377);
    color: #ffffff;
    border-color: #0A5C60;
}
.sections-list a.nav-spravochnik:hover,
.sections-list a.nav-spravochnik:focus-visible {
    background: #0A5C60;
    color: #ffffff;
}
.sections-list a.nav-spravochnik:active {
    background: #084B4F;
    color: #ffffff;
}


/* Этап 3, 13.11.2026: мобильная читаемость (ориентир — главная Дагестана)
   и быстрые ссылки «База знаний» / «Справочник» под кнопками связи.
   Кнопки «Позвонить», Telegram, Max и хедер не менялись. */
.quick-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px 12px 6px;
}
.quick-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 140px;
    max-width: 320px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-sizing: border-box;
}
.quick-nav a.nav-baza-all {
    background: linear-gradient(#d6eef0, #b8dce0);
    color: #123;
    border: 2px solid #7aa3a8;
}
.quick-nav a.nav-spravochnik {
    background: linear-gradient(#117A80, #0D7377);
    color: #ffffff;
    border: 2px solid #0A5C60;
}
.quick-nav a:hover,
.quick-nav a:focus-visible {
    text-decoration: none;
    filter: brightness(0.97);
}
@media (max-width: 899px) {
    .text {
        font-size: 17px;
        line-height: 1.55;
    }
    .text a {
        display: inline;
        padding: 0;
        margin: 0;
        min-height: 0;
        min-width: 0;
    }
    .text ul {
        list-style: disc;
        padding-left: 1.25em;
        margin: 0.35em 0 0.8em;
    }
    .text li {
        margin: 0 0 0.35em;
        padding: 0;
        line-height: 1.45;
    }
}

/* t707u / t698u: единый стиль таблиц на всех страницах, включая старые.
   Тонкие границы ячеек, скругление 8px, первая строка #d9f2f0,
   разделитель 2px под первой строкой, горизонтальный скролл на мобильном. */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}
.table-scroll > table { margin: 0; }

main table,
article table,
.sp-wrap table,
.knowledge-content table,
.license-table,
.kb-table,
.sp-table,
.content table,
.table-scroll table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #b7d5d9;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin: 16px 0;
  box-shadow: none;
}
main table th,
main table td,
article table th,
article table td,
.sp-wrap table th,
.sp-wrap table td,
.knowledge-content table th,
.knowledge-content table td,
.license-table th,
.license-table td,
.kb-table th,
.kb-table td,
.sp-table th,
.sp-table td,
.table-scroll table th,
.table-scroll table td {
  border-right: 1px solid #b7d5d9;
  border-bottom: 1px solid #b7d5d9;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  color: inherit;
}
main table tr > *:last-child,
article table tr > *:last-child,
.sp-wrap table tr > *:last-child,
.knowledge-content table tr > *:last-child,
.license-table tr > *:last-child,
.kb-table tr > *:last-child,
.sp-table tr > *:last-child,
.table-scroll table tr > *:last-child { border-right: none; }

main table tr:last-child > *,
article table tr:last-child > *,
.sp-wrap table tr:last-child > *,
.knowledge-content table tr:last-child > *,
.license-table tr:last-child > *,
.kb-table tr:last-child > *,
.sp-table tr:last-child > *,
.table-scroll table tr:last-child > * { border-bottom: none; }

/* Первая строка: thead или первая tr, если thead нет */
main table thead th,
main table thead td,
article table thead th,
article table thead td,
.sp-wrap table thead th,
.knowledge-content table thead th,
.license-table thead th,
.kb-table thead th,
.sp-table thead th,
.table-scroll table thead th,
main table:not(:has(thead)) > tbody > tr:first-child > th,
main table:not(:has(thead)) > tbody > tr:first-child > td,
main table:not(:has(thead)) > tr:first-child > th,
main table:not(:has(thead)) > tr:first-child > td,
article table:not(:has(thead)) > tbody > tr:first-child > th,
article table:not(:has(thead)) > tbody > tr:first-child > td,
.sp-wrap table:not(:has(thead)) > tbody > tr:first-child > th,
.sp-wrap table:not(:has(thead)) > tbody > tr:first-child > td,
.license-table:not(:has(thead)) > tbody > tr:first-child > th,
.license-table:not(:has(thead)) > tbody > tr:first-child > td,
.license-table:not(:has(thead)) > tr:first-child > th,
.license-table:not(:has(thead)) > tr:first-child > td,
.kb-table:not(:has(thead)) > tbody > tr:first-child > th,
.sp-table:not(:has(thead)) > tbody > tr:first-child > th,
.sp-table:not(:has(thead)) > tbody > tr:first-child > td,
.table-scroll table:not(:has(thead)) > tbody > tr:first-child > th,
.table-scroll table:not(:has(thead)) > tbody > tr:first-child > td,
.knowledge-content table:not(:has(thead)) > tbody > tr:first-child > th,
.knowledge-content table:not(:has(thead)) > tbody > tr:first-child > td {
  background: #d9f2f0 !important;
  color: #1a2f2e !important;
  font-weight: 600;
}

main table thead tr:last-child > *,
article table thead tr:last-child > *,
.sp-wrap table thead tr:last-child > *,
.knowledge-content table thead tr:last-child > *,
.license-table thead tr:last-child > *,
.kb-table thead tr:last-child > *,
.table-scroll table thead tr:last-child > *,
main table:not(:has(thead)) > tbody > tr:first-child > *,
main table:not(:has(thead)) > tr:first-child > *,
article table:not(:has(thead)) > tbody > tr:first-child > *,
.sp-wrap table:not(:has(thead)) > tbody > tr:first-child > *,
.license-table:not(:has(thead)) > tbody > tr:first-child > *,
.license-table:not(:has(thead)) > tr:first-child > *,
.sp-table:not(:has(thead)) > tbody > tr:first-child > *,
.kb-table:not(:has(thead)) > tbody > tr:first-child > *,
.knowledge-content table:not(:has(thead)) > tbody > tr:first-child > *,
.table-scroll table:not(:has(thead)) > tbody > tr:first-child > * {
  border-bottom: 2px solid #7eb8b4;
}

/* Левая колонка характеристик (не первая строка) — без бирюзовой заливки всей колонки */
.sp-table th { width: 42%; background: transparent; font-weight: 600; }

/* t707u: аккордеоны FAQ на details/summary, без тяжёлого JS */
.sp-faq details,
.sp-acc details,
details.faq-item {
  margin: 0 0 10px;
  border: 1px solid #b7d5d9;
  border-radius: 8px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.sp-faq details:last-child,
.sp-acc details:last-child,
details.faq-item:last-child { margin-bottom: 0; }

.sp-faq summary,
.sp-acc summary,
details.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  background: #d9f2f0;
  font-weight: 600;
  color: #1a2f2e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.sp-faq summary::-webkit-details-marker,
.sp-acc summary::-webkit-details-marker,
details.faq-item > summary::-webkit-details-marker { display: none; }
.sp-faq summary::marker,
.sp-acc summary::marker,
details.faq-item > summary::marker { content: ""; }

.sp-faq summary::after,
.sp-acc summary::after,
details.faq-item > summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.4em;
  text-align: center;
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1;
  color: #0D7377;
}
.sp-faq details[open] > summary::after,
.sp-acc details[open] > summary::after,
details.faq-item[open] > summary::after { content: "\2212"; }

.sp-faq details > *:not(summary),
.sp-acc details > *:not(summary),
details.faq-item > *:not(summary) {
  padding: 12px 16px 16px;
  margin: 0;
}
.sp-faq details > *:not(summary) + *,
.sp-acc details > *:not(summary) + * { padding-top: 0; }

/* Старые FAQ на div+JS: тот же вид, без тяжёлой синей заливки активного пункта */
.faq-item {
  border: 1px solid #b7d5d9 !important;
  border-radius: 8px;
  margin-bottom: 10px !important;
  overflow: hidden;
  box-shadow: none !important;
}
.faq-item.active { border-color: #7eb8b4 !important; }
.faq-question {
  padding: 12px 16px !important;
  background: #d9f2f0 !important;
  color: #1a2f2e !important;
}
.faq-item.active .faq-question {
  background: #c5ebe8 !important;
  color: #1a2f2e !important;
}
.faq-icon {
  background: transparent !important;
  border: none !important;
  color: #0D7377 !important;
  width: auto !important;
  height: auto !important;
  font-size: 1.15em !important;
  font-weight: 700 !important;
}
.faq-item.active .faq-icon { transform: none !important; color: #0D7377 !important; }

@media (max-width: 640px) {
  .table-scroll { margin: 12px 0; }
  main table th, main table td,
  .sp-table th, .sp-table td,
  .license-table th, .license-table td,
  .knowledge-content table th, .knowledge-content table td {
    padding: 8px 8px;
    font-size: 15px;
  }
}
