/* Калькулятор среднего балла аттестата */

.attestat-calc__intro {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center;
    color: #444;
}

.attestat-calc__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.attestat-calc__tab {
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f5f5f5;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.attestat-calc__tab:hover,
.attestat-calc__tab:focus {
    border-color: #999;
}

.attestat-calc__tab.active {
    background-image: linear-gradient(132.6deg, rgba(19, 19, 214, 1) 34%, rgba(19, 19, 214, 1) 35%, rgba(17, 22, 145, 1) 74%);
    color: #fff;
    border-color: transparent;
    font-weight: bold;
}

.attestat-calc__mode {
    margin-bottom: 20px;
}

.attestat-calc__counter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 0 0 20px;
}

.attestat-calc__counter {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    min-width: 160px;
    flex: 1 1 160px;
    max-width: 220px;
}

.attestat-calc__counter-label {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.attestat-calc__counter-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.attestat-calc__counter-input {
    max-width: 72px;
    min-width: 56px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 4px;
    margin-bottom: 0;
}

.attestat-calc__counter-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f5f5f5;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.attestat-calc__counter-btn:hover,
.attestat-calc__counter-btn:focus {
    background: #e8e8e8;
    border-color: #999;
}

.attestat-calc__class-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.attestat-calc__switch-btn {
    padding: 8px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f5f5f5;
    font-size: 15px;
    cursor: pointer;
}

.attestat-calc__switch-btn.active {
    background-image: linear-gradient(132.6deg, rgba(19, 19, 214, 1) 34%, rgba(19, 19, 214, 1) 35%, rgba(17, 22, 145, 1) 74%);
    color: #fff;
    border-color: transparent;
    font-weight: bold;
}

.attestat-calc__subjects-note {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 20px;
    color: #555;
}

.attestat-calc__subjects {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.attestat-calc__subject-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.attestat-calc__subject-name-zone,
.attestat-calc__subject-grade-zone {
    margin-bottom: 0;
}

.attestat-calc__subject-name {
    width: 100%;
    font-size: 16px;
    margin-bottom: 0;
}

.attestat-calc__subject-grade {
    min-width: 72px;
    font-size: 16px;
    padding: 8px;
}

.attestat-calc__remove-subject-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fafafa;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    height: fit-content;
    margin-bottom: 2px;
}

.attestat-calc__remove-subject-btn:hover,
.attestat-calc__remove-subject-btn:focus {
    background: #f0f0f0;
    border-color: #bbb;
}

.attestat-calc__subjects-actions {
    max-width: 640px;
    margin: 0 auto;
}

.attestat-calc__add-subject-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.attestat-calc__new-subject {
    flex: 1 1 200px;
    font-size: 16px;
}

.attestat-calc__subjects-bulk {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.attestat-calc__form-error,
.attestat-calc__result-error {
    text-align: center;
    margin-top: 8px;
}

.attestat-calc__link-card {
    max-width: 700px;
    margin: 30px auto;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9ff;
    text-align: center;
}

.attestat-calc__link-card-title {
    font-size: 22px;
    margin: 0 0 12px;
}

.attestat-calc__link-card p {
    margin-bottom: 0;
    color: #444;
    line-height: 1.6;
}

.attestat-calc__result-card {
    padding: 28px 24px 24px;
    text-align: left;
    border-radius: 16px;
    border: 1px solid #e4e8f5;
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 120px);
}

.attestat-calc__result-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 24px 16px;
    border-radius: 12px;
    background: linear-gradient(132.6deg, rgba(19, 19, 214, 0.08) 0%, rgba(17, 22, 145, 0.06) 100%);
    text-align: center;
}

.attestat-calc__result-main-label {
    font-size: 18px;
    color: #444;
}

.attestat-calc__result-main-value {
    font-size: 52px;
    font-weight: bold;
    line-height: 1;
    color: #1116a1;
}

.attestat-calc__result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.attestat-calc__summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid #e8eaf0;
    border-radius: 10px;
    background: #fff;
}

.attestat-calc__summary-label {
    font-size: 13px;
    color: #666;
}

.attestat-calc__summary-value {
    font-size: 22px;
    font-weight: bold;
    color: #222;
}

.attestat-calc__forecast-title {
    font-size: 17px;
    margin: 0 0 12px;
    color: #333;
}

.attestat-calc__distribution-bars,
.attestat-calc__forecast-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.attestat-calc__distribution-item,
.attestat-calc__forecast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border: 1px solid #e8eaf0;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.attestat-calc__distribution-item span {
    font-size: 28px;
    font-weight: bold;
    color: #111;
}

.attestat-calc__distribution-item strong {
    font-size: 18px;
    color: #333;
}

.attestat-calc__result-distribution {
    margin-bottom: 24px;
}

.attestat-calc__forecast {
    margin-bottom: 20px;
}

.attestat-calc__forecast-label {
    font-size: 13px;
    color: #666;
}

.attestat-calc__forecast-value {
    font-size: 18px;
    font-weight: bold;
    color: #1116a1;
}

.attestat-calc__note {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #f5f7ff;
    border: 1px solid #e0e6ff;
    color: #444;
    line-height: 1.5;
}

.attestat-calc__result-footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef1fa;
}

.attestat-calc__copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 220px;
    height: auto;
    margin-right: 0;
    padding: 12px 20px 12px 52px;
    background-size: 24px 24px;
    background-position: 16px center;
    background-repeat: no-repeat;
    white-space: nowrap;
}

.attestat-calc__copy-btn-text {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.attestat-info {
    max-width: 1200px;
    margin: 0 auto 35px;
}

.attestat-info a {
    color: #0f0fff;
    border-bottom: 1px solid rgba(15, 15, 255, 0.25);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.attestat-info a:hover,
.attestat-info a:focus {
    color: #050a99;
    border-color: #050a99;
}

.attestat-info__hero {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 25px;
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 12px;
    background: linear-gradient(132.60036294847635deg, rgba(15, 15, 255, 1) 34.0895190834999%, rgba(22, 28, 186, 1) 74.23275063435236%);
    color: #fff;
    box-shadow: 0 11px 34px -26px rgba(0, 0, 0, 0.75);
}

.attestat-info__hero-content {
    max-width: 760px;
}

.attestat-info__label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.2;
}

.attestat-info__title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
}

.attestat-info__lead {
    margin: 0;
    font-size: 22px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.attestat-info__score-card {
    width: 260px;
    min-width: 240px;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    color: #000;
    box-shadow: 0 11px 34px -26px rgba(0, 0, 0, 0.75);
}

.attestat-info__grade-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.attestat-info__grade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    background-color: #f3f5fa;
    font-size: 15px;
    color: #444;
}

.attestat-info__grade-item strong {
    color: #0f0fff;
    font-size: 20px;
}

.attestat-info__score-result {
    padding: 18px 12px;
    border-radius: 10px;
    text-align: center;
    background-color: #eaf7ff;
}

.attestat-info__score-small {
    display: block;
    margin-bottom: 5px;
    color: #8093a7;
    font-size: 15px;
}

.attestat-info__score-result strong {
    display: block;
    color: #0f0fff;
    font-size: 42px;
    line-height: 1;
}

.attestat-info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.attestat-info__card {
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 11px 34px -30px rgba(0, 0, 0, 0.75);
}

.attestat-info__card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.attestat-info__card p {
    margin: 0;
    color: #555;
    font-size: 18px;
    line-height: 1.45;
}

.attestat-info__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 50%;
    background-image: linear-gradient(315deg, #06bcfb 0%, #4884ee 74%);
    color: #fff;
    font-weight: 700;
}

.attestat-info__formula {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 18px;
    margin-bottom: 25px;
}

.attestat-info__formula-main,
.attestat-info__note,
.attestat-info__links {
    padding: 26px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fff;
}

.attestat-info__formula-main {
    background-color: #f8fbff;
}

.attestat-info__formula-main h3,
.attestat-info__note h3,
.attestat-info__links h3,
.attestat-info__features h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.attestat-info__formula-main p,
.attestat-info__note p,
.attestat-info__links p {
    margin-top: 0;
    color: #444;
    font-size: 18px;
    line-height: 1.5;
}

.attestat-info__formula-main p:last-child,
.attestat-info__note p:last-child,
.attestat-info__links p:last-child {
    margin-bottom: 0;
}

.attestat-info__formula-box {
    margin: 18px 0;
    padding: 18px;
    border-left: 5px solid #0f0fff;
    border-radius: 8px;
    background-color: #fff;
    color: #0f0fff;
    font-size: 24px;
    font-weight: 700;
}

.attestat-info__note {
    border-color: #d9edff;
    background-color: #eaf7ff;
}

.attestat-info__note-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 17px;
    font-weight: 700;
}

.attestat-info__features {
    margin-bottom: 25px;
    padding: 26px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fff;
}

.attestat-info__features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.attestat-info__feature {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fafbff;
}

.attestat-info__feature strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    color: #0f0fff;
}

.attestat-info__feature p {
    margin: 0;
    color: #555;
    font-size: 17px;
    line-height: 1.45;
}

.attestat-info__links {
    background-color: #fff;
}

@media (max-width: 900px) {
    .attestat-info__hero,
    .attestat-info__formula {
        display: block;
    }

    .attestat-info__score-card {
        width: 100%;
        margin-top: 20px;
    }

    .attestat-info__grid,
    .attestat-info__features-grid {
        grid-template-columns: 1fr;
    }

    .attestat-info__note {
        margin-top: 18px;
    }
}

@media (max-width: 540px) {
    .attestat-info__hero,
    .attestat-info__card,
    .attestat-info__formula-main,
    .attestat-info__note,
    .attestat-info__links,
    .attestat-info__features {
        padding: 20px 16px;
    }

    .attestat-info__lead {
        font-size: 19px;
    }

    .attestat-info__formula-box {
        font-size: 20px;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .attestat-calc__counter-list {
        gap: 12px;
    }

    .attestat-calc__counter {
        min-width: calc(50% - 8px);
        max-width: none;
    }

    .attestat-calc__subject-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .attestat-calc__remove-subject-btn {
        width: 100%;
    }

    .attestat-calc__result-main-value {
        font-size: 42px;
    }

    .attestat-calc__copy-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 430px) {
    .attestat-calc__tab {
        flex: 1 1 calc(50% - 4px);
        font-size: 14px;
        padding: 10px 12px;
    }

    .attestat-calc__counter {
        min-width: 100%;
    }

    .attestat-calc__add-subject-row {
        flex-direction: column;
        align-items: stretch;
    }

    .attestat-calc__add-subject-row .sub-btn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .attestat-calc__counter-input {
        max-width: 56px;
        min-width: 48px;
        font-size: 18px;
    }

    .attestat-calc__counter-btn {
        width: 36px;
        height: 36px;
    }
}
.attestat-info,
.attestat-faq {
    max-width: 1200px;
    margin: 0 auto 35px;
}

.attestat-info a,
.attestat-faq a {
    color: #0f0fff;
    border-bottom: 1px solid rgba(15, 15, 255, 0.25);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.attestat-info a:hover,
.attestat-info a:focus,
.attestat-faq a:hover,
.attestat-faq a:focus {
    color: #050a99;
    border-color: #050a99;
}

.attestat-info__hero,
.attestat-faq__head {
    border-radius: 12px;
    background: linear-gradient(132.60036294847635deg, rgba(15, 15, 255, 1) 34.0895190834999%, rgba(22, 28, 186, 1) 74.23275063435236%);
    color: #fff;
    box-shadow: 0 11px 34px -26px rgba(0, 0, 0, 0.75);
}

.attestat-info__hero {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 25px;
    margin-bottom: 25px;
    padding: 30px;
}

.attestat-info__hero-content {
    max-width: 760px;
}

.attestat-info__label,
.attestat-faq__label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.2;
}

.attestat-info__title,
.attestat-faq__title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
}

.attestat-info__lead,
.attestat-faq__lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    line-height: 1.45;
}

.attestat-info__score-card {
    width: 290px;
    min-width: 260px;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    color: #000;
    box-shadow: 0 11px 34px -26px rgba(0, 0, 0, 0.75);
}

.attestat-info__grade-list {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.attestat-info__grade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background-color: #f3f5fa;
}

.attestat-info__grade-item span {
    color: #64748b;
    font-size: 15px;
}

.attestat-info__grade-item strong {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 999px;
    background-color: #fff;
    color: #0f0fff;
    font-size: 19px;
}

.attestat-info__score-result {
    padding: 18px 12px;
    border-radius: 10px;
    text-align: center;
    background-color: #eaf7ff;
}

.attestat-info__score-small {
    display: block;
    margin-bottom: 5px;
    color: #8093a7;
    font-size: 15px;
}

.attestat-info__score-result strong {
    display: block;
    color: #0f0fff;
    font-size: 42px;
    line-height: 1;
}

.attestat-info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.attestat-info__card {
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 11px 34px -30px rgba(0, 0, 0, 0.75);
}

.attestat-info__card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.attestat-info__card p {
    margin: 0;
    color: #555;
    font-size: 18px;
    line-height: 1.45;
}

.attestat-info__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 50%;
    background-image: linear-gradient(315deg, #06bcfb 0%, #4884ee 74%);
    color: #fff;
    font-weight: 700;
}

.attestat-info__formula {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 18px;
    margin-bottom: 25px;
}

.attestat-info__formula-main,
.attestat-info__note,
.attestat-info__links,
.attestat-info__features {
    padding: 26px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fff;
}

.attestat-info__formula-main {
    background-color: #f8fbff;
}

.attestat-info__formula-main h3,
.attestat-info__note h3,
.attestat-info__links h3,
.attestat-info__features h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.attestat-info__formula-main p,
.attestat-info__note p,
.attestat-info__links p,
.attestat-info__feature p {
    margin-top: 0;
    color: #444;
    font-size: 18px;
    line-height: 1.5;
}

.attestat-info__formula-main p:last-child,
.attestat-info__note p:last-child,
.attestat-info__links p:last-child,
.attestat-info__feature p:last-child {
    margin-bottom: 0;
}

.attestat-info__formula-box {
    margin: 18px 0;
    padding: 18px;
    border-left: 5px solid #0f0fff;
    border-radius: 8px;
    background-color: #fff;
    color: #0f0fff;
    font-size: 24px;
    font-weight: 700;
}

.attestat-info__note {
    border-color: #d9edff;
    background-color: #eaf7ff;
}

.attestat-info__note-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 17px;
    font-weight: 700;
}

.attestat-info__features {
    margin-bottom: 25px;
}

.attestat-info__features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.attestat-info__feature {
    padding: 20px;
    border-radius: 10px;
    background-color: #f3f5fa;
}

.attestat-info__feature strong {
    display: block;
    margin-bottom: 8px;
    color: #0f0fff;
    font-size: 22px;
}

.attestat-faq__head {
    margin-bottom: 22px;
    padding: 28px 30px;
}

.attestat-faq__lead {
    max-width: 850px;
    font-size: 21px;
}

.attestat-faq__list {
    display: grid;
    gap: 14px;
}

.attestat-faq__item {
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 11px 34px -30px rgba(0, 0, 0, 0.75);
    overflow: hidden;
}

.attestat-faq__item[open] {
    border-color: #d9edff;
    background-color: #f8fbff;
}

.attestat-faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    cursor: pointer;
    color: #222;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
}

.attestat-faq__question::-webkit-details-marker {
    display: none;
}

.attestat-faq__icon {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-image: linear-gradient(315deg, #06bcfb 0%, #4884ee 74%);
}

.attestat-faq__icon::before,
.attestat-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.attestat-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.attestat-faq__item[open] .attestat-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.attestat-faq__answer {
    padding: 0 24px 22px;
}

.attestat-faq__answer p {
    margin: 0;
    color: #444;
    font-size: 18px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .attestat-info__hero,
    .attestat-info__formula {
        display: block;
    }

    .attestat-info__score-card {
        width: 100%;
        margin-top: 20px;
    }

    .attestat-info__grid {
        grid-template-columns: 1fr;
    }

    .attestat-info__note {
        margin-top: 18px;
    }
}

@media (max-width: 640px) {
    .attestat-info__features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .attestat-info__hero,
    .attestat-info__card,
    .attestat-info__formula-main,
    .attestat-info__note,
    .attestat-info__links,
    .attestat-info__features,
    .attestat-faq__head {
        padding: 20px 16px;
    }

    .attestat-info__lead,
    .attestat-faq__lead {
        font-size: 18px;
    }

    .attestat-info__formula-box {
        font-size: 20px;
        overflow-x: auto;
    }

    .attestat-faq__question {
        padding: 18px 16px;
        font-size: 18px;
    }

    .attestat-faq__answer {
        padding: 0 16px 20px;
    }

    .attestat-faq__answer p {
        font-size: 16px;
    }

    .attestat-faq__icon {
        width: 30px;
        height: 30px;
    }
}
