/* =========================================
   ГЛОБАЛЬНІ СТИЛІ СТОРІНКИ ПРО НАС
   ========================================= */
.top-spacing { height: 40px; }

.section {
    padding: 60px 0; /* Трохи збільшено для кращого дихання блоків */
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px; /* Захист від прилипання тексту до країв */
}

.section-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.text-formatted {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

/* =========================================
   ЄДИНИЙ СТИЛЬ ПАНЕЛЕЙ (GLASSMORPHISM)
   ========================================= */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 35px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%; /* Щоб картки в одному рядку були однакової висоти */
    box-sizing: border-box;
}

.glass-panel:hover {
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-5px);
}

/* КНОПКИ */
.about-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.btn-lg {
    padding: 16px 28px;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Центрування для мобільних */
    gap: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: #f97316;
    color: #fff;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* =========================================
   ГОЛОВНИЙ ЕКРАН (HERO)
   ========================================= */
.about-hero-section {
    padding-top: 20px;
}

.about-hero-card {
    text-align: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.about-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.about-lead {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Оптимізована сітка для карток */
.about-grid-3,
.about-features-grid,
.about-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* =========================================
   АДАПТАЦІЯ (MOBILE)
   ========================================= */

@media (max-width: 992px) {
    .about-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .about-cta-content {
        max-width: 100%;
    }

    .cta-margin {
        justify-content: center;
    }

    .about-cta-decor {
        right: 50%;
        transform: translate(50%, -50%);
        opacity: 0.1; /* Зменшено, щоб не заважало тексту */
    }
}

@media (max-width: 768px) {
    .section { padding: 40px 0; }
    
    .about-title { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .about-cta-content h2 { font-size: 1.8rem; }

    .about-hero-card { 
        padding: 40px 15px; 
        border-radius: 0; /* На телефонах краще виглядає без заокруглення по боках */
    }

    .glass-panel {
        padding: 25px 20px; /* Менші падінги для економії місця */
    }

    .about-actions { 
        flex-direction: column; 
        width: 100%;
    }
    
    .btn-lg { 
        width: 100%; 
        box-sizing: border-box;
    }

    /* Виправлення сітки для вузьких екранів */
    .about-grid-3, 
    .about-features-grid, 
    .about-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-title { font-size: 1.8rem; }
    .about-lead { font-size: 1rem; }
    
    .feature-tag {
        width: 100%;
        justify-content: center;
    }
}