:root {
    /* === Фирменные цвета AGAT‑UI === */
    --tech-blue: #0d4678;
    --tech-copper: #C45A1A;

    /* === Светлая стеклянная поверхность === */
    --tech-bg: rgba(255,255,255,0.65);
    --tech-border: rgba(13,70,120,0.22);
    --tech-shadow: rgba(15,23,42,0.18);

    /* === Текст === */
    --tech-text: #1e293b;
    --tech-muted: #475569;

    /* === Радиусы === */
    --tech-radius: 18px;

    /* === Шрифты === */
    --tech-font-main: 'Segoe UI', Arial, sans-serif;
    --tech-font-head: 'Oswald', sans-serif;
}

/* ============================
   GRID — центрируем, ограничиваем ширину
============================ */
.tech-premium-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    max-width: 1200px;   /* идеальная ширина для FHD */
    margin: 0 auto;
}

/* ============================
   CARD — горизонтальная
============================ */
.tech-premium-card {
    display: flex;
    flex-direction: row;

    background: var(--tech-bg);
    border: 1px solid var(--tech-border);
    border-radius: var(--tech-radius);
    overflow: hidden;

    box-shadow: 0 18px 42px var(--tech-shadow);
    backdrop-filter: blur(18px);

    transition: transform .3s ease, box-shadow .3s ease;
}

.tech-premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px rgba(15,23,42,0.28);
}

/* ============================
   IMAGE LEFT
============================ */
.tech-premium-image {
    width: 42%;              /* фото занимает левую часть */
    min-height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tech-premium-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.25));
}

/* ============================
   BODY RIGHT
============================ */
.tech-premium-body {
    width: 58%;
    padding: 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-premium-title {
    font-family: var(--tech-font-head);
    font-size: 2rem;
    color: var(--tech-blue);
    margin: 0 0 .8rem 0;
    letter-spacing: 0.5px;
}

.tech-premium-lead {
    font-size: 1.55rem;
    color: var(--tech-muted);
    margin-bottom: 1rem;
    line-height: 1.55;
}

.tech-premium-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}

.tech-premium-specs li {
    font-size: 1.45rem;
    color: var(--tech-text);
    margin-bottom: .4rem;
}

/* ============================
   BUTTON
============================ */
.tech-premium-btn {
    margin-top: 1rem;
    padding: 1rem 1.6rem;

    background: var(--tech-blue);
    color: #fff;

    border: none;
    border-radius: 12px;
    cursor: pointer;

    font-size: 1.55rem;
    font-family: var(--tech-font-main);

    box-shadow: 0 0 18px rgba(13,70,120,0.35);
    transition: background .25s ease, box-shadow .25s ease;
}

.tech-premium-btn:hover {
    background: var(--tech-copper);
    box-shadow: 0 0 22px rgba(196,90,26,0.45);
}

/* ============================
   MODAL
============================ */
.tech-modal {
    display: none;
    position: fixed;
    inset: 0;

    background: rgba(15,23,42,0.45);
    backdrop-filter: blur(8px);

    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.tech-modal-content {
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--tech-border);
    border-radius: var(--tech-radius);
    padding: 2rem;

    width: 100%;
    max-width: 600px;

    box-shadow: 0 18px 42px var(--tech-shadow);
    animation: fadeIn .35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tech-modal-close {
    float: right;
    font-size: 28px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--tech-blue);
    transition: color .25s ease;
}

.tech-modal-close:hover {
    color: var(--tech-copper);
}

/* ============================
   ADAPTIVE
============================ */
@media (max-width: 900px) {
    .tech-premium-card {
        flex-direction: column;
    }

    .tech-premium-image {
        width: 100%;
        height: 260px;
    }

    .tech-premium-body {
        width: 100%;
    }
}
