.calc-page .text-body-secondary {
    color: #414D59;
}

.calc-page .text-body-muted {
    color: #596675;
}

.fs-18 {
    font-size: 18px;
}

.fs-40 {
    font-size: 40px;
}

.bg-secondary-calc {
    background-color: #F7F9FA;
}

/*feedback3*/
.feedback3 {
    background-color:#095DB8;
}

.feedback3__wraper {
    background-color: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}


.feedback3__wraper label {
    text-transform: uppercase;
    font-size: 12px;
    color: #596675;
}

.feedback3__wraper textarea {
    border: 0;
    padding: 0 !important;
    margin: 0 !important;
}

.feedback3__wraper input {
    border: 0;
    padding: 0 !important;
}

.feedback3__subtitle {
  color: #fff;
  font-size: clamp(10px, 0.5vw + 9px, 12px);
  line-height: 1.35;
  letter-spacing: clamp(0.5px, 0.1vw + 0.3px, 0.8px);
  text-transform: uppercase;
}

.feedback3__title {
  font-weight: 800;
  font-size: clamp(26px, 5vw + 8px, 56px);
  line-height: 1.15 !important;
  letter-spacing: clamp(-0.8px, -0.06vw, -0.2px);
}

.feedback3__text {
  font-size: clamp(15px, 0.7vw + 13px, 20px);
  line-height: 1.45;
}

.feedback3__submit {
    background: #050B12;
    border-color: #050b12;
    border: 0;
    font-size: 18px;
    padding: 16px 24px;
    margin-bottom: 12px;
    width: 228px;
}

.feedback3__submit:hover {
    background: #050B12 !important;
    border: 0 !important;
    color: #fff !important;
}

.nav-link--flat {
    background-color: #E9EDF0 !important;
    font-weight: 600;
    color: #091320;
    padding: 0.875rem;
}

.nav-link--flat.active {
    background-color: #3C91E6 !important;
    color: #fff !important;
}

.nav-link--flat img {
    filter: unset;
    margin-right: 1.25rem;
}

.nav-link--flat.active img {
    filter: brightness(0) invert(1);
}

.nav-link--bordered,
.nav-link--bordered.active {
    background: none !important;
    color: #091320 !important;
    font-size: 1rem !important;
    font-weight: normal !important;
    min-width: auto !important;
}

.nav-link--transparent {
    background: none !important;
    border: 0 !important;
    color: #091320 !important;
    font-size: 1rem !important;
    font-weight: normal !important;
    min-width: auto !important;
}

.review-card {
    background-color: #F7F9FA;
}

.review-card__btn {
    border: 1px solid #D1D9E0;
    color: #3C91E6;
    padding: 12px 24px;
    white-space: nowrap;
}

/*вопрос-ответ*/
.faq-calc-accordion__body {
    color: #596675;
}

.faq-calc-accordion__item {
    border-bottom: 1px solid #D1D9E0;
}
.faq-calc-accordion__button {
    background: none;
    border: 0;
    display: flex;
    font-size: 20px;
    font-weight: normal;
    justify-content: space-between;
    text-align: left;
    width: 100%;
}

.faq-calc-accordion__button::after {
    content: '+';
    font-size: 1.75rem;
    font-weight: 700;
    color: #2563eb;
}

.faq-calc-accordion__button:not(.collapsed)::after {
    content: '−';
    transform: none;
}

/*теги*/
.tags {
    background-color: #095DB8;
    border-radius: 12px;
    padding: 2rem !important;
}

.tags .d-flex {
    gap: 12px;
}

.tags a {
    border-radius: 24px;
    padding: 2px 12px !important;
}


.why-row {
    margin-bottom: 40px;
}

.why__grid {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why__item {
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.why__item:last-child {
    border-right: none;
}

.why__item:nth-child(3n) {
    border-right: none;
}

.why__item:nth-last-child(-n+2) {
    border-bottom: none;
}

.why__value {
    font-size: clamp(28px, 5vw, 56px);
}

/*блок портфолио*/
.portfolio__tabs {
    display: flex;
    flex-wrap: nowrap;
    column-gap: clamp(10px, 2vw, 30px);;
    overflow-x: auto;
}

.portfolio__tab {
    background: none;
    border: 0;
    border-radius: 8px;
    display: flex;
    font-size: clamp(13px, 0.6vw + 11px, 16px);
    line-height: 1.25;
    padding: clamp(8px, 0.8vw + 5px, 14px) clamp(12px, 1vw + 8px, 24px);
    white-space: nowrap;
}

.portfolio__tab--bordered {
    border: 1px solid #D1D9E0;
}

.portfolio__tab--bordered:hover {
    background-color: #E9EDF0;
}

.portfolio__tab:not(.portfolio__tab--bordered).active {
    background-color: #095DB8;
    color: #fff;
}

.portfolio__card-title {
    font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem);
    font-weight: 700;
}

.portfolio__card-desc {
    font-size: clamp(0.75em, 0.7em + 0.2vw, 0.875em)
}

.portfolio__nav {
    background-color: var(--color-primary);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    opacity: .75;
}

.portfolio__nav:hover {
    opacity: 1;
    transition-duration: .15s;
}

.portfolio__nav--prev {
    left: 1rem !important;
}

.portfolio__nav--next {
    right: 1rem !important;
}

.portfolio__nav:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23ffffff' d='M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    content: '' !important;
    position: absolute;
    height: 3rem;
    width: 3rem;
}

.portfolio__nav--prev:after {
    transform: rotate(-90deg);
    left: -2px;
}

.portfolio__nav--next:after {
    transform: rotate(90deg);
    left: 2px;
}

/*продукты*/
.products__card {
    background-color: #F7F9FA;
}

.products__card:hover {
    background: none;
}

.products__card-img {
    border-radius: 1.5rem;
    object-fit: cover;
    padding: 20px;
    height: 300px;
    width: 100%;
}

.products__card-body {
    padding: 20px;
    padding-top: 0;
}

.products__card-title {
    color: #095DB8;
}

.products__card-table {
    margin-bottom: 16px;
}

.products__card-btn {
    border-color: #D1D9E0;
    color: #095DB8;
    font-weight: normal;
    padding: 12px 24px;
}

.products__card:hover .products__card-btn {
    background-color: #095DB8;
    color: #fff;
}

.products__grid {
    align-items: stretch;
}

.products__grid-col {
    display: flex;
    height: auto;
}

.products__card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.products__card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.products__card-table-td {
    color: #596675;
    font-size: 14px;
}

.products__card-table-td:last-child {
    white-space: nowrap;
}

/*блок технология печати*/
.technologies__name {
    font-size: clamp(24px, 3vw + 14px, 40px);
    line-height: 1.2;
}

.technologies__text {
    font-size: clamp(14px, 1.2vw + 10px, 18px);
    line-height: 1.5;
}

.portfolio__content {
    margin-top: 40px;
}

/*блок вопрос-ответ*/

.faq__text {
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
.faq__button {
    align-items: center;
    display: flex;
    font-size: clamp(15px, 0.7vw + 13px, 20px);
    line-height: 1.45;
}

.faq__body {
    font-size: clamp(13px, 0.5vw + 11px, 16px);
    line-height: 1.5;
}

/*блок способы оплаты*/
.payments__nav-item {
    min-width: 0;
}

.payments__nav-link {
    min-width: 220px;
    white-space: nowrap;
}

.calc-page .table-responsive tbody tr:hover {
    background-color: #F7F9FA
}

.calc-page .payment-way-doc-text {
    color: #091320;
}

.calc-page .payment-way-doc {
    flex-direction: row !important;
    gap: 24px !important;
    font-size: 20px !important;
    margin: 0 !important;
    margin-top: 24px !important;
}

@media (max-width: 991px) {
    .why-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .why-item:last-child {
        border-bottom: none;
    }
}

/*Стили таблицы с ценами*/
.price__table,
.price__row,
.price__td,
.price__th {
    border: 1px solid #fff;
    border-collapse: collapse;
}

.price__table {
    margin: 0;
}

.price__thead-row {
    background-color: #0d5cb6;
}

.price__table tbody td {
    background-color: #0d5cb6;
    color: #fff;
}

/*стили для страницы калькулятора*/
.calc-page__h1 {
    font-size: clamp(28px, 5vw, 56px);
}

.calc-page__title {
    background-image: url(marker_8Hxd.svg);
    background-repeat: no-repeat;
    background-position: left top clamp(12px, 2vw + 6px, 30px);
    background-size: clamp(16px, 2vw + 8px, 24px);
    font-size: clamp(24px, 5.5vw, 55px);
    font-weight: 800 ;
    padding-left: clamp(18px, 2.4vw + 12px, 35px);
    margin-top: 12px;
}

.calc-page__subtitle {
    color: #095DB8;
    font-size: clamp(10px, 0.9vw + 8px, 12px);
    line-height: 1.35;
    letter-spacing: clamp(0.8px, 0.12vw + 0.4px, 1.5px);
    text-transform: uppercase;
}

.calc-page__caption {
    font-size: clamp(14px, 1.2vw + 10px, 18px);
    line-height: 1.4;
    text-align: right;
    color: #596675;
}

@media (max-width: 768px) {
    .calc-page__caption {
        text-align: left;
    }
}