/* ============================================================
   index.css - Стили для главной страницы
   ============================================================ */

/* ===== БАЗОВЫЕ ПЕРЕМЕННЫЕ ===== */
:root {
    --color-text-primary: #1a1a2e;
    --color-text-secondary: #4a4a5a;
    --color-text-tertiary: #8a94a6;
    --color-text-light: #ffffff;
    --color-bg-light: #f0f4f8;
    --color-bg-white: #ffffff;
    --color-primary: #0066cc;
    --color-yellow: #F9C100;
    --color-dark-bg: #1a2a4a;
    --color-border: #e9ecef;
    --color-success: #28a745;
    --container-max-width: 1280px;
    --container-padding: 20px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --font-medium: 500;
    --font-semibold: 600;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 50px;
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* ===== ОБЩИЕ СТИЛИ ===== */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

.mt-xl {
    margin-top: 40px;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== ГРИДЫ ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-white) 100%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    isolation: isolate;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.hero-video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: translateZ(0);
}

.hero-video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.hero h1 {
    max-width: 900px;
    font-size: 44px;
    color: #ffffff;
    line-height: 1.0;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 22px;
    color: #ffffff;
    font-weight: var(--font-medium);
    max-width: 900px;
    margin: 0 0 16px;
}

.hero-description {
    font-size: 18px;
    color: #ffffff;
    max-width: 900px;
    margin: 0 0 24px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    max-width: 900px;
    margin: 0 0 24px;
}

/* ===== КНОПКИ ===== */
.button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.button-primary {
    background: var(--color-primary);
    color: #ffffff;
}

.button-primary:hover {
    background: #0052a3;
}

.button-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.button-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.button-large {
    padding: 14px 32px;
    font-size: 18px;
}

.button-light {
    background: #ffffff;
    color: var(--color-text-primary);
}

.button-light:hover {
    background: #f0f0f0;
}

/* ===== ПОЗИЦИОНИРОВАНИЕ ===== */
.positioning {
    background: var(--color-bg-white);
}

.positioning-grid {
    margin-top: 20px;
}

.positioning-card-img {
    position: relative;
    min-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: #e8ecf1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.positioning-card-img .positioning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.positioning-card-img .positioning-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: #ffffff;
}

.positioning-card-img .positioning-content h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
}

.positioning-card-img .positioning-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

/* ===== ИНТЕГРАТОРАМ ===== */
.integrators-offer {
    background: var(--color-bg-light);
    padding: 60px 0;
}

.integrators-offer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.integrators-offer-content h2 {
    font-size: 32px;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.integrators-offer-content > p {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.integrators-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.metal-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    color: var(--color-text-primary);
    font-size: 14px;
    border: 1px solid var(--color-border);
}

/* ===== ТЕХНОЛОГИИ ===== */
.technologies {
    background: var(--color-bg-white);
    padding: 60px 0;
}

.tech-card {
    background: var(--color-bg-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    min-height: 280px;
    border: 1px solid var(--color-border);
}

.tech-card-highlight {
    border-left: 4px solid var(--color-primary);
}

.tech-card h3 {
    font-size: 20px;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.tech-badge {
    display: inline-block;
    background: var(--color-yellow);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.tech-stats {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.tech-stats span {
    display: block;
}

.tech-cta {
    margin-top: 40px;
    padding: 30px;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
}

.tech-cta p {
    font-size: 16px;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

/* Картинки технологий */
.tech-card-link {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tech-card-link:hover {
    transform: translateY(-4px);
}

.tech-card.img-1,
.tech-card.img-2,
.tech-card.img-3,
.tech-card.img-4 {
    min-height: 380px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    background-color: #e8ecf1;
    border: none;
}

.hid {
    display: none;
}

.mobile-hid {
    display: none;
}

/* ===== ИНТЕГРАЦИЯ ===== */
.integration {
    background: var(--color-bg-light);
    padding: 60px 0;
}

.integration-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.integration-content h2 {
    font-size: 32px;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.integration-content > p {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.integration-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== РЕШЕНИЯ (ТАБЫ) ===== */
.solutions-tabs {
    background: var(--color-bg-white);
    padding: 60px 0;
}

.tabs {
    margin-top: 30px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tab-btn.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* ===== КЕЙСЫ ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.case-card-image {
    text-decoration: none;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.case-card-image-inner {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-color: #e8ecf1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-card-image:hover .case-card-image-inner {
    transform: scale(1.03);
}

.case-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
}

.case-card-image-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: #ffffff;
}

.case-card-badge {
    display: inline-block;
    background: rgba(249, 193, 0, 0.9);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.case-card-title {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 8px;
}

.case-card-description {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.case-card-button {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    background: var(--color-yellow);
    color: var(--color-text-primary);
}

.show-more-container {
    text-align: center;
    margin-top: 20px;
}

.button-outline {
    padding: 12px 30px;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--color-text-secondary);
}

.empty-state {
    text-align: center;
    padding: 40px;
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* ===== LEAD MAGNET ===== */
.lead-magnet {
    margin-top: 40px;
    padding: 40px;
    background: var(--color-dark-bg);
    border-radius: var(--radius-lg);
    text-align: center;
}

.lead-magnet-content h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 12px;
}

.lead-magnet-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== АУДИТОРИЯ ===== */
.audience {
    background: var(--color-bg-white);
    padding: 60px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.audience-item {
    text-align: center;
    padding: 20px;
}

.audience-item span {
    font-size: 16px;
    color: var(--color-text-primary);
}

/* ===== СЕРВИС ===== */
.service-block {
    background: var(--color-bg-light);
    padding: 60px 0;
}

.service-content {
    text-align: center;
}

.service-content h2 {
    font-size: 32px;
    color: var(--color-text-primary);
    margin-bottom: 30px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-img {
    position: relative;
    min-height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #e8ecf1;
}

.service-card-img .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
}

.service-card-img .service-content-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: #ffffff;
}

.service-card-img .service-content-inner h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 8px;
}

.service-card-img .service-content-inner p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

/* ===== ФИНАЛЬНЫЙ CTA ===== */
.final-cta {
    background: var(--color-dark-bg);
    padding: 60px 0;
}

.final-cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-box h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 16px;
}

.final-cta-box p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.final-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 16px;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.form-checkbox label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.form-checkbox label a {
    color: var(--color-yellow);
    text-decoration: none;
}

.form-actions {
    display: flex;
    justify-content: center;
}

/* ===== LAZY LOADING ===== */
[data-bg] {
    background-color: #e8ecf1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}

[data-bg].bg-loaded {
    background-color: transparent;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-hid {
        display: block !important;
        min-height: 280px;
    }
    .hid {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-features {
        grid-template-columns: 1fr 1fr;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .integrators-features {
        grid-template-columns: 1fr;
    }

    .integration-features-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tabs-header {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .positioning-card-img {
        min-height: 240px;
    }

    .positioning-card-img .positioning-content {
        padding: 20px;
    }

    .positioning-card-img .positioning-content h3 {
        font-size: 18px;
    }

    .service-card-img {
        min-height: 220px;
    }

    .final-cta-box h2 {
        font-size: 24px;
    }

    .final-cta-box p {
        font-size: 16px;
    }

    .lead-magnet {
        padding: 24px;
    }

    .lead-magnet-content h3 {
        font-size: 20px;
    }

    .metal-card {
        padding: 16px;
    }

    .tech-card {
        min-height: auto;
    }

    .tech-card.img-1,
    .tech-card.img-2,
    .tech-card.img-3,
    .tech-card.img-4 {
        min-height: 300px;
    }

    .mobile-hid {
        display: block !important;
        min-height: 200px;
    }
    .hid {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-container {
        padding: 16px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .button-large {
        padding: 12px 24px;
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .integrators-offer-content h2,
    .integration-content h2,
    .service-content h2 {
        font-size: 24px;
    }

    .final-cta-box h2 {
        font-size: 20px;
    }

    .final-cta-box {
        padding: 0 16px;
    }

    .case-card-image-inner {
        min-height: 240px;
    }
}

/* Добавьте в конец index.css */
.positioning-card-img[data-bg] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tech-card[data-bg] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card-img[data-bg] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== ФОНОВЫЕ ИЗОБРАЖЕНИЯ ДЛЯ ТЕХНОЛОГИЙ ===== */

.tech-card.img-1 {
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/assets/page-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 380px;
    border-radius: var(--radius-lg);
    border: none;
}

.tech-card.img-2 {
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/assets/page-2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 280px;
    border-radius: var(--radius-lg);
    border: none;
}

.tech-card.img-3 {
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/assets/page-3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 280px;
    border-radius: var(--radius-lg);
    border: none;
}

.tech-card.img-4 {
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/assets/page-4.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 280px;
    border-radius: var(--radius-lg);
    border: none;
}

/* Карточки-ссылки с картинками */
.tech-card-link {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tech-card-link:hover {
    transform: translateY(-4px);
}

.tech-card-link .tech-card {
    height: 100%;
    transition: filter 0.3s ease;
}

.tech-card-link:hover .tech-card {
    filter: brightness(1.05);
    cursor: pointer;
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .tech-card.img-1,
    .tech-card.img-2,
    .tech-card.img-3,
    .tech-card.img-4 {
        min-height: 300px;
    }

    .mobile-hid {
        display: block !important;
        min-height: 200px;
    }
    .hid {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-hid {
        display: block !important;
        min-height: 280px;
    }
    .hid {
        display: none !important;
    }
}

/* Скрываем мобильные картинки на десктопе */
@media (min-width: 769px) {
    .hid {
        display: none !important;
        /* Важно: убираем из грида */
        grid-column: auto;
        grid-row: auto;
    }
}

/* Показываем мобильные картинки на мобильных */
@media (max-width: 768px) {
    .hid {
        display: block !important;
    }
    .mobile-hid {
        display: none !important;
    }
}

/* ===== РАЗДЕЛЬНЫЕ ВЕРСИИ ДЛЯ ДЕСКТОПА И МОБИЛЬНЫХ ===== */

/* По умолчанию показываем десктопную версию, скрываем мобильную */
.desktop-version {
    display: grid;
}

.mobile-version {
    display: none;
}

/* На мобильных показываем мобильную версию, скрываем десктопную */
@media (max-width: 768px) {
    .desktop-version {
        display: none !important;
    }

    .mobile-version {
        display: grid !important;
    }

    /* Уменьшаем высоту картинок на мобильных */
    .mobile-version .tech-card.img-1,
    .mobile-version .tech-card.img-2,
    .mobile-version .tech-card.img-3,
    .mobile-version .tech-card.img-4 {
        min-height: 300px !important;
    }

    /* Упрощаем текст на мобильных */
    .mobile-version .tech-card p {
        font-size: 13px !important;
    }

    .mobile-version .tech-card h3 {
        font-size: 17px !important;
    }
}

/* ===== РАЗДЕЛЬНЫЕ ВЕРСИИ ДЛЯ ДЕСКТОПА И МОБИЛЬНЫХ ===== */

/* Десктопная версия видна по умолчанию */
.desktop-version {
    display: grid;
}

.mobile-version {
    display: none;
}

/* Десктопные картинки */
.desktop-card .tech-card {
    min-height: 280px !important;
}

/* На мобильных */
@media (max-width: 768px) {
    /* Скрываем десктопную, показываем мобильную */
    .desktop-version {
        display: none !important;
    }

    .mobile-version {
        display: grid !important;
    }

    /* Мобильные картинки */
    .mobile-card .tech-card {
        min-height: 360px !important;
    }

    /* Уменьшаем текст на мобильных */
    .mobile-version .tech-card p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .mobile-version .tech-card h3 {
        font-size: 17px !important;
    }

    .mobile-version .tech-stats {
        font-size: 12px !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .mobile-card .tech-card {
        min-height: 300px !important;
    }
}