.tabs-one {
    padding: 60px 0 0;
    font-family: 'Proxima Nova Rg';
}

.tabs-one__nav {
    display: flex;
    align-items: stretch;
    border-bottom: none;
    gap: 0;
    margin-bottom: 48px;
    padding: 0;
}

.tabs-one__nav-item {
    list-style: none;
}

.tabs-one__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 32px;
    font-family: 'Proxima Nova Rg';
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    background: #fff;
    border: 1px solid #fdda77;
    color: #2196c4;
    text-decoration: none;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease;
    white-space: nowrap;
    position: relative;
    margin-right: 2px;
}

.tabs-one__nav-btn:not(.tabs-one__nav-btn--active):hover {
    background: #faf7ec;
    border-color: #fdda77;
    color: #383838;
}

.tabs-one__nav-btn--active {
    background: #fdc600;
    color: #383838;
    z-index: 1;
}

.tabs-one__panels {
}

.tabs-one__panel {
    display: none;
    animation: fadeInUp 0.3s ease both;
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 20px;
}

.tabs-one__panel--active {
    display: block;
}

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

.tabs-one__heading {
    font-size: clamp(28px, 4vw, 30px);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #383838;
    margin-bottom: 28px;
    line-height: 1.15;
}

.tabs-one__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tabs-one__body p {
    font-size: 16px;
    color: #383838;
}

.tabs-one__body a {
    color: #2196c4;
    text-decoration: none;
    font-weight: 600;
}

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

.tabs-one__cards {
    display: none;
}

.tabs-one__board-list {
    display: none;
}

/* =====================
   Планшет — до 1024px
===================== */
@media (max-width: 1024px) {
    .tabs-one {
        padding: 40px 0 0;
    }

    .tabs-one__nav {
        margin-bottom: 36px;
    }

    .tabs-one__nav-btn {
        height: 48px;
        padding: 0 22px;
        font-size: 14px;
    }

    .tabs-one__heading {
        font-size: 26px;
        margin-bottom: 22px;
    }

    .tabs-one__body p {
        font-size: 15px;
    }
}

/* =====================
   Мобильный — до 768px
===================== */
@media (max-width: 768px) {
    .tabs-one {
        padding: 28px 0 0;
    }

    .tabs-one__nav {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 28px;
    }

    .tabs-one__nav-item {
        flex: 1 1 auto;
    }

    .tabs-one__nav-btn {
        width: 100%;
        height: 44px;
        padding: 0 16px;
        font-size: 14px;
        margin-right: 0;
        white-space: normal;
        text-align: center;
    }

    .tabs-one__heading {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .tabs-one__body {
        gap: 16px;
    }

    .tabs-one__body p {
        font-size: 15px;
        line-height: 1.65;
    }

    .tabs-one__panel {
        padding-bottom: 24px;
    }
}

/* =====================
   Мобильный — до 480px
===================== */
@media (max-width: 480px) {
    .tabs-one__nav {
        flex-direction: column;
        gap: 4px;
    }

    .tabs-one__nav-item {
        flex: none;
        width: 100%;
    }

    .tabs-one__nav-btn {
        height: 46px;
        font-size: 14px;
        justify-content: flex-start;
        padding: 0 18px;
    }

    .tabs-one__heading {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .tabs-one__body p {
        font-size: 14px;
    }
}

/* ===== Points как в макете ===== */

.tabs-one__points {
    margin-top: 48px;
}

/* Заголовок */
.tabs-one__points-title {
    font-size: 32px;
    font-weight: 300;
    color: #383838;
    margin-bottom: 40px;
}

/* Сетка */
.tabs-one__points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 80px;
}

/* Карточка */
.tabs-one__points-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
}

/* Кружок */
.tabs-one__points-number {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fdc600;
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 600;
    font-size: 18px;
    color: #383838;
}

/* Текст */
.tabs-one__points-text {
    font-size: 20px;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 420px;
}

/* Планшет */
@media (max-width: 1024px) {
    .tabs-one__points-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 40px;
    }

    .tabs-one__points-text {
        font-size: 18px;
    }
}

/* Мобилка */
@media (max-width: 768px) {
    .tabs-one__points-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tabs-one__points-title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .tabs-one__points-text {
        font-size: 16px;
    }
}

.tabs-one__content a {
    text-decoration: none;
    color: #048ec9;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tabs-one__content a:hover {
    color: #383838;
}

/* ===== Таблица внутри tabs-one__content ===== */

.tabs-one__content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    color: #383838;
}

.tabs-one__content table thead th {
    padding: 14px 24px;
    font-weight: 700;
    font-size: 14px;
    color: #383838;
    text-align: left;
    border: 1px solid #e0ddd6;
    background: #f5f3ee;
}

.tabs-one__content table tbody td {
    padding: 24px;
    border: 1px solid #e0ddd6;
    vertical-align: top;
    line-height: 1.65;
    font-size: 15px;
    color: #383838;
}

/* Зебра — нечётные строки */
.tabs-one__content table tbody tr:nth-child(odd) td {
    background: #f8f6f1;
}

/* Чётные строки */
.tabs-one__content table tbody tr:nth-child(even) td {
    background: #ffffff;
}

.tabs-one__content table tbody td:first-child {
    white-space: nowrap;
    min-width: 180px;
}

.tabs-one__content table tbody td ul {
    margin: 0;
    padding: 0 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tabs-one__content table tbody td ul li {
    line-height: 1.65;
}

/* Планшет */
@media (max-width: 1024px) {
    .tabs-one__content table tbody td {
        padding: 18px;
    }

    .tabs-one__content table tbody td:first-child {
        min-width: 140px;
    }
}

/* Мобилка — стек */
@media (max-width: 768px) {
    .tabs-one__content table,
    .tabs-one__content table tbody,
    .tabs-one__content table tr,
    .tabs-one__content table td {
        display: block;
        width: 100%;
    }

    .tabs-one__content table thead {
        display: none;
    }

    .tabs-one__content table tbody tr:nth-child(odd) td,
    .tabs-one__content table tbody tr:nth-child(even) td {
        background: #ffffff;
    }

    .tabs-one__content table tbody tr:nth-child(odd) td:first-child,
    .tabs-one__content table tbody tr:nth-child(even) td:first-child {
        background: #f8f6f1;
    }

    .tabs-one__content table tbody td:first-child {
        font-weight: 700;
        white-space: normal;
        border-bottom: none;
    }

    .tabs-one__content table tbody tr {
        margin-bottom: 12px;
        border: 1px solid #e0ddd6;
    }

    .tabs-one__content table tbody td {
        border: none;
        border-bottom: 1px solid #e0ddd6;
    }
}
