/* =========================================================
   tech-specs — «Технические особенности»
   Заголовок + кнопка в одну строку, ниже сетка карточек 2×2.
   В карточке: заголовок и пометка/логотипы в одну строку, текст внизу.
   ========================================================= */

.tech-section {
    padding: var(--section-pad) 0;
}

.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 32px;
}

.tech-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 2.53vw, 48.6px);
    line-height: 1;
    color: var(--color-bg-dark);
}

.tech-title span {
    color: rgba(31, 31, 31, 0.5);
}

.tech-header .btn {
    flex-shrink: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tech-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 377px;
    padding: 32px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-card-lg);
    background-color: var(--color-white);
    color: var(--color-bg-dark);
}

.tech-card--gray {
    background-color: var(--color-bg-gray);
}

/* Заголовок карточки + пометка/логотипы — в одну строку */
.tech-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.tech-card-title {
    flex: 1 1 0;
    min-width: 0;
    font-family: 'Onest', var(--font-body);
    font-weight: 600;
    font-size: 32.4px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.tech-card-tag {
    flex: 0 0 46%;
    text-align: right;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 16.2px;
    line-height: 1.3;
    color: var(--color-accent-orange);
}

.tech-card-text {
    margin-top: auto;
    max-width: 88%;
    font-size: 18px;
    line-height: 1.3;
    opacity: 0.8;
}

.tech-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.tech-logos img {
    height: 44px;
    width: auto;
}

@media (max-width: 768px) {
    .tech-header {
        flex-direction: column;
    }

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

    .tech-card-head {
        flex-direction: column;
        gap: 12px;
    }

    .tech-card-tag {
        flex: 1 1 auto;
        text-align: left;
    }
}
