/**
 * Estilos específicos para la sección "Sobre Nosotros"
 * Diseño profesional con colores corporativos de Salument
 */

/* ===== SECCIÓN SOBRE NOSOTROS - DISEÑO MEJORADO ===== */

/* Sección principal */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--corporate-gradient);
}

/* Header de la sección */
.about-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(157, 188, 110, 0.15);
    color: #2c5f7a;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(157, 188, 110, 0.3);
    box-shadow: 0 2px 8px rgba(157, 188, 110, 0.2);
}

.badge-icon {
    font-size: 1.3rem;
}

.about-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2c5f7a;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.2;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--corporate-gradient);
    border-radius: 2px;
}

.about-subtitle {
    font-size: 1.4rem;
    color: #374151;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Contenido principal */
.about-main-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Tarjeta de introducción */
.about-intro-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(157, 188, 110, 0.15);
    position: relative;
    overflow: hidden;
}

.about-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--corporate-gradient);
}

.intro-icon {
    flex-shrink: 0;
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a6c7e0, #a4a7d3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(166, 199, 224, 0.4);
}

.intro-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5f7a;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
    font-weight: 400;
}

/* Grid de características */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(157, 188, 110, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--corporate-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 2.2rem;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: linear-gradient(135deg, #a4a7d3, #9dbc6e);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(164, 167, 211, 0.3);
}

.feature-header h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c5f7a;
    margin: 0;
    line-height: 1.3;
}

.feature-card p {
    color: #374151;
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Sección de servicios destacados - MEJORADA PARA LEGIBILIDAD */
.about-services-highlight {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(157, 188, 110, 0.15);
}

.services-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.services-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c5f7a;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.header-accent {
    width: 80px;
    height: 4px;
    background: var(--corporate-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(157, 188, 110, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(157, 188, 110, 0.2);
    transition: all 0.3s ease;
    font-size: 1.05rem;
    font-weight: 500;
    color: #374151;
}

.service-item:hover {
    background: rgba(157, 188, 110, 0.15);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(157, 188, 110, 0.2);
}

.service-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #9dbc6e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(157, 188, 110, 0.3);
}

/* Filosofía/Quote - MEJORADA PARA LEGIBILIDAD */
.about-philosophy {
    text-align: center;
    padding: 3rem 0;
}

.philosophy-content {
    max-width: 850px;
    margin: 0 auto;
}

.philosophy-quote {
    position: relative;
    background: linear-gradient(135deg, rgba(166, 199, 224, 0.12), rgba(157, 188, 110, 0.12));
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(157, 188, 110, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.quote-mark {
    font-size: 4.5rem;
    color: #9dbc6e;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.8;
}

.quote-end {
    position: absolute;
    bottom: 1.5rem;
    right: 2.5rem;
}

.philosophy-quote p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #2c5f7a;
    font-style: italic;
    margin: 1.5rem 0;
    font-weight: 500;
}

/* Call to Action - Diseño mejorado y profesional */
.about-cta {
    text-align: center;
    background: #f8fafc;
    padding: 4rem 3rem;
    border-radius: 20px;
    color: #1e293b;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
    border: 2px solid #e2e8f0;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--corporate-color-1), var(--corporate-color-3));
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    color: #1e293b;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: #64748b;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Estilos específicos para botones en CTA - Similar a schedule-btn */
.about-cta .btn {
    color: white !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(44, 95, 122, 0.3);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    min-width: 220px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Efecto de brillo deslizante similar a schedule-btn */
.about-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

/* Hover con efecto vidrio y elevación */
.about-cta .btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    background: linear-gradient(135deg, 
        #7dd87d 0%    /* Verde brillante */
    );
    box-shadow: 
        0 8px 25px rgba(44, 95, 122, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6), /* Efecto vidrio superior */
        inset 0 -1px 0 rgba(0, 0, 0, 0.1); /* Sombra inferior */
    color: white !important;
    backdrop-filter: blur(1px);
    overflow: hidden; /* Corregido para contener el efecto */
}

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

/* Botón secundario con estilo adaptado */
.about-cta .btn-secondary {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    position: relative;
    overflow: hidden;
}

.about-cta .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 95, 122, 0.1), transparent);
    transition: left 0.6s ease;
}

.about-cta .btn-secondary:hover {
    /* background: var(--primary-color) !important; */
    color: #745d97 !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(44, 95, 122, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden !important; /* Asegurar que el efecto no se desborde */
}

.about-cta .btn-secondary:hover::before {
    left: 100%;
}

/* Efecto de clic excitante - Contraste mejorado */
.about-cta .btn:active {
    transform: translateY(-2px) scale(0.98) !important;
    background: #1e4a5f !important; /* Azul oscuro sólido para máximo contraste */
    box-shadow: 
        0 4px 15px rgba(44, 95, 122, 0.5),
        inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    animation: cta-click-ripple 0.4s ease-out;
}

/* Animación de ondas al hacer clic */
@keyframes cta-click-ripple {
    0% {
        box-shadow: 
            0 8px 25px rgba(44, 95, 122, 0.6),
            0 0 30px rgba(44, 95, 122, 0.4),
            0 0 0 0 rgba(44, 95, 122, 0.7);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(44, 95, 122, 0.6),
            0 0 30px rgba(44, 95, 122, 0.4),
            0 0 0 20px rgba(44, 95, 122, 0.2);
    }
    100% {
        box-shadow: 
            0 8px 25px rgba(44, 95, 122, 0.6),
            0 0 30px rgba(44, 95, 122, 0.4),
            0 0 0 40px rgba(44, 95, 122, 0);
    }
}

/* Efectos en los elementos internos del botón */
.about-cta .btn .btn-icon,
.about-cta .btn .btn-text,
.about-cta .btn .btn-arrow {
    color: inherit;
    transition: all 0.3s ease;
}

.about-cta .btn:hover .btn-arrow {
    transform: translateX(3px);
}

.about-cta .btn:hover .btn-icon {
    transform: scale(1.1);
}

.about-cta .btn:active .btn-icon {
    transform: scale(0.9);
}

@keyframes subtle-pulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.05) rotate(180deg); 
        opacity: 0.8; 
    }
}

/* Responsive para Sobre Nosotros */
@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .about-intro-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1.2rem;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .philosophy-quote {
        padding: 2rem;
    }
    
    .philosophy-quote p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-header {
        margin-bottom: 3rem;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .about-main-content {
        gap: 3rem;
    }
    
    .feature-card,
    .about-intro-card,
    .about-services-highlight {
        padding: 2rem;
    }
    
    .about-cta {
        padding: 2.5rem;
    }
}
