/* ============================================================
   ТЕХНИЧЕСКИЕ ВОЗМОЖНОСТИ — таблицы ТТХ на странице продукции
   Подключается: <link rel="stylesheet" href="css/specs.css">
   ============================================================ */

.specs-section {
    padding: 120px 0;
    background: #0d0d0d;
}

.specs-section h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
}
.specs-section h2 span { color: #ff8a00; }

.specs-intro {
    max-width: 780px;
    margin: 0 auto 60px;
    text-align: center;
    color: #c9c9c9;
    font-size: 18px;
    line-height: 1.8;
}

.spec-block {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 38px 40px;
    margin-bottom: 28px;
    transition: border-color .35s;
}
.spec-block:hover { border-color: rgba(255, 138, 0, .4); }

.spec-block h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.spec-machine {
    color: #ff8a00;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 26px;
}

/* Горизонтальная прокрутка таблиц на узких экранах,
   чтобы цифры не сжимались в кашу */
.spec-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    min-width: 420px;
}

.spec-table th,
.spec-table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    vertical-align: top;
}

.spec-table thead th {
    color: #ff8a00;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
    border-bottom-color: rgba(255, 138, 0, .35);
}

/* Заголовок строки (первый столбец в вертикальных таблицах) */
.spec-table tbody th[scope="row"] {
    color: #9a9a9a;
    font-weight: 500;
    width: 42%;
}

.spec-table td { color: #fff; font-weight: 600; }
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover { background: rgba(255, 255, 255, .03); }

.spec-list {
    list-style: none;
    margin-top: 22px;
    padding: 0;
}
.spec-list li {
    color: #c9c9c9;
    padding: 7px 0 7px 24px;
    position: relative;
    line-height: 1.7;
}
.spec-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 17px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ff8a00;
}
.spec-list strong { color: #fff; font-weight: 600; }

.spec-note {
    margin-top: 20px;
    color: #9a9a9a;
    font-size: 15px;
    line-height: 1.75;
    padding-left: 16px;
    border-left: 2px solid rgba(255, 138, 0, .5);
}
.spec-note a { color: #ff8a00; }

.specs-cta {
    text-align: center;
    margin-top: 50px;
}
.specs-cta p {
    color: #c9c9c9;
    font-size: 18px;
    margin-bottom: 22px;
}

/* Заголовок таблицы для программ чтения с экрана — визуально скрыт */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .specs-section { padding: 80px 0; }
    .specs-section h2 { font-size: 34px; }
    .specs-intro { font-size: 16px; margin-bottom: 40px; }
    .spec-block { padding: 26px 22px; }
    .spec-block h3 { font-size: 23px; }
    .spec-table { font-size: 15px; }
    .spec-table th, .spec-table td { padding: 12px 14px; }
}
