/* Sección Principal - Fondo Claro Tech */
.values-premium-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 50%, #f5f8fa 100%);
    position: relative;
    overflow: hidden;
}

/* Cards Premium con efecto tech */
.values-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 1.8rem 2rem 1.8rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 20px rgba(0, 212, 255, 0.05);
    min-height: 580px;
    display: flex;
    flex-direction: column;
}

/* Borde superior con gradiente tech */
.values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    transition: all 0.3s ease;
    transform: scaleX(0);
}

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

/* Efecto hover mejorado */
.values-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 40px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.values-card:hover.mission-card { color: #00d4ff; }
.mission-card::before { color: #00d4ff; }
.vision-card { color: #17a2b8; }
.vision-card::before { color: #17a2b8; }
.principles-card { color: #00d4ff; }
.principles-card::before { color: #00d4ff; }

/* Headers de Cards con estilo tech */
.card-header-premium {
    text-align: center;
    margin-bottom: 2rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(0, 212, 255, 0.2);
}

.mission-icon {
    background: linear-gradient(135deg, #00d4ff 0%, #17a2b8 100%);
}
.vision-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #00d4ff 100%);
}
.principles-icon {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
}

.card-title-premium {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.mission-title {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}
.vision-title {
    color: #17a2b8;
    text-shadow: 0 0 20px rgba(23, 162, 184, 0.15);
}
.principles-title {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.card-separator {
    width: 60px;
    height: 3px;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
}

.mission-separator {
    background: linear-gradient(90deg, #00d4ff, #17a2b8);
}
.vision-separator {
    background: linear-gradient(90deg, #17a2b8, #00d4ff);
}
.principles-separator {
    background: linear-gradient(90deg, #00d4ff, #0099cc);
}

/* Contenido de Cards */
.card-content-premium {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
}

.highlight-text {
    color: #00d4ff;
    font-weight: 600;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, currentColor, transparent);
    opacity: 0.3;
}

/* Features específicos con estilo tech */
.mission-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.vision-goals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(23, 162, 184, 0.08);
    border-radius: 12px;
    border-left: 4px solid #17a2b8;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.1);
    transition: all 0.3s ease;
}

.goal-item:hover {
    background: rgba(23, 162, 184, 0.12);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.15);
}

.goal-item i {
    color: #17a2b8;
    font-size: 1.2rem;
}

.goal-item span {
    color: #495057;
    font-weight: 600;
}

/* Grid de Valores con estilo tech */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-top: 0.5rem;
    padding: 0 0.2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.9rem 0.7rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 88px;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.05);
}

.value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.25);
    background: rgba(255, 255, 255, 1);
}

.value-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.excellence .value-icon {
    background: linear-gradient(45deg, #00d4ff, #17a2b8);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}
.innovation .value-icon {
    background: linear-gradient(45deg, #17a2b8, #00d4ff);
    box-shadow: 0 2px 10px rgba(23, 162, 184, 0.3);
}
.integrity .value-icon {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}
.commitment .value-icon {
    background: linear-gradient(45deg, #0099cc, #17a2b8);
    box-shadow: 0 2px 10px rgba(0, 153, 204, 0.3);
}

.value-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.value-content h6 {
    margin: 0 0 0.4rem 0;
    font-weight: 600;
    color: #343a40;
    font-size: 0.9rem;
    line-height: 1.2;
    word-wrap: break-word;
}

.value-content small {
    color: #6c757d;
    font-size: 0.78rem;
    line-height: 1.3;
    display: block;
    word-wrap: break-word;
}

/* CTA Section con estilo tech claro */
.values-cta-section {
    margin-top: 4rem;
}

.cta-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08),
        0 0 30px rgba(0, 212, 255, 0.1);
}

.cta-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ctaGlow 4s ease-in-out infinite;
    z-index: -1;
}

.cta-title {
    color: #343a40;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-premium {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

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

.btn-premium.primary {
    background: linear-gradient(135deg, #00d4ff 0%, #17a2b8 100%);
    color: white;
    box-shadow:
        0 5px 15px rgba(0, 212, 255, 0.3),
        0 0 20px rgba(0, 212, 255, 0.15);
}

.btn-premium.primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(0, 212, 255, 0.4),
        0 0 30px rgba(0, 212, 255, 0.25);
    color: white;
}

.btn-premium.secondary {
    background: transparent;
    color: #00d4ff;
    border-color: #00d4ff;
}

.btn-premium.secondary:hover {
    background: #00d4ff;
    color: white;
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(0, 212, 255, 0.25),
        0 0 20px rgba(0, 212, 255, 0.15);
}

/* Ajuste para tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .values-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .card-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

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

    .value-item {
        padding: 0.75rem 0.6rem;
        min-height: auto;
    }

    .value-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .value-content h6 {
        font-size: 0.82rem;
    }

    .value-content small {
        font-size: 0.72rem;
    }

    .icon-wrapper {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .card-title-premium {
        font-size: 1.5rem;
    }
}

/* Ajuste para pantallas medianas desktop */
@media (min-width: 992px) and (max-width: 1199px) {
    .principles-card {
        min-height: 580px;
    }

    .principles-card .value-item {
        min-height: 82px;
        padding: 0.85rem;
    }

    .principles-card .value-content h6 {
        font-size: 0.88rem;
    }

    .principles-card .value-content small {
        font-size: 0.76rem;
    }
}

/* Ajustes específicos para PC - pantallas grandes */
@media (min-width: 1200px) {
    .principles-card {
        min-height: 650px;
        padding: 2.5rem 2.2rem 2.5rem 2.2rem;
    }

    .principles-card .card-content-premium {
        padding-top: 1rem;
    }

    /* Cambiar a columna única en PC para mejor distribución */
    .principles-card .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
        margin-top: 1rem;
    }

    .principles-card .value-item {
        min-height: auto;
        padding: 1.2rem 1rem;
        align-items: center;
    }

    .principles-card .value-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-top: 0;
    }

    .principles-card .value-content h6 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .principles-card .value-content small {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .values-premium-section {
        padding: 4rem 0;
    }

    .values-card {
        padding: 2rem 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-container {
        padding: 2rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-premium {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .card-title-premium {
        font-size: 1.5rem;
    }
}
