/* ========================================
   MODERN ABOUT SECTION STYLES
   ======================================== */

.modern-about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.modern-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(27,66,119,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

/* Header de la sección */
.about-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.logo-container {
    margin-bottom: 2rem;
}

.about-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1B4277;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

/* Contenido principal */
.about-content {
    position: relative;
    z-index: 2;
}

/* Tarjeta principal */
.main-about-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 66, 119, 0.8), rgba(255, 107, 53, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.main-about-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 1.2rem;
    font-weight: 500;
}

.about-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1B4277;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 2rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #1B4277;
    font-weight: 500;
}

.feature-item i {
    color: #FF6B35;
    font-size: 1.2rem;
}

.about-btn {
    background: #1B4277;
    color: white;
    border: 2px solid #FF6B35;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.about-btn:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    text-decoration: none;
}

/* Tarjetas de información */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 66, 119, 0.1), transparent);
    transition: all 0.5s ease;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #1B4277;
    border: 3px solid #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1B4277;
    margin-bottom: 1rem;
}

.card-content p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Sección de soluciones */
.solutions-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.solutions-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1B4277;
    margin-bottom: 1.5rem;
}

.solutions-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 2rem;
}

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

.solution-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.solution-item:hover {
    background: #1B4277;
    color: white;
    transform: translateX(5px);
}

.solution-item i {
    color: #FF6B35;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.solution-item:hover i {
    color: white;
}

.solution-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

.solutions-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.solutions-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.solutions-image:hover img {
    transform: scale(1.05);
}

/* Sección de servicios especializados */
.services-section {
    margin-top: 4rem;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1B4277;
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Categorías de servicios */
.service-category {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-category-header {
    background: linear-gradient(135deg, #1B4277, #FF6B35);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-title p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.service-details {
    padding: 2.5rem;
}

/* Sección de materiales */
.materials-section h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1B4277;
    margin-bottom: 1.5rem;
    text-align: center;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.material-category {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid #FF6B35;
    transition: all 0.3s ease;
}

.material-category:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.material-category h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1B4277;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.material-category h6 i {
    color: #FF6B35;
}

.material-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.material-category li {
    padding: 0.3rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1.2rem;
}

.material-category li::before {
    content: '•';
    color: #FF6B35;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.materials-note {
    background: #1B4277;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    text-align: center;
    justify-content: center;
}

.materials-note i {
    color: #FF6B35;
    font-size: 1.2rem;
}

/* Contenido de mantenimiento */
.maintenance-content {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.maintenance-description h5 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1B4277;
    margin-bottom: 1rem;
    text-align: center;
}

.maintenance-description > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 2rem;
    text-align: center;
}

.maintenance-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 3px solid #FF6B35;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-box i {
    font-size: 2rem;
    color: #FF6B35;
    margin-bottom: 1rem;
}

.feature-box h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1B4277;
    margin-bottom: 0.8rem;
}

.feature-box p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

.contact-cta {
    background: #FF6B35;
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    text-align: center;
    justify-content: center;
}

.contact-cta i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }
    
    .main-about-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding: 1.5rem;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about-btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .card-icon {
        margin: 0 auto 1rem auto;
    }
    
    .solutions-section {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solutions-image img {
        height: 200px;
        border-radius: 15px;
    }
    
    .service-category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .service-details {
        padding: 1.5rem;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .maintenance-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-cta {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .advantages-cta {
        padding: 2rem 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
}

/* Responsive para pantallas muy pequeñas */
@media (max-width: 480px) {
    .about-text {
        padding: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .about-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .about-card {
        padding: 1rem;
    }
    
    .solutions-section {
        padding: 1rem;
    }
    
    .service-category-header {
        padding: 1rem;
    }
    
    .service-details {
        padding: 1rem;
    }
    
    .advantages-cta {
        padding: 1.5rem 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
    
    /* Botón de catálogo flotante en móvil */
    .catalog-container {
        bottom: 20px;
        right: 20px;
    }
    
    .catalog-btn {
        width: 60px;
        height: 60px;
    }
    
    .catalog-tooltip {
        right: 70px;
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .catalog-text {
        display: none;
    }
}

/* Mejoras adicionales para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-about-card {
        gap: 2rem;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .solutions-section {
        padding: 2rem;
    }
    
    .advantages-cta {
        padding: 3rem 2rem;
    }
}
