/* ================================
   SECCIÓN NOSOTROS - PÁGINA PRINCIPAL
   ================================ */

/* ===== SECCIÓN NOSOTROS ===== */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    display: none;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(57, 121, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: calc(100% - 4rem);
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    color: #ffffff;
}

.about-subtitle {
    display: inline-block;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #ffffff;
}

.about-title .highlight {
    color: #4299e1;
    position: relative;
}

.about-description {
    margin-bottom: 2rem;
}

.about-description p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.company-name {
    font-weight: 600;
    color: #4299e1;
}

.about-button {
    margin-top: 2rem;
}

.about-stats {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: rgba(45, 55, 72, 0.8);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(66, 153, 225, 0.2);
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.15);
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(66, 153, 225, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4299e1;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: none;
    margin-bottom: 0.5rem;
}

.stat-content {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4299e1;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.3;
}

/* ================================
   MEDIA QUERIES RESPONSIVAS
   ================================ */

/* Desactivar animaciones en tablets para mejor performance */
@media (min-width: 641px) and (max-width: 768px) {
    .about-section::after {
        animation: none;
    }
}

/* Media Query para tablets y móviles grandes (max-width: 768px) */
@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }

    .about-container {
        padding: 0 1.5rem;
        width: calc(100% - 3rem);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .about-description p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}

/* Media Query para móviles pequeños (max-width: 480px) */
@media (max-width: 480px) {
    .about-section {
        padding: 2.5rem 0;
    }

    .about-container {
        padding: 0 1rem;
        width: calc(100% - 2rem);
    }

    .about-content {
        gap: 2rem;
    }

    .about-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
        line-height: 1.1;
    }

    .about-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .about-description p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.2rem 0.8rem;
        border-radius: 12px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* Media Query para pantallas muy pequeñas (max-width: 360px) */
@media (max-width: 360px) {
    .about-section {
        padding: 2rem 0;
    }

    .about-container {
        padding: 0 0.8rem;
        width: calc(100% - 1.6rem);
    }

    .about-content {
        gap: 1.5rem;
    }

    .about-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .about-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .about-description p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .stat-item {
        padding: 1rem 0.6rem;
        border-radius: 10px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* Media Query para tablets en orientación portrait */
@media (min-width: 641px) and (max-width: 768px) and (orientation: portrait) {
    .about-section {
        padding: 3.5rem 0;
    }

    .about-content {
        gap: 3.5rem;
    }

    .about-title {
        font-size: 2.3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Media Query para tablets en orientación landscape */
@media (min-width: 641px) and (max-width: 768px) and (orientation: landscape) {
    .about-section {
        padding: 2.5rem 0;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }

    .about-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-description p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }
}
