:root {
    --navy: #001d4b;
    --cyan: #1686B0;
    --pale: #F5F8FB;
    --light: #EAF6FC;
    --gold: #C6A15B;
    --goldlight: #ffe900;
    --ink: #18344D;
    --muted: #64748B;
    --line: #DCE5ED;
    --green: #087E8B;
}

* {
    box-sizing: border-box;
}

section {
    margin: 0;
    padding: 30px 16px;
    background: #fff;
    color: var(--ink);
    font: 15px/1.45 Arial, "Segoe UI", sans-serif;
}

.price {
    max-width: 948px;
    margin: auto;
}

.topline {
    height: 6px;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    border-radius: 8px 8px 0 0;
}

.hero {
background: linear-gradient(45deg, #001d4b, #355291);
    color: #fff;
    padding: 34px 38px 30px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 28px #102b4629;
}

.brand {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--goldlight);
    text-transform: uppercase;
}

.site {
    color: #A9DDF1;
    font-size: 13px;
    margin-top: 5px;
}

.eyebrow {
    margin-top: 24px;
    color: #69D5FF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.h2 {
    color: white;
    margin: 12px 0 10px;
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.12;
    letter-spacing: -.5px;
}

.intro {
    color: #E0EAF3;
    max-width: 760px;
    margin: 0;
    font-size: 16px;
}

.gold-rule {
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 24px 0 20px;
}

.quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.quick-card {
    border: 1px solid #f0cf8673;
    border-radius: 12px;
    padding: 15px 18px;
    background: #ffffff0b;
}

.quick-price {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.quick-label {
    color: #D8E5EF;
    font-size: 13px;
    margin-top: 5px;
}

.section-title {
    margin: 30px 0 7px;
    font-size: 23px;
    color: var(--navy);
}

.section-subtitle {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.table-wrap {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 20px #102b4610;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: #001d4b;
    color: #fff;
    padding: 15px 18px;
    text-align: left;
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

thead th:last-child {
    color: var(--goldlight);
    text-align: right;
    width: 190px;
}

tbody td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    font-size: 18px;
}

tbody tr:nth-child(even) {
    background: var(--pale);
}

tbody tr.high_light {
    background: #eaf6fc;
}

tbody tr:last-child td {
    border-bottom: 0;
}

td.price {
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    color: var(--navy);
}

td.price.free {
    color: var(--green);
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
    margin-top: 15px;
}

.features_3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-top: 15px;
}

.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--light);
    color: var(--cyan);
    font-size: 19px;
    font-weight: 700;
}

.feature h3 {
    color: var(--navy);
    font-size: 15px;
    margin: 11px 0 6px;
}

.feature p {
    color: #53677A;
    font-size: 13px;
    margin: 0;
}

.conditions {
    margin-top: 28px;
    padding: 20px 22px;
    border-left: 4px solid var(--gold);
    background: #fff;
    border-radius: 0 12px 12px 0;
}

.conditions h2 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 18px;
}

.conditions ul {
    padding-left: 20px;
    margin: 0;
}

.conditions li {
    margin: 7px 0;
    font-size: 13px;
    color: #43576B;
}

.color-block {
    margin-top: 24px;
    border-radius: 14px;
    background: var(--navy);
    padding: 22px 26px;
    color: #fff;
}

.color-block strong {
    display: block;
    font-size: 21px;
    letter-spacing: .4px;
}

.color-block p {
    margin: 6px 0 8px;
    color: #E0EAF3;
    font-size: 14px;
}

.color-block a {
    color: var(--goldlight);
    text-decoration: none;
    font-weight: 700;
}

.smallprint {
    color: var(--muted);
    font-size: 11px;
    text-align: center;
    margin: 13px 0 0;
}

@media (max-width: 650px) {
    body {
        padding: 12px 8px;
    }

    .hero {
        padding: 25px 20px;
    }

    .quick,
    .features {
        grid-template-columns: 1fr;
    }

    .features_3 {
        grid-template-columns: 1fr;
    }

    thead th {
        padding: 12px 10px;
        font-size: 10px;
    }

    thead th:last-child {
        width: 120px;
    }

    tbody td {
        text-align: left;
        padding: 12px 10px;
        font-size: 14px;
    }

    td.price {
        white-space: normal;
    }
}

@media print {
    @page {
        size: A4;
        margin: 12mm;
    }

    body {
        padding: 0;
        background: #fff;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .page {
        max-width: none;
    }

    .hero,
    .footer,
    thead th,
    .quick-card {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .table-wrap,
    .feature,
    .conditions,
    .footer {
        break-inside: avoid;
    }

    .section-title {
        break-after: avoid;
    }
}

 /* Общий контейнер кнопок-вкладок */
.law-tabs {
    width: 100%;
}


.law-tabs .law-tabs__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    cursor: pointer;
    user-select: none;
}


.law-tabs .law-tabs__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 15px 50px;
    border: 1px solid #072454;
    border-radius: 15px;
    background: transparent;
    box-shadow: none;
    color: #072454;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    appearance: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.law-tabs .law-tabs__button:hover {
    background: #eef1ed;
  color: #072454;
  opasity: .7;
}

.law-tabs .law-tabs__button.is-active,
.law-tabs .law-tabs__button.is-active:hover {
    border-color: #072454;
    background: #072454;
    color: yellow;
}

.law-tabs .law-tabs__button:focus-visible {
    outline: 3px solid #b68a36;
    outline-offset: 4px;
}

.law-tabs .law-tabs__panel[hidden] {
    display: none !important;
}

@media (max-width: 600px) {
    .law-tabs .law-tabs__buttons {
        gap: 12px;
    }

    .law-tabs .law-tabs__button {
        flex: 1 1 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
}

.row_btn {
    display: flex;
    justify-content: center;
}